"""
PySide stub files generated by **IceSpringPySideStubs**

Home: https://baijifeilong.github.io/2022/01/06/ice-spring-pyside-stubs/index.html

Github: https://github.com/baijifeilong/IceSpringPySideStubs

PyPI(PySide2): https://pypi.org/project/IceSpringPySideStubs-PySide2

PyPI(PySide6): https://pypi.org/project/IceSpringPySideStubs-PySide6

Generated by BaiJiFeiLong@gmail.com

Licence: GPLv3
"""
from typing import overload
import PySide6.QtCore
import PySide6.QtGui

bytes = str


class QWindowStateChangeEvent(PySide6.QtCore.QEvent):
    """
    https://doc.qt.io/qt-6/qwindowstatechangeevent.html

    **Detailed Description**
    """

    @overload
    def __init__(self, arg__1: PySide6.QtGui.QWindowStateChangeEvent) -> None:
        ...

    @overload
    def __init__(
        self, oldState: PySide6.QtCore.Qt.WindowStates, isOverride: bool = ...
    ) -> None:
        ...

    def clone(self) -> PySide6.QtGui.QWindowStateChangeEvent:
        ...

    def isOverride(self) -> bool:
        ...

    def oldState(self) -> PySide6.QtCore.Qt.WindowStates:
        """
        https://doc.qt.io/qt-6/qwindowstatechangeevent.html#oldState

        **Qt::WindowStates QWindowStateChangeEvent::oldState() const**

        Returns the state of the window before the change.
        """
        ...
