I gang
This commit is contained in:
@@ -0,0 +1,453 @@
|
||||
# The PEP 484 type hints stub file for the QtDesigner module.
|
||||
#
|
||||
# Generated by SIP 6.15.3
|
||||
#
|
||||
# Copyright (c) 2026 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, enum
|
||||
|
||||
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 QDesignerActionEditorInterface(QtWidgets.QWidget):
|
||||
|
||||
def __init__(self, parent: QtWidgets.QWidget|None, flags: QtCore.Qt.WindowType = ...) -> None: ...
|
||||
|
||||
def setFormWindow(self, formWindow: 'QDesignerFormWindowInterface|None') -> None: ...
|
||||
def unmanageAction(self, action: QtGui.QAction|None) -> None: ...
|
||||
def manageAction(self, action: QtGui.QAction|None) -> None: ...
|
||||
def core(self) -> 'QDesignerFormEditorInterface|None': ...
|
||||
|
||||
|
||||
class QAbstractFormBuilder(PyQt6.sip.simplewrapper):
|
||||
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
def errorString(self) -> str: ...
|
||||
def workingDirectory(self) -> QtCore.QDir: ...
|
||||
def setWorkingDirectory(self, directory: QtCore.QDir) -> None: ...
|
||||
def save(self, dev: QtCore.QIODevice|None, widget: QtWidgets.QWidget|None) -> None: ...
|
||||
def load(self, device: QtCore.QIODevice|None, parent: QtWidgets.QWidget|None = ...) -> QtWidgets.QWidget|None: ...
|
||||
|
||||
|
||||
class QDesignerFormEditorInterface(QtCore.QObject):
|
||||
|
||||
def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
|
||||
|
||||
def setActionEditor(self, actionEditor: QDesignerActionEditorInterface|None) -> None: ...
|
||||
def setObjectInspector(self, objectInspector: 'QDesignerObjectInspectorInterface|None') -> None: ...
|
||||
def setPropertyEditor(self, propertyEditor: 'QDesignerPropertyEditorInterface|None') -> None: ...
|
||||
def setWidgetBox(self, widgetBox: 'QDesignerWidgetBoxInterface|None') -> None: ...
|
||||
def actionEditor(self) -> QDesignerActionEditorInterface|None: ...
|
||||
def formWindowManager(self) -> 'QDesignerFormWindowManagerInterface|None': ...
|
||||
def objectInspector(self) -> 'QDesignerObjectInspectorInterface|None': ...
|
||||
def propertyEditor(self) -> 'QDesignerPropertyEditorInterface|None': ...
|
||||
def widgetBox(self) -> 'QDesignerWidgetBoxInterface|None': ...
|
||||
def topLevel(self) -> QtWidgets.QWidget|None: ...
|
||||
def extensionManager(self) -> 'QExtensionManager|None': ...
|
||||
|
||||
|
||||
class QDesignerFormWindowInterface(QtWidgets.QWidget):
|
||||
|
||||
class FeatureFlag(enum.Flag):
|
||||
EditFeature = ... # type: QDesignerFormWindowInterface.FeatureFlag
|
||||
GridFeature = ... # type: QDesignerFormWindowInterface.FeatureFlag
|
||||
TabOrderFeature = ... # type: QDesignerFormWindowInterface.FeatureFlag
|
||||
DefaultFeature = ... # type: QDesignerFormWindowInterface.FeatureFlag
|
||||
|
||||
def __init__(self, parent: QtWidgets.QWidget|None = ..., flags: QtCore.Qt.WindowType = ...) -> None: ...
|
||||
|
||||
def activateResourceFilePaths(self, paths: collections.abc.Iterable[str|None]) -> typing.Tuple[int, str]: ...
|
||||
def formContainer(self) -> QtWidgets.QWidget|None: ...
|
||||
def activeResourceFilePaths(self) -> list[str]: ...
|
||||
def checkContents(self) -> list[str]: ...
|
||||
objectRemoved: typing.ClassVar[QtCore.pyqtSignal]
|
||||
widgetRemoved: typing.ClassVar[QtCore.pyqtSignal]
|
||||
changed: typing.ClassVar[QtCore.pyqtSignal]
|
||||
activated: typing.ClassVar[QtCore.pyqtSignal]
|
||||
aboutToUnmanageWidget: typing.ClassVar[QtCore.pyqtSignal]
|
||||
widgetUnmanaged: typing.ClassVar[QtCore.pyqtSignal]
|
||||
widgetManaged: typing.ClassVar[QtCore.pyqtSignal]
|
||||
resourceFilesChanged: typing.ClassVar[QtCore.pyqtSignal]
|
||||
geometryChanged: typing.ClassVar[QtCore.pyqtSignal]
|
||||
selectionChanged: typing.ClassVar[QtCore.pyqtSignal]
|
||||
featureChanged: typing.ClassVar[QtCore.pyqtSignal]
|
||||
fileNameChanged: typing.ClassVar[QtCore.pyqtSignal]
|
||||
mainContainerChanged: typing.ClassVar[QtCore.pyqtSignal]
|
||||
def setFileName(self, fileName: str|None) -> None: ...
|
||||
def setGrid(self, grid: QtCore.QPoint) -> None: ...
|
||||
def selectWidget(self, widget: QtWidgets.QWidget|None, select: bool = ...) -> None: ...
|
||||
def clearSelection(self, update: bool = ...) -> None: ...
|
||||
def setDirty(self, dirty: bool) -> None: ...
|
||||
def setFeatures(self, f: 'QDesignerFormWindowInterface.FeatureFlag') -> None: ...
|
||||
def unmanageWidget(self, widget: QtWidgets.QWidget|None) -> None: ...
|
||||
def manageWidget(self, widget: QtWidgets.QWidget|None) -> None: ...
|
||||
def removeResourceFile(self, path: str|None) -> None: ...
|
||||
def addResourceFile(self, path: str|None) -> None: ...
|
||||
def resourceFiles(self) -> list[str]: ...
|
||||
def emitSelectionChanged(self) -> None: ...
|
||||
@typing.overload
|
||||
@staticmethod
|
||||
def findFormWindow(w: QtWidgets.QWidget|None) -> 'QDesignerFormWindowInterface|None': ...
|
||||
@typing.overload
|
||||
@staticmethod
|
||||
def findFormWindow(obj: QtCore.QObject|None) -> 'QDesignerFormWindowInterface|None': ...
|
||||
def isDirty(self) -> bool: ...
|
||||
def isManaged(self, widget: QtWidgets.QWidget|None) -> bool: ...
|
||||
def setMainContainer(self, mainContainer: QtWidgets.QWidget|None) -> None: ...
|
||||
def mainContainer(self) -> QtWidgets.QWidget|None: ...
|
||||
def grid(self) -> QtCore.QPoint: ...
|
||||
def cursor(self) -> 'QDesignerFormWindowCursorInterface|None': ...
|
||||
def core(self) -> QDesignerFormEditorInterface|None: ...
|
||||
def setIncludeHints(self, includeHints: collections.abc.Iterable[str|None]) -> None: ...
|
||||
def includeHints(self) -> list[str]: ...
|
||||
def setExportMacro(self, exportMacro: str|None) -> None: ...
|
||||
def exportMacro(self) -> str: ...
|
||||
def setPixmapFunction(self, pixmapFunction: str|None) -> None: ...
|
||||
def pixmapFunction(self) -> str: ...
|
||||
def setLayoutFunction(self, margin: str|None, spacing: str|None) -> None: ...
|
||||
def layoutFunction(self) -> typing.Tuple[str, str]: ...
|
||||
def setLayoutDefault(self, margin: int, spacing: int) -> None: ...
|
||||
def layoutDefault(self) -> typing.Tuple[int, int]: ...
|
||||
def setComment(self, comment: str|None) -> None: ...
|
||||
def comment(self) -> str: ...
|
||||
def setAuthor(self, author: str|None) -> None: ...
|
||||
def author(self) -> str: ...
|
||||
def hasFeature(self, f: 'QDesignerFormWindowInterface.FeatureFlag') -> bool: ...
|
||||
def features(self) -> 'QDesignerFormWindowInterface.FeatureFlag': ...
|
||||
@typing.overload
|
||||
def setContents(self, dev: QtCore.QIODevice|None, errorMessage: str|None = ...) -> bool: ...
|
||||
@typing.overload
|
||||
def setContents(self, contents: str|None) -> bool: ...
|
||||
def contents(self) -> str: ...
|
||||
def absoluteDir(self) -> QtCore.QDir: ...
|
||||
def fileName(self) -> str: ...
|
||||
|
||||
|
||||
class QDesignerFormWindowCursorInterface(PyQt6.sip.simplewrapper):
|
||||
|
||||
class MoveMode(enum.Enum):
|
||||
MoveAnchor = ... # type: QDesignerFormWindowCursorInterface.MoveMode
|
||||
KeepAnchor = ... # type: QDesignerFormWindowCursorInterface.MoveMode
|
||||
|
||||
class MoveOperation(enum.Enum):
|
||||
NoMove = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
|
||||
Start = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
|
||||
End = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
|
||||
Next = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
|
||||
Prev = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
|
||||
Left = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
|
||||
Right = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
|
||||
Up = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
|
||||
Down = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
|
||||
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
def isWidgetSelected(self, widget: QtWidgets.QWidget|None) -> bool: ...
|
||||
def resetWidgetProperty(self, widget: QtWidgets.QWidget|None, name: str|None) -> None: ...
|
||||
def setWidgetProperty(self, widget: QtWidgets.QWidget|None, name: str|None, value: typing.Any) -> None: ...
|
||||
def setProperty(self, name: str|None, value: typing.Any) -> None: ...
|
||||
def selectedWidget(self, index: int) -> QtWidgets.QWidget|None: ...
|
||||
def selectedWidgetCount(self) -> int: ...
|
||||
def hasSelection(self) -> bool: ...
|
||||
def widget(self, index: int) -> QtWidgets.QWidget|None: ...
|
||||
def widgetCount(self) -> int: ...
|
||||
def current(self) -> QtWidgets.QWidget|None: ...
|
||||
def setPosition(self, pos: int, mode: 'QDesignerFormWindowCursorInterface.MoveMode' = ...) -> None: ...
|
||||
def position(self) -> int: ...
|
||||
def movePosition(self, op: 'QDesignerFormWindowCursorInterface.MoveOperation', mode: 'QDesignerFormWindowCursorInterface.MoveMode' = ...) -> bool: ...
|
||||
def formWindow(self) -> QDesignerFormWindowInterface|None: ...
|
||||
|
||||
|
||||
class QDesignerFormWindowManagerInterface(QtCore.QObject):
|
||||
|
||||
class ActionGroup(enum.Enum):
|
||||
StyledPreviewActionGroup = ... # type: QDesignerFormWindowManagerInterface.ActionGroup
|
||||
|
||||
class Action(enum.Enum):
|
||||
CutAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
CopyAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
PasteAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
DeleteAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
SelectAllAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
LowerAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
RaiseAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
UndoAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
RedoAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
HorizontalLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
VerticalLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
SplitHorizontalAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
SplitVerticalAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
GridLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
FormLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
BreakLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
AdjustSizeAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
SimplifyLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
DefaultPreviewAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
FormWindowSettingsDialogAction = ... # type: QDesignerFormWindowManagerInterface.Action
|
||||
|
||||
def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
|
||||
|
||||
def showPluginDialog(self) -> None: ...
|
||||
def closeAllPreviews(self) -> None: ...
|
||||
def showPreview(self) -> None: ...
|
||||
def actionGroup(self, actionGroup: 'QDesignerFormWindowManagerInterface.ActionGroup') -> QtGui.QActionGroup|None: ...
|
||||
def action(self, action: 'QDesignerFormWindowManagerInterface.Action') -> QtGui.QAction|None: ...
|
||||
def setActiveFormWindow(self, formWindow: QDesignerFormWindowInterface|None) -> None: ...
|
||||
def removeFormWindow(self, formWindow: QDesignerFormWindowInterface|None) -> None: ...
|
||||
def addFormWindow(self, formWindow: QDesignerFormWindowInterface|None) -> None: ...
|
||||
formWindowSettingsChanged: typing.ClassVar[QtCore.pyqtSignal]
|
||||
activeFormWindowChanged: typing.ClassVar[QtCore.pyqtSignal]
|
||||
formWindowRemoved: typing.ClassVar[QtCore.pyqtSignal]
|
||||
formWindowAdded: typing.ClassVar[QtCore.pyqtSignal]
|
||||
def core(self) -> QDesignerFormEditorInterface|None: ...
|
||||
def createFormWindow(self, parent: QtWidgets.QWidget|None = ..., flags: QtCore.Qt.WindowType = ...) -> QDesignerFormWindowInterface|None: ...
|
||||
def formWindow(self, index: int) -> QDesignerFormWindowInterface|None: ...
|
||||
def formWindowCount(self) -> int: ...
|
||||
def activeFormWindow(self) -> QDesignerFormWindowInterface|None: ...
|
||||
def actionSimplifyLayout(self) -> QtGui.QAction|None: ...
|
||||
def actionFormLayout(self) -> QtGui.QAction|None: ...
|
||||
|
||||
|
||||
class QDesignerObjectInspectorInterface(QtWidgets.QWidget):
|
||||
|
||||
def __init__(self, parent: QtWidgets.QWidget|None, flags: QtCore.Qt.WindowType = ...) -> None: ...
|
||||
|
||||
def setFormWindow(self, formWindow: QDesignerFormWindowInterface|None) -> None: ...
|
||||
def core(self) -> QDesignerFormEditorInterface|None: ...
|
||||
|
||||
|
||||
class QDesignerPropertyEditorInterface(QtWidgets.QWidget):
|
||||
|
||||
def __init__(self, parent: QtWidgets.QWidget|None, flags: QtCore.Qt.WindowType = ...) -> None: ...
|
||||
|
||||
def setReadOnly(self, readOnly: bool) -> None: ...
|
||||
def setPropertyValue(self, name: str|None, value: typing.Any, changed: bool = ...) -> None: ...
|
||||
def setObject(self, object: QtCore.QObject|None) -> None: ...
|
||||
propertyChanged: typing.ClassVar[QtCore.pyqtSignal]
|
||||
def currentPropertyName(self) -> str: ...
|
||||
def object(self) -> QtCore.QObject|None: ...
|
||||
def isReadOnly(self) -> bool: ...
|
||||
def core(self) -> QDesignerFormEditorInterface|None: ...
|
||||
|
||||
|
||||
class QDesignerWidgetBoxInterface(QtWidgets.QWidget):
|
||||
|
||||
def __init__(self, parent: QtWidgets.QWidget|None = ..., flags: QtCore.Qt.WindowType = ...) -> None: ...
|
||||
|
||||
def save(self) -> bool: ...
|
||||
def load(self) -> bool: ...
|
||||
def fileName(self) -> str: ...
|
||||
def setFileName(self, file_name: str|None) -> None: ...
|
||||
|
||||
|
||||
class QDesignerContainerExtension(PyQt6.sip.simplewrapper):
|
||||
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
def canRemove(self, index: int) -> bool: ...
|
||||
def canAddWidget(self) -> bool: ...
|
||||
def remove(self, index: int) -> None: ...
|
||||
def insertWidget(self, index: int, widget: QtWidgets.QWidget|None) -> None: ...
|
||||
def addWidget(self, widget: QtWidgets.QWidget|None) -> None: ...
|
||||
def setCurrentIndex(self, index: int) -> None: ...
|
||||
def currentIndex(self) -> int: ...
|
||||
def widget(self, index: int) -> QtWidgets.QWidget|None: ...
|
||||
def __len__(self) -> int: ...
|
||||
def count(self) -> int: ...
|
||||
|
||||
|
||||
class QDesignerCustomWidgetInterface(PyQt6.sip.simplewrapper):
|
||||
|
||||
@typing.overload
|
||||
def __init__(self) -> None: ...
|
||||
@typing.overload
|
||||
def __init__(self, a0: 'QDesignerCustomWidgetInterface') -> None: ...
|
||||
|
||||
def codeTemplate(self) -> str: ...
|
||||
def domXml(self) -> str: ...
|
||||
def initialize(self, core: QDesignerFormEditorInterface|None) -> None: ...
|
||||
def isInitialized(self) -> bool: ...
|
||||
def createWidget(self, parent: QtWidgets.QWidget|None) -> QtWidgets.QWidget|None: ...
|
||||
def isContainer(self) -> bool: ...
|
||||
def icon(self) -> QtGui.QIcon: ...
|
||||
def includeFile(self) -> str: ...
|
||||
def whatsThis(self) -> str: ...
|
||||
def toolTip(self) -> str: ...
|
||||
def group(self) -> str: ...
|
||||
def name(self) -> str: ...
|
||||
|
||||
|
||||
class QDesignerCustomWidgetCollectionInterface(PyQt6.sip.simplewrapper):
|
||||
|
||||
@typing.overload
|
||||
def __init__(self) -> None: ...
|
||||
@typing.overload
|
||||
def __init__(self, a0: 'QDesignerCustomWidgetCollectionInterface') -> None: ...
|
||||
|
||||
def customWidgets(self) -> list[QDesignerCustomWidgetInterface]: ...
|
||||
|
||||
|
||||
class QAbstractExtensionFactory(PyQt6.sip.simplewrapper):
|
||||
|
||||
@typing.overload
|
||||
def __init__(self) -> None: ...
|
||||
@typing.overload
|
||||
def __init__(self, a0: 'QAbstractExtensionFactory') -> None: ...
|
||||
|
||||
def extension(self, object: QtCore.QObject|None, iid: str|None) -> QtCore.QObject|None: ...
|
||||
|
||||
|
||||
class QExtensionFactory(QtCore.QObject, QAbstractExtensionFactory):
|
||||
|
||||
def __init__(self, parent: 'QExtensionManager|None' = ...) -> None: ...
|
||||
|
||||
def createExtension(self, object: QtCore.QObject|None, iid: str|None, parent: QtCore.QObject|None) -> QtCore.QObject|None: ...
|
||||
def extensionManager(self) -> 'QExtensionManager|None': ...
|
||||
def extension(self, object: QtCore.QObject|None, iid: str|None) -> QtCore.QObject|None: ...
|
||||
|
||||
|
||||
class QAbstractExtensionManager(PyQt6.sip.simplewrapper):
|
||||
|
||||
@typing.overload
|
||||
def __init__(self) -> None: ...
|
||||
@typing.overload
|
||||
def __init__(self, a0: 'QAbstractExtensionManager') -> None: ...
|
||||
|
||||
def extension(self, object: QtCore.QObject|None, iid: str|None) -> QtCore.QObject|None: ...
|
||||
def unregisterExtensions(self, factory: QAbstractExtensionFactory|None, iid: str|None) -> None: ...
|
||||
def registerExtensions(self, factory: QAbstractExtensionFactory|None, iid: str|None) -> None: ...
|
||||
|
||||
|
||||
class QFormBuilder(QAbstractFormBuilder):
|
||||
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
def customWidgets(self) -> list[QDesignerCustomWidgetInterface]: ...
|
||||
def setPluginPath(self, pluginPaths: collections.abc.Iterable[str|None]) -> None: ...
|
||||
def addPluginPath(self, pluginPath: str|None) -> None: ...
|
||||
def clearPluginPaths(self) -> None: ...
|
||||
def pluginPaths(self) -> list[str]: ...
|
||||
|
||||
|
||||
class QDesignerMemberSheetExtension(PyQt6.sip.simplewrapper):
|
||||
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
def parameterNames(self, index: int) -> list[QtCore.QByteArray]: ...
|
||||
def parameterTypes(self, index: int) -> list[QtCore.QByteArray]: ...
|
||||
def signature(self, index: int) -> str: ...
|
||||
def declaredInClass(self, index: int) -> str: ...
|
||||
def inheritedFromWidget(self, index: int) -> bool: ...
|
||||
def isSlot(self, index: int) -> bool: ...
|
||||
def isSignal(self, index: int) -> bool: ...
|
||||
def setVisible(self, index: int, b: bool) -> None: ...
|
||||
def isVisible(self, index: int) -> bool: ...
|
||||
def setMemberGroup(self, index: int, group: str|None) -> None: ...
|
||||
def memberGroup(self, index: int) -> str: ...
|
||||
def memberName(self, index: int) -> str: ...
|
||||
def indexOf(self, name: str|None) -> int: ...
|
||||
def __len__(self) -> int: ...
|
||||
def count(self) -> int: ...
|
||||
|
||||
|
||||
class QDesignerPropertySheetExtension(PyQt6.sip.simplewrapper):
|
||||
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
def isEnabled(self, index: int) -> bool: ...
|
||||
def setChanged(self, index: int, changed: bool) -> None: ...
|
||||
def isChanged(self, index: int) -> bool: ...
|
||||
def setProperty(self, index: int, value: typing.Any) -> None: ...
|
||||
def property(self, index: int) -> typing.Any: ...
|
||||
def setAttribute(self, index: int, b: bool) -> None: ...
|
||||
def isAttribute(self, index: int) -> bool: ...
|
||||
def setVisible(self, index: int, b: bool) -> None: ...
|
||||
def isVisible(self, index: int) -> bool: ...
|
||||
def reset(self, index: int) -> bool: ...
|
||||
def hasReset(self, index: int) -> bool: ...
|
||||
def setPropertyGroup(self, index: int, group: str|None) -> None: ...
|
||||
def propertyGroup(self, index: int) -> str: ...
|
||||
def propertyName(self, index: int) -> str: ...
|
||||
def indexOf(self, name: str|None) -> int: ...
|
||||
def __len__(self) -> int: ...
|
||||
def count(self) -> int: ...
|
||||
|
||||
|
||||
class QExtensionManager(QtCore.QObject, QAbstractExtensionManager):
|
||||
|
||||
def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
|
||||
|
||||
def extension(self, object: QtCore.QObject|None, iid: str|None) -> QtCore.QObject|None: ...
|
||||
def unregisterExtensions(self, factory: QAbstractExtensionFactory|None, iid: str|None = ...) -> None: ...
|
||||
def registerExtensions(self, factory: QAbstractExtensionFactory|None, iid: str|None = ...) -> None: ...
|
||||
|
||||
|
||||
class QDesignerTaskMenuExtension(PyQt6.sip.simplewrapper):
|
||||
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
def preferredEditAction(self) -> QtGui.QAction|None: ...
|
||||
def taskActions(self) -> list[QtGui.QAction]: ...
|
||||
|
||||
|
||||
class QPyDesignerCustomWidgetCollectionPlugin(QtCore.QObject, QDesignerCustomWidgetCollectionInterface):
|
||||
|
||||
def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
|
||||
|
||||
|
||||
class QPyDesignerCustomWidgetPlugin(QtCore.QObject, QDesignerCustomWidgetInterface):
|
||||
|
||||
def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
|
||||
|
||||
|
||||
class QPyDesignerMemberSheetExtension(QtCore.QObject, QDesignerMemberSheetExtension):
|
||||
|
||||
def __init__(self, parent: QtCore.QObject|None) -> None: ...
|
||||
|
||||
|
||||
class QPyDesignerPropertySheetExtension(QtCore.QObject, QDesignerPropertySheetExtension):
|
||||
|
||||
def __init__(self, parent: QtCore.QObject|None) -> None: ...
|
||||
|
||||
|
||||
class QPyDesignerTaskMenuExtension(QtCore.QObject, QDesignerTaskMenuExtension):
|
||||
|
||||
def __init__(self, parent: QtCore.QObject|None) -> None: ...
|
||||
|
||||
|
||||
class QPyDesignerContainerExtension(QtCore.QObject, QDesignerContainerExtension):
|
||||
|
||||
def __init__(self, parent: QtCore.QObject|None) -> None: ...
|
||||
Reference in New Issue
Block a user