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