QtDesigner.pyi 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. # The PEP 484 type hints stub file for the QtDesigner module.
  2. #
  3. # Generated by SIP 6.15.3
  4. #
  5. # Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
  6. #
  7. # This file is part of PyQt6.
  8. #
  9. # This file may be used under the terms of the GNU General Public License
  10. # version 3.0 as published by the Free Software Foundation and appearing in
  11. # the file LICENSE included in the packaging of this file. Please review the
  12. # following information to ensure the GNU General Public License version 3.0
  13. # requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  14. #
  15. # If you do not wish to use this file under the terms of the GPL version 3.0
  16. # then you may purchase a commercial license. For more information contact
  17. # info@riverbankcomputing.com.
  18. #
  19. # This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
  20. # WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  21. import collections, re, typing, enum
  22. try:
  23. from warnings import deprecated
  24. except ImportError:
  25. pass
  26. import PyQt6.sip
  27. from PyQt6 import QtCore
  28. from PyQt6 import QtGui
  29. from PyQt6 import QtWidgets
  30. # Support for QDate, QDateTime and QTime.
  31. import datetime
  32. # Convenient type aliases.
  33. PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
  34. PYQT_SLOT = typing.Union[collections.abc.Callable[..., Any], QtCore.pyqtBoundSignal]
  35. class QDesignerActionEditorInterface(QtWidgets.QWidget):
  36. def __init__(self, parent: QtWidgets.QWidget|None, flags: QtCore.Qt.WindowType = ...) -> None: ...
  37. def setFormWindow(self, formWindow: 'QDesignerFormWindowInterface|None') -> None: ...
  38. def unmanageAction(self, action: QtGui.QAction|None) -> None: ...
  39. def manageAction(self, action: QtGui.QAction|None) -> None: ...
  40. def core(self) -> 'QDesignerFormEditorInterface|None': ...
  41. class QAbstractFormBuilder(PyQt6.sip.simplewrapper):
  42. def __init__(self) -> None: ...
  43. def errorString(self) -> str: ...
  44. def workingDirectory(self) -> QtCore.QDir: ...
  45. def setWorkingDirectory(self, directory: QtCore.QDir) -> None: ...
  46. def save(self, dev: QtCore.QIODevice|None, widget: QtWidgets.QWidget|None) -> None: ...
  47. def load(self, device: QtCore.QIODevice|None, parent: QtWidgets.QWidget|None = ...) -> QtWidgets.QWidget|None: ...
  48. class QDesignerFormEditorInterface(QtCore.QObject):
  49. def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
  50. def setActionEditor(self, actionEditor: QDesignerActionEditorInterface|None) -> None: ...
  51. def setObjectInspector(self, objectInspector: 'QDesignerObjectInspectorInterface|None') -> None: ...
  52. def setPropertyEditor(self, propertyEditor: 'QDesignerPropertyEditorInterface|None') -> None: ...
  53. def setWidgetBox(self, widgetBox: 'QDesignerWidgetBoxInterface|None') -> None: ...
  54. def actionEditor(self) -> QDesignerActionEditorInterface|None: ...
  55. def formWindowManager(self) -> 'QDesignerFormWindowManagerInterface|None': ...
  56. def objectInspector(self) -> 'QDesignerObjectInspectorInterface|None': ...
  57. def propertyEditor(self) -> 'QDesignerPropertyEditorInterface|None': ...
  58. def widgetBox(self) -> 'QDesignerWidgetBoxInterface|None': ...
  59. def topLevel(self) -> QtWidgets.QWidget|None: ...
  60. def extensionManager(self) -> 'QExtensionManager|None': ...
  61. class QDesignerFormWindowInterface(QtWidgets.QWidget):
  62. class FeatureFlag(enum.Flag):
  63. EditFeature = ... # type: QDesignerFormWindowInterface.FeatureFlag
  64. GridFeature = ... # type: QDesignerFormWindowInterface.FeatureFlag
  65. TabOrderFeature = ... # type: QDesignerFormWindowInterface.FeatureFlag
  66. DefaultFeature = ... # type: QDesignerFormWindowInterface.FeatureFlag
  67. def __init__(self, parent: QtWidgets.QWidget|None = ..., flags: QtCore.Qt.WindowType = ...) -> None: ...
  68. def activateResourceFilePaths(self, paths: collections.abc.Iterable[str|None]) -> typing.Tuple[int, str]: ...
  69. def formContainer(self) -> QtWidgets.QWidget|None: ...
  70. def activeResourceFilePaths(self) -> list[str]: ...
  71. def checkContents(self) -> list[str]: ...
  72. objectRemoved: typing.ClassVar[QtCore.pyqtSignal]
  73. widgetRemoved: typing.ClassVar[QtCore.pyqtSignal]
  74. changed: typing.ClassVar[QtCore.pyqtSignal]
  75. activated: typing.ClassVar[QtCore.pyqtSignal]
  76. aboutToUnmanageWidget: typing.ClassVar[QtCore.pyqtSignal]
  77. widgetUnmanaged: typing.ClassVar[QtCore.pyqtSignal]
  78. widgetManaged: typing.ClassVar[QtCore.pyqtSignal]
  79. resourceFilesChanged: typing.ClassVar[QtCore.pyqtSignal]
  80. geometryChanged: typing.ClassVar[QtCore.pyqtSignal]
  81. selectionChanged: typing.ClassVar[QtCore.pyqtSignal]
  82. featureChanged: typing.ClassVar[QtCore.pyqtSignal]
  83. fileNameChanged: typing.ClassVar[QtCore.pyqtSignal]
  84. mainContainerChanged: typing.ClassVar[QtCore.pyqtSignal]
  85. def setFileName(self, fileName: str|None) -> None: ...
  86. def setGrid(self, grid: QtCore.QPoint) -> None: ...
  87. def selectWidget(self, widget: QtWidgets.QWidget|None, select: bool = ...) -> None: ...
  88. def clearSelection(self, update: bool = ...) -> None: ...
  89. def setDirty(self, dirty: bool) -> None: ...
  90. def setFeatures(self, f: 'QDesignerFormWindowInterface.FeatureFlag') -> None: ...
  91. def unmanageWidget(self, widget: QtWidgets.QWidget|None) -> None: ...
  92. def manageWidget(self, widget: QtWidgets.QWidget|None) -> None: ...
  93. def removeResourceFile(self, path: str|None) -> None: ...
  94. def addResourceFile(self, path: str|None) -> None: ...
  95. def resourceFiles(self) -> list[str]: ...
  96. def emitSelectionChanged(self) -> None: ...
  97. @typing.overload
  98. @staticmethod
  99. def findFormWindow(w: QtWidgets.QWidget|None) -> 'QDesignerFormWindowInterface|None': ...
  100. @typing.overload
  101. @staticmethod
  102. def findFormWindow(obj: QtCore.QObject|None) -> 'QDesignerFormWindowInterface|None': ...
  103. def isDirty(self) -> bool: ...
  104. def isManaged(self, widget: QtWidgets.QWidget|None) -> bool: ...
  105. def setMainContainer(self, mainContainer: QtWidgets.QWidget|None) -> None: ...
  106. def mainContainer(self) -> QtWidgets.QWidget|None: ...
  107. def grid(self) -> QtCore.QPoint: ...
  108. def cursor(self) -> 'QDesignerFormWindowCursorInterface|None': ...
  109. def core(self) -> QDesignerFormEditorInterface|None: ...
  110. def setIncludeHints(self, includeHints: collections.abc.Iterable[str|None]) -> None: ...
  111. def includeHints(self) -> list[str]: ...
  112. def setExportMacro(self, exportMacro: str|None) -> None: ...
  113. def exportMacro(self) -> str: ...
  114. def setPixmapFunction(self, pixmapFunction: str|None) -> None: ...
  115. def pixmapFunction(self) -> str: ...
  116. def setLayoutFunction(self, margin: str|None, spacing: str|None) -> None: ...
  117. def layoutFunction(self) -> typing.Tuple[str, str]: ...
  118. def setLayoutDefault(self, margin: int, spacing: int) -> None: ...
  119. def layoutDefault(self) -> typing.Tuple[int, int]: ...
  120. def setComment(self, comment: str|None) -> None: ...
  121. def comment(self) -> str: ...
  122. def setAuthor(self, author: str|None) -> None: ...
  123. def author(self) -> str: ...
  124. def hasFeature(self, f: 'QDesignerFormWindowInterface.FeatureFlag') -> bool: ...
  125. def features(self) -> 'QDesignerFormWindowInterface.FeatureFlag': ...
  126. @typing.overload
  127. def setContents(self, dev: QtCore.QIODevice|None, errorMessage: str|None = ...) -> bool: ...
  128. @typing.overload
  129. def setContents(self, contents: str|None) -> bool: ...
  130. def contents(self) -> str: ...
  131. def absoluteDir(self) -> QtCore.QDir: ...
  132. def fileName(self) -> str: ...
  133. class QDesignerFormWindowCursorInterface(PyQt6.sip.simplewrapper):
  134. class MoveMode(enum.Enum):
  135. MoveAnchor = ... # type: QDesignerFormWindowCursorInterface.MoveMode
  136. KeepAnchor = ... # type: QDesignerFormWindowCursorInterface.MoveMode
  137. class MoveOperation(enum.Enum):
  138. NoMove = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
  139. Start = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
  140. End = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
  141. Next = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
  142. Prev = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
  143. Left = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
  144. Right = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
  145. Up = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
  146. Down = ... # type: QDesignerFormWindowCursorInterface.MoveOperation
  147. def __init__(self) -> None: ...
  148. def isWidgetSelected(self, widget: QtWidgets.QWidget|None) -> bool: ...
  149. def resetWidgetProperty(self, widget: QtWidgets.QWidget|None, name: str|None) -> None: ...
  150. def setWidgetProperty(self, widget: QtWidgets.QWidget|None, name: str|None, value: typing.Any) -> None: ...
  151. def setProperty(self, name: str|None, value: typing.Any) -> None: ...
  152. def selectedWidget(self, index: int) -> QtWidgets.QWidget|None: ...
  153. def selectedWidgetCount(self) -> int: ...
  154. def hasSelection(self) -> bool: ...
  155. def widget(self, index: int) -> QtWidgets.QWidget|None: ...
  156. def widgetCount(self) -> int: ...
  157. def current(self) -> QtWidgets.QWidget|None: ...
  158. def setPosition(self, pos: int, mode: 'QDesignerFormWindowCursorInterface.MoveMode' = ...) -> None: ...
  159. def position(self) -> int: ...
  160. def movePosition(self, op: 'QDesignerFormWindowCursorInterface.MoveOperation', mode: 'QDesignerFormWindowCursorInterface.MoveMode' = ...) -> bool: ...
  161. def formWindow(self) -> QDesignerFormWindowInterface|None: ...
  162. class QDesignerFormWindowManagerInterface(QtCore.QObject):
  163. class ActionGroup(enum.Enum):
  164. StyledPreviewActionGroup = ... # type: QDesignerFormWindowManagerInterface.ActionGroup
  165. class Action(enum.Enum):
  166. CutAction = ... # type: QDesignerFormWindowManagerInterface.Action
  167. CopyAction = ... # type: QDesignerFormWindowManagerInterface.Action
  168. PasteAction = ... # type: QDesignerFormWindowManagerInterface.Action
  169. DeleteAction = ... # type: QDesignerFormWindowManagerInterface.Action
  170. SelectAllAction = ... # type: QDesignerFormWindowManagerInterface.Action
  171. LowerAction = ... # type: QDesignerFormWindowManagerInterface.Action
  172. RaiseAction = ... # type: QDesignerFormWindowManagerInterface.Action
  173. UndoAction = ... # type: QDesignerFormWindowManagerInterface.Action
  174. RedoAction = ... # type: QDesignerFormWindowManagerInterface.Action
  175. HorizontalLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action
  176. VerticalLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action
  177. SplitHorizontalAction = ... # type: QDesignerFormWindowManagerInterface.Action
  178. SplitVerticalAction = ... # type: QDesignerFormWindowManagerInterface.Action
  179. GridLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action
  180. FormLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action
  181. BreakLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action
  182. AdjustSizeAction = ... # type: QDesignerFormWindowManagerInterface.Action
  183. SimplifyLayoutAction = ... # type: QDesignerFormWindowManagerInterface.Action
  184. DefaultPreviewAction = ... # type: QDesignerFormWindowManagerInterface.Action
  185. FormWindowSettingsDialogAction = ... # type: QDesignerFormWindowManagerInterface.Action
  186. def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
  187. def showPluginDialog(self) -> None: ...
  188. def closeAllPreviews(self) -> None: ...
  189. def showPreview(self) -> None: ...
  190. def actionGroup(self, actionGroup: 'QDesignerFormWindowManagerInterface.ActionGroup') -> QtGui.QActionGroup|None: ...
  191. def action(self, action: 'QDesignerFormWindowManagerInterface.Action') -> QtGui.QAction|None: ...
  192. def setActiveFormWindow(self, formWindow: QDesignerFormWindowInterface|None) -> None: ...
  193. def removeFormWindow(self, formWindow: QDesignerFormWindowInterface|None) -> None: ...
  194. def addFormWindow(self, formWindow: QDesignerFormWindowInterface|None) -> None: ...
  195. formWindowSettingsChanged: typing.ClassVar[QtCore.pyqtSignal]
  196. activeFormWindowChanged: typing.ClassVar[QtCore.pyqtSignal]
  197. formWindowRemoved: typing.ClassVar[QtCore.pyqtSignal]
  198. formWindowAdded: typing.ClassVar[QtCore.pyqtSignal]
  199. def core(self) -> QDesignerFormEditorInterface|None: ...
  200. def createFormWindow(self, parent: QtWidgets.QWidget|None = ..., flags: QtCore.Qt.WindowType = ...) -> QDesignerFormWindowInterface|None: ...
  201. def formWindow(self, index: int) -> QDesignerFormWindowInterface|None: ...
  202. def formWindowCount(self) -> int: ...
  203. def activeFormWindow(self) -> QDesignerFormWindowInterface|None: ...
  204. def actionSimplifyLayout(self) -> QtGui.QAction|None: ...
  205. def actionFormLayout(self) -> QtGui.QAction|None: ...
  206. class QDesignerObjectInspectorInterface(QtWidgets.QWidget):
  207. def __init__(self, parent: QtWidgets.QWidget|None, flags: QtCore.Qt.WindowType = ...) -> None: ...
  208. def setFormWindow(self, formWindow: QDesignerFormWindowInterface|None) -> None: ...
  209. def core(self) -> QDesignerFormEditorInterface|None: ...
  210. class QDesignerPropertyEditorInterface(QtWidgets.QWidget):
  211. def __init__(self, parent: QtWidgets.QWidget|None, flags: QtCore.Qt.WindowType = ...) -> None: ...
  212. def setReadOnly(self, readOnly: bool) -> None: ...
  213. def setPropertyValue(self, name: str|None, value: typing.Any, changed: bool = ...) -> None: ...
  214. def setObject(self, object: QtCore.QObject|None) -> None: ...
  215. propertyChanged: typing.ClassVar[QtCore.pyqtSignal]
  216. def currentPropertyName(self) -> str: ...
  217. def object(self) -> QtCore.QObject|None: ...
  218. def isReadOnly(self) -> bool: ...
  219. def core(self) -> QDesignerFormEditorInterface|None: ...
  220. class QDesignerWidgetBoxInterface(QtWidgets.QWidget):
  221. def __init__(self, parent: QtWidgets.QWidget|None = ..., flags: QtCore.Qt.WindowType = ...) -> None: ...
  222. def save(self) -> bool: ...
  223. def load(self) -> bool: ...
  224. def fileName(self) -> str: ...
  225. def setFileName(self, file_name: str|None) -> None: ...
  226. class QDesignerContainerExtension(PyQt6.sip.simplewrapper):
  227. def __init__(self) -> None: ...
  228. def canRemove(self, index: int) -> bool: ...
  229. def canAddWidget(self) -> bool: ...
  230. def remove(self, index: int) -> None: ...
  231. def insertWidget(self, index: int, widget: QtWidgets.QWidget|None) -> None: ...
  232. def addWidget(self, widget: QtWidgets.QWidget|None) -> None: ...
  233. def setCurrentIndex(self, index: int) -> None: ...
  234. def currentIndex(self) -> int: ...
  235. def widget(self, index: int) -> QtWidgets.QWidget|None: ...
  236. def __len__(self) -> int: ...
  237. def count(self) -> int: ...
  238. class QDesignerCustomWidgetInterface(PyQt6.sip.simplewrapper):
  239. @typing.overload
  240. def __init__(self) -> None: ...
  241. @typing.overload
  242. def __init__(self, a0: 'QDesignerCustomWidgetInterface') -> None: ...
  243. def codeTemplate(self) -> str: ...
  244. def domXml(self) -> str: ...
  245. def initialize(self, core: QDesignerFormEditorInterface|None) -> None: ...
  246. def isInitialized(self) -> bool: ...
  247. def createWidget(self, parent: QtWidgets.QWidget|None) -> QtWidgets.QWidget|None: ...
  248. def isContainer(self) -> bool: ...
  249. def icon(self) -> QtGui.QIcon: ...
  250. def includeFile(self) -> str: ...
  251. def whatsThis(self) -> str: ...
  252. def toolTip(self) -> str: ...
  253. def group(self) -> str: ...
  254. def name(self) -> str: ...
  255. class QDesignerCustomWidgetCollectionInterface(PyQt6.sip.simplewrapper):
  256. @typing.overload
  257. def __init__(self) -> None: ...
  258. @typing.overload
  259. def __init__(self, a0: 'QDesignerCustomWidgetCollectionInterface') -> None: ...
  260. def customWidgets(self) -> list[QDesignerCustomWidgetInterface]: ...
  261. class QAbstractExtensionFactory(PyQt6.sip.simplewrapper):
  262. @typing.overload
  263. def __init__(self) -> None: ...
  264. @typing.overload
  265. def __init__(self, a0: 'QAbstractExtensionFactory') -> None: ...
  266. def extension(self, object: QtCore.QObject|None, iid: str|None) -> QtCore.QObject|None: ...
  267. class QExtensionFactory(QtCore.QObject, QAbstractExtensionFactory):
  268. def __init__(self, parent: 'QExtensionManager|None' = ...) -> None: ...
  269. def createExtension(self, object: QtCore.QObject|None, iid: str|None, parent: QtCore.QObject|None) -> QtCore.QObject|None: ...
  270. def extensionManager(self) -> 'QExtensionManager|None': ...
  271. def extension(self, object: QtCore.QObject|None, iid: str|None) -> QtCore.QObject|None: ...
  272. class QAbstractExtensionManager(PyQt6.sip.simplewrapper):
  273. @typing.overload
  274. def __init__(self) -> None: ...
  275. @typing.overload
  276. def __init__(self, a0: 'QAbstractExtensionManager') -> None: ...
  277. def extension(self, object: QtCore.QObject|None, iid: str|None) -> QtCore.QObject|None: ...
  278. def unregisterExtensions(self, factory: QAbstractExtensionFactory|None, iid: str|None) -> None: ...
  279. def registerExtensions(self, factory: QAbstractExtensionFactory|None, iid: str|None) -> None: ...
  280. class QFormBuilder(QAbstractFormBuilder):
  281. def __init__(self) -> None: ...
  282. def customWidgets(self) -> list[QDesignerCustomWidgetInterface]: ...
  283. def setPluginPath(self, pluginPaths: collections.abc.Iterable[str|None]) -> None: ...
  284. def addPluginPath(self, pluginPath: str|None) -> None: ...
  285. def clearPluginPaths(self) -> None: ...
  286. def pluginPaths(self) -> list[str]: ...
  287. class QDesignerMemberSheetExtension(PyQt6.sip.simplewrapper):
  288. def __init__(self) -> None: ...
  289. def parameterNames(self, index: int) -> list[QtCore.QByteArray]: ...
  290. def parameterTypes(self, index: int) -> list[QtCore.QByteArray]: ...
  291. def signature(self, index: int) -> str: ...
  292. def declaredInClass(self, index: int) -> str: ...
  293. def inheritedFromWidget(self, index: int) -> bool: ...
  294. def isSlot(self, index: int) -> bool: ...
  295. def isSignal(self, index: int) -> bool: ...
  296. def setVisible(self, index: int, b: bool) -> None: ...
  297. def isVisible(self, index: int) -> bool: ...
  298. def setMemberGroup(self, index: int, group: str|None) -> None: ...
  299. def memberGroup(self, index: int) -> str: ...
  300. def memberName(self, index: int) -> str: ...
  301. def indexOf(self, name: str|None) -> int: ...
  302. def __len__(self) -> int: ...
  303. def count(self) -> int: ...
  304. class QDesignerPropertySheetExtension(PyQt6.sip.simplewrapper):
  305. def __init__(self) -> None: ...
  306. def isEnabled(self, index: int) -> bool: ...
  307. def setChanged(self, index: int, changed: bool) -> None: ...
  308. def isChanged(self, index: int) -> bool: ...
  309. def setProperty(self, index: int, value: typing.Any) -> None: ...
  310. def property(self, index: int) -> typing.Any: ...
  311. def setAttribute(self, index: int, b: bool) -> None: ...
  312. def isAttribute(self, index: int) -> bool: ...
  313. def setVisible(self, index: int, b: bool) -> None: ...
  314. def isVisible(self, index: int) -> bool: ...
  315. def reset(self, index: int) -> bool: ...
  316. def hasReset(self, index: int) -> bool: ...
  317. def setPropertyGroup(self, index: int, group: str|None) -> None: ...
  318. def propertyGroup(self, index: int) -> str: ...
  319. def propertyName(self, index: int) -> str: ...
  320. def indexOf(self, name: str|None) -> int: ...
  321. def __len__(self) -> int: ...
  322. def count(self) -> int: ...
  323. class QExtensionManager(QtCore.QObject, QAbstractExtensionManager):
  324. def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
  325. def extension(self, object: QtCore.QObject|None, iid: str|None) -> QtCore.QObject|None: ...
  326. def unregisterExtensions(self, factory: QAbstractExtensionFactory|None, iid: str|None = ...) -> None: ...
  327. def registerExtensions(self, factory: QAbstractExtensionFactory|None, iid: str|None = ...) -> None: ...
  328. class QDesignerTaskMenuExtension(PyQt6.sip.simplewrapper):
  329. def __init__(self) -> None: ...
  330. def preferredEditAction(self) -> QtGui.QAction|None: ...
  331. def taskActions(self) -> list[QtGui.QAction]: ...
  332. class QPyDesignerContainerExtension(QtCore.QObject, QDesignerContainerExtension):
  333. def __init__(self, parent: QtCore.QObject|None) -> None: ...
  334. class QPyDesignerCustomWidgetCollectionPlugin(QtCore.QObject, QDesignerCustomWidgetCollectionInterface):
  335. def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
  336. class QPyDesignerCustomWidgetPlugin(QtCore.QObject, QDesignerCustomWidgetInterface):
  337. def __init__(self, parent: QtCore.QObject|None = ...) -> None: ...
  338. class QPyDesignerMemberSheetExtension(QtCore.QObject, QDesignerMemberSheetExtension):
  339. def __init__(self, parent: QtCore.QObject|None) -> None: ...
  340. class QPyDesignerPropertySheetExtension(QtCore.QObject, QDesignerPropertySheetExtension):
  341. def __init__(self, parent: QtCore.QObject|None) -> None: ...
  342. class QPyDesignerTaskMenuExtension(QtCore.QObject, QDesignerTaskMenuExtension):
  343. def __init__(self, parent: QtCore.QObject|None) -> None: ...