"""
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 enum import Enum
from typing import overload
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets

bytes = str


class QStyleOptionComplex(PySide6.QtWidgets.QStyleOption):
    """
    https://doc.qt.io/qt-6/qstyleoptioncomplex.html

    **Detailed Description**

    This class is not used on its own. Instead it is used to derive other
    complex control options, for example **QStyleOptionSlider**  and
    **QStyleOptionSpinBox** .

    For performance reasons, there are few member functions and the access to
    the member variables is direct (i.e., using the `.` or `->` operator). This
    makes the structures straightforward to use and emphasizes that these are
    simply parameters used by the style functions.

    For an example demonstrating how style options can be used, see the
    **Styles**  example.

    **See also** **QStyleOption** .
    """

    Type: QStyleOptionComplex.StyleOptionType = ...
    Version: QStyleOptionComplex.StyleOptionVersion = ...

    class StyleOptionType(Enum):
        Type: QStyleOptionComplex.StyleOptionType = ...

    class StyleOptionVersion(Enum):
        Version: QStyleOptionComplex.StyleOptionVersion = ...

    @overload
    def __init__(self, other: PySide6.QtWidgets.QStyleOptionComplex) -> None:
        """
        https://doc.qt.io/qt-6/qstyleoptioncomplex.html#QStyleOptionComplex

        **QStyleOptionComplex::QStyleOptionComplex(int version =
        QStyleOptionComplex::Version, int type = SO_Complex)**

        Constructs a QStyleOptionComplex of the specified **type** and
        **version** , initializing the member variables to their default values.
        This constructor is usually called by subclasses.
        """
        ...

    @overload
    def __init__(self, version: int = ..., type: int = ...) -> None:
        """
        https://doc.qt.io/qt-6/qstyleoptioncomplex.html#QStyleOptionComplex-1

        **QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex &
        other )**

        Constructs a copy of the **other** style option.
        """
        ...
