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

bytes = str


class QHelpSearchQuery(object):
    """
    https://doc.qt.io/qt-6/qhelpsearchquery.html

    **Detailed Description**

    The QHelpSearchQuery class contains the field name and the associated search
    term. Depending on the field the search term might get split up into
    separate terms to be parsed differently by the search engine.

    **Note:** This class has been deprecated in favor of **QString** .

    **See also** **QHelpSearchQueryWidget** .
    """

    DEFAULT: QHelpSearchQuery.FieldName = ...
    FUZZY: QHelpSearchQuery.FieldName = ...
    WITHOUT: QHelpSearchQuery.FieldName = ...
    PHRASE: QHelpSearchQuery.FieldName = ...
    ALL: QHelpSearchQuery.FieldName = ...
    ATLEAST: QHelpSearchQuery.FieldName = ...

    class FieldName(Enum):
        DEFAULT: QHelpSearchQuery.FieldName = ...
        FUZZY: QHelpSearchQuery.FieldName = ...
        WITHOUT: QHelpSearchQuery.FieldName = ...
        PHRASE: QHelpSearchQuery.FieldName = ...
        ALL: QHelpSearchQuery.FieldName = ...
        ATLEAST: QHelpSearchQuery.FieldName = ...

    @overload
    def __init__(self) -> None:
        """
        https://doc.qt.io/qt-6/qhelpsearchquery.html#QHelpSearchQuery

        **QHelpSearchQuery::QHelpSearchQuery()**

        Constructs a new empty QHelpSearchQuery.
        """
        ...

    @overload
    def __init__(self, QHelpSearchQuery: PySide6.QtHelp.QHelpSearchQuery) -> None:
        """
        https://doc.qt.io/qt-6/qhelpsearchquery.html#QHelpSearchQuery-1

        **QHelpSearchQuery::QHelpSearchQuery(QHelpSearchQuery::FieldName field ,
        const QStringList & wordList )**

        Constructs a new QHelpSearchQuery and initializes it with the given
        **field** and **wordList**.
        """
        ...

    @overload
    def __init__(
        self, field: PySide6.QtHelp.QHelpSearchQuery.FieldName, wordList_: Sequence[str]
    ) -> None:
        """
        https://doc.qt.io/qt-6/qhelpsearchquery.html#QHelpSearchQuery

        **QHelpSearchQuery::QHelpSearchQuery()**

        Constructs a new empty QHelpSearchQuery.
        """
        ...

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