"""
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 import QtGui
from PyQt5 import QtCore
from PyQt5.QtWidgets import *
from PyQt5 import sip


class QStyleOptionTab(QStyleOption):
    """
    https://doc.qt.io/qt-5/qstyleoptiontab.html

    **Detailed Description**

    The QStyleOptionTab class is used for drawing several built-in Qt widgets
    including **QTabBar**  and the panel for **QTabWidget** .

    An instance of the QStyleOptionTab class has **type**  **SO_Tab**  and
    **version**  3\\. The type is used internally by **QStyleOption** , its
    subclasses, and **qstyleoption_cast** () to determine the type of style
    option. In general you do not need to worry about this unless you want to
    create your own **QStyleOption**  subclass and your own styles. The version
    is used by **QStyleOption**  subclasses to implement extensions without
    breaking compatibility. If you use **qstyleoption_cast** (), you normally do
    not need to check it.

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

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

    class TabFeature(int):
        None_: QStyleOptionTab = ...
        HasFrame: QStyleOptionTab = ...

    class CornerWidget(int):
        NoCornerWidgets: QStyleOptionTab = ...
        LeftCornerWidget: QStyleOptionTab = ...
        RightCornerWidget: QStyleOptionTab = ...

    class SelectedPosition(int):
        NotAdjacent: QStyleOptionTab = ...
        NextIsSelected: QStyleOptionTab = ...
        PreviousIsSelected: QStyleOptionTab = ...

    class TabPosition(int):
        Beginning: QStyleOptionTab = ...
        Middle: QStyleOptionTab = ...
        End: QStyleOptionTab = ...
        OnlyOneTab: QStyleOptionTab = ...

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

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

    class CornerWidgets(sip.simplewrapper):
        @typing.overload
        def __init__(self) -> None:
            ...

        @typing.overload
        def __init__(
            self,
            f: typing.Union[
                "QStyleOptionTab.CornerWidgets", "QStyleOptionTab.CornerWidget"
            ],
        ) -> None:
            ...

        @typing.overload
        def __init__(self, a0: "QStyleOptionTab.CornerWidgets") -> None:
            ...

        def __hash__(self) -> int:
            ...

        def __bool__(self) -> int:
            ...

        def __invert__(self) -> "QStyleOptionTab.CornerWidgets":
            ...

        def __index__(self) -> int:
            ...

        def __int__(self) -> int:
            ...

    class TabFeatures(sip.simplewrapper):
        @typing.overload
        def __init__(self) -> None:
            ...

        @typing.overload
        def __init__(
            self,
            f: typing.Union[
                "QStyleOptionTab.TabFeatures", "QStyleOptionTab.TabFeature"
            ],
        ) -> None:
            ...

        @typing.overload
        def __init__(self, a0: "QStyleOptionTab.TabFeatures") -> None:
            ...

        def __hash__(self) -> int:
            ...

        def __bool__(self) -> int:
            ...

        def __invert__(self) -> "QStyleOptionTab.TabFeatures":
            ...

        def __index__(self) -> int:
            ...

        def __int__(self) -> int:
            ...

    cornerWidgets: typing = ...
    documentMode: bool = ...
    features: typing = ...
    icon: QtGui = ...
    iconSize: QtCore = ...
    leftButtonSize: QtCore = ...
    position = ...
    rightButtonSize: QtCore = ...
    row: int = ...
    selectedPosition = ...
    shape = ...
    text: str = ...

    @typing.overload
    def __init__(self) -> None:
        """
        https://doc.qt.io/qt-5/qstyleoptiontab.html#QStyleOptionTab

        **QStyleOptionTab::QStyleOptionTab()**

        Constructs a QStyleOptionTab object, initializing the members variables
        to their default values.
        """
        ...

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

        **QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab & other )**

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