File indexing completed on 2024-05-12 16:08:59
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 from QtWidgets import * 0007 0008 import datetime 0009 0010 class QDesignerActionEditorInterface(QWidget): 0011 """""" 0012 def __init__(self, parent, flags = 0): 0013 '''void QDesignerActionEditorInterface.__init__(QWidget parent, Qt.WindowFlags flags = 0)''' 0014 def setFormWindow(self, formWindow): 0015 '''abstract void QDesignerActionEditorInterface.setFormWindow(QDesignerFormWindowInterface formWindow)''' 0016 def unmanageAction(self, action): 0017 '''abstract void QDesignerActionEditorInterface.unmanageAction(QAction action)''' 0018 def manageAction(self, action): 0019 '''abstract void QDesignerActionEditorInterface.manageAction(QAction action)''' 0020 def core(self): 0021 '''QDesignerFormEditorInterface QDesignerActionEditorInterface.core()''' 0022 return QDesignerFormEditorInterface() 0023 0024 0025 class QAbstractFormBuilder(): 0026 """""" 0027 def __init__(self): 0028 '''void QAbstractFormBuilder.__init__()''' 0029 def errorString(self): 0030 '''str QAbstractFormBuilder.errorString()''' 0031 return str() 0032 def workingDirectory(self): 0033 '''QDir QAbstractFormBuilder.workingDirectory()''' 0034 return QDir() 0035 def setWorkingDirectory(self, directory): 0036 '''void QAbstractFormBuilder.setWorkingDirectory(QDir directory)''' 0037 def save(self, dev, widget): 0038 '''void QAbstractFormBuilder.save(QIODevice dev, QWidget widget)''' 0039 def load(self, device, parent = None): 0040 '''QWidget QAbstractFormBuilder.load(QIODevice device, QWidget parent = None)''' 0041 return QWidget() 0042 0043 0044 class QDesignerFormEditorInterface(QObject): 0045 """""" 0046 def __init__(self, parent = None): 0047 '''void QDesignerFormEditorInterface.__init__(QObject parent = None)''' 0048 def setActionEditor(self, actionEditor): 0049 '''void QDesignerFormEditorInterface.setActionEditor(QDesignerActionEditorInterface actionEditor)''' 0050 def setObjectInspector(self, objectInspector): 0051 '''void QDesignerFormEditorInterface.setObjectInspector(QDesignerObjectInspectorInterface objectInspector)''' 0052 def setPropertyEditor(self, propertyEditor): 0053 '''void QDesignerFormEditorInterface.setPropertyEditor(QDesignerPropertyEditorInterface propertyEditor)''' 0054 def setWidgetBox(self, widgetBox): 0055 '''void QDesignerFormEditorInterface.setWidgetBox(QDesignerWidgetBoxInterface widgetBox)''' 0056 def actionEditor(self): 0057 '''QDesignerActionEditorInterface QDesignerFormEditorInterface.actionEditor()''' 0058 return QDesignerActionEditorInterface() 0059 def formWindowManager(self): 0060 '''QDesignerFormWindowManagerInterface QDesignerFormEditorInterface.formWindowManager()''' 0061 return QDesignerFormWindowManagerInterface() 0062 def objectInspector(self): 0063 '''QDesignerObjectInspectorInterface QDesignerFormEditorInterface.objectInspector()''' 0064 return QDesignerObjectInspectorInterface() 0065 def propertyEditor(self): 0066 '''QDesignerPropertyEditorInterface QDesignerFormEditorInterface.propertyEditor()''' 0067 return QDesignerPropertyEditorInterface() 0068 def widgetBox(self): 0069 '''QDesignerWidgetBoxInterface QDesignerFormEditorInterface.widgetBox()''' 0070 return QDesignerWidgetBoxInterface() 0071 def topLevel(self): 0072 '''QWidget QDesignerFormEditorInterface.topLevel()''' 0073 return QWidget() 0074 def extensionManager(self): 0075 '''QExtensionManager QDesignerFormEditorInterface.extensionManager()''' 0076 return QExtensionManager() 0077 0078 0079 class QDesignerFormWindowInterface(QWidget): 0080 """""" 0081 # Enum QDesignerFormWindowInterface.FeatureFlag 0082 EditFeature = 0 0083 GridFeature = 0 0084 TabOrderFeature = 0 0085 DefaultFeature = 0 0086 0087 def __init__(self, parent = None, flags = 0): 0088 '''void QDesignerFormWindowInterface.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 0089 def activateResourceFilePaths(self, paths, errorCount, errorMessages): 0090 '''void QDesignerFormWindowInterface.activateResourceFilePaths(list-of-str paths, int errorCount, str errorMessages)''' 0091 def formContainer(self): 0092 '''abstract QWidget QDesignerFormWindowInterface.formContainer()''' 0093 return QWidget() 0094 def activeResourceFilePaths(self): 0095 '''list-of-str QDesignerFormWindowInterface.activeResourceFilePaths()''' 0096 return [str()] 0097 def checkContents(self): 0098 '''abstract list-of-str QDesignerFormWindowInterface.checkContents()''' 0099 return [str()] 0100 objectRemoved = pyqtSignal() # void objectRemoved(QObject*) - signal 0101 widgetRemoved = pyqtSignal() # void widgetRemoved(QWidget*) - signal 0102 changed = pyqtSignal() # void changed() - signal 0103 activated = pyqtSignal() # void activated(QWidget*) - signal 0104 aboutToUnmanageWidget = pyqtSignal() # void aboutToUnmanageWidget(QWidget*) - signal 0105 widgetUnmanaged = pyqtSignal() # void widgetUnmanaged(QWidget*) - signal 0106 widgetManaged = pyqtSignal() # void widgetManaged(QWidget*) - signal 0107 resourceFilesChanged = pyqtSignal() # void resourceFilesChanged() - signal 0108 geometryChanged = pyqtSignal() # void geometryChanged() - signal 0109 selectionChanged = pyqtSignal() # void selectionChanged() - signal 0110 featureChanged = pyqtSignal() # void featureChanged(QDesignerFormWindowInterface::Feature) - signal 0111 fileNameChanged = pyqtSignal() # void fileNameChanged(const QStringamp;) - signal 0112 mainContainerChanged = pyqtSignal() # void mainContainerChanged(QWidget*) - signal 0113 def setFileName(self, fileName): 0114 '''abstract void QDesignerFormWindowInterface.setFileName(str fileName)''' 0115 def setGrid(self, grid): 0116 '''abstract void QDesignerFormWindowInterface.setGrid(QPoint grid)''' 0117 def selectWidget(self, widget, select = True): 0118 '''abstract void QDesignerFormWindowInterface.selectWidget(QWidget widget, bool select = True)''' 0119 def clearSelection(self, update = True): 0120 '''abstract void QDesignerFormWindowInterface.clearSelection(bool update = True)''' 0121 def setDirty(self, dirty): 0122 '''abstract void QDesignerFormWindowInterface.setDirty(bool dirty)''' 0123 def setFeatures(self, f): 0124 '''abstract void QDesignerFormWindowInterface.setFeatures(QDesignerFormWindowInterface.Feature f)''' 0125 def unmanageWidget(self, widget): 0126 '''abstract void QDesignerFormWindowInterface.unmanageWidget(QWidget widget)''' 0127 def manageWidget(self, widget): 0128 '''abstract void QDesignerFormWindowInterface.manageWidget(QWidget widget)''' 0129 def removeResourceFile(self, path): 0130 '''abstract void QDesignerFormWindowInterface.removeResourceFile(str path)''' 0131 def addResourceFile(self, path): 0132 '''abstract void QDesignerFormWindowInterface.addResourceFile(str path)''' 0133 def resourceFiles(self): 0134 '''abstract list-of-str QDesignerFormWindowInterface.resourceFiles()''' 0135 return [str()] 0136 def emitSelectionChanged(self): 0137 '''abstract void QDesignerFormWindowInterface.emitSelectionChanged()''' 0138 def findFormWindow(self, w): 0139 '''static QDesignerFormWindowInterface QDesignerFormWindowInterface.findFormWindow(QWidget w)''' 0140 return QDesignerFormWindowInterface() 0141 def findFormWindow(self, obj): 0142 '''static QDesignerFormWindowInterface QDesignerFormWindowInterface.findFormWindow(QObject obj)''' 0143 return QDesignerFormWindowInterface() 0144 def isDirty(self): 0145 '''abstract bool QDesignerFormWindowInterface.isDirty()''' 0146 return bool() 0147 def isManaged(self, widget): 0148 '''abstract bool QDesignerFormWindowInterface.isManaged(QWidget widget)''' 0149 return bool() 0150 def setMainContainer(self, mainContainer): 0151 '''abstract void QDesignerFormWindowInterface.setMainContainer(QWidget mainContainer)''' 0152 def mainContainer(self): 0153 '''abstract QWidget QDesignerFormWindowInterface.mainContainer()''' 0154 return QWidget() 0155 def grid(self): 0156 '''abstract QPoint QDesignerFormWindowInterface.grid()''' 0157 return QPoint() 0158 def cursor(self): 0159 '''abstract QDesignerFormWindowCursorInterface QDesignerFormWindowInterface.cursor()''' 0160 return QDesignerFormWindowCursorInterface() 0161 def core(self): 0162 '''QDesignerFormEditorInterface QDesignerFormWindowInterface.core()''' 0163 return QDesignerFormEditorInterface() 0164 def setIncludeHints(self, includeHints): 0165 '''abstract void QDesignerFormWindowInterface.setIncludeHints(list-of-str includeHints)''' 0166 def includeHints(self): 0167 '''abstract list-of-str QDesignerFormWindowInterface.includeHints()''' 0168 return [str()] 0169 def setExportMacro(self, exportMacro): 0170 '''abstract void QDesignerFormWindowInterface.setExportMacro(str exportMacro)''' 0171 def exportMacro(self): 0172 '''abstract str QDesignerFormWindowInterface.exportMacro()''' 0173 return str() 0174 def setPixmapFunction(self, pixmapFunction): 0175 '''abstract void QDesignerFormWindowInterface.setPixmapFunction(str pixmapFunction)''' 0176 def pixmapFunction(self): 0177 '''abstract str QDesignerFormWindowInterface.pixmapFunction()''' 0178 return str() 0179 def setLayoutFunction(self, margin, spacing): 0180 '''abstract void QDesignerFormWindowInterface.setLayoutFunction(str margin, str spacing)''' 0181 def layoutFunction(self, margin, spacing): 0182 '''abstract void QDesignerFormWindowInterface.layoutFunction(str margin, str spacing)''' 0183 def setLayoutDefault(self, margin, spacing): 0184 '''abstract void QDesignerFormWindowInterface.setLayoutDefault(int margin, int spacing)''' 0185 def layoutDefault(self, margin, spacing): 0186 '''abstract void QDesignerFormWindowInterface.layoutDefault(int margin, int spacing)''' 0187 def setComment(self, comment): 0188 '''abstract void QDesignerFormWindowInterface.setComment(str comment)''' 0189 def comment(self): 0190 '''abstract str QDesignerFormWindowInterface.comment()''' 0191 return str() 0192 def setAuthor(self, author): 0193 '''abstract void QDesignerFormWindowInterface.setAuthor(str author)''' 0194 def author(self): 0195 '''abstract str QDesignerFormWindowInterface.author()''' 0196 return str() 0197 def hasFeature(self, f): 0198 '''abstract bool QDesignerFormWindowInterface.hasFeature(QDesignerFormWindowInterface.Feature f)''' 0199 return bool() 0200 def features(self): 0201 '''abstract QDesignerFormWindowInterface.Feature QDesignerFormWindowInterface.features()''' 0202 return QDesignerFormWindowInterface.Feature() 0203 def setContents(self, dev, errorMessage = None): 0204 '''abstract bool QDesignerFormWindowInterface.setContents(QIODevice dev, str errorMessage = None)''' 0205 return bool() 0206 def setContents(self, contents): 0207 '''abstract bool QDesignerFormWindowInterface.setContents(str contents)''' 0208 return bool() 0209 def contents(self): 0210 '''abstract str QDesignerFormWindowInterface.contents()''' 0211 return str() 0212 def absoluteDir(self): 0213 '''abstract QDir QDesignerFormWindowInterface.absoluteDir()''' 0214 return QDir() 0215 def fileName(self): 0216 '''abstract str QDesignerFormWindowInterface.fileName()''' 0217 return str() 0218 class Feature(): 0219 """""" 0220 def __init__(self): 0221 '''QDesignerFormWindowInterface.Feature QDesignerFormWindowInterface.Feature.__init__()''' 0222 return QDesignerFormWindowInterface.Feature() 0223 def __init__(self): 0224 '''int QDesignerFormWindowInterface.Feature.__init__()''' 0225 return int() 0226 def __init__(self): 0227 '''void QDesignerFormWindowInterface.Feature.__init__()''' 0228 def __bool__(self): 0229 '''int QDesignerFormWindowInterface.Feature.__bool__()''' 0230 return int() 0231 def __ne__(self, f): 0232 '''bool QDesignerFormWindowInterface.Feature.__ne__(QDesignerFormWindowInterface.Feature f)''' 0233 return bool() 0234 def __eq__(self, f): 0235 '''bool QDesignerFormWindowInterface.Feature.__eq__(QDesignerFormWindowInterface.Feature f)''' 0236 return bool() 0237 def __invert__(self): 0238 '''QDesignerFormWindowInterface.Feature QDesignerFormWindowInterface.Feature.__invert__()''' 0239 return QDesignerFormWindowInterface.Feature() 0240 def __and__(self, mask): 0241 '''QDesignerFormWindowInterface.Feature QDesignerFormWindowInterface.Feature.__and__(int mask)''' 0242 return QDesignerFormWindowInterface.Feature() 0243 def __xor__(self, f): 0244 '''QDesignerFormWindowInterface.Feature QDesignerFormWindowInterface.Feature.__xor__(QDesignerFormWindowInterface.Feature f)''' 0245 return QDesignerFormWindowInterface.Feature() 0246 def __xor__(self, f): 0247 '''QDesignerFormWindowInterface.Feature QDesignerFormWindowInterface.Feature.__xor__(int f)''' 0248 return QDesignerFormWindowInterface.Feature() 0249 def __or__(self, f): 0250 '''QDesignerFormWindowInterface.Feature QDesignerFormWindowInterface.Feature.__or__(QDesignerFormWindowInterface.Feature f)''' 0251 return QDesignerFormWindowInterface.Feature() 0252 def __or__(self, f): 0253 '''QDesignerFormWindowInterface.Feature QDesignerFormWindowInterface.Feature.__or__(int f)''' 0254 return QDesignerFormWindowInterface.Feature() 0255 def __int__(self): 0256 '''int QDesignerFormWindowInterface.Feature.__int__()''' 0257 return int() 0258 def __ixor__(self, f): 0259 '''QDesignerFormWindowInterface.Feature QDesignerFormWindowInterface.Feature.__ixor__(QDesignerFormWindowInterface.Feature f)''' 0260 return QDesignerFormWindowInterface.Feature() 0261 def __ior__(self, f): 0262 '''QDesignerFormWindowInterface.Feature QDesignerFormWindowInterface.Feature.__ior__(QDesignerFormWindowInterface.Feature f)''' 0263 return QDesignerFormWindowInterface.Feature() 0264 def __iand__(self, mask): 0265 '''QDesignerFormWindowInterface.Feature QDesignerFormWindowInterface.Feature.__iand__(int mask)''' 0266 return QDesignerFormWindowInterface.Feature() 0267 0268 0269 class QDesignerFormWindowCursorInterface(): 0270 """""" 0271 # Enum QDesignerFormWindowCursorInterface.MoveMode 0272 MoveAnchor = 0 0273 KeepAnchor = 0 0274 0275 # Enum QDesignerFormWindowCursorInterface.MoveOperation 0276 NoMove = 0 0277 Start = 0 0278 End = 0 0279 Next = 0 0280 Prev = 0 0281 Left = 0 0282 Right = 0 0283 Up = 0 0284 Down = 0 0285 0286 def __init__(self): 0287 '''void QDesignerFormWindowCursorInterface.__init__()''' 0288 def __init__(self): 0289 '''QDesignerFormWindowCursorInterface QDesignerFormWindowCursorInterface.__init__()''' 0290 return QDesignerFormWindowCursorInterface() 0291 def isWidgetSelected(self, widget): 0292 '''bool QDesignerFormWindowCursorInterface.isWidgetSelected(QWidget widget)''' 0293 return bool() 0294 def resetWidgetProperty(self, widget, name): 0295 '''abstract void QDesignerFormWindowCursorInterface.resetWidgetProperty(QWidget widget, str name)''' 0296 def setWidgetProperty(self, widget, name, value): 0297 '''abstract void QDesignerFormWindowCursorInterface.setWidgetProperty(QWidget widget, str name, QVariant value)''' 0298 def setProperty(self, name, value): 0299 '''abstract void QDesignerFormWindowCursorInterface.setProperty(str name, QVariant value)''' 0300 def selectedWidget(self, index): 0301 '''abstract QWidget QDesignerFormWindowCursorInterface.selectedWidget(int index)''' 0302 return QWidget() 0303 def selectedWidgetCount(self): 0304 '''abstract int QDesignerFormWindowCursorInterface.selectedWidgetCount()''' 0305 return int() 0306 def hasSelection(self): 0307 '''abstract bool QDesignerFormWindowCursorInterface.hasSelection()''' 0308 return bool() 0309 def widget(self, index): 0310 '''abstract QWidget QDesignerFormWindowCursorInterface.widget(int index)''' 0311 return QWidget() 0312 def widgetCount(self): 0313 '''abstract int QDesignerFormWindowCursorInterface.widgetCount()''' 0314 return int() 0315 def current(self): 0316 '''abstract QWidget QDesignerFormWindowCursorInterface.current()''' 0317 return QWidget() 0318 def setPosition(self, pos, mode = None): 0319 '''abstract void QDesignerFormWindowCursorInterface.setPosition(int pos, QDesignerFormWindowCursorInterface.MoveMode mode = QDesignerFormWindowCursorInterface.MoveAnchor)''' 0320 def position(self): 0321 '''abstract int QDesignerFormWindowCursorInterface.position()''' 0322 return int() 0323 def movePosition(self, op, mode = None): 0324 '''abstract bool QDesignerFormWindowCursorInterface.movePosition(QDesignerFormWindowCursorInterface.MoveOperation op, QDesignerFormWindowCursorInterface.MoveMode mode = QDesignerFormWindowCursorInterface.MoveAnchor)''' 0325 return bool() 0326 def formWindow(self): 0327 '''abstract QDesignerFormWindowInterface QDesignerFormWindowCursorInterface.formWindow()''' 0328 return QDesignerFormWindowInterface() 0329 0330 0331 class QDesignerFormWindowManagerInterface(QObject): 0332 """""" 0333 # Enum QDesignerFormWindowManagerInterface.ActionGroup 0334 StyledPreviewActionGroup = 0 0335 0336 # Enum QDesignerFormWindowManagerInterface.Action 0337 CutAction = 0 0338 CopyAction = 0 0339 PasteAction = 0 0340 DeleteAction = 0 0341 SelectAllAction = 0 0342 LowerAction = 0 0343 RaiseAction = 0 0344 UndoAction = 0 0345 RedoAction = 0 0346 HorizontalLayoutAction = 0 0347 VerticalLayoutAction = 0 0348 SplitHorizontalAction = 0 0349 SplitVerticalAction = 0 0350 GridLayoutAction = 0 0351 FormLayoutAction = 0 0352 BreakLayoutAction = 0 0353 AdjustSizeAction = 0 0354 SimplifyLayoutAction = 0 0355 DefaultPreviewAction = 0 0356 FormWindowSettingsDialogAction = 0 0357 0358 def __init__(self, parent = None): 0359 '''void QDesignerFormWindowManagerInterface.__init__(QObject parent = None)''' 0360 def showPluginDialog(self): 0361 '''abstract void QDesignerFormWindowManagerInterface.showPluginDialog()''' 0362 def closeAllPreviews(self): 0363 '''abstract void QDesignerFormWindowManagerInterface.closeAllPreviews()''' 0364 def showPreview(self): 0365 '''abstract void QDesignerFormWindowManagerInterface.showPreview()''' 0366 def actionGroup(self, actionGroup): 0367 '''abstract QActionGroup QDesignerFormWindowManagerInterface.actionGroup(QDesignerFormWindowManagerInterface.ActionGroup actionGroup)''' 0368 return QActionGroup() 0369 def action(self, action): 0370 '''abstract QAction QDesignerFormWindowManagerInterface.action(QDesignerFormWindowManagerInterface.Action action)''' 0371 return QAction() 0372 def setActiveFormWindow(self, formWindow): 0373 '''abstract void QDesignerFormWindowManagerInterface.setActiveFormWindow(QDesignerFormWindowInterface formWindow)''' 0374 def removeFormWindow(self, formWindow): 0375 '''abstract void QDesignerFormWindowManagerInterface.removeFormWindow(QDesignerFormWindowInterface formWindow)''' 0376 def addFormWindow(self, formWindow): 0377 '''abstract void QDesignerFormWindowManagerInterface.addFormWindow(QDesignerFormWindowInterface formWindow)''' 0378 formWindowSettingsChanged = pyqtSignal() # void formWindowSettingsChanged(QDesignerFormWindowInterface*) - signal 0379 activeFormWindowChanged = pyqtSignal() # void activeFormWindowChanged(QDesignerFormWindowInterface*) - signal 0380 formWindowRemoved = pyqtSignal() # void formWindowRemoved(QDesignerFormWindowInterface*) - signal 0381 formWindowAdded = pyqtSignal() # void formWindowAdded(QDesignerFormWindowInterface*) - signal 0382 def core(self): 0383 '''abstract QDesignerFormEditorInterface QDesignerFormWindowManagerInterface.core()''' 0384 return QDesignerFormEditorInterface() 0385 def createFormWindow(self, parent = None, flags = 0): 0386 '''abstract QDesignerFormWindowInterface QDesignerFormWindowManagerInterface.createFormWindow(QWidget parent = None, Qt.WindowFlags flags = 0)''' 0387 return QDesignerFormWindowInterface() 0388 def formWindow(self, index): 0389 '''abstract QDesignerFormWindowInterface QDesignerFormWindowManagerInterface.formWindow(int index)''' 0390 return QDesignerFormWindowInterface() 0391 def formWindowCount(self): 0392 '''abstract int QDesignerFormWindowManagerInterface.formWindowCount()''' 0393 return int() 0394 def activeFormWindow(self): 0395 '''abstract QDesignerFormWindowInterface QDesignerFormWindowManagerInterface.activeFormWindow()''' 0396 return QDesignerFormWindowInterface() 0397 def actionSimplifyLayout(self): 0398 '''QAction QDesignerFormWindowManagerInterface.actionSimplifyLayout()''' 0399 return QAction() 0400 def actionFormLayout(self): 0401 '''QAction QDesignerFormWindowManagerInterface.actionFormLayout()''' 0402 return QAction() 0403 0404 0405 class QDesignerObjectInspectorInterface(QWidget): 0406 """""" 0407 def __init__(self, parent, flags = 0): 0408 '''void QDesignerObjectInspectorInterface.__init__(QWidget parent, Qt.WindowFlags flags = 0)''' 0409 def setFormWindow(self, formWindow): 0410 '''abstract void QDesignerObjectInspectorInterface.setFormWindow(QDesignerFormWindowInterface formWindow)''' 0411 def core(self): 0412 '''QDesignerFormEditorInterface QDesignerObjectInspectorInterface.core()''' 0413 return QDesignerFormEditorInterface() 0414 0415 0416 class QDesignerPropertyEditorInterface(QWidget): 0417 """""" 0418 def __init__(self, parent, flags = 0): 0419 '''void QDesignerPropertyEditorInterface.__init__(QWidget parent, Qt.WindowFlags flags = 0)''' 0420 def setReadOnly(self, readOnly): 0421 '''abstract void QDesignerPropertyEditorInterface.setReadOnly(bool readOnly)''' 0422 def setPropertyValue(self, name, value, changed = True): 0423 '''abstract void QDesignerPropertyEditorInterface.setPropertyValue(str name, QVariant value, bool changed = True)''' 0424 def setObject(self, object): 0425 '''abstract void QDesignerPropertyEditorInterface.setObject(QObject object)''' 0426 propertyChanged = pyqtSignal() # void propertyChanged(const QStringamp;,const QVariantamp;) - signal 0427 def currentPropertyName(self): 0428 '''abstract str QDesignerPropertyEditorInterface.currentPropertyName()''' 0429 return str() 0430 def object(self): 0431 '''abstract QObject QDesignerPropertyEditorInterface.object()''' 0432 return QObject() 0433 def isReadOnly(self): 0434 '''abstract bool QDesignerPropertyEditorInterface.isReadOnly()''' 0435 return bool() 0436 def core(self): 0437 '''QDesignerFormEditorInterface QDesignerPropertyEditorInterface.core()''' 0438 return QDesignerFormEditorInterface() 0439 0440 0441 class QDesignerWidgetBoxInterface(QWidget): 0442 """""" 0443 def __init__(self, parent = None, flags = 0): 0444 '''void QDesignerWidgetBoxInterface.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 0445 def save(self): 0446 '''abstract bool QDesignerWidgetBoxInterface.save()''' 0447 return bool() 0448 def load(self): 0449 '''abstract bool QDesignerWidgetBoxInterface.load()''' 0450 return bool() 0451 def fileName(self): 0452 '''abstract str QDesignerWidgetBoxInterface.fileName()''' 0453 return str() 0454 def setFileName(self, file_name): 0455 '''abstract void QDesignerWidgetBoxInterface.setFileName(str file_name)''' 0456 0457 0458 class QDesignerContainerExtension(): 0459 """""" 0460 def __init__(self): 0461 '''void QDesignerContainerExtension.__init__()''' 0462 def __init__(self): 0463 '''QDesignerContainerExtension QDesignerContainerExtension.__init__()''' 0464 return QDesignerContainerExtension() 0465 def canRemove(self, index): 0466 '''bool QDesignerContainerExtension.canRemove(int index)''' 0467 return bool() 0468 def canAddWidget(self): 0469 '''bool QDesignerContainerExtension.canAddWidget()''' 0470 return bool() 0471 def remove(self, index): 0472 '''abstract void QDesignerContainerExtension.remove(int index)''' 0473 def insertWidget(self, index, widget): 0474 '''abstract void QDesignerContainerExtension.insertWidget(int index, QWidget widget)''' 0475 def addWidget(self, widget): 0476 '''abstract void QDesignerContainerExtension.addWidget(QWidget widget)''' 0477 def setCurrentIndex(self, index): 0478 '''abstract void QDesignerContainerExtension.setCurrentIndex(int index)''' 0479 def currentIndex(self): 0480 '''abstract int QDesignerContainerExtension.currentIndex()''' 0481 return int() 0482 def widget(self, index): 0483 '''abstract QWidget QDesignerContainerExtension.widget(int index)''' 0484 return QWidget() 0485 def __len__(self): 0486 ''' QDesignerContainerExtension.__len__()''' 0487 return () 0488 def count(self): 0489 '''abstract int QDesignerContainerExtension.count()''' 0490 return int() 0491 0492 0493 class QDesignerCustomWidgetInterface(): 0494 """""" 0495 def __init__(self): 0496 '''void QDesignerCustomWidgetInterface.__init__()''' 0497 def __init__(self): 0498 '''QDesignerCustomWidgetInterface QDesignerCustomWidgetInterface.__init__()''' 0499 return QDesignerCustomWidgetInterface() 0500 def codeTemplate(self): 0501 '''str QDesignerCustomWidgetInterface.codeTemplate()''' 0502 return str() 0503 def domXml(self): 0504 '''str QDesignerCustomWidgetInterface.domXml()''' 0505 return str() 0506 def initialize(self, core): 0507 '''void QDesignerCustomWidgetInterface.initialize(QDesignerFormEditorInterface core)''' 0508 def isInitialized(self): 0509 '''bool QDesignerCustomWidgetInterface.isInitialized()''' 0510 return bool() 0511 def createWidget(self, parent): 0512 '''abstract QWidget QDesignerCustomWidgetInterface.createWidget(QWidget parent)''' 0513 return QWidget() 0514 def isContainer(self): 0515 '''abstract bool QDesignerCustomWidgetInterface.isContainer()''' 0516 return bool() 0517 def icon(self): 0518 '''abstract QIcon QDesignerCustomWidgetInterface.icon()''' 0519 return QIcon() 0520 def includeFile(self): 0521 '''abstract str QDesignerCustomWidgetInterface.includeFile()''' 0522 return str() 0523 def whatsThis(self): 0524 '''abstract str QDesignerCustomWidgetInterface.whatsThis()''' 0525 return str() 0526 def toolTip(self): 0527 '''abstract str QDesignerCustomWidgetInterface.toolTip()''' 0528 return str() 0529 def group(self): 0530 '''abstract str QDesignerCustomWidgetInterface.group()''' 0531 return str() 0532 def name(self): 0533 '''abstract str QDesignerCustomWidgetInterface.name()''' 0534 return str() 0535 0536 0537 class QDesignerCustomWidgetCollectionInterface(): 0538 """""" 0539 def __init__(self): 0540 '''void QDesignerCustomWidgetCollectionInterface.__init__()''' 0541 def __init__(self): 0542 '''QDesignerCustomWidgetCollectionInterface QDesignerCustomWidgetCollectionInterface.__init__()''' 0543 return QDesignerCustomWidgetCollectionInterface() 0544 def customWidgets(self): 0545 '''abstract list-of-QDesignerCustomWidgetInterface QDesignerCustomWidgetCollectionInterface.customWidgets()''' 0546 return [QDesignerCustomWidgetInterface()] 0547 0548 0549 class QAbstractExtensionFactory(): 0550 """""" 0551 def __init__(self): 0552 '''void QAbstractExtensionFactory.__init__()''' 0553 def __init__(self): 0554 '''QAbstractExtensionFactory QAbstractExtensionFactory.__init__()''' 0555 return QAbstractExtensionFactory() 0556 def extension(self, object, iid): 0557 '''abstract QObject QAbstractExtensionFactory.extension(QObject object, str iid)''' 0558 return QObject() 0559 0560 0561 class QExtensionFactory(QObject, QAbstractExtensionFactory): 0562 """""" 0563 def __init__(self, parent = None): 0564 '''void QExtensionFactory.__init__(QExtensionManager parent = None)''' 0565 def createExtension(self, object, iid, parent): 0566 '''QObject QExtensionFactory.createExtension(QObject object, str iid, QObject parent)''' 0567 return QObject() 0568 def extensionManager(self): 0569 '''QExtensionManager QExtensionFactory.extensionManager()''' 0570 return QExtensionManager() 0571 def extension(self, object, iid): 0572 '''QObject QExtensionFactory.extension(QObject object, str iid)''' 0573 return QObject() 0574 0575 0576 class QAbstractExtensionManager(): 0577 """""" 0578 def __init__(self): 0579 '''void QAbstractExtensionManager.__init__()''' 0580 def __init__(self): 0581 '''QAbstractExtensionManager QAbstractExtensionManager.__init__()''' 0582 return QAbstractExtensionManager() 0583 def extension(self, object, iid): 0584 '''abstract QObject QAbstractExtensionManager.extension(QObject object, str iid)''' 0585 return QObject() 0586 def unregisterExtensions(self, factory, iid): 0587 '''abstract void QAbstractExtensionManager.unregisterExtensions(QAbstractExtensionFactory factory, str iid)''' 0588 def registerExtensions(self, factory, iid): 0589 '''abstract void QAbstractExtensionManager.registerExtensions(QAbstractExtensionFactory factory, str iid)''' 0590 0591 0592 class QFormBuilder(QAbstractFormBuilder): 0593 """""" 0594 def __init__(self): 0595 '''void QFormBuilder.__init__()''' 0596 def customWidgets(self): 0597 '''list-of-QDesignerCustomWidgetInterface QFormBuilder.customWidgets()''' 0598 return [QDesignerCustomWidgetInterface()] 0599 def setPluginPath(self, pluginPaths): 0600 '''void QFormBuilder.setPluginPath(list-of-str pluginPaths)''' 0601 def addPluginPath(self, pluginPath): 0602 '''void QFormBuilder.addPluginPath(str pluginPath)''' 0603 def clearPluginPaths(self): 0604 '''void QFormBuilder.clearPluginPaths()''' 0605 def pluginPaths(self): 0606 '''list-of-str QFormBuilder.pluginPaths()''' 0607 return [str()] 0608 0609 0610 class QDesignerMemberSheetExtension(): 0611 """""" 0612 def __init__(self): 0613 '''void QDesignerMemberSheetExtension.__init__()''' 0614 def __init__(self): 0615 '''QDesignerMemberSheetExtension QDesignerMemberSheetExtension.__init__()''' 0616 return QDesignerMemberSheetExtension() 0617 def parameterNames(self, index): 0618 '''abstract list-of-QByteArray QDesignerMemberSheetExtension.parameterNames(int index)''' 0619 return [QByteArray()] 0620 def parameterTypes(self, index): 0621 '''abstract list-of-QByteArray QDesignerMemberSheetExtension.parameterTypes(int index)''' 0622 return [QByteArray()] 0623 def signature(self, index): 0624 '''abstract str QDesignerMemberSheetExtension.signature(int index)''' 0625 return str() 0626 def declaredInClass(self, index): 0627 '''abstract str QDesignerMemberSheetExtension.declaredInClass(int index)''' 0628 return str() 0629 def inheritedFromWidget(self, index): 0630 '''abstract bool QDesignerMemberSheetExtension.inheritedFromWidget(int index)''' 0631 return bool() 0632 def isSlot(self, index): 0633 '''abstract bool QDesignerMemberSheetExtension.isSlot(int index)''' 0634 return bool() 0635 def isSignal(self, index): 0636 '''abstract bool QDesignerMemberSheetExtension.isSignal(int index)''' 0637 return bool() 0638 def setVisible(self, index, b): 0639 '''abstract void QDesignerMemberSheetExtension.setVisible(int index, bool b)''' 0640 def isVisible(self, index): 0641 '''abstract bool QDesignerMemberSheetExtension.isVisible(int index)''' 0642 return bool() 0643 def setMemberGroup(self, index, group): 0644 '''abstract void QDesignerMemberSheetExtension.setMemberGroup(int index, str group)''' 0645 def memberGroup(self, index): 0646 '''abstract str QDesignerMemberSheetExtension.memberGroup(int index)''' 0647 return str() 0648 def memberName(self, index): 0649 '''abstract str QDesignerMemberSheetExtension.memberName(int index)''' 0650 return str() 0651 def indexOf(self, name): 0652 '''abstract int QDesignerMemberSheetExtension.indexOf(str name)''' 0653 return int() 0654 def __len__(self): 0655 ''' QDesignerMemberSheetExtension.__len__()''' 0656 return () 0657 def count(self): 0658 '''abstract int QDesignerMemberSheetExtension.count()''' 0659 return int() 0660 0661 0662 class QDesignerPropertySheetExtension(): 0663 """""" 0664 def __init__(self): 0665 '''void QDesignerPropertySheetExtension.__init__()''' 0666 def __init__(self): 0667 '''QDesignerPropertySheetExtension QDesignerPropertySheetExtension.__init__()''' 0668 return QDesignerPropertySheetExtension() 0669 def isEnabled(self, index): 0670 '''bool QDesignerPropertySheetExtension.isEnabled(int index)''' 0671 return bool() 0672 def setChanged(self, index, changed): 0673 '''abstract void QDesignerPropertySheetExtension.setChanged(int index, bool changed)''' 0674 def isChanged(self, index): 0675 '''abstract bool QDesignerPropertySheetExtension.isChanged(int index)''' 0676 return bool() 0677 def setProperty(self, index, value): 0678 '''abstract void QDesignerPropertySheetExtension.setProperty(int index, QVariant value)''' 0679 def property(self, index): 0680 '''abstract QVariant QDesignerPropertySheetExtension.property(int index)''' 0681 return QVariant() 0682 def setAttribute(self, index, b): 0683 '''abstract void QDesignerPropertySheetExtension.setAttribute(int index, bool b)''' 0684 def isAttribute(self, index): 0685 '''abstract bool QDesignerPropertySheetExtension.isAttribute(int index)''' 0686 return bool() 0687 def setVisible(self, index, b): 0688 '''abstract void QDesignerPropertySheetExtension.setVisible(int index, bool b)''' 0689 def isVisible(self, index): 0690 '''abstract bool QDesignerPropertySheetExtension.isVisible(int index)''' 0691 return bool() 0692 def reset(self, index): 0693 '''abstract bool QDesignerPropertySheetExtension.reset(int index)''' 0694 return bool() 0695 def hasReset(self, index): 0696 '''abstract bool QDesignerPropertySheetExtension.hasReset(int index)''' 0697 return bool() 0698 def setPropertyGroup(self, index, group): 0699 '''abstract void QDesignerPropertySheetExtension.setPropertyGroup(int index, str group)''' 0700 def propertyGroup(self, index): 0701 '''abstract str QDesignerPropertySheetExtension.propertyGroup(int index)''' 0702 return str() 0703 def propertyName(self, index): 0704 '''abstract str QDesignerPropertySheetExtension.propertyName(int index)''' 0705 return str() 0706 def indexOf(self, name): 0707 '''abstract int QDesignerPropertySheetExtension.indexOf(str name)''' 0708 return int() 0709 def __len__(self): 0710 ''' QDesignerPropertySheetExtension.__len__()''' 0711 return () 0712 def count(self): 0713 '''abstract int QDesignerPropertySheetExtension.count()''' 0714 return int() 0715 0716 0717 class QExtensionManager(QObject, QAbstractExtensionManager): 0718 """""" 0719 def __init__(self, parent = None): 0720 '''void QExtensionManager.__init__(QObject parent = None)''' 0721 def extension(self, object, iid): 0722 '''QObject QExtensionManager.extension(QObject object, str iid)''' 0723 return QObject() 0724 def unregisterExtensions(self, factory, iid = None): 0725 '''void QExtensionManager.unregisterExtensions(QAbstractExtensionFactory factory, str iid = '')''' 0726 def registerExtensions(self, factory, iid = None): 0727 '''void QExtensionManager.registerExtensions(QAbstractExtensionFactory factory, str iid = '')''' 0728 0729 0730 class QDesignerTaskMenuExtension(): 0731 """""" 0732 def __init__(self): 0733 '''void QDesignerTaskMenuExtension.__init__()''' 0734 def __init__(self): 0735 '''QDesignerTaskMenuExtension QDesignerTaskMenuExtension.__init__()''' 0736 return QDesignerTaskMenuExtension() 0737 def preferredEditAction(self): 0738 '''QAction QDesignerTaskMenuExtension.preferredEditAction()''' 0739 return QAction() 0740 def taskActions(self): 0741 '''abstract list-of-QAction QDesignerTaskMenuExtension.taskActions()''' 0742 return [QAction()] 0743 0744 0745 class QPyDesignerContainerExtension(QObject, QDesignerContainerExtension): 0746 """""" 0747 def __init__(self, parent): 0748 '''void QPyDesignerContainerExtension.__init__(QObject parent)''' 0749 0750 0751 class QPyDesignerCustomWidgetCollectionPlugin(QObject, QDesignerCustomWidgetCollectionInterface): 0752 """""" 0753 def __init__(self, parent = None): 0754 '''void QPyDesignerCustomWidgetCollectionPlugin.__init__(QObject parent = None)''' 0755 0756 0757 class QPyDesignerCustomWidgetPlugin(QObject, QDesignerCustomWidgetInterface): 0758 """""" 0759 def __init__(self, parent = None): 0760 '''void QPyDesignerCustomWidgetPlugin.__init__(QObject parent = None)''' 0761 0762 0763 class QPyDesignerMemberSheetExtension(QObject, QDesignerMemberSheetExtension): 0764 """""" 0765 def __init__(self, parent): 0766 '''void QPyDesignerMemberSheetExtension.__init__(QObject parent)''' 0767 0768 0769 class QPyDesignerPropertySheetExtension(QObject, QDesignerPropertySheetExtension): 0770 """""" 0771 def __init__(self, parent): 0772 '''void QPyDesignerPropertySheetExtension.__init__(QObject parent)''' 0773 0774 0775 class QPyDesignerTaskMenuExtension(QObject, QDesignerTaskMenuExtension): 0776 """""" 0777 def __init__(self, parent): 0778 '''void QPyDesignerTaskMenuExtension.__init__(QObject parent)''' 0779 0780