"""
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 Any, Union
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets

bytes = str


def qDrawPlainRect(
    p: PySide6.QtGui.QPainter,
    r: PySide6.QtCore.QRect,
    arg__3: Union[
        PySide6.QtGui.QColor,
        PySide6.QtGui.QRgba64,
        Any,
        PySide6.QtCore.Qt.GlobalColor,
        str,
        int,
    ],
    lineWidth: int = ...,
    fill: Union[
        PySide6.QtGui.QBrush,
        PySide6.QtCore.Qt.BrushStyle,
        PySide6.QtCore.Qt.GlobalColor,
        PySide6.QtGui.QColor,
        PySide6.QtGui.QGradient,
        PySide6.QtGui.QImage,
        PySide6.QtGui.QPixmap,
        NoneType,
    ] = ...,
) -> None:
    ...


def qDrawPlainRect(
    p: PySide6.QtGui.QPainter,
    x: int,
    y: int,
    w: int,
    h: int,
    arg__6: Union[
        PySide6.QtGui.QColor,
        PySide6.QtGui.QRgba64,
        Any,
        PySide6.QtCore.Qt.GlobalColor,
        str,
        int,
    ],
    lineWidth: int = ...,
    fill: Union[
        PySide6.QtGui.QBrush,
        PySide6.QtCore.Qt.BrushStyle,
        PySide6.QtCore.Qt.GlobalColor,
        PySide6.QtGui.QColor,
        PySide6.QtGui.QGradient,
        PySide6.QtGui.QImage,
        PySide6.QtGui.QPixmap,
        NoneType,
    ] = ...,
) -> None:
    ...


def qDrawShadeLine(
    p: PySide6.QtGui.QPainter,
    p1: PySide6.QtCore.QPoint,
    p2: PySide6.QtCore.QPoint,
    pal: Union[
        PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor
    ],
    sunken: bool = ...,
    lineWidth: int = ...,
    midLineWidth: int = ...,
) -> None:
    ...


def qDrawShadeLine(
    p: PySide6.QtGui.QPainter,
    x1: int,
    y1: int,
    x2: int,
    y2: int,
    pal: Union[
        PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor
    ],
    sunken: bool = ...,
    lineWidth: int = ...,
    midLineWidth: int = ...,
) -> None:
    ...


def qDrawShadePanel(
    p: PySide6.QtGui.QPainter,
    r: PySide6.QtCore.QRect,
    pal: Union[
        PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor
    ],
    sunken: bool = ...,
    lineWidth: int = ...,
    fill: Union[
        PySide6.QtGui.QBrush,
        PySide6.QtCore.Qt.BrushStyle,
        PySide6.QtCore.Qt.GlobalColor,
        PySide6.QtGui.QColor,
        PySide6.QtGui.QGradient,
        PySide6.QtGui.QImage,
        PySide6.QtGui.QPixmap,
        NoneType,
    ] = ...,
) -> None:
    ...


def qDrawShadePanel(
    p: PySide6.QtGui.QPainter,
    x: int,
    y: int,
    w: int,
    h: int,
    pal: Union[
        PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor
    ],
    sunken: bool = ...,
    lineWidth: int = ...,
    fill: Union[
        PySide6.QtGui.QBrush,
        PySide6.QtCore.Qt.BrushStyle,
        PySide6.QtCore.Qt.GlobalColor,
        PySide6.QtGui.QColor,
        PySide6.QtGui.QGradient,
        PySide6.QtGui.QImage,
        PySide6.QtGui.QPixmap,
        NoneType,
    ] = ...,
) -> None:
    ...


def qDrawShadeRect(
    p: PySide6.QtGui.QPainter,
    r: PySide6.QtCore.QRect,
    pal: Union[
        PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor
    ],
    sunken: bool = ...,
    lineWidth: int = ...,
    midLineWidth: int = ...,
    fill: Union[
        PySide6.QtGui.QBrush,
        PySide6.QtCore.Qt.BrushStyle,
        PySide6.QtCore.Qt.GlobalColor,
        PySide6.QtGui.QColor,
        PySide6.QtGui.QGradient,
        PySide6.QtGui.QImage,
        PySide6.QtGui.QPixmap,
        NoneType,
    ] = ...,
) -> None:
    ...


def qDrawShadeRect(
    p: PySide6.QtGui.QPainter,
    x: int,
    y: int,
    w: int,
    h: int,
    pal: Union[
        PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor
    ],
    sunken: bool = ...,
    lineWidth: int = ...,
    midLineWidth: int = ...,
    fill: Union[
        PySide6.QtGui.QBrush,
        PySide6.QtCore.Qt.BrushStyle,
        PySide6.QtCore.Qt.GlobalColor,
        PySide6.QtGui.QColor,
        PySide6.QtGui.QGradient,
        PySide6.QtGui.QImage,
        PySide6.QtGui.QPixmap,
        NoneType,
    ] = ...,
) -> None:
    ...


def qDrawWinButton(
    p: PySide6.QtGui.QPainter,
    r: PySide6.QtCore.QRect,
    pal: Union[
        PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor
    ],
    sunken: bool = ...,
    fill: Union[
        PySide6.QtGui.QBrush,
        PySide6.QtCore.Qt.BrushStyle,
        PySide6.QtCore.Qt.GlobalColor,
        PySide6.QtGui.QColor,
        PySide6.QtGui.QGradient,
        PySide6.QtGui.QImage,
        PySide6.QtGui.QPixmap,
        NoneType,
    ] = ...,
) -> None:
    ...


def qDrawWinButton(
    p: PySide6.QtGui.QPainter,
    x: int,
    y: int,
    w: int,
    h: int,
    pal: Union[
        PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor
    ],
    sunken: bool = ...,
    fill: Union[
        PySide6.QtGui.QBrush,
        PySide6.QtCore.Qt.BrushStyle,
        PySide6.QtCore.Qt.GlobalColor,
        PySide6.QtGui.QColor,
        PySide6.QtGui.QGradient,
        PySide6.QtGui.QImage,
        PySide6.QtGui.QPixmap,
        NoneType,
    ] = ...,
) -> None:
    ...


def qDrawWinPanel(
    p: PySide6.QtGui.QPainter,
    r: PySide6.QtCore.QRect,
    pal: Union[
        PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor
    ],
    sunken: bool = ...,
    fill: Union[
        PySide6.QtGui.QBrush,
        PySide6.QtCore.Qt.BrushStyle,
        PySide6.QtCore.Qt.GlobalColor,
        PySide6.QtGui.QColor,
        PySide6.QtGui.QGradient,
        PySide6.QtGui.QImage,
        PySide6.QtGui.QPixmap,
        NoneType,
    ] = ...,
) -> None:
    ...


def qDrawWinPanel(
    p: PySide6.QtGui.QPainter,
    x: int,
    y: int,
    w: int,
    h: int,
    pal: Union[
        PySide6.QtGui.QPalette, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor
    ],
    sunken: bool = ...,
    fill: Union[
        PySide6.QtGui.QBrush,
        PySide6.QtCore.Qt.BrushStyle,
        PySide6.QtCore.Qt.GlobalColor,
        PySide6.QtGui.QColor,
        PySide6.QtGui.QGradient,
        PySide6.QtGui.QImage,
        PySide6.QtGui.QPixmap,
        NoneType,
    ] = ...,
) -> None:
    ...
