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

bytes = str


class QTileRules(object):
    """
    https://doc.qt.io/qt-6/qtilerules.html

    **Detailed Description**

    Spliiting is similar to **CSS3 border-images** .

    **See also** **Qt::TileRule**  and **QMargins** .
    """

    @overload
    def __init__(
        self,
        QTileRules: Union[(PySide6.QtWidgets.QTileRules, PySide6.QtCore.Qt.TileRule)],
    ) -> None:
        """
        https://doc.qt.io/qt-6/qtilerules.html#QTileRules

        **QTileRules::QTileRules(Qt::TileRule horizontalRule , Qt::TileRule
        verticalRule )**

        Constructs a QTileRules with the given **horizontalRule** and
        **verticalRule**.
        """
        ...

    @overload
    def __init__(
        self,
        horizontalRule: PySide6.QtCore.Qt.TileRule,
        verticalRule: PySide6.QtCore.Qt.TileRule,
    ) -> None:
        """
        https://doc.qt.io/qt-6/qtilerules.html#QTileRules-1

        **QTileRules::QTileRules(Qt::TileRule rule = Qt::StretchTile)**

        Constructs a QTileRules with the given **rule** used for both the
        horizontal rule and the vertical rule.
        """
        ...

    @overload
    def __init__(self, rule: PySide6.QtCore.Qt.TileRule = ...) -> None:
        """
        https://doc.qt.io/qt-6/qtilerules.html#QTileRules

        **QTileRules::QTileRules(Qt::TileRule horizontalRule , Qt::TileRule
        verticalRule )**

        Constructs a QTileRules with the given **horizontalRule** and
        **verticalRule**.
        """
        ...

    @staticmethod
    def __copy__() -> None:
        ...
