Spaces:
Running
Running
File size: 6,309 Bytes
3bb804c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# 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):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
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]: ...
@typing.overload
def querySubObject(self, a0: typing.Optional[str], a1: collections.abc.Iterable[typing.Any]) -> typing.Optional['QAxObject']: ...
@typing.overload
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']: ...
@typing.overload
def dynamicCall(self, a0: typing.Optional[str], a1: collections.abc.Iterable[typing.Any]) -> typing.Any: ...
@typing.overload
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):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
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):
@typing.overload
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
@typing.overload
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):
@typing.overload
def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: QtCore.Qt.WindowType = ...) -> None: ...
@typing.overload
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: ...
@typing.overload
def createHostWindow(self, a0: bool) -> bool: ...
@typing.overload
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: ...
|