Spaces:
Running
Running
| # The PEP 484 type hints stub file for the QAxContainer module. | |
| # | |
| # Generated by SIP 6.14.0 | |
| # | |
| # Copyright (c) 2025 Riverbank Computing Limited <info@riverbankcomputing.com> | |
| # | |
| # This file is part of PyQt6. | |
| # | |
| # This file may be used under the terms of the GNU General Public License | |
| # version 3.0 as published by the Free Software Foundation and appearing in | |
| # the file LICENSE included in the packaging of this file. Please review the | |
| # following information to ensure the GNU General Public License version 3.0 | |
| # requirements will be met: http://www.gnu.org/copyleft/gpl.html. | |
| # | |
| # If you do not wish to use this file under the terms of the GPL version 3.0 | |
| # then you may purchase a commercial license. For more information contact | |
| # info@riverbankcomputing.com. | |
| # | |
| # This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | |
| # WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
| import collections, re, typing | |
| try: | |
| from warnings import deprecated | |
| except ImportError: | |
| pass | |
| import PyQt6.sip | |
| from PyQt6 import QtCore | |
| from PyQt6 import QtGui | |
| from PyQt6 import QtWidgets | |
| # Support for QDate, QDateTime and QTime. | |
| import datetime | |
| # Convenient type aliases. | |
| PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] | |
| PYQT_SLOT = typing.Union[collections.abc.Callable[..., Any], QtCore.pyqtBoundSignal] | |
| class QAxBase(PyQt6.sip.simplewrapper): | |
| def __init__(self) -> None: ... | |
| def __init__(self, a0: 'QAxBase') -> None: ... | |
| def setClassContext(self, classContext: int) -> None: ... | |
| def classContext(self) -> int: ... | |
| def disableEventSink(self) -> None: ... | |
| def disableClassInfo(self) -> None: ... | |
| def disableMetaObject(self) -> None: ... | |
| def setControl(self, a0: typing.Optional[str]) -> bool: ... | |
| def clear(self) -> None: ... | |
| def asVariant(self) -> typing.Any: ... | |
| def verbs(self) -> list[str]: ... | |
| def isNull(self) -> bool: ... | |
| def setPropertyWritable(self, a0: typing.Optional[str], a1: bool) -> None: ... | |
| def propertyWritable(self, a0: typing.Optional[str]) -> bool: ... | |
| def generateDocumentation(self) -> str: ... | |
| def setPropertyBag(self, a0: dict[typing.Optional[str], typing.Any]) -> None: ... | |
| def propertyBag(self) -> dict[str, typing.Any]: ... | |
| def querySubObject(self, a0: typing.Optional[str], a1: collections.abc.Iterable[typing.Any]) -> typing.Optional['QAxObject']: ... | |
| def querySubObject(self, a0: typing.Optional[str], value1: typing.Any = ..., value2: typing.Any = ..., value3: typing.Any = ..., value4: typing.Any = ..., value5: typing.Any = ..., value6: typing.Any = ..., value7: typing.Any = ..., value8: typing.Any = ...) -> typing.Optional['QAxObject']: ... | |
| def dynamicCall(self, a0: typing.Optional[str], a1: collections.abc.Iterable[typing.Any]) -> typing.Any: ... | |
| def dynamicCall(self, a0: typing.Optional[str], value1: typing.Any = ..., value2: typing.Any = ..., value3: typing.Any = ..., value4: typing.Any = ..., value5: typing.Any = ..., value6: typing.Any = ..., value7: typing.Any = ..., value8: typing.Any = ...) -> typing.Any: ... | |
| def control(self) -> str: ... | |
| class QAxObjectInterface(PyQt6.sip.simplewrapper): | |
| def __init__(self) -> None: ... | |
| def __init__(self, a0: 'QAxObjectInterface') -> None: ... | |
| def resetControl(self) -> None: ... | |
| def setControl(self, c: typing.Optional[str]) -> bool: ... | |
| def control(self) -> str: ... | |
| def setClassContext(self, classContext: int) -> None: ... | |
| def classContext(self) -> int: ... | |
| class QAxBaseObject(QtCore.QObject, QAxObjectInterface): | |
| def __init__(self) -> None: ... | |
| signal: typing.ClassVar[QtCore.pyqtSignal] | |
| propertyChanged: typing.ClassVar[QtCore.pyqtSignal] | |
| exception: typing.ClassVar[QtCore.pyqtSignal] | |
| class QAxObject(QAxBaseObject, QAxBase): | |
| def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... | |
| def __init__(self, a0: typing.Optional[str], parent: typing.Optional[QtCore.QObject] = ...) -> None: ... | |
| def connectNotify(self, a0: QtCore.QMetaMethod) -> None: ... | |
| def doVerb(self, a0: typing.Optional[str]) -> bool: ... | |
| def clear(self) -> None: ... | |
| def resetControl(self) -> None: ... | |
| def setControl(self, c: typing.Optional[str]) -> bool: ... | |
| def control(self) -> str: ... | |
| def setClassContext(self, classContext: int) -> None: ... | |
| def classContext(self) -> int: ... | |
| class QAxBaseWidget(QtWidgets.QWidget, QAxObjectInterface): | |
| def __init__(self) -> None: ... | |
| signal: typing.ClassVar[QtCore.pyqtSignal] | |
| propertyChanged: typing.ClassVar[QtCore.pyqtSignal] | |
| exception: typing.ClassVar[QtCore.pyqtSignal] | |
| class QAxWidget(QAxBaseWidget, QAxBase): | |
| def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: QtCore.Qt.WindowType = ...) -> None: ... | |
| def __init__(self, a0: typing.Optional[str], parent: typing.Optional[QtWidgets.QWidget] = ..., flags: QtCore.Qt.WindowType = ...) -> None: ... | |
| def connectNotify(self, a0: QtCore.QMetaMethod) -> None: ... | |
| def translateKeyEvent(self, a0: int, a1: int) -> bool: ... | |
| def resizeEvent(self, a0: typing.Optional[QtGui.QResizeEvent]) -> None: ... | |
| def changeEvent(self, a0: typing.Optional[QtCore.QEvent]) -> None: ... | |
| def createHostWindow(self, a0: bool) -> bool: ... | |
| def createHostWindow(self, a0: bool, a1: typing.Union[QtCore.QByteArray, bytes, bytearray, memoryview]) -> bool: ... | |
| def minimumSizeHint(self) -> QtCore.QSize: ... | |
| def sizeHint(self) -> QtCore.QSize: ... | |
| def doVerb(self, a0: typing.Optional[str]) -> bool: ... | |
| def clear(self) -> None: ... | |
| def resetControl(self) -> None: ... | |
| def setControl(self, c: typing.Optional[str]) -> bool: ... | |
| def control(self) -> str: ... | |
| def setClassContext(self, classContext: int) -> None: ... | |
| def classContext(self) -> int: ... | |