"""
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

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

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

Generated by BaiJiFeiLong@gmail.com

License: MIT
"""
import typing
from PyQt5.QtWidgets import *


class QStyleOptionComplex(QStyleOption):
    """
    https://doc.qt.io/qt-5/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, the access to the member variables is direct (i.e.,
    using the `.` or `->` operator).

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

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

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

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

    activeSubControls: typing = ...
    subControls: typing = ...

    @typing.overload
    def __init__(self, version: int = ..., type: int = ...) -> None:
        """
        https://doc.qt.io/qt-5/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.
        """
        ...

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

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

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