File indexing completed on 2024-05-12 16:09:11
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 QWidget(QObject, QPaintDevice): 0011 """""" 0012 # Enum QWidget.RenderFlag 0013 DrawWindowBackground = 0 0014 DrawChildren = 0 0015 IgnoreMask = 0 0016 0017 def __init__(self, parent = None, flags = 0): 0018 '''void QWidget.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 0019 windowIconTextChanged = pyqtSignal() # void windowIconTextChanged(const QStringamp;) - signal 0020 windowIconChanged = pyqtSignal() # void windowIconChanged(const QIconamp;) - signal 0021 windowTitleChanged = pyqtSignal() # void windowTitleChanged(const QStringamp;) - signal 0022 def toolTipDuration(self): 0023 '''int QWidget.toolTipDuration()''' 0024 return int() 0025 def setToolTipDuration(self, msec): 0026 '''void QWidget.setToolTipDuration(int msec)''' 0027 def initPainter(self, painter): 0028 '''void QWidget.initPainter(QPainter painter)''' 0029 def sharedPainter(self): 0030 '''QPainter QWidget.sharedPainter()''' 0031 return QPainter() 0032 def nativeEvent(self, eventType, message, result): 0033 '''bool QWidget.nativeEvent(QByteArray eventType, sip.voidptr message, int result)''' 0034 return bool() 0035 def windowHandle(self): 0036 '''QWindow QWidget.windowHandle()''' 0037 return QWindow() 0038 def createWindowContainer(self, window, parent = None, flags = 0): 0039 '''static QWidget QWidget.createWindowContainer(QWindow window, QWidget parent = None, Qt.WindowFlags flags = 0)''' 0040 return QWidget() 0041 def grab(self, rectangle = None): 0042 '''QPixmap QWidget.grab(QRect rectangle = QRect(QPoint(0,0),QSize(-1,-1)))''' 0043 return QPixmap() 0044 def hasHeightForWidth(self): 0045 '''bool QWidget.hasHeightForWidth()''' 0046 return bool() 0047 def setInputMethodHints(self, hints): 0048 '''void QWidget.setInputMethodHints(Qt.InputMethodHints hints)''' 0049 def inputMethodHints(self): 0050 '''Qt.InputMethodHints QWidget.inputMethodHints()''' 0051 return Qt.InputMethodHints() 0052 def previousInFocusChain(self): 0053 '''QWidget QWidget.previousInFocusChain()''' 0054 return QWidget() 0055 def contentsMargins(self): 0056 '''QMargins QWidget.contentsMargins()''' 0057 return QMargins() 0058 def ungrabGesture(self, type): 0059 '''void QWidget.ungrabGesture(Qt.GestureType type)''' 0060 def grabGesture(self, type, flags = None): 0061 '''void QWidget.grabGesture(Qt.GestureType type, Qt.GestureFlags flags = Qt.GestureFlags(0))''' 0062 def setGraphicsEffect(self, effect): 0063 '''void QWidget.setGraphicsEffect(QGraphicsEffect effect)''' 0064 def graphicsEffect(self): 0065 '''QGraphicsEffect QWidget.graphicsEffect()''' 0066 return QGraphicsEffect() 0067 def graphicsProxyWidget(self): 0068 '''QGraphicsProxyWidget QWidget.graphicsProxyWidget()''' 0069 return QGraphicsProxyWidget() 0070 def windowFilePath(self): 0071 '''str QWidget.windowFilePath()''' 0072 return str() 0073 def setWindowFilePath(self, filePath): 0074 '''void QWidget.setWindowFilePath(str filePath)''' 0075 def nativeParentWidget(self): 0076 '''QWidget QWidget.nativeParentWidget()''' 0077 return QWidget() 0078 def effectiveWinId(self): 0079 '''sip.voidptr QWidget.effectiveWinId()''' 0080 return sip.voidptr() 0081 def unsetLocale(self): 0082 '''void QWidget.unsetLocale()''' 0083 def locale(self): 0084 '''QLocale QWidget.locale()''' 0085 return QLocale() 0086 def setLocale(self, locale): 0087 '''void QWidget.setLocale(QLocale locale)''' 0088 def render(self, target, targetOffset = QPoint(), sourceRegion = QRegion(), flags = None): 0089 '''void QWidget.render(QPaintDevice target, QPoint targetOffset = QPoint(), QRegion sourceRegion = QRegion(), QWidget.RenderFlags flags = QWidget.DrawWindowBackground|QWidget.DrawChildren)''' 0090 def render(self, painter, targetOffset = QPoint(), sourceRegion = QRegion(), flags = None): 0091 '''void QWidget.render(QPainter painter, QPoint targetOffset = QPoint(), QRegion sourceRegion = QRegion(), QWidget.RenderFlags flags = QWidget.DrawWindowBackground|QWidget.DrawChildren)''' 0092 def restoreGeometry(self, geometry): 0093 '''bool QWidget.restoreGeometry(QByteArray geometry)''' 0094 return bool() 0095 def saveGeometry(self): 0096 '''QByteArray QWidget.saveGeometry()''' 0097 return QByteArray() 0098 def setShortcutAutoRepeat(self, id, enabled = True): 0099 '''void QWidget.setShortcutAutoRepeat(int id, bool enabled = True)''' 0100 def styleSheet(self): 0101 '''str QWidget.styleSheet()''' 0102 return str() 0103 def setStyleSheet(self, styleSheet): 0104 '''void QWidget.setStyleSheet(str styleSheet)''' 0105 def setAutoFillBackground(self, enabled): 0106 '''void QWidget.setAutoFillBackground(bool enabled)''' 0107 def autoFillBackground(self): 0108 '''bool QWidget.autoFillBackground()''' 0109 return bool() 0110 def setWindowModality(self, windowModality): 0111 '''void QWidget.setWindowModality(Qt.WindowModality windowModality)''' 0112 def windowModality(self): 0113 '''Qt.WindowModality QWidget.windowModality()''' 0114 return Qt.WindowModality() 0115 def testAttribute(self, attribute): 0116 '''bool QWidget.testAttribute(Qt.WidgetAttribute attribute)''' 0117 return bool() 0118 def parentWidget(self): 0119 '''QWidget QWidget.parentWidget()''' 0120 return QWidget() 0121 def height(self): 0122 '''int QWidget.height()''' 0123 return int() 0124 def width(self): 0125 '''int QWidget.width()''' 0126 return int() 0127 def size(self): 0128 '''QSize QWidget.size()''' 0129 return QSize() 0130 def geometry(self): 0131 '''QRect QWidget.geometry()''' 0132 return QRect() 0133 def rect(self): 0134 '''QRect QWidget.rect()''' 0135 return QRect() 0136 def isHidden(self): 0137 '''bool QWidget.isHidden()''' 0138 return bool() 0139 def isVisible(self): 0140 '''bool QWidget.isVisible()''' 0141 return bool() 0142 def updatesEnabled(self): 0143 '''bool QWidget.updatesEnabled()''' 0144 return bool() 0145 def underMouse(self): 0146 '''bool QWidget.underMouse()''' 0147 return bool() 0148 def hasMouseTracking(self): 0149 '''bool QWidget.hasMouseTracking()''' 0150 return bool() 0151 def setMouseTracking(self, enable): 0152 '''void QWidget.setMouseTracking(bool enable)''' 0153 def fontInfo(self): 0154 '''QFontInfo QWidget.fontInfo()''' 0155 return QFontInfo() 0156 def fontMetrics(self): 0157 '''QFontMetrics QWidget.fontMetrics()''' 0158 return QFontMetrics() 0159 def font(self): 0160 '''QFont QWidget.font()''' 0161 return QFont() 0162 def maximumHeight(self): 0163 '''int QWidget.maximumHeight()''' 0164 return int() 0165 def maximumWidth(self): 0166 '''int QWidget.maximumWidth()''' 0167 return int() 0168 def minimumHeight(self): 0169 '''int QWidget.minimumHeight()''' 0170 return int() 0171 def minimumWidth(self): 0172 '''int QWidget.minimumWidth()''' 0173 return int() 0174 def isModal(self): 0175 '''bool QWidget.isModal()''' 0176 return bool() 0177 def isEnabled(self): 0178 '''bool QWidget.isEnabled()''' 0179 return bool() 0180 def isWindow(self): 0181 '''bool QWidget.isWindow()''' 0182 return bool() 0183 def winId(self): 0184 '''sip.voidptr QWidget.winId()''' 0185 return sip.voidptr() 0186 def windowFlags(self): 0187 '''Qt.WindowFlags QWidget.windowFlags()''' 0188 return Qt.WindowFlags() 0189 def windowType(self): 0190 '''Qt.WindowType QWidget.windowType()''' 0191 return Qt.WindowType() 0192 def focusPreviousChild(self): 0193 '''bool QWidget.focusPreviousChild()''' 0194 return bool() 0195 def focusNextChild(self): 0196 '''bool QWidget.focusNextChild()''' 0197 return bool() 0198 def focusNextPrevChild(self, next): 0199 '''bool QWidget.focusNextPrevChild(bool next)''' 0200 return bool() 0201 def destroy(self, destroyWindow = True, destroySubWindows = True): 0202 '''void QWidget.destroy(bool destroyWindow = True, bool destroySubWindows = True)''' 0203 def create(self, window = 0, initializeWindow = True, destroyOldWindow = True): 0204 '''void QWidget.create(sip.voidptr window = 0, bool initializeWindow = True, bool destroyOldWindow = True)''' 0205 def updateMicroFocus(self): 0206 '''void QWidget.updateMicroFocus()''' 0207 def inputMethodQuery(self): 0208 '''Qt.InputMethodQuery QWidget.inputMethodQuery()''' 0209 return Qt.InputMethodQuery() 0210 def inputMethodEvent(self): 0211 '''QInputMethodEvent QWidget.inputMethodEvent()''' 0212 return QInputMethodEvent() 0213 def metric(self): 0214 '''QPaintDevice.PaintDeviceMetric QWidget.metric()''' 0215 return QPaintDevice.PaintDeviceMetric() 0216 def changeEvent(self): 0217 '''QEvent QWidget.changeEvent()''' 0218 return QEvent() 0219 def hideEvent(self): 0220 '''QHideEvent QWidget.hideEvent()''' 0221 return QHideEvent() 0222 def showEvent(self): 0223 '''QShowEvent QWidget.showEvent()''' 0224 return QShowEvent() 0225 def dropEvent(self): 0226 '''QDropEvent QWidget.dropEvent()''' 0227 return QDropEvent() 0228 def dragLeaveEvent(self): 0229 '''QDragLeaveEvent QWidget.dragLeaveEvent()''' 0230 return QDragLeaveEvent() 0231 def dragMoveEvent(self): 0232 '''QDragMoveEvent QWidget.dragMoveEvent()''' 0233 return QDragMoveEvent() 0234 def dragEnterEvent(self): 0235 '''QDragEnterEvent QWidget.dragEnterEvent()''' 0236 return QDragEnterEvent() 0237 def actionEvent(self): 0238 '''QActionEvent QWidget.actionEvent()''' 0239 return QActionEvent() 0240 def tabletEvent(self): 0241 '''QTabletEvent QWidget.tabletEvent()''' 0242 return QTabletEvent() 0243 def contextMenuEvent(self): 0244 '''QContextMenuEvent QWidget.contextMenuEvent()''' 0245 return QContextMenuEvent() 0246 def closeEvent(self): 0247 '''QCloseEvent QWidget.closeEvent()''' 0248 return QCloseEvent() 0249 def resizeEvent(self): 0250 '''QResizeEvent QWidget.resizeEvent()''' 0251 return QResizeEvent() 0252 def moveEvent(self): 0253 '''QMoveEvent QWidget.moveEvent()''' 0254 return QMoveEvent() 0255 def paintEvent(self): 0256 '''QPaintEvent QWidget.paintEvent()''' 0257 return QPaintEvent() 0258 def leaveEvent(self): 0259 '''QEvent QWidget.leaveEvent()''' 0260 return QEvent() 0261 def enterEvent(self): 0262 '''QEvent QWidget.enterEvent()''' 0263 return QEvent() 0264 def focusOutEvent(self): 0265 '''QFocusEvent QWidget.focusOutEvent()''' 0266 return QFocusEvent() 0267 def focusInEvent(self): 0268 '''QFocusEvent QWidget.focusInEvent()''' 0269 return QFocusEvent() 0270 def keyReleaseEvent(self): 0271 '''QKeyEvent QWidget.keyReleaseEvent()''' 0272 return QKeyEvent() 0273 def keyPressEvent(self): 0274 '''QKeyEvent QWidget.keyPressEvent()''' 0275 return QKeyEvent() 0276 def wheelEvent(self): 0277 '''QWheelEvent QWidget.wheelEvent()''' 0278 return QWheelEvent() 0279 def mouseMoveEvent(self): 0280 '''QMouseEvent QWidget.mouseMoveEvent()''' 0281 return QMouseEvent() 0282 def mouseDoubleClickEvent(self): 0283 '''QMouseEvent QWidget.mouseDoubleClickEvent()''' 0284 return QMouseEvent() 0285 def mouseReleaseEvent(self): 0286 '''QMouseEvent QWidget.mouseReleaseEvent()''' 0287 return QMouseEvent() 0288 def mousePressEvent(self): 0289 '''QMouseEvent QWidget.mousePressEvent()''' 0290 return QMouseEvent() 0291 def event(self): 0292 '''QEvent QWidget.event()''' 0293 return QEvent() 0294 customContextMenuRequested = pyqtSignal() # void customContextMenuRequested(const QPointamp;) - signal 0295 def isAncestorOf(self, child): 0296 '''bool QWidget.isAncestorOf(QWidget child)''' 0297 return bool() 0298 def ensurePolished(self): 0299 '''void QWidget.ensurePolished()''' 0300 def paintEngine(self): 0301 '''QPaintEngine QWidget.paintEngine()''' 0302 return QPaintEngine() 0303 def setAttribute(self, attribute, on = True): 0304 '''void QWidget.setAttribute(Qt.WidgetAttribute attribute, bool on = True)''' 0305 def childAt(self, p): 0306 '''QWidget QWidget.childAt(QPoint p)''' 0307 return QWidget() 0308 def childAt(self, ax, ay): 0309 '''QWidget QWidget.childAt(int ax, int ay)''' 0310 return QWidget() 0311 def find(self): 0312 '''static sip.voidptr QWidget.find()''' 0313 return sip.voidptr() 0314 def overrideWindowFlags(self, type): 0315 '''void QWidget.overrideWindowFlags(Qt.WindowFlags type)''' 0316 def setWindowFlags(self, type): 0317 '''void QWidget.setWindowFlags(Qt.WindowFlags type)''' 0318 def actions(self): 0319 '''list-of-QAction QWidget.actions()''' 0320 return [QAction()] 0321 def removeAction(self, action): 0322 '''void QWidget.removeAction(QAction action)''' 0323 def insertActions(self, before, actions): 0324 '''void QWidget.insertActions(QAction before, list-of-QAction actions)''' 0325 def insertAction(self, before, action): 0326 '''void QWidget.insertAction(QAction before, QAction action)''' 0327 def addActions(self, actions): 0328 '''void QWidget.addActions(list-of-QAction actions)''' 0329 def addAction(self, action): 0330 '''void QWidget.addAction(QAction action)''' 0331 def setAcceptDrops(self, on): 0332 '''void QWidget.setAcceptDrops(bool on)''' 0333 def acceptDrops(self): 0334 '''bool QWidget.acceptDrops()''' 0335 return bool() 0336 def nextInFocusChain(self): 0337 '''QWidget QWidget.nextInFocusChain()''' 0338 return QWidget() 0339 def focusWidget(self): 0340 '''QWidget QWidget.focusWidget()''' 0341 return QWidget() 0342 def scroll(self, dx, dy): 0343 '''void QWidget.scroll(int dx, int dy)''' 0344 def scroll(self, dx, dy): 0345 '''QRect QWidget.scroll(int dx, int dy)''' 0346 return QRect() 0347 def setParent(self, parent): 0348 '''void QWidget.setParent(QWidget parent)''' 0349 def setParent(self, parent, f): 0350 '''void QWidget.setParent(QWidget parent, Qt.WindowFlags f)''' 0351 def updateGeometry(self): 0352 '''void QWidget.updateGeometry()''' 0353 def setLayout(self): 0354 '''QLayout QWidget.setLayout()''' 0355 return QLayout() 0356 def layout(self): 0357 '''QLayout QWidget.layout()''' 0358 return QLayout() 0359 def contentsRect(self): 0360 '''QRect QWidget.contentsRect()''' 0361 return QRect() 0362 def getContentsMargins(self, left, top, right, bottom): 0363 '''void QWidget.getContentsMargins(int left, int top, int right, int bottom)''' 0364 def setContentsMargins(self, left, top, right, bottom): 0365 '''void QWidget.setContentsMargins(int left, int top, int right, int bottom)''' 0366 def setContentsMargins(self, margins): 0367 '''void QWidget.setContentsMargins(QMargins margins)''' 0368 def visibleRegion(self): 0369 '''QRegion QWidget.visibleRegion()''' 0370 return QRegion() 0371 def heightForWidth(self): 0372 '''int QWidget.heightForWidth()''' 0373 return int() 0374 def setSizePolicy(self): 0375 '''QSizePolicy QWidget.setSizePolicy()''' 0376 return QSizePolicy() 0377 def setSizePolicy(self, hor, ver): 0378 '''void QWidget.setSizePolicy(QSizePolicy.Policy hor, QSizePolicy.Policy ver)''' 0379 def sizePolicy(self): 0380 '''QSizePolicy QWidget.sizePolicy()''' 0381 return QSizePolicy() 0382 def minimumSizeHint(self): 0383 '''QSize QWidget.minimumSizeHint()''' 0384 return QSize() 0385 def sizeHint(self): 0386 '''QSize QWidget.sizeHint()''' 0387 return QSize() 0388 def overrideWindowState(self, state): 0389 '''void QWidget.overrideWindowState(Qt.WindowStates state)''' 0390 def setWindowState(self, state): 0391 '''void QWidget.setWindowState(Qt.WindowStates state)''' 0392 def windowState(self): 0393 '''Qt.WindowStates QWidget.windowState()''' 0394 return Qt.WindowStates() 0395 def isFullScreen(self): 0396 '''bool QWidget.isFullScreen()''' 0397 return bool() 0398 def isMaximized(self): 0399 '''bool QWidget.isMaximized()''' 0400 return bool() 0401 def isMinimized(self): 0402 '''bool QWidget.isMinimized()''' 0403 return bool() 0404 def isVisibleTo(self): 0405 '''QWidget QWidget.isVisibleTo()''' 0406 return QWidget() 0407 def adjustSize(self): 0408 '''void QWidget.adjustSize()''' 0409 def setGeometry(self): 0410 '''QRect QWidget.setGeometry()''' 0411 return QRect() 0412 def setGeometry(self, ax, ay, aw, ah): 0413 '''void QWidget.setGeometry(int ax, int ay, int aw, int ah)''' 0414 def resize(self): 0415 '''QSize QWidget.resize()''' 0416 return QSize() 0417 def resize(self, w, h): 0418 '''void QWidget.resize(int w, int h)''' 0419 def move(self): 0420 '''QPoint QWidget.move()''' 0421 return QPoint() 0422 def move(self, ax, ay): 0423 '''void QWidget.move(int ax, int ay)''' 0424 def stackUnder(self): 0425 '''QWidget QWidget.stackUnder()''' 0426 return QWidget() 0427 def lower(self): 0428 '''void QWidget.lower()''' 0429 def raise_(self): 0430 '''void QWidget.raise_()''' 0431 def close(self): 0432 '''bool QWidget.close()''' 0433 return bool() 0434 def showNormal(self): 0435 '''void QWidget.showNormal()''' 0436 def showFullScreen(self): 0437 '''void QWidget.showFullScreen()''' 0438 def showMaximized(self): 0439 '''void QWidget.showMaximized()''' 0440 def showMinimized(self): 0441 '''void QWidget.showMinimized()''' 0442 def hide(self): 0443 '''void QWidget.hide()''' 0444 def show(self): 0445 '''void QWidget.show()''' 0446 def setHidden(self, hidden): 0447 '''void QWidget.setHidden(bool hidden)''' 0448 def setVisible(self, visible): 0449 '''void QWidget.setVisible(bool visible)''' 0450 def repaint(self): 0451 '''void QWidget.repaint()''' 0452 def repaint(self, x, y, w, h): 0453 '''void QWidget.repaint(int x, int y, int w, int h)''' 0454 def repaint(self): 0455 '''QRect QWidget.repaint()''' 0456 return QRect() 0457 def repaint(self): 0458 '''QRegion QWidget.repaint()''' 0459 return QRegion() 0460 def update(self): 0461 '''void QWidget.update()''' 0462 def update(self): 0463 '''QRect QWidget.update()''' 0464 return QRect() 0465 def update(self): 0466 '''QRegion QWidget.update()''' 0467 return QRegion() 0468 def update(self, ax, ay, aw, ah): 0469 '''void QWidget.update(int ax, int ay, int aw, int ah)''' 0470 def setUpdatesEnabled(self, enable): 0471 '''void QWidget.setUpdatesEnabled(bool enable)''' 0472 def keyboardGrabber(self): 0473 '''static QWidget QWidget.keyboardGrabber()''' 0474 return QWidget() 0475 def mouseGrabber(self): 0476 '''static QWidget QWidget.mouseGrabber()''' 0477 return QWidget() 0478 def setShortcutEnabled(self, id, enabled = True): 0479 '''void QWidget.setShortcutEnabled(int id, bool enabled = True)''' 0480 def releaseShortcut(self, id): 0481 '''void QWidget.releaseShortcut(int id)''' 0482 def grabShortcut(self, key, context = None): 0483 '''int QWidget.grabShortcut(QKeySequence key, Qt.ShortcutContext context = Qt.WindowShortcut)''' 0484 return int() 0485 def releaseKeyboard(self): 0486 '''void QWidget.releaseKeyboard()''' 0487 def grabKeyboard(self): 0488 '''void QWidget.grabKeyboard()''' 0489 def releaseMouse(self): 0490 '''void QWidget.releaseMouse()''' 0491 def grabMouse(self): 0492 '''void QWidget.grabMouse()''' 0493 def grabMouse(self): 0494 '''QCursor QWidget.grabMouse()''' 0495 return QCursor() 0496 def setContextMenuPolicy(self, policy): 0497 '''void QWidget.setContextMenuPolicy(Qt.ContextMenuPolicy policy)''' 0498 def contextMenuPolicy(self): 0499 '''Qt.ContextMenuPolicy QWidget.contextMenuPolicy()''' 0500 return Qt.ContextMenuPolicy() 0501 def focusProxy(self): 0502 '''QWidget QWidget.focusProxy()''' 0503 return QWidget() 0504 def setFocusProxy(self): 0505 '''QWidget QWidget.setFocusProxy()''' 0506 return QWidget() 0507 def setTabOrder(self): 0508 '''static QWidget QWidget.setTabOrder()''' 0509 return QWidget() 0510 def hasFocus(self): 0511 '''bool QWidget.hasFocus()''' 0512 return bool() 0513 def setFocusPolicy(self, policy): 0514 '''void QWidget.setFocusPolicy(Qt.FocusPolicy policy)''' 0515 def focusPolicy(self): 0516 '''Qt.FocusPolicy QWidget.focusPolicy()''' 0517 return Qt.FocusPolicy() 0518 def clearFocus(self): 0519 '''void QWidget.clearFocus()''' 0520 def activateWindow(self): 0521 '''void QWidget.activateWindow()''' 0522 def isActiveWindow(self): 0523 '''bool QWidget.isActiveWindow()''' 0524 return bool() 0525 def setFocus(self): 0526 '''void QWidget.setFocus()''' 0527 def setFocus(self, reason): 0528 '''void QWidget.setFocus(Qt.FocusReason reason)''' 0529 def isLeftToRight(self): 0530 '''bool QWidget.isLeftToRight()''' 0531 return bool() 0532 def isRightToLeft(self): 0533 '''bool QWidget.isRightToLeft()''' 0534 return bool() 0535 def unsetLayoutDirection(self): 0536 '''void QWidget.unsetLayoutDirection()''' 0537 def layoutDirection(self): 0538 '''Qt.LayoutDirection QWidget.layoutDirection()''' 0539 return Qt.LayoutDirection() 0540 def setLayoutDirection(self, direction): 0541 '''void QWidget.setLayoutDirection(Qt.LayoutDirection direction)''' 0542 def setAccessibleDescription(self, description): 0543 '''void QWidget.setAccessibleDescription(str description)''' 0544 def accessibleDescription(self): 0545 '''str QWidget.accessibleDescription()''' 0546 return str() 0547 def setAccessibleName(self, name): 0548 '''void QWidget.setAccessibleName(str name)''' 0549 def accessibleName(self): 0550 '''str QWidget.accessibleName()''' 0551 return str() 0552 def whatsThis(self): 0553 '''str QWidget.whatsThis()''' 0554 return str() 0555 def setWhatsThis(self): 0556 '''str QWidget.setWhatsThis()''' 0557 return str() 0558 def statusTip(self): 0559 '''str QWidget.statusTip()''' 0560 return str() 0561 def setStatusTip(self): 0562 '''str QWidget.setStatusTip()''' 0563 return str() 0564 def toolTip(self): 0565 '''str QWidget.toolTip()''' 0566 return str() 0567 def setToolTip(self): 0568 '''str QWidget.setToolTip()''' 0569 return str() 0570 def isWindowModified(self): 0571 '''bool QWidget.isWindowModified()''' 0572 return bool() 0573 def windowOpacity(self): 0574 '''float QWidget.windowOpacity()''' 0575 return float() 0576 def setWindowOpacity(self, level): 0577 '''void QWidget.setWindowOpacity(float level)''' 0578 def windowRole(self): 0579 '''str QWidget.windowRole()''' 0580 return str() 0581 def setWindowRole(self): 0582 '''str QWidget.setWindowRole()''' 0583 return str() 0584 def windowIconText(self): 0585 '''str QWidget.windowIconText()''' 0586 return str() 0587 def setWindowIconText(self): 0588 '''str QWidget.setWindowIconText()''' 0589 return str() 0590 def windowIcon(self): 0591 '''QIcon QWidget.windowIcon()''' 0592 return QIcon() 0593 def setWindowIcon(self, icon): 0594 '''void QWidget.setWindowIcon(QIcon icon)''' 0595 def windowTitle(self): 0596 '''str QWidget.windowTitle()''' 0597 return str() 0598 def setWindowTitle(self): 0599 '''str QWidget.setWindowTitle()''' 0600 return str() 0601 def clearMask(self): 0602 '''void QWidget.clearMask()''' 0603 def mask(self): 0604 '''QRegion QWidget.mask()''' 0605 return QRegion() 0606 def setMask(self): 0607 '''QBitmap QWidget.setMask()''' 0608 return QBitmap() 0609 def setMask(self): 0610 '''QRegion QWidget.setMask()''' 0611 return QRegion() 0612 def unsetCursor(self): 0613 '''void QWidget.unsetCursor()''' 0614 def setCursor(self): 0615 '''QCursor QWidget.setCursor()''' 0616 return QCursor() 0617 def cursor(self): 0618 '''QCursor QWidget.cursor()''' 0619 return QCursor() 0620 def setFont(self): 0621 '''QFont QWidget.setFont()''' 0622 return QFont() 0623 def foregroundRole(self): 0624 '''QPalette.ColorRole QWidget.foregroundRole()''' 0625 return QPalette.ColorRole() 0626 def setForegroundRole(self): 0627 '''QPalette.ColorRole QWidget.setForegroundRole()''' 0628 return QPalette.ColorRole() 0629 def backgroundRole(self): 0630 '''QPalette.ColorRole QWidget.backgroundRole()''' 0631 return QPalette.ColorRole() 0632 def setBackgroundRole(self): 0633 '''QPalette.ColorRole QWidget.setBackgroundRole()''' 0634 return QPalette.ColorRole() 0635 def setPalette(self): 0636 '''QPalette QWidget.setPalette()''' 0637 return QPalette() 0638 def palette(self): 0639 '''QPalette QWidget.palette()''' 0640 return QPalette() 0641 def window(self): 0642 '''QWidget QWidget.window()''' 0643 return QWidget() 0644 def mapFrom(self): 0645 '''QPoint QWidget.mapFrom()''' 0646 return QPoint() 0647 def mapTo(self): 0648 '''QPoint QWidget.mapTo()''' 0649 return QPoint() 0650 def mapFromParent(self): 0651 '''QPoint QWidget.mapFromParent()''' 0652 return QPoint() 0653 def mapToParent(self): 0654 '''QPoint QWidget.mapToParent()''' 0655 return QPoint() 0656 def mapFromGlobal(self): 0657 '''QPoint QWidget.mapFromGlobal()''' 0658 return QPoint() 0659 def mapToGlobal(self): 0660 '''QPoint QWidget.mapToGlobal()''' 0661 return QPoint() 0662 def setFixedHeight(self, h): 0663 '''void QWidget.setFixedHeight(int h)''' 0664 def setFixedWidth(self, w): 0665 '''void QWidget.setFixedWidth(int w)''' 0666 def setFixedSize(self): 0667 '''QSize QWidget.setFixedSize()''' 0668 return QSize() 0669 def setFixedSize(self, w, h): 0670 '''void QWidget.setFixedSize(int w, int h)''' 0671 def setBaseSize(self, basew, baseh): 0672 '''void QWidget.setBaseSize(int basew, int baseh)''' 0673 def setBaseSize(self, s): 0674 '''void QWidget.setBaseSize(QSize s)''' 0675 def baseSize(self): 0676 '''QSize QWidget.baseSize()''' 0677 return QSize() 0678 def setSizeIncrement(self, w, h): 0679 '''void QWidget.setSizeIncrement(int w, int h)''' 0680 def setSizeIncrement(self, s): 0681 '''void QWidget.setSizeIncrement(QSize s)''' 0682 def sizeIncrement(self): 0683 '''QSize QWidget.sizeIncrement()''' 0684 return QSize() 0685 def setMaximumHeight(self, maxh): 0686 '''void QWidget.setMaximumHeight(int maxh)''' 0687 def setMaximumWidth(self, maxw): 0688 '''void QWidget.setMaximumWidth(int maxw)''' 0689 def setMinimumHeight(self, minh): 0690 '''void QWidget.setMinimumHeight(int minh)''' 0691 def setMinimumWidth(self, minw): 0692 '''void QWidget.setMinimumWidth(int minw)''' 0693 def setMaximumSize(self, maxw, maxh): 0694 '''void QWidget.setMaximumSize(int maxw, int maxh)''' 0695 def setMaximumSize(self, s): 0696 '''void QWidget.setMaximumSize(QSize s)''' 0697 def setMinimumSize(self, minw, minh): 0698 '''void QWidget.setMinimumSize(int minw, int minh)''' 0699 def setMinimumSize(self, s): 0700 '''void QWidget.setMinimumSize(QSize s)''' 0701 def maximumSize(self): 0702 '''QSize QWidget.maximumSize()''' 0703 return QSize() 0704 def minimumSize(self): 0705 '''QSize QWidget.minimumSize()''' 0706 return QSize() 0707 def childrenRegion(self): 0708 '''QRegion QWidget.childrenRegion()''' 0709 return QRegion() 0710 def childrenRect(self): 0711 '''QRect QWidget.childrenRect()''' 0712 return QRect() 0713 def frameSize(self): 0714 '''QSize QWidget.frameSize()''' 0715 return QSize() 0716 def pos(self): 0717 '''QPoint QWidget.pos()''' 0718 return QPoint() 0719 def y(self): 0720 '''int QWidget.y()''' 0721 return int() 0722 def x(self): 0723 '''int QWidget.x()''' 0724 return int() 0725 def normalGeometry(self): 0726 '''QRect QWidget.normalGeometry()''' 0727 return QRect() 0728 def frameGeometry(self): 0729 '''QRect QWidget.frameGeometry()''' 0730 return QRect() 0731 def setWindowModified(self): 0732 '''bool QWidget.setWindowModified()''' 0733 return bool() 0734 def setDisabled(self): 0735 '''bool QWidget.setDisabled()''' 0736 return bool() 0737 def setEnabled(self): 0738 '''bool QWidget.setEnabled()''' 0739 return bool() 0740 def isEnabledTo(self): 0741 '''QWidget QWidget.isEnabledTo()''' 0742 return QWidget() 0743 def setStyle(self): 0744 '''QStyle QWidget.setStyle()''' 0745 return QStyle() 0746 def style(self): 0747 '''QStyle QWidget.style()''' 0748 return QStyle() 0749 def devType(self): 0750 '''int QWidget.devType()''' 0751 return int() 0752 class RenderFlags(): 0753 """""" 0754 def __init__(self): 0755 '''QWidget.RenderFlags QWidget.RenderFlags.__init__()''' 0756 return QWidget.RenderFlags() 0757 def __init__(self): 0758 '''int QWidget.RenderFlags.__init__()''' 0759 return int() 0760 def __init__(self): 0761 '''void QWidget.RenderFlags.__init__()''' 0762 def __bool__(self): 0763 '''int QWidget.RenderFlags.__bool__()''' 0764 return int() 0765 def __ne__(self, f): 0766 '''bool QWidget.RenderFlags.__ne__(QWidget.RenderFlags f)''' 0767 return bool() 0768 def __eq__(self, f): 0769 '''bool QWidget.RenderFlags.__eq__(QWidget.RenderFlags f)''' 0770 return bool() 0771 def __invert__(self): 0772 '''QWidget.RenderFlags QWidget.RenderFlags.__invert__()''' 0773 return QWidget.RenderFlags() 0774 def __and__(self, mask): 0775 '''QWidget.RenderFlags QWidget.RenderFlags.__and__(int mask)''' 0776 return QWidget.RenderFlags() 0777 def __xor__(self, f): 0778 '''QWidget.RenderFlags QWidget.RenderFlags.__xor__(QWidget.RenderFlags f)''' 0779 return QWidget.RenderFlags() 0780 def __xor__(self, f): 0781 '''QWidget.RenderFlags QWidget.RenderFlags.__xor__(int f)''' 0782 return QWidget.RenderFlags() 0783 def __or__(self, f): 0784 '''QWidget.RenderFlags QWidget.RenderFlags.__or__(QWidget.RenderFlags f)''' 0785 return QWidget.RenderFlags() 0786 def __or__(self, f): 0787 '''QWidget.RenderFlags QWidget.RenderFlags.__or__(int f)''' 0788 return QWidget.RenderFlags() 0789 def __int__(self): 0790 '''int QWidget.RenderFlags.__int__()''' 0791 return int() 0792 def __ixor__(self, f): 0793 '''QWidget.RenderFlags QWidget.RenderFlags.__ixor__(QWidget.RenderFlags f)''' 0794 return QWidget.RenderFlags() 0795 def __ior__(self, f): 0796 '''QWidget.RenderFlags QWidget.RenderFlags.__ior__(QWidget.RenderFlags f)''' 0797 return QWidget.RenderFlags() 0798 def __iand__(self, mask): 0799 '''QWidget.RenderFlags QWidget.RenderFlags.__iand__(int mask)''' 0800 return QWidget.RenderFlags() 0801 0802 0803 class QAbstractButton(QWidget): 0804 """""" 0805 def __init__(self, parent = None): 0806 '''void QAbstractButton.__init__(QWidget parent = None)''' 0807 def timerEvent(self, e): 0808 '''void QAbstractButton.timerEvent(QTimerEvent e)''' 0809 def changeEvent(self, e): 0810 '''void QAbstractButton.changeEvent(QEvent e)''' 0811 def focusOutEvent(self, e): 0812 '''void QAbstractButton.focusOutEvent(QFocusEvent e)''' 0813 def focusInEvent(self, e): 0814 '''void QAbstractButton.focusInEvent(QFocusEvent e)''' 0815 def mouseMoveEvent(self, e): 0816 '''void QAbstractButton.mouseMoveEvent(QMouseEvent e)''' 0817 def mouseReleaseEvent(self, e): 0818 '''void QAbstractButton.mouseReleaseEvent(QMouseEvent e)''' 0819 def mousePressEvent(self, e): 0820 '''void QAbstractButton.mousePressEvent(QMouseEvent e)''' 0821 def keyReleaseEvent(self, e): 0822 '''void QAbstractButton.keyReleaseEvent(QKeyEvent e)''' 0823 def keyPressEvent(self, e): 0824 '''void QAbstractButton.keyPressEvent(QKeyEvent e)''' 0825 def event(self, e): 0826 '''bool QAbstractButton.event(QEvent e)''' 0827 return bool() 0828 def nextCheckState(self): 0829 '''void QAbstractButton.nextCheckState()''' 0830 def checkStateSet(self): 0831 '''void QAbstractButton.checkStateSet()''' 0832 def hitButton(self, pos): 0833 '''bool QAbstractButton.hitButton(QPoint pos)''' 0834 return bool() 0835 def paintEvent(self, e): 0836 '''abstract void QAbstractButton.paintEvent(QPaintEvent e)''' 0837 toggled = pyqtSignal() # void toggled(bool) - signal 0838 clicked = pyqtSignal() # void clicked(bool = 0) - signal 0839 released = pyqtSignal() # void released() - signal 0840 pressed = pyqtSignal() # void pressed() - signal 0841 def setChecked(self): 0842 '''bool QAbstractButton.setChecked()''' 0843 return bool() 0844 def toggle(self): 0845 '''void QAbstractButton.toggle()''' 0846 def click(self): 0847 '''void QAbstractButton.click()''' 0848 def animateClick(self, msecs = 100): 0849 '''void QAbstractButton.animateClick(int msecs = 100)''' 0850 def setIconSize(self, size): 0851 '''void QAbstractButton.setIconSize(QSize size)''' 0852 def group(self): 0853 '''QButtonGroup QAbstractButton.group()''' 0854 return QButtonGroup() 0855 def autoExclusive(self): 0856 '''bool QAbstractButton.autoExclusive()''' 0857 return bool() 0858 def setAutoExclusive(self): 0859 '''bool QAbstractButton.setAutoExclusive()''' 0860 return bool() 0861 def autoRepeat(self): 0862 '''bool QAbstractButton.autoRepeat()''' 0863 return bool() 0864 def setAutoRepeat(self): 0865 '''bool QAbstractButton.setAutoRepeat()''' 0866 return bool() 0867 def isDown(self): 0868 '''bool QAbstractButton.isDown()''' 0869 return bool() 0870 def setDown(self): 0871 '''bool QAbstractButton.setDown()''' 0872 return bool() 0873 def isChecked(self): 0874 '''bool QAbstractButton.isChecked()''' 0875 return bool() 0876 def isCheckable(self): 0877 '''bool QAbstractButton.isCheckable()''' 0878 return bool() 0879 def setCheckable(self): 0880 '''bool QAbstractButton.setCheckable()''' 0881 return bool() 0882 def shortcut(self): 0883 '''QKeySequence QAbstractButton.shortcut()''' 0884 return QKeySequence() 0885 def setShortcut(self, key): 0886 '''void QAbstractButton.setShortcut(QKeySequence key)''' 0887 def iconSize(self): 0888 '''QSize QAbstractButton.iconSize()''' 0889 return QSize() 0890 def icon(self): 0891 '''QIcon QAbstractButton.icon()''' 0892 return QIcon() 0893 def setIcon(self, icon): 0894 '''void QAbstractButton.setIcon(QIcon icon)''' 0895 def text(self): 0896 '''str QAbstractButton.text()''' 0897 return str() 0898 def setText(self, text): 0899 '''void QAbstractButton.setText(str text)''' 0900 def autoRepeatInterval(self): 0901 '''int QAbstractButton.autoRepeatInterval()''' 0902 return int() 0903 def setAutoRepeatInterval(self): 0904 '''int QAbstractButton.setAutoRepeatInterval()''' 0905 return int() 0906 def autoRepeatDelay(self): 0907 '''int QAbstractButton.autoRepeatDelay()''' 0908 return int() 0909 def setAutoRepeatDelay(self): 0910 '''int QAbstractButton.setAutoRepeatDelay()''' 0911 return int() 0912 0913 0914 class QAbstractItemDelegate(QObject): 0915 """""" 0916 # Enum QAbstractItemDelegate.EndEditHint 0917 NoHint = 0 0918 EditNextItem = 0 0919 EditPreviousItem = 0 0920 SubmitModelCache = 0 0921 RevertModelCache = 0 0922 0923 def __init__(self, parent = None): 0924 '''void QAbstractItemDelegate.__init__(QObject parent = None)''' 0925 sizeHintChanged = pyqtSignal() # void sizeHintChanged(const QModelIndexamp;) - signal 0926 closeEditor = pyqtSignal() # void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint = QAbstractItemDelegate.NoHint) - signal 0927 commitData = pyqtSignal() # void commitData(QWidget*) - signal 0928 def helpEvent(self, event, view, option, index): 0929 '''bool QAbstractItemDelegate.helpEvent(QHelpEvent event, QAbstractItemView view, QStyleOptionViewItem option, QModelIndex index)''' 0930 return bool() 0931 def editorEvent(self, event, model, option, index): 0932 '''bool QAbstractItemDelegate.editorEvent(QEvent event, QAbstractItemModel model, QStyleOptionViewItem option, QModelIndex index)''' 0933 return bool() 0934 def destroyEditor(self, editor, index): 0935 '''void QAbstractItemDelegate.destroyEditor(QWidget editor, QModelIndex index)''' 0936 def updateEditorGeometry(self, editor, option, index): 0937 '''void QAbstractItemDelegate.updateEditorGeometry(QWidget editor, QStyleOptionViewItem option, QModelIndex index)''' 0938 def setModelData(self, editor, model, index): 0939 '''void QAbstractItemDelegate.setModelData(QWidget editor, QAbstractItemModel model, QModelIndex index)''' 0940 def setEditorData(self, editor, index): 0941 '''void QAbstractItemDelegate.setEditorData(QWidget editor, QModelIndex index)''' 0942 def createEditor(self, parent, option, index): 0943 '''QWidget QAbstractItemDelegate.createEditor(QWidget parent, QStyleOptionViewItem option, QModelIndex index)''' 0944 return QWidget() 0945 def sizeHint(self, option, index): 0946 '''abstract QSize QAbstractItemDelegate.sizeHint(QStyleOptionViewItem option, QModelIndex index)''' 0947 return QSize() 0948 def paint(self, painter, option, index): 0949 '''abstract void QAbstractItemDelegate.paint(QPainter painter, QStyleOptionViewItem option, QModelIndex index)''' 0950 0951 0952 class QFrame(QWidget): 0953 """""" 0954 # Enum QFrame.StyleMask 0955 Shadow_Mask = 0 0956 Shape_Mask = 0 0957 0958 # Enum QFrame.Shape 0959 NoFrame = 0 0960 Box = 0 0961 Panel = 0 0962 WinPanel = 0 0963 HLine = 0 0964 VLine = 0 0965 StyledPanel = 0 0966 0967 # Enum QFrame.Shadow 0968 Plain = 0 0969 Raised = 0 0970 Sunken = 0 0971 0972 def __init__(self, parent = None, flags = 0): 0973 '''void QFrame.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 0974 def initStyleOption(self, option): 0975 '''void QFrame.initStyleOption(QStyleOptionFrame option)''' 0976 def drawFrame(self): 0977 '''QPainter QFrame.drawFrame()''' 0978 return QPainter() 0979 def changeEvent(self): 0980 '''QEvent QFrame.changeEvent()''' 0981 return QEvent() 0982 def paintEvent(self): 0983 '''QPaintEvent QFrame.paintEvent()''' 0984 return QPaintEvent() 0985 def event(self, e): 0986 '''bool QFrame.event(QEvent e)''' 0987 return bool() 0988 def setFrameRect(self): 0989 '''QRect QFrame.setFrameRect()''' 0990 return QRect() 0991 def frameRect(self): 0992 '''QRect QFrame.frameRect()''' 0993 return QRect() 0994 def setMidLineWidth(self): 0995 '''int QFrame.setMidLineWidth()''' 0996 return int() 0997 def midLineWidth(self): 0998 '''int QFrame.midLineWidth()''' 0999 return int() 1000 def setLineWidth(self): 1001 '''int QFrame.setLineWidth()''' 1002 return int() 1003 def lineWidth(self): 1004 '''int QFrame.lineWidth()''' 1005 return int() 1006 def setFrameShadow(self): 1007 '''QFrame.Shadow QFrame.setFrameShadow()''' 1008 return QFrame.Shadow() 1009 def frameShadow(self): 1010 '''QFrame.Shadow QFrame.frameShadow()''' 1011 return QFrame.Shadow() 1012 def setFrameShape(self): 1013 '''QFrame.Shape QFrame.setFrameShape()''' 1014 return QFrame.Shape() 1015 def frameShape(self): 1016 '''QFrame.Shape QFrame.frameShape()''' 1017 return QFrame.Shape() 1018 def sizeHint(self): 1019 '''QSize QFrame.sizeHint()''' 1020 return QSize() 1021 def frameWidth(self): 1022 '''int QFrame.frameWidth()''' 1023 return int() 1024 def setFrameStyle(self): 1025 '''int QFrame.setFrameStyle()''' 1026 return int() 1027 def frameStyle(self): 1028 '''int QFrame.frameStyle()''' 1029 return int() 1030 1031 1032 class QAbstractScrollArea(QFrame): 1033 """""" 1034 # Enum QAbstractScrollArea.SizeAdjustPolicy 1035 AdjustIgnored = 0 1036 AdjustToContentsOnFirstShow = 0 1037 AdjustToContents = 0 1038 1039 def __init__(self, parent = None): 1040 '''void QAbstractScrollArea.__init__(QWidget parent = None)''' 1041 def setSizeAdjustPolicy(self, policy): 1042 '''void QAbstractScrollArea.setSizeAdjustPolicy(QAbstractScrollArea.SizeAdjustPolicy policy)''' 1043 def sizeAdjustPolicy(self): 1044 '''QAbstractScrollArea.SizeAdjustPolicy QAbstractScrollArea.sizeAdjustPolicy()''' 1045 return QAbstractScrollArea.SizeAdjustPolicy() 1046 def setupViewport(self, viewport): 1047 '''void QAbstractScrollArea.setupViewport(QWidget viewport)''' 1048 def setViewport(self, widget): 1049 '''void QAbstractScrollArea.setViewport(QWidget widget)''' 1050 def scrollBarWidgets(self, alignment): 1051 '''list-of-QWidget QAbstractScrollArea.scrollBarWidgets(Qt.Alignment alignment)''' 1052 return [QWidget()] 1053 def addScrollBarWidget(self, widget, alignment): 1054 '''void QAbstractScrollArea.addScrollBarWidget(QWidget widget, Qt.Alignment alignment)''' 1055 def setCornerWidget(self, widget): 1056 '''void QAbstractScrollArea.setCornerWidget(QWidget widget)''' 1057 def cornerWidget(self): 1058 '''QWidget QAbstractScrollArea.cornerWidget()''' 1059 return QWidget() 1060 def setHorizontalScrollBar(self, scrollbar): 1061 '''void QAbstractScrollArea.setHorizontalScrollBar(QScrollBar scrollbar)''' 1062 def setVerticalScrollBar(self, scrollbar): 1063 '''void QAbstractScrollArea.setVerticalScrollBar(QScrollBar scrollbar)''' 1064 def scrollContentsBy(self, dx, dy): 1065 '''void QAbstractScrollArea.scrollContentsBy(int dx, int dy)''' 1066 def eventFilter(self): 1067 '''QEvent QAbstractScrollArea.eventFilter()''' 1068 return QEvent() 1069 def keyPressEvent(self): 1070 '''QKeyEvent QAbstractScrollArea.keyPressEvent()''' 1071 return QKeyEvent() 1072 def dropEvent(self): 1073 '''QDropEvent QAbstractScrollArea.dropEvent()''' 1074 return QDropEvent() 1075 def dragLeaveEvent(self): 1076 '''QDragLeaveEvent QAbstractScrollArea.dragLeaveEvent()''' 1077 return QDragLeaveEvent() 1078 def dragMoveEvent(self): 1079 '''QDragMoveEvent QAbstractScrollArea.dragMoveEvent()''' 1080 return QDragMoveEvent() 1081 def dragEnterEvent(self): 1082 '''QDragEnterEvent QAbstractScrollArea.dragEnterEvent()''' 1083 return QDragEnterEvent() 1084 def contextMenuEvent(self): 1085 '''QContextMenuEvent QAbstractScrollArea.contextMenuEvent()''' 1086 return QContextMenuEvent() 1087 def wheelEvent(self): 1088 '''QWheelEvent QAbstractScrollArea.wheelEvent()''' 1089 return QWheelEvent() 1090 def mouseMoveEvent(self): 1091 '''QMouseEvent QAbstractScrollArea.mouseMoveEvent()''' 1092 return QMouseEvent() 1093 def mouseDoubleClickEvent(self): 1094 '''QMouseEvent QAbstractScrollArea.mouseDoubleClickEvent()''' 1095 return QMouseEvent() 1096 def mouseReleaseEvent(self): 1097 '''QMouseEvent QAbstractScrollArea.mouseReleaseEvent()''' 1098 return QMouseEvent() 1099 def mousePressEvent(self): 1100 '''QMouseEvent QAbstractScrollArea.mousePressEvent()''' 1101 return QMouseEvent() 1102 def paintEvent(self): 1103 '''QPaintEvent QAbstractScrollArea.paintEvent()''' 1104 return QPaintEvent() 1105 def resizeEvent(self): 1106 '''QResizeEvent QAbstractScrollArea.resizeEvent()''' 1107 return QResizeEvent() 1108 def viewportEvent(self): 1109 '''QEvent QAbstractScrollArea.viewportEvent()''' 1110 return QEvent() 1111 def event(self): 1112 '''QEvent QAbstractScrollArea.event()''' 1113 return QEvent() 1114 def viewportSizeHint(self): 1115 '''QSize QAbstractScrollArea.viewportSizeHint()''' 1116 return QSize() 1117 def viewportMargins(self): 1118 '''QMargins QAbstractScrollArea.viewportMargins()''' 1119 return QMargins() 1120 def setViewportMargins(self, left, top, right, bottom): 1121 '''void QAbstractScrollArea.setViewportMargins(int left, int top, int right, int bottom)''' 1122 def setViewportMargins(self, margins): 1123 '''void QAbstractScrollArea.setViewportMargins(QMargins margins)''' 1124 def sizeHint(self): 1125 '''QSize QAbstractScrollArea.sizeHint()''' 1126 return QSize() 1127 def minimumSizeHint(self): 1128 '''QSize QAbstractScrollArea.minimumSizeHint()''' 1129 return QSize() 1130 def maximumViewportSize(self): 1131 '''QSize QAbstractScrollArea.maximumViewportSize()''' 1132 return QSize() 1133 def viewport(self): 1134 '''QWidget QAbstractScrollArea.viewport()''' 1135 return QWidget() 1136 def horizontalScrollBar(self): 1137 '''QScrollBar QAbstractScrollArea.horizontalScrollBar()''' 1138 return QScrollBar() 1139 def setHorizontalScrollBarPolicy(self): 1140 '''Qt.ScrollBarPolicy QAbstractScrollArea.setHorizontalScrollBarPolicy()''' 1141 return Qt.ScrollBarPolicy() 1142 def horizontalScrollBarPolicy(self): 1143 '''Qt.ScrollBarPolicy QAbstractScrollArea.horizontalScrollBarPolicy()''' 1144 return Qt.ScrollBarPolicy() 1145 def verticalScrollBar(self): 1146 '''QScrollBar QAbstractScrollArea.verticalScrollBar()''' 1147 return QScrollBar() 1148 def setVerticalScrollBarPolicy(self): 1149 '''Qt.ScrollBarPolicy QAbstractScrollArea.setVerticalScrollBarPolicy()''' 1150 return Qt.ScrollBarPolicy() 1151 def verticalScrollBarPolicy(self): 1152 '''Qt.ScrollBarPolicy QAbstractScrollArea.verticalScrollBarPolicy()''' 1153 return Qt.ScrollBarPolicy() 1154 1155 1156 class QAbstractItemView(QAbstractScrollArea): 1157 """""" 1158 # Enum QAbstractItemView.DropIndicatorPosition 1159 OnItem = 0 1160 AboveItem = 0 1161 BelowItem = 0 1162 OnViewport = 0 1163 1164 # Enum QAbstractItemView.State 1165 NoState = 0 1166 DraggingState = 0 1167 DragSelectingState = 0 1168 EditingState = 0 1169 ExpandingState = 0 1170 CollapsingState = 0 1171 AnimatingState = 0 1172 1173 # Enum QAbstractItemView.CursorAction 1174 MoveUp = 0 1175 MoveDown = 0 1176 MoveLeft = 0 1177 MoveRight = 0 1178 MoveHome = 0 1179 MoveEnd = 0 1180 MovePageUp = 0 1181 MovePageDown = 0 1182 MoveNext = 0 1183 MovePrevious = 0 1184 1185 # Enum QAbstractItemView.SelectionMode 1186 NoSelection = 0 1187 SingleSelection = 0 1188 MultiSelection = 0 1189 ExtendedSelection = 0 1190 ContiguousSelection = 0 1191 1192 # Enum QAbstractItemView.SelectionBehavior 1193 SelectItems = 0 1194 SelectRows = 0 1195 SelectColumns = 0 1196 1197 # Enum QAbstractItemView.ScrollMode 1198 ScrollPerItem = 0 1199 ScrollPerPixel = 0 1200 1201 # Enum QAbstractItemView.ScrollHint 1202 EnsureVisible = 0 1203 PositionAtTop = 0 1204 PositionAtBottom = 0 1205 PositionAtCenter = 0 1206 1207 # Enum QAbstractItemView.EditTrigger 1208 NoEditTriggers = 0 1209 CurrentChanged = 0 1210 DoubleClicked = 0 1211 SelectedClicked = 0 1212 EditKeyPressed = 0 1213 AnyKeyPressed = 0 1214 AllEditTriggers = 0 1215 1216 # Enum QAbstractItemView.DragDropMode 1217 NoDragDrop = 0 1218 DragOnly = 0 1219 DropOnly = 0 1220 DragDrop = 0 1221 InternalMove = 0 1222 1223 def __init__(self, parent = None): 1224 '''void QAbstractItemView.__init__(QWidget parent = None)''' 1225 def defaultDropAction(self): 1226 '''Qt.DropAction QAbstractItemView.defaultDropAction()''' 1227 return Qt.DropAction() 1228 def setDefaultDropAction(self, dropAction): 1229 '''void QAbstractItemView.setDefaultDropAction(Qt.DropAction dropAction)''' 1230 def viewportSizeHint(self): 1231 '''QSize QAbstractItemView.viewportSizeHint()''' 1232 return QSize() 1233 def inputMethodEvent(self, event): 1234 '''void QAbstractItemView.inputMethodEvent(QInputMethodEvent event)''' 1235 def focusNextPrevChild(self, next): 1236 '''bool QAbstractItemView.focusNextPrevChild(bool next)''' 1237 return bool() 1238 def autoScrollMargin(self): 1239 '''int QAbstractItemView.autoScrollMargin()''' 1240 return int() 1241 def setAutoScrollMargin(self, margin): 1242 '''void QAbstractItemView.setAutoScrollMargin(int margin)''' 1243 def inputMethodQuery(self, query): 1244 '''QVariant QAbstractItemView.inputMethodQuery(Qt.InputMethodQuery query)''' 1245 return QVariant() 1246 def itemDelegateForColumn(self, column): 1247 '''QAbstractItemDelegate QAbstractItemView.itemDelegateForColumn(int column)''' 1248 return QAbstractItemDelegate() 1249 def setItemDelegateForColumn(self, column, delegate): 1250 '''void QAbstractItemView.setItemDelegateForColumn(int column, QAbstractItemDelegate delegate)''' 1251 def itemDelegateForRow(self, row): 1252 '''QAbstractItemDelegate QAbstractItemView.itemDelegateForRow(int row)''' 1253 return QAbstractItemDelegate() 1254 def setItemDelegateForRow(self, row, delegate): 1255 '''void QAbstractItemView.setItemDelegateForRow(int row, QAbstractItemDelegate delegate)''' 1256 def dragDropMode(self): 1257 '''QAbstractItemView.DragDropMode QAbstractItemView.dragDropMode()''' 1258 return QAbstractItemView.DragDropMode() 1259 def setDragDropMode(self, behavior): 1260 '''void QAbstractItemView.setDragDropMode(QAbstractItemView.DragDropMode behavior)''' 1261 def dragDropOverwriteMode(self): 1262 '''bool QAbstractItemView.dragDropOverwriteMode()''' 1263 return bool() 1264 def setDragDropOverwriteMode(self, overwrite): 1265 '''void QAbstractItemView.setDragDropOverwriteMode(bool overwrite)''' 1266 def horizontalScrollMode(self): 1267 '''QAbstractItemView.ScrollMode QAbstractItemView.horizontalScrollMode()''' 1268 return QAbstractItemView.ScrollMode() 1269 def setHorizontalScrollMode(self, mode): 1270 '''void QAbstractItemView.setHorizontalScrollMode(QAbstractItemView.ScrollMode mode)''' 1271 def verticalScrollMode(self): 1272 '''QAbstractItemView.ScrollMode QAbstractItemView.verticalScrollMode()''' 1273 return QAbstractItemView.ScrollMode() 1274 def setVerticalScrollMode(self, mode): 1275 '''void QAbstractItemView.setVerticalScrollMode(QAbstractItemView.ScrollMode mode)''' 1276 def dropIndicatorPosition(self): 1277 '''QAbstractItemView.DropIndicatorPosition QAbstractItemView.dropIndicatorPosition()''' 1278 return QAbstractItemView.DropIndicatorPosition() 1279 def timerEvent(self, e): 1280 '''void QAbstractItemView.timerEvent(QTimerEvent e)''' 1281 def resizeEvent(self, e): 1282 '''void QAbstractItemView.resizeEvent(QResizeEvent e)''' 1283 def keyPressEvent(self, e): 1284 '''void QAbstractItemView.keyPressEvent(QKeyEvent e)''' 1285 def focusOutEvent(self, e): 1286 '''void QAbstractItemView.focusOutEvent(QFocusEvent e)''' 1287 def focusInEvent(self, e): 1288 '''void QAbstractItemView.focusInEvent(QFocusEvent e)''' 1289 def dropEvent(self, e): 1290 '''void QAbstractItemView.dropEvent(QDropEvent e)''' 1291 def dragLeaveEvent(self, e): 1292 '''void QAbstractItemView.dragLeaveEvent(QDragLeaveEvent e)''' 1293 def dragMoveEvent(self, e): 1294 '''void QAbstractItemView.dragMoveEvent(QDragMoveEvent e)''' 1295 def dragEnterEvent(self, e): 1296 '''void QAbstractItemView.dragEnterEvent(QDragEnterEvent e)''' 1297 def mouseDoubleClickEvent(self, e): 1298 '''void QAbstractItemView.mouseDoubleClickEvent(QMouseEvent e)''' 1299 def mouseReleaseEvent(self, e): 1300 '''void QAbstractItemView.mouseReleaseEvent(QMouseEvent e)''' 1301 def mouseMoveEvent(self, e): 1302 '''void QAbstractItemView.mouseMoveEvent(QMouseEvent e)''' 1303 def mousePressEvent(self, e): 1304 '''void QAbstractItemView.mousePressEvent(QMouseEvent e)''' 1305 def viewportEvent(self, e): 1306 '''bool QAbstractItemView.viewportEvent(QEvent e)''' 1307 return bool() 1308 def event(self, event): 1309 '''bool QAbstractItemView.event(QEvent event)''' 1310 return bool() 1311 def dirtyRegionOffset(self): 1312 '''QPoint QAbstractItemView.dirtyRegionOffset()''' 1313 return QPoint() 1314 def setDirtyRegion(self, region): 1315 '''void QAbstractItemView.setDirtyRegion(QRegion region)''' 1316 def scrollDirtyRegion(self, dx, dy): 1317 '''void QAbstractItemView.scrollDirtyRegion(int dx, int dy)''' 1318 def executeDelayedItemsLayout(self): 1319 '''void QAbstractItemView.executeDelayedItemsLayout()''' 1320 def scheduleDelayedItemsLayout(self): 1321 '''void QAbstractItemView.scheduleDelayedItemsLayout()''' 1322 def setState(self, state): 1323 '''void QAbstractItemView.setState(QAbstractItemView.State state)''' 1324 def state(self): 1325 '''QAbstractItemView.State QAbstractItemView.state()''' 1326 return QAbstractItemView.State() 1327 def viewOptions(self): 1328 '''QStyleOptionViewItem QAbstractItemView.viewOptions()''' 1329 return QStyleOptionViewItem() 1330 def startDrag(self, supportedActions): 1331 '''void QAbstractItemView.startDrag(Qt.DropActions supportedActions)''' 1332 def selectionCommand(self, index, event = None): 1333 '''QItemSelectionModel.SelectionFlags QAbstractItemView.selectionCommand(QModelIndex index, QEvent event = None)''' 1334 return QItemSelectionModel.SelectionFlags() 1335 def selectedIndexes(self): 1336 '''list-of-QModelIndex QAbstractItemView.selectedIndexes()''' 1337 return [QModelIndex()] 1338 def visualRegionForSelection(self, selection): 1339 '''abstract QRegion QAbstractItemView.visualRegionForSelection(QItemSelection selection)''' 1340 return QRegion() 1341 def setSelection(self, rect, command): 1342 '''abstract void QAbstractItemView.setSelection(QRect rect, QItemSelectionModel.SelectionFlags command)''' 1343 def isIndexHidden(self, index): 1344 '''abstract bool QAbstractItemView.isIndexHidden(QModelIndex index)''' 1345 return bool() 1346 def verticalOffset(self): 1347 '''abstract int QAbstractItemView.verticalOffset()''' 1348 return int() 1349 def horizontalOffset(self): 1350 '''abstract int QAbstractItemView.horizontalOffset()''' 1351 return int() 1352 def moveCursor(self, cursorAction, modifiers): 1353 '''abstract QModelIndex QAbstractItemView.moveCursor(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers)''' 1354 return QModelIndex() 1355 iconSizeChanged = pyqtSignal() # void iconSizeChanged(const QSizeamp;) - signal 1356 viewportEntered = pyqtSignal() # void viewportEntered() - signal 1357 entered = pyqtSignal() # void entered(const QModelIndexamp;) - signal 1358 activated = pyqtSignal() # void activated(const QModelIndexamp;) - signal 1359 doubleClicked = pyqtSignal() # void doubleClicked(const QModelIndexamp;) - signal 1360 clicked = pyqtSignal() # void clicked(const QModelIndexamp;) - signal 1361 pressed = pyqtSignal() # void pressed(const QModelIndexamp;) - signal 1362 def editorDestroyed(self, editor): 1363 '''void QAbstractItemView.editorDestroyed(QObject editor)''' 1364 def commitData(self, editor): 1365 '''void QAbstractItemView.commitData(QWidget editor)''' 1366 def closeEditor(self, editor, hint): 1367 '''void QAbstractItemView.closeEditor(QWidget editor, QAbstractItemDelegate.EndEditHint hint)''' 1368 def horizontalScrollbarValueChanged(self, value): 1369 '''void QAbstractItemView.horizontalScrollbarValueChanged(int value)''' 1370 def verticalScrollbarValueChanged(self, value): 1371 '''void QAbstractItemView.verticalScrollbarValueChanged(int value)''' 1372 def horizontalScrollbarAction(self, action): 1373 '''void QAbstractItemView.horizontalScrollbarAction(int action)''' 1374 def verticalScrollbarAction(self, action): 1375 '''void QAbstractItemView.verticalScrollbarAction(int action)''' 1376 def updateGeometries(self): 1377 '''void QAbstractItemView.updateGeometries()''' 1378 def updateEditorGeometries(self): 1379 '''void QAbstractItemView.updateEditorGeometries()''' 1380 def updateEditorData(self): 1381 '''void QAbstractItemView.updateEditorData()''' 1382 def currentChanged(self, current, previous): 1383 '''void QAbstractItemView.currentChanged(QModelIndex current, QModelIndex previous)''' 1384 def selectionChanged(self, selected, deselected): 1385 '''void QAbstractItemView.selectionChanged(QItemSelection selected, QItemSelection deselected)''' 1386 def rowsAboutToBeRemoved(self, parent, start, end): 1387 '''void QAbstractItemView.rowsAboutToBeRemoved(QModelIndex parent, int start, int end)''' 1388 def rowsInserted(self, parent, start, end): 1389 '''void QAbstractItemView.rowsInserted(QModelIndex parent, int start, int end)''' 1390 def dataChanged(self, topLeft, bottomRight, roles = None): 1391 '''void QAbstractItemView.dataChanged(QModelIndex topLeft, QModelIndex bottomRight, list-of-int roles = [])''' 1392 def update(self): 1393 '''void QAbstractItemView.update()''' 1394 def update(self, index): 1395 '''void QAbstractItemView.update(QModelIndex index)''' 1396 def scrollToBottom(self): 1397 '''void QAbstractItemView.scrollToBottom()''' 1398 def scrollToTop(self): 1399 '''void QAbstractItemView.scrollToTop()''' 1400 def setCurrentIndex(self, index): 1401 '''void QAbstractItemView.setCurrentIndex(QModelIndex index)''' 1402 def clearSelection(self): 1403 '''void QAbstractItemView.clearSelection()''' 1404 def edit(self, index): 1405 '''void QAbstractItemView.edit(QModelIndex index)''' 1406 def edit(self, index, trigger, event): 1407 '''bool QAbstractItemView.edit(QModelIndex index, QAbstractItemView.EditTrigger trigger, QEvent event)''' 1408 return bool() 1409 def selectAll(self): 1410 '''void QAbstractItemView.selectAll()''' 1411 def setRootIndex(self, index): 1412 '''void QAbstractItemView.setRootIndex(QModelIndex index)''' 1413 def reset(self): 1414 '''void QAbstractItemView.reset()''' 1415 def indexWidget(self, index): 1416 '''QWidget QAbstractItemView.indexWidget(QModelIndex index)''' 1417 return QWidget() 1418 def setIndexWidget(self, index, widget): 1419 '''void QAbstractItemView.setIndexWidget(QModelIndex index, QWidget widget)''' 1420 def closePersistentEditor(self, index): 1421 '''void QAbstractItemView.closePersistentEditor(QModelIndex index)''' 1422 def openPersistentEditor(self, index): 1423 '''void QAbstractItemView.openPersistentEditor(QModelIndex index)''' 1424 def sizeHintForColumn(self, column): 1425 '''int QAbstractItemView.sizeHintForColumn(int column)''' 1426 return int() 1427 def sizeHintForRow(self, row): 1428 '''int QAbstractItemView.sizeHintForRow(int row)''' 1429 return int() 1430 def sizeHintForIndex(self, index): 1431 '''QSize QAbstractItemView.sizeHintForIndex(QModelIndex index)''' 1432 return QSize() 1433 def indexAt(self, p): 1434 '''abstract QModelIndex QAbstractItemView.indexAt(QPoint p)''' 1435 return QModelIndex() 1436 def scrollTo(self, index, hint = None): 1437 '''abstract void QAbstractItemView.scrollTo(QModelIndex index, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 1438 def visualRect(self, index): 1439 '''abstract QRect QAbstractItemView.visualRect(QModelIndex index)''' 1440 return QRect() 1441 def keyboardSearch(self, search): 1442 '''void QAbstractItemView.keyboardSearch(str search)''' 1443 def textElideMode(self): 1444 '''Qt.TextElideMode QAbstractItemView.textElideMode()''' 1445 return Qt.TextElideMode() 1446 def setTextElideMode(self, mode): 1447 '''void QAbstractItemView.setTextElideMode(Qt.TextElideMode mode)''' 1448 def iconSize(self): 1449 '''QSize QAbstractItemView.iconSize()''' 1450 return QSize() 1451 def setIconSize(self, size): 1452 '''void QAbstractItemView.setIconSize(QSize size)''' 1453 def alternatingRowColors(self): 1454 '''bool QAbstractItemView.alternatingRowColors()''' 1455 return bool() 1456 def setAlternatingRowColors(self, enable): 1457 '''void QAbstractItemView.setAlternatingRowColors(bool enable)''' 1458 def dragEnabled(self): 1459 '''bool QAbstractItemView.dragEnabled()''' 1460 return bool() 1461 def setDragEnabled(self, enable): 1462 '''void QAbstractItemView.setDragEnabled(bool enable)''' 1463 def showDropIndicator(self): 1464 '''bool QAbstractItemView.showDropIndicator()''' 1465 return bool() 1466 def setDropIndicatorShown(self, enable): 1467 '''void QAbstractItemView.setDropIndicatorShown(bool enable)''' 1468 def tabKeyNavigation(self): 1469 '''bool QAbstractItemView.tabKeyNavigation()''' 1470 return bool() 1471 def setTabKeyNavigation(self, enable): 1472 '''void QAbstractItemView.setTabKeyNavigation(bool enable)''' 1473 def hasAutoScroll(self): 1474 '''bool QAbstractItemView.hasAutoScroll()''' 1475 return bool() 1476 def setAutoScroll(self, enable): 1477 '''void QAbstractItemView.setAutoScroll(bool enable)''' 1478 def editTriggers(self): 1479 '''QAbstractItemView.EditTriggers QAbstractItemView.editTriggers()''' 1480 return QAbstractItemView.EditTriggers() 1481 def setEditTriggers(self, triggers): 1482 '''void QAbstractItemView.setEditTriggers(QAbstractItemView.EditTriggers triggers)''' 1483 def rootIndex(self): 1484 '''QModelIndex QAbstractItemView.rootIndex()''' 1485 return QModelIndex() 1486 def currentIndex(self): 1487 '''QModelIndex QAbstractItemView.currentIndex()''' 1488 return QModelIndex() 1489 def selectionBehavior(self): 1490 '''QAbstractItemView.SelectionBehavior QAbstractItemView.selectionBehavior()''' 1491 return QAbstractItemView.SelectionBehavior() 1492 def setSelectionBehavior(self, behavior): 1493 '''void QAbstractItemView.setSelectionBehavior(QAbstractItemView.SelectionBehavior behavior)''' 1494 def selectionMode(self): 1495 '''QAbstractItemView.SelectionMode QAbstractItemView.selectionMode()''' 1496 return QAbstractItemView.SelectionMode() 1497 def setSelectionMode(self, mode): 1498 '''void QAbstractItemView.setSelectionMode(QAbstractItemView.SelectionMode mode)''' 1499 def itemDelegate(self): 1500 '''QAbstractItemDelegate QAbstractItemView.itemDelegate()''' 1501 return QAbstractItemDelegate() 1502 def itemDelegate(self, index): 1503 '''QAbstractItemDelegate QAbstractItemView.itemDelegate(QModelIndex index)''' 1504 return QAbstractItemDelegate() 1505 def setItemDelegate(self, delegate): 1506 '''void QAbstractItemView.setItemDelegate(QAbstractItemDelegate delegate)''' 1507 def selectionModel(self): 1508 '''QItemSelectionModel QAbstractItemView.selectionModel()''' 1509 return QItemSelectionModel() 1510 def setSelectionModel(self, selectionModel): 1511 '''void QAbstractItemView.setSelectionModel(QItemSelectionModel selectionModel)''' 1512 def model(self): 1513 '''QAbstractItemModel QAbstractItemView.model()''' 1514 return QAbstractItemModel() 1515 def setModel(self, model): 1516 '''void QAbstractItemView.setModel(QAbstractItemModel model)''' 1517 class EditTriggers(): 1518 """""" 1519 def __init__(self): 1520 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__init__()''' 1521 return QAbstractItemView.EditTriggers() 1522 def __init__(self): 1523 '''int QAbstractItemView.EditTriggers.__init__()''' 1524 return int() 1525 def __init__(self): 1526 '''void QAbstractItemView.EditTriggers.__init__()''' 1527 def __bool__(self): 1528 '''int QAbstractItemView.EditTriggers.__bool__()''' 1529 return int() 1530 def __ne__(self, f): 1531 '''bool QAbstractItemView.EditTriggers.__ne__(QAbstractItemView.EditTriggers f)''' 1532 return bool() 1533 def __eq__(self, f): 1534 '''bool QAbstractItemView.EditTriggers.__eq__(QAbstractItemView.EditTriggers f)''' 1535 return bool() 1536 def __invert__(self): 1537 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__invert__()''' 1538 return QAbstractItemView.EditTriggers() 1539 def __and__(self, mask): 1540 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__and__(int mask)''' 1541 return QAbstractItemView.EditTriggers() 1542 def __xor__(self, f): 1543 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__xor__(QAbstractItemView.EditTriggers f)''' 1544 return QAbstractItemView.EditTriggers() 1545 def __xor__(self, f): 1546 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__xor__(int f)''' 1547 return QAbstractItemView.EditTriggers() 1548 def __or__(self, f): 1549 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__or__(QAbstractItemView.EditTriggers f)''' 1550 return QAbstractItemView.EditTriggers() 1551 def __or__(self, f): 1552 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__or__(int f)''' 1553 return QAbstractItemView.EditTriggers() 1554 def __int__(self): 1555 '''int QAbstractItemView.EditTriggers.__int__()''' 1556 return int() 1557 def __ixor__(self, f): 1558 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__ixor__(QAbstractItemView.EditTriggers f)''' 1559 return QAbstractItemView.EditTriggers() 1560 def __ior__(self, f): 1561 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__ior__(QAbstractItemView.EditTriggers f)''' 1562 return QAbstractItemView.EditTriggers() 1563 def __iand__(self, mask): 1564 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__iand__(int mask)''' 1565 return QAbstractItemView.EditTriggers() 1566 1567 1568 class QAbstractSlider(QWidget): 1569 """""" 1570 # Enum QAbstractSlider.SliderChange 1571 SliderRangeChange = 0 1572 SliderOrientationChange = 0 1573 SliderStepsChange = 0 1574 SliderValueChange = 0 1575 1576 # Enum QAbstractSlider.SliderAction 1577 SliderNoAction = 0 1578 SliderSingleStepAdd = 0 1579 SliderSingleStepSub = 0 1580 SliderPageStepAdd = 0 1581 SliderPageStepSub = 0 1582 SliderToMinimum = 0 1583 SliderToMaximum = 0 1584 SliderMove = 0 1585 1586 def __init__(self, parent = None): 1587 '''void QAbstractSlider.__init__(QWidget parent = None)''' 1588 def changeEvent(self, e): 1589 '''void QAbstractSlider.changeEvent(QEvent e)''' 1590 def wheelEvent(self, e): 1591 '''void QAbstractSlider.wheelEvent(QWheelEvent e)''' 1592 def timerEvent(self): 1593 '''QTimerEvent QAbstractSlider.timerEvent()''' 1594 return QTimerEvent() 1595 def keyPressEvent(self, ev): 1596 '''void QAbstractSlider.keyPressEvent(QKeyEvent ev)''' 1597 def event(self, e): 1598 '''bool QAbstractSlider.event(QEvent e)''' 1599 return bool() 1600 def sliderChange(self, change): 1601 '''void QAbstractSlider.sliderChange(QAbstractSlider.SliderChange change)''' 1602 def repeatAction(self): 1603 '''QAbstractSlider.SliderAction QAbstractSlider.repeatAction()''' 1604 return QAbstractSlider.SliderAction() 1605 def setRepeatAction(self, action, thresholdTime = 500, repeatTime = 50): 1606 '''void QAbstractSlider.setRepeatAction(QAbstractSlider.SliderAction action, int thresholdTime = 500, int repeatTime = 50)''' 1607 actionTriggered = pyqtSignal() # void actionTriggered(int) - signal 1608 rangeChanged = pyqtSignal() # void rangeChanged(int,int) - signal 1609 sliderReleased = pyqtSignal() # void sliderReleased() - signal 1610 sliderMoved = pyqtSignal() # void sliderMoved(int) - signal 1611 sliderPressed = pyqtSignal() # void sliderPressed() - signal 1612 valueChanged = pyqtSignal() # void valueChanged(int) - signal 1613 def setOrientation(self): 1614 '''Qt.Orientation QAbstractSlider.setOrientation()''' 1615 return Qt.Orientation() 1616 def setValue(self): 1617 '''int QAbstractSlider.setValue()''' 1618 return int() 1619 def triggerAction(self, action): 1620 '''void QAbstractSlider.triggerAction(QAbstractSlider.SliderAction action)''' 1621 def value(self): 1622 '''int QAbstractSlider.value()''' 1623 return int() 1624 def invertedControls(self): 1625 '''bool QAbstractSlider.invertedControls()''' 1626 return bool() 1627 def setInvertedControls(self): 1628 '''bool QAbstractSlider.setInvertedControls()''' 1629 return bool() 1630 def invertedAppearance(self): 1631 '''bool QAbstractSlider.invertedAppearance()''' 1632 return bool() 1633 def setInvertedAppearance(self): 1634 '''bool QAbstractSlider.setInvertedAppearance()''' 1635 return bool() 1636 def sliderPosition(self): 1637 '''int QAbstractSlider.sliderPosition()''' 1638 return int() 1639 def setSliderPosition(self): 1640 '''int QAbstractSlider.setSliderPosition()''' 1641 return int() 1642 def isSliderDown(self): 1643 '''bool QAbstractSlider.isSliderDown()''' 1644 return bool() 1645 def setSliderDown(self): 1646 '''bool QAbstractSlider.setSliderDown()''' 1647 return bool() 1648 def hasTracking(self): 1649 '''bool QAbstractSlider.hasTracking()''' 1650 return bool() 1651 def setTracking(self, enable): 1652 '''void QAbstractSlider.setTracking(bool enable)''' 1653 def pageStep(self): 1654 '''int QAbstractSlider.pageStep()''' 1655 return int() 1656 def setPageStep(self): 1657 '''int QAbstractSlider.setPageStep()''' 1658 return int() 1659 def singleStep(self): 1660 '''int QAbstractSlider.singleStep()''' 1661 return int() 1662 def setSingleStep(self): 1663 '''int QAbstractSlider.setSingleStep()''' 1664 return int() 1665 def setRange(self, min, max): 1666 '''void QAbstractSlider.setRange(int min, int max)''' 1667 def maximum(self): 1668 '''int QAbstractSlider.maximum()''' 1669 return int() 1670 def setMaximum(self): 1671 '''int QAbstractSlider.setMaximum()''' 1672 return int() 1673 def minimum(self): 1674 '''int QAbstractSlider.minimum()''' 1675 return int() 1676 def setMinimum(self): 1677 '''int QAbstractSlider.setMinimum()''' 1678 return int() 1679 def orientation(self): 1680 '''Qt.Orientation QAbstractSlider.orientation()''' 1681 return Qt.Orientation() 1682 1683 1684 class QAbstractSpinBox(QWidget): 1685 """""" 1686 # Enum QAbstractSpinBox.CorrectionMode 1687 CorrectToPreviousValue = 0 1688 CorrectToNearestValue = 0 1689 1690 # Enum QAbstractSpinBox.ButtonSymbols 1691 UpDownArrows = 0 1692 PlusMinus = 0 1693 NoButtons = 0 1694 1695 # Enum QAbstractSpinBox.StepEnabledFlag 1696 StepNone = 0 1697 StepUpEnabled = 0 1698 StepDownEnabled = 0 1699 1700 def __init__(self, parent = None): 1701 '''void QAbstractSpinBox.__init__(QWidget parent = None)''' 1702 def isGroupSeparatorShown(self): 1703 '''bool QAbstractSpinBox.isGroupSeparatorShown()''' 1704 return bool() 1705 def setGroupSeparatorShown(self, shown): 1706 '''void QAbstractSpinBox.setGroupSeparatorShown(bool shown)''' 1707 def inputMethodQuery(self): 1708 '''Qt.InputMethodQuery QAbstractSpinBox.inputMethodQuery()''' 1709 return Qt.InputMethodQuery() 1710 def keyboardTracking(self): 1711 '''bool QAbstractSpinBox.keyboardTracking()''' 1712 return bool() 1713 def setKeyboardTracking(self, kt): 1714 '''void QAbstractSpinBox.setKeyboardTracking(bool kt)''' 1715 def isAccelerated(self): 1716 '''bool QAbstractSpinBox.isAccelerated()''' 1717 return bool() 1718 def setAccelerated(self, on): 1719 '''void QAbstractSpinBox.setAccelerated(bool on)''' 1720 def hasAcceptableInput(self): 1721 '''bool QAbstractSpinBox.hasAcceptableInput()''' 1722 return bool() 1723 def correctionMode(self): 1724 '''QAbstractSpinBox.CorrectionMode QAbstractSpinBox.correctionMode()''' 1725 return QAbstractSpinBox.CorrectionMode() 1726 def setCorrectionMode(self, cm): 1727 '''void QAbstractSpinBox.setCorrectionMode(QAbstractSpinBox.CorrectionMode cm)''' 1728 def initStyleOption(self, option): 1729 '''void QAbstractSpinBox.initStyleOption(QStyleOptionSpinBox option)''' 1730 def stepEnabled(self): 1731 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.stepEnabled()''' 1732 return QAbstractSpinBox.StepEnabled() 1733 def setLineEdit(self, e): 1734 '''void QAbstractSpinBox.setLineEdit(QLineEdit e)''' 1735 def lineEdit(self): 1736 '''QLineEdit QAbstractSpinBox.lineEdit()''' 1737 return QLineEdit() 1738 def showEvent(self, e): 1739 '''void QAbstractSpinBox.showEvent(QShowEvent e)''' 1740 def paintEvent(self, e): 1741 '''void QAbstractSpinBox.paintEvent(QPaintEvent e)''' 1742 def timerEvent(self, e): 1743 '''void QAbstractSpinBox.timerEvent(QTimerEvent e)''' 1744 def mouseMoveEvent(self, e): 1745 '''void QAbstractSpinBox.mouseMoveEvent(QMouseEvent e)''' 1746 def mouseReleaseEvent(self, e): 1747 '''void QAbstractSpinBox.mouseReleaseEvent(QMouseEvent e)''' 1748 def mousePressEvent(self, e): 1749 '''void QAbstractSpinBox.mousePressEvent(QMouseEvent e)''' 1750 def hideEvent(self, e): 1751 '''void QAbstractSpinBox.hideEvent(QHideEvent e)''' 1752 def closeEvent(self, e): 1753 '''void QAbstractSpinBox.closeEvent(QCloseEvent e)''' 1754 def changeEvent(self, e): 1755 '''void QAbstractSpinBox.changeEvent(QEvent e)''' 1756 def contextMenuEvent(self, e): 1757 '''void QAbstractSpinBox.contextMenuEvent(QContextMenuEvent e)''' 1758 def focusOutEvent(self, e): 1759 '''void QAbstractSpinBox.focusOutEvent(QFocusEvent e)''' 1760 def focusInEvent(self, e): 1761 '''void QAbstractSpinBox.focusInEvent(QFocusEvent e)''' 1762 def wheelEvent(self, e): 1763 '''void QAbstractSpinBox.wheelEvent(QWheelEvent e)''' 1764 def keyReleaseEvent(self, e): 1765 '''void QAbstractSpinBox.keyReleaseEvent(QKeyEvent e)''' 1766 def keyPressEvent(self, e): 1767 '''void QAbstractSpinBox.keyPressEvent(QKeyEvent e)''' 1768 def resizeEvent(self, e): 1769 '''void QAbstractSpinBox.resizeEvent(QResizeEvent e)''' 1770 editingFinished = pyqtSignal() # void editingFinished() - signal 1771 def clear(self): 1772 '''void QAbstractSpinBox.clear()''' 1773 def selectAll(self): 1774 '''void QAbstractSpinBox.selectAll()''' 1775 def stepDown(self): 1776 '''void QAbstractSpinBox.stepDown()''' 1777 def stepUp(self): 1778 '''void QAbstractSpinBox.stepUp()''' 1779 def stepBy(self, steps): 1780 '''void QAbstractSpinBox.stepBy(int steps)''' 1781 def fixup(self, input): 1782 '''void QAbstractSpinBox.fixup(str input)''' 1783 def validate(self, input, pos): 1784 '''QValidator.State QAbstractSpinBox.validate(str input, int pos)''' 1785 return QValidator.State() 1786 def event(self, event): 1787 '''bool QAbstractSpinBox.event(QEvent event)''' 1788 return bool() 1789 def interpretText(self): 1790 '''void QAbstractSpinBox.interpretText()''' 1791 def minimumSizeHint(self): 1792 '''QSize QAbstractSpinBox.minimumSizeHint()''' 1793 return QSize() 1794 def sizeHint(self): 1795 '''QSize QAbstractSpinBox.sizeHint()''' 1796 return QSize() 1797 def hasFrame(self): 1798 '''bool QAbstractSpinBox.hasFrame()''' 1799 return bool() 1800 def setFrame(self): 1801 '''bool QAbstractSpinBox.setFrame()''' 1802 return bool() 1803 def alignment(self): 1804 '''Qt.Alignment QAbstractSpinBox.alignment()''' 1805 return Qt.Alignment() 1806 def setAlignment(self, flag): 1807 '''void QAbstractSpinBox.setAlignment(Qt.Alignment flag)''' 1808 def isReadOnly(self): 1809 '''bool QAbstractSpinBox.isReadOnly()''' 1810 return bool() 1811 def setReadOnly(self, r): 1812 '''void QAbstractSpinBox.setReadOnly(bool r)''' 1813 def setWrapping(self, w): 1814 '''void QAbstractSpinBox.setWrapping(bool w)''' 1815 def wrapping(self): 1816 '''bool QAbstractSpinBox.wrapping()''' 1817 return bool() 1818 def setSpecialValueText(self, s): 1819 '''void QAbstractSpinBox.setSpecialValueText(str s)''' 1820 def specialValueText(self): 1821 '''str QAbstractSpinBox.specialValueText()''' 1822 return str() 1823 def text(self): 1824 '''str QAbstractSpinBox.text()''' 1825 return str() 1826 def setButtonSymbols(self, bs): 1827 '''void QAbstractSpinBox.setButtonSymbols(QAbstractSpinBox.ButtonSymbols bs)''' 1828 def buttonSymbols(self): 1829 '''QAbstractSpinBox.ButtonSymbols QAbstractSpinBox.buttonSymbols()''' 1830 return QAbstractSpinBox.ButtonSymbols() 1831 class StepEnabled(): 1832 """""" 1833 def __init__(self): 1834 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__init__()''' 1835 return QAbstractSpinBox.StepEnabled() 1836 def __init__(self): 1837 '''int QAbstractSpinBox.StepEnabled.__init__()''' 1838 return int() 1839 def __init__(self): 1840 '''void QAbstractSpinBox.StepEnabled.__init__()''' 1841 def __bool__(self): 1842 '''int QAbstractSpinBox.StepEnabled.__bool__()''' 1843 return int() 1844 def __ne__(self, f): 1845 '''bool QAbstractSpinBox.StepEnabled.__ne__(QAbstractSpinBox.StepEnabled f)''' 1846 return bool() 1847 def __eq__(self, f): 1848 '''bool QAbstractSpinBox.StepEnabled.__eq__(QAbstractSpinBox.StepEnabled f)''' 1849 return bool() 1850 def __invert__(self): 1851 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__invert__()''' 1852 return QAbstractSpinBox.StepEnabled() 1853 def __and__(self, mask): 1854 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__and__(int mask)''' 1855 return QAbstractSpinBox.StepEnabled() 1856 def __xor__(self, f): 1857 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__xor__(QAbstractSpinBox.StepEnabled f)''' 1858 return QAbstractSpinBox.StepEnabled() 1859 def __xor__(self, f): 1860 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__xor__(int f)''' 1861 return QAbstractSpinBox.StepEnabled() 1862 def __or__(self, f): 1863 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__or__(QAbstractSpinBox.StepEnabled f)''' 1864 return QAbstractSpinBox.StepEnabled() 1865 def __or__(self, f): 1866 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__or__(int f)''' 1867 return QAbstractSpinBox.StepEnabled() 1868 def __int__(self): 1869 '''int QAbstractSpinBox.StepEnabled.__int__()''' 1870 return int() 1871 def __ixor__(self, f): 1872 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__ixor__(QAbstractSpinBox.StepEnabled f)''' 1873 return QAbstractSpinBox.StepEnabled() 1874 def __ior__(self, f): 1875 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__ior__(QAbstractSpinBox.StepEnabled f)''' 1876 return QAbstractSpinBox.StepEnabled() 1877 def __iand__(self, mask): 1878 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__iand__(int mask)''' 1879 return QAbstractSpinBox.StepEnabled() 1880 1881 1882 class QAction(QObject): 1883 """""" 1884 # Enum QAction.Priority 1885 LowPriority = 0 1886 NormalPriority = 0 1887 HighPriority = 0 1888 1889 # Enum QAction.MenuRole 1890 NoRole = 0 1891 TextHeuristicRole = 0 1892 ApplicationSpecificRole = 0 1893 AboutQtRole = 0 1894 AboutRole = 0 1895 PreferencesRole = 0 1896 QuitRole = 0 1897 1898 # Enum QAction.ActionEvent 1899 Trigger = 0 1900 Hover = 0 1901 1902 def __init__(self, parent): 1903 '''void QAction.__init__(QObject parent)''' 1904 def __init__(self, text, parent): 1905 '''void QAction.__init__(str text, QObject parent)''' 1906 def __init__(self, icon, text, parent): 1907 '''void QAction.__init__(QIcon icon, str text, QObject parent)''' 1908 def priority(self): 1909 '''QAction.Priority QAction.priority()''' 1910 return QAction.Priority() 1911 def setPriority(self, priority): 1912 '''void QAction.setPriority(QAction.Priority priority)''' 1913 def isIconVisibleInMenu(self): 1914 '''bool QAction.isIconVisibleInMenu()''' 1915 return bool() 1916 def setIconVisibleInMenu(self, visible): 1917 '''void QAction.setIconVisibleInMenu(bool visible)''' 1918 def associatedGraphicsWidgets(self): 1919 '''list-of-QGraphicsWidget QAction.associatedGraphicsWidgets()''' 1920 return [QGraphicsWidget()] 1921 def associatedWidgets(self): 1922 '''list-of-QWidget QAction.associatedWidgets()''' 1923 return [QWidget()] 1924 def menuRole(self): 1925 '''QAction.MenuRole QAction.menuRole()''' 1926 return QAction.MenuRole() 1927 def setMenuRole(self, menuRole): 1928 '''void QAction.setMenuRole(QAction.MenuRole menuRole)''' 1929 def autoRepeat(self): 1930 '''bool QAction.autoRepeat()''' 1931 return bool() 1932 def setAutoRepeat(self): 1933 '''bool QAction.setAutoRepeat()''' 1934 return bool() 1935 def shortcuts(self): 1936 '''list-of-QKeySequence QAction.shortcuts()''' 1937 return [QKeySequence()] 1938 def setShortcuts(self, shortcuts): 1939 '''void QAction.setShortcuts(list-of-QKeySequence shortcuts)''' 1940 def setShortcuts(self): 1941 '''QKeySequence.StandardKey QAction.setShortcuts()''' 1942 return QKeySequence.StandardKey() 1943 toggled = pyqtSignal() # void toggled(bool) - signal 1944 hovered = pyqtSignal() # void hovered() - signal 1945 triggered = pyqtSignal() # void triggered(bool = 0) - signal 1946 changed = pyqtSignal() # void changed() - signal 1947 def setVisible(self): 1948 '''bool QAction.setVisible()''' 1949 return bool() 1950 def setDisabled(self, b): 1951 '''void QAction.setDisabled(bool b)''' 1952 def setEnabled(self): 1953 '''bool QAction.setEnabled()''' 1954 return bool() 1955 def toggle(self): 1956 '''void QAction.toggle()''' 1957 def setChecked(self): 1958 '''bool QAction.setChecked()''' 1959 return bool() 1960 def hover(self): 1961 '''void QAction.hover()''' 1962 def trigger(self): 1963 '''void QAction.trigger()''' 1964 def event(self): 1965 '''QEvent QAction.event()''' 1966 return QEvent() 1967 def parentWidget(self): 1968 '''QWidget QAction.parentWidget()''' 1969 return QWidget() 1970 def showStatusText(self, widget = None): 1971 '''bool QAction.showStatusText(QWidget widget = None)''' 1972 return bool() 1973 def activate(self, event): 1974 '''void QAction.activate(QAction.ActionEvent event)''' 1975 def isVisible(self): 1976 '''bool QAction.isVisible()''' 1977 return bool() 1978 def isEnabled(self): 1979 '''bool QAction.isEnabled()''' 1980 return bool() 1981 def isChecked(self): 1982 '''bool QAction.isChecked()''' 1983 return bool() 1984 def setData(self, var): 1985 '''void QAction.setData(QVariant var)''' 1986 def data(self): 1987 '''QVariant QAction.data()''' 1988 return QVariant() 1989 def isCheckable(self): 1990 '''bool QAction.isCheckable()''' 1991 return bool() 1992 def setCheckable(self): 1993 '''bool QAction.setCheckable()''' 1994 return bool() 1995 def font(self): 1996 '''QFont QAction.font()''' 1997 return QFont() 1998 def setFont(self, font): 1999 '''void QAction.setFont(QFont font)''' 2000 def shortcutContext(self): 2001 '''Qt.ShortcutContext QAction.shortcutContext()''' 2002 return Qt.ShortcutContext() 2003 def setShortcutContext(self, context): 2004 '''void QAction.setShortcutContext(Qt.ShortcutContext context)''' 2005 def shortcut(self): 2006 '''QKeySequence QAction.shortcut()''' 2007 return QKeySequence() 2008 def setShortcut(self, shortcut): 2009 '''void QAction.setShortcut(QKeySequence shortcut)''' 2010 def isSeparator(self): 2011 '''bool QAction.isSeparator()''' 2012 return bool() 2013 def setSeparator(self, b): 2014 '''void QAction.setSeparator(bool b)''' 2015 def setMenu(self, menu): 2016 '''void QAction.setMenu(QMenu menu)''' 2017 def menu(self): 2018 '''QMenu QAction.menu()''' 2019 return QMenu() 2020 def whatsThis(self): 2021 '''str QAction.whatsThis()''' 2022 return str() 2023 def setWhatsThis(self, what): 2024 '''void QAction.setWhatsThis(str what)''' 2025 def statusTip(self): 2026 '''str QAction.statusTip()''' 2027 return str() 2028 def setStatusTip(self, statusTip): 2029 '''void QAction.setStatusTip(str statusTip)''' 2030 def toolTip(self): 2031 '''str QAction.toolTip()''' 2032 return str() 2033 def setToolTip(self, tip): 2034 '''void QAction.setToolTip(str tip)''' 2035 def iconText(self): 2036 '''str QAction.iconText()''' 2037 return str() 2038 def setIconText(self, text): 2039 '''void QAction.setIconText(str text)''' 2040 def text(self): 2041 '''str QAction.text()''' 2042 return str() 2043 def setText(self, text): 2044 '''void QAction.setText(str text)''' 2045 def icon(self): 2046 '''QIcon QAction.icon()''' 2047 return QIcon() 2048 def setIcon(self, icon): 2049 '''void QAction.setIcon(QIcon icon)''' 2050 def actionGroup(self): 2051 '''QActionGroup QAction.actionGroup()''' 2052 return QActionGroup() 2053 def setActionGroup(self, group): 2054 '''void QAction.setActionGroup(QActionGroup group)''' 2055 2056 2057 class QActionGroup(QObject): 2058 """""" 2059 def __init__(self, parent): 2060 '''void QActionGroup.__init__(QObject parent)''' 2061 hovered = pyqtSignal() # void hovered(QAction*) - signal 2062 triggered = pyqtSignal() # void triggered(QAction*) - signal 2063 def setExclusive(self): 2064 '''bool QActionGroup.setExclusive()''' 2065 return bool() 2066 def setVisible(self): 2067 '''bool QActionGroup.setVisible()''' 2068 return bool() 2069 def setDisabled(self, b): 2070 '''void QActionGroup.setDisabled(bool b)''' 2071 def setEnabled(self): 2072 '''bool QActionGroup.setEnabled()''' 2073 return bool() 2074 def isVisible(self): 2075 '''bool QActionGroup.isVisible()''' 2076 return bool() 2077 def isEnabled(self): 2078 '''bool QActionGroup.isEnabled()''' 2079 return bool() 2080 def isExclusive(self): 2081 '''bool QActionGroup.isExclusive()''' 2082 return bool() 2083 def checkedAction(self): 2084 '''QAction QActionGroup.checkedAction()''' 2085 return QAction() 2086 def actions(self): 2087 '''list-of-QAction QActionGroup.actions()''' 2088 return [QAction()] 2089 def removeAction(self, a): 2090 '''void QActionGroup.removeAction(QAction a)''' 2091 def addAction(self, a): 2092 '''QAction QActionGroup.addAction(QAction a)''' 2093 return QAction() 2094 def addAction(self, text): 2095 '''QAction QActionGroup.addAction(str text)''' 2096 return QAction() 2097 def addAction(self, icon, text): 2098 '''QAction QActionGroup.addAction(QIcon icon, str text)''' 2099 return QAction() 2100 2101 2102 class QApplication(QGuiApplication): 2103 """""" 2104 # Enum QApplication.ColorSpec 2105 NormalColor = 0 2106 CustomColor = 0 2107 ManyColor = 0 2108 2109 def __init__(self, argv): 2110 '''void QApplication.__init__(list-of-str argv)''' 2111 def event(self): 2112 '''QEvent QApplication.event()''' 2113 return QEvent() 2114 def setStyleSheet(self, sheet): 2115 '''void QApplication.setStyleSheet(str sheet)''' 2116 def setAutoSipEnabled(self, enabled): 2117 '''void QApplication.setAutoSipEnabled(bool enabled)''' 2118 def closeAllWindows(self): 2119 '''static void QApplication.closeAllWindows()''' 2120 def aboutQt(self): 2121 '''static void QApplication.aboutQt()''' 2122 focusChanged = pyqtSignal() # void focusChanged(QWidget*,QWidget*) - signal 2123 def styleSheet(self): 2124 '''str QApplication.styleSheet()''' 2125 return str() 2126 def autoSipEnabled(self): 2127 '''bool QApplication.autoSipEnabled()''' 2128 return bool() 2129 def notify(self): 2130 '''QEvent QApplication.notify()''' 2131 return QEvent() 2132 def exec_(self): 2133 '''static int QApplication.exec_()''' 2134 return int() 2135 def setEffectEnabled(self, enabled = True): 2136 '''static Qt.UIEffect QApplication.setEffectEnabled(bool enabled = True)''' 2137 return Qt.UIEffect() 2138 def isEffectEnabled(self): 2139 '''static Qt.UIEffect QApplication.isEffectEnabled()''' 2140 return Qt.UIEffect() 2141 def startDragDistance(self): 2142 '''static int QApplication.startDragDistance()''' 2143 return int() 2144 def setStartDragDistance(self, l): 2145 '''static void QApplication.setStartDragDistance(int l)''' 2146 def startDragTime(self): 2147 '''static int QApplication.startDragTime()''' 2148 return int() 2149 def setStartDragTime(self, ms): 2150 '''static void QApplication.setStartDragTime(int ms)''' 2151 def globalStrut(self): 2152 '''static QSize QApplication.globalStrut()''' 2153 return QSize() 2154 def setGlobalStrut(self): 2155 '''static QSize QApplication.setGlobalStrut()''' 2156 return QSize() 2157 def wheelScrollLines(self): 2158 '''static int QApplication.wheelScrollLines()''' 2159 return int() 2160 def setWheelScrollLines(self): 2161 '''static int QApplication.setWheelScrollLines()''' 2162 return int() 2163 def keyboardInputInterval(self): 2164 '''static int QApplication.keyboardInputInterval()''' 2165 return int() 2166 def setKeyboardInputInterval(self): 2167 '''static int QApplication.setKeyboardInputInterval()''' 2168 return int() 2169 def doubleClickInterval(self): 2170 '''static int QApplication.doubleClickInterval()''' 2171 return int() 2172 def setDoubleClickInterval(self): 2173 '''static int QApplication.setDoubleClickInterval()''' 2174 return int() 2175 def cursorFlashTime(self): 2176 '''static int QApplication.cursorFlashTime()''' 2177 return int() 2178 def setCursorFlashTime(self): 2179 '''static int QApplication.setCursorFlashTime()''' 2180 return int() 2181 def alert(self, widget, msecs = 0): 2182 '''static void QApplication.alert(QWidget widget, int msecs = 0)''' 2183 def beep(self): 2184 '''static void QApplication.beep()''' 2185 def topLevelAt(self, p): 2186 '''static QWidget QApplication.topLevelAt(QPoint p)''' 2187 return QWidget() 2188 def topLevelAt(self, x, y): 2189 '''static QWidget QApplication.topLevelAt(int x, int y)''' 2190 return QWidget() 2191 def widgetAt(self, p): 2192 '''static QWidget QApplication.widgetAt(QPoint p)''' 2193 return QWidget() 2194 def widgetAt(self, x, y): 2195 '''static QWidget QApplication.widgetAt(int x, int y)''' 2196 return QWidget() 2197 def setActiveWindow(self, act): 2198 '''static void QApplication.setActiveWindow(QWidget act)''' 2199 def activeWindow(self): 2200 '''static QWidget QApplication.activeWindow()''' 2201 return QWidget() 2202 def focusWidget(self): 2203 '''static QWidget QApplication.focusWidget()''' 2204 return QWidget() 2205 def activeModalWidget(self): 2206 '''static QWidget QApplication.activeModalWidget()''' 2207 return QWidget() 2208 def activePopupWidget(self): 2209 '''static QWidget QApplication.activePopupWidget()''' 2210 return QWidget() 2211 def desktop(self): 2212 '''static QDesktopWidget QApplication.desktop()''' 2213 return QDesktopWidget() 2214 def topLevelWidgets(self): 2215 '''static list-of-QWidget QApplication.topLevelWidgets()''' 2216 return [QWidget()] 2217 def allWidgets(self): 2218 '''static list-of-QWidget QApplication.allWidgets()''' 2219 return [QWidget()] 2220 def windowIcon(self): 2221 '''static QIcon QApplication.windowIcon()''' 2222 return QIcon() 2223 def setWindowIcon(self, icon): 2224 '''static void QApplication.setWindowIcon(QIcon icon)''' 2225 def fontMetrics(self): 2226 '''static QFontMetrics QApplication.fontMetrics()''' 2227 return QFontMetrics() 2228 def setFont(self, className = None): 2229 '''static QFont QApplication.setFont(str className = None)''' 2230 return QFont() 2231 def font(self): 2232 '''static QFont QApplication.font()''' 2233 return QFont() 2234 def font(self): 2235 '''static QWidget QApplication.font()''' 2236 return QWidget() 2237 def font(self, className): 2238 '''static QFont QApplication.font(str className)''' 2239 return QFont() 2240 def setPalette(self, className = None): 2241 '''static QPalette QApplication.setPalette(str className = None)''' 2242 return QPalette() 2243 def palette(self): 2244 '''static QPalette QApplication.palette()''' 2245 return QPalette() 2246 def palette(self): 2247 '''static QWidget QApplication.palette()''' 2248 return QWidget() 2249 def palette(self, className): 2250 '''static QPalette QApplication.palette(str className)''' 2251 return QPalette() 2252 def setColorSpec(self): 2253 '''static int QApplication.setColorSpec()''' 2254 return int() 2255 def colorSpec(self): 2256 '''static int QApplication.colorSpec()''' 2257 return int() 2258 def setStyle(self): 2259 '''static QStyle QApplication.setStyle()''' 2260 return QStyle() 2261 def setStyle(self): 2262 '''static str QApplication.setStyle()''' 2263 return str() 2264 def style(self): 2265 '''static QStyle QApplication.style()''' 2266 return QStyle() 2267 2268 2269 class QLayoutItem(): 2270 """""" 2271 def __init__(self, alignment = 0): 2272 '''void QLayoutItem.__init__(Qt.Alignment alignment = 0)''' 2273 def __init__(self): 2274 '''QLayoutItem QLayoutItem.__init__()''' 2275 return QLayoutItem() 2276 def controlTypes(self): 2277 '''QSizePolicy.ControlTypes QLayoutItem.controlTypes()''' 2278 return QSizePolicy.ControlTypes() 2279 def setAlignment(self, a): 2280 '''void QLayoutItem.setAlignment(Qt.Alignment a)''' 2281 def alignment(self): 2282 '''Qt.Alignment QLayoutItem.alignment()''' 2283 return Qt.Alignment() 2284 def spacerItem(self): 2285 '''QSpacerItem QLayoutItem.spacerItem()''' 2286 return QSpacerItem() 2287 def layout(self): 2288 '''QLayout QLayoutItem.layout()''' 2289 return QLayout() 2290 def widget(self): 2291 '''QWidget QLayoutItem.widget()''' 2292 return QWidget() 2293 def invalidate(self): 2294 '''void QLayoutItem.invalidate()''' 2295 def minimumHeightForWidth(self): 2296 '''int QLayoutItem.minimumHeightForWidth()''' 2297 return int() 2298 def heightForWidth(self): 2299 '''int QLayoutItem.heightForWidth()''' 2300 return int() 2301 def hasHeightForWidth(self): 2302 '''bool QLayoutItem.hasHeightForWidth()''' 2303 return bool() 2304 def isEmpty(self): 2305 '''abstract bool QLayoutItem.isEmpty()''' 2306 return bool() 2307 def geometry(self): 2308 '''abstract QRect QLayoutItem.geometry()''' 2309 return QRect() 2310 def setGeometry(self): 2311 '''abstract QRect QLayoutItem.setGeometry()''' 2312 return QRect() 2313 def expandingDirections(self): 2314 '''abstract Qt.Orientations QLayoutItem.expandingDirections()''' 2315 return Qt.Orientations() 2316 def maximumSize(self): 2317 '''abstract QSize QLayoutItem.maximumSize()''' 2318 return QSize() 2319 def minimumSize(self): 2320 '''abstract QSize QLayoutItem.minimumSize()''' 2321 return QSize() 2322 def sizeHint(self): 2323 '''abstract QSize QLayoutItem.sizeHint()''' 2324 return QSize() 2325 2326 2327 class QLayout(QObject, QLayoutItem): 2328 """""" 2329 # Enum QLayout.SizeConstraint 2330 SetDefaultConstraint = 0 2331 SetNoConstraint = 0 2332 SetMinimumSize = 0 2333 SetFixedSize = 0 2334 SetMaximumSize = 0 2335 SetMinAndMaxSize = 0 2336 2337 def __init__(self, parent): 2338 '''void QLayout.__init__(QWidget parent)''' 2339 def __init__(self): 2340 '''void QLayout.__init__()''' 2341 def replaceWidget(self, from_, to, options = None): 2342 '''QLayoutItem QLayout.replaceWidget(QWidget from, QWidget to, Qt.FindChildOptions options = Qt.FindChildrenRecursively)''' 2343 return QLayoutItem() 2344 def controlTypes(self): 2345 '''QSizePolicy.ControlTypes QLayout.controlTypes()''' 2346 return QSizePolicy.ControlTypes() 2347 def contentsMargins(self): 2348 '''QMargins QLayout.contentsMargins()''' 2349 return QMargins() 2350 def contentsRect(self): 2351 '''QRect QLayout.contentsRect()''' 2352 return QRect() 2353 def getContentsMargins(self, left, top, right, bottom): 2354 '''void QLayout.getContentsMargins(int left, int top, int right, int bottom)''' 2355 def setContentsMargins(self, left, top, right, bottom): 2356 '''void QLayout.setContentsMargins(int left, int top, int right, int bottom)''' 2357 def setContentsMargins(self, margins): 2358 '''void QLayout.setContentsMargins(QMargins margins)''' 2359 def alignmentRect(self): 2360 '''QRect QLayout.alignmentRect()''' 2361 return QRect() 2362 def addChildWidget(self, w): 2363 '''void QLayout.addChildWidget(QWidget w)''' 2364 def addChildLayout(self, l): 2365 '''void QLayout.addChildLayout(QLayout l)''' 2366 def childEvent(self, e): 2367 '''void QLayout.childEvent(QChildEvent e)''' 2368 def widgetEvent(self): 2369 '''QEvent QLayout.widgetEvent()''' 2370 return QEvent() 2371 def closestAcceptableSize(self, w, s): 2372 '''static QSize QLayout.closestAcceptableSize(QWidget w, QSize s)''' 2373 return QSize() 2374 def isEnabled(self): 2375 '''bool QLayout.isEnabled()''' 2376 return bool() 2377 def setEnabled(self): 2378 '''bool QLayout.setEnabled()''' 2379 return bool() 2380 def layout(self): 2381 '''QLayout QLayout.layout()''' 2382 return QLayout() 2383 def totalSizeHint(self): 2384 '''QSize QLayout.totalSizeHint()''' 2385 return QSize() 2386 def totalMaximumSize(self): 2387 '''QSize QLayout.totalMaximumSize()''' 2388 return QSize() 2389 def totalMinimumSize(self): 2390 '''QSize QLayout.totalMinimumSize()''' 2391 return QSize() 2392 def totalHeightForWidth(self, w): 2393 '''int QLayout.totalHeightForWidth(int w)''' 2394 return int() 2395 def isEmpty(self): 2396 '''bool QLayout.isEmpty()''' 2397 return bool() 2398 def __len__(self): 2399 ''' QLayout.__len__()''' 2400 return () 2401 def count(self): 2402 '''abstract int QLayout.count()''' 2403 return int() 2404 def indexOf(self): 2405 '''QWidget QLayout.indexOf()''' 2406 return QWidget() 2407 def takeAt(self, index): 2408 '''abstract QLayoutItem QLayout.takeAt(int index)''' 2409 return QLayoutItem() 2410 def itemAt(self, index): 2411 '''abstract QLayoutItem QLayout.itemAt(int index)''' 2412 return QLayoutItem() 2413 def setGeometry(self): 2414 '''QRect QLayout.setGeometry()''' 2415 return QRect() 2416 def maximumSize(self): 2417 '''QSize QLayout.maximumSize()''' 2418 return QSize() 2419 def minimumSize(self): 2420 '''QSize QLayout.minimumSize()''' 2421 return QSize() 2422 def expandingDirections(self): 2423 '''Qt.Orientations QLayout.expandingDirections()''' 2424 return Qt.Orientations() 2425 def removeItem(self): 2426 '''QLayoutItem QLayout.removeItem()''' 2427 return QLayoutItem() 2428 def removeWidget(self, w): 2429 '''void QLayout.removeWidget(QWidget w)''' 2430 def addItem(self): 2431 '''abstract QLayoutItem QLayout.addItem()''' 2432 return QLayoutItem() 2433 def addWidget(self, w): 2434 '''void QLayout.addWidget(QWidget w)''' 2435 def update(self): 2436 '''void QLayout.update()''' 2437 def activate(self): 2438 '''bool QLayout.activate()''' 2439 return bool() 2440 def geometry(self): 2441 '''QRect QLayout.geometry()''' 2442 return QRect() 2443 def invalidate(self): 2444 '''void QLayout.invalidate()''' 2445 def parentWidget(self): 2446 '''QWidget QLayout.parentWidget()''' 2447 return QWidget() 2448 def menuBar(self): 2449 '''QWidget QLayout.menuBar()''' 2450 return QWidget() 2451 def setMenuBar(self, w): 2452 '''void QLayout.setMenuBar(QWidget w)''' 2453 def sizeConstraint(self): 2454 '''QLayout.SizeConstraint QLayout.sizeConstraint()''' 2455 return QLayout.SizeConstraint() 2456 def setSizeConstraint(self): 2457 '''QLayout.SizeConstraint QLayout.setSizeConstraint()''' 2458 return QLayout.SizeConstraint() 2459 def setAlignment(self, w, alignment): 2460 '''bool QLayout.setAlignment(QWidget w, Qt.Alignment alignment)''' 2461 return bool() 2462 def setAlignment(self, l, alignment): 2463 '''bool QLayout.setAlignment(QLayout l, Qt.Alignment alignment)''' 2464 return bool() 2465 def setAlignment(self, alignment): 2466 '''void QLayout.setAlignment(Qt.Alignment alignment)''' 2467 def setSpacing(self): 2468 '''int QLayout.setSpacing()''' 2469 return int() 2470 def spacing(self): 2471 '''int QLayout.spacing()''' 2472 return int() 2473 2474 2475 class QBoxLayout(QLayout): 2476 """""" 2477 # Enum QBoxLayout.Direction 2478 LeftToRight = 0 2479 RightToLeft = 0 2480 TopToBottom = 0 2481 BottomToTop = 0 2482 Down = 0 2483 Up = 0 2484 2485 def __init__(self, direction, parent = None): 2486 '''void QBoxLayout.__init__(QBoxLayout.Direction direction, QWidget parent = None)''' 2487 def insertItem(self, index): 2488 '''QLayoutItem QBoxLayout.insertItem(int index)''' 2489 return QLayoutItem() 2490 def stretch(self, index): 2491 '''int QBoxLayout.stretch(int index)''' 2492 return int() 2493 def setStretch(self, index, stretch): 2494 '''void QBoxLayout.setStretch(int index, int stretch)''' 2495 def insertSpacerItem(self, index, spacerItem): 2496 '''void QBoxLayout.insertSpacerItem(int index, QSpacerItem spacerItem)''' 2497 def addSpacerItem(self, spacerItem): 2498 '''void QBoxLayout.addSpacerItem(QSpacerItem spacerItem)''' 2499 def setSpacing(self, spacing): 2500 '''void QBoxLayout.setSpacing(int spacing)''' 2501 def spacing(self): 2502 '''int QBoxLayout.spacing()''' 2503 return int() 2504 def setGeometry(self): 2505 '''QRect QBoxLayout.setGeometry()''' 2506 return QRect() 2507 def count(self): 2508 '''int QBoxLayout.count()''' 2509 return int() 2510 def takeAt(self): 2511 '''int QBoxLayout.takeAt()''' 2512 return int() 2513 def itemAt(self): 2514 '''int QBoxLayout.itemAt()''' 2515 return int() 2516 def invalidate(self): 2517 '''void QBoxLayout.invalidate()''' 2518 def expandingDirections(self): 2519 '''Qt.Orientations QBoxLayout.expandingDirections()''' 2520 return Qt.Orientations() 2521 def minimumHeightForWidth(self): 2522 '''int QBoxLayout.minimumHeightForWidth()''' 2523 return int() 2524 def heightForWidth(self): 2525 '''int QBoxLayout.heightForWidth()''' 2526 return int() 2527 def hasHeightForWidth(self): 2528 '''bool QBoxLayout.hasHeightForWidth()''' 2529 return bool() 2530 def maximumSize(self): 2531 '''QSize QBoxLayout.maximumSize()''' 2532 return QSize() 2533 def minimumSize(self): 2534 '''QSize QBoxLayout.minimumSize()''' 2535 return QSize() 2536 def sizeHint(self): 2537 '''QSize QBoxLayout.sizeHint()''' 2538 return QSize() 2539 def setStretchFactor(self, w, stretch): 2540 '''bool QBoxLayout.setStretchFactor(QWidget w, int stretch)''' 2541 return bool() 2542 def setStretchFactor(self, l, stretch): 2543 '''bool QBoxLayout.setStretchFactor(QLayout l, int stretch)''' 2544 return bool() 2545 def insertLayout(self, index, layout, stretch = 0): 2546 '''void QBoxLayout.insertLayout(int index, QLayout layout, int stretch = 0)''' 2547 def insertWidget(self, index, widget, stretch = 0, alignment = 0): 2548 '''void QBoxLayout.insertWidget(int index, QWidget widget, int stretch = 0, Qt.Alignment alignment = 0)''' 2549 def insertStretch(self, index, stretch = 0): 2550 '''void QBoxLayout.insertStretch(int index, int stretch = 0)''' 2551 def insertSpacing(self, index, size): 2552 '''void QBoxLayout.insertSpacing(int index, int size)''' 2553 def addItem(self): 2554 '''QLayoutItem QBoxLayout.addItem()''' 2555 return QLayoutItem() 2556 def addStrut(self): 2557 '''int QBoxLayout.addStrut()''' 2558 return int() 2559 def addLayout(self, layout, stretch = 0): 2560 '''void QBoxLayout.addLayout(QLayout layout, int stretch = 0)''' 2561 def addWidget(self, stretch = 0, alignment = 0): 2562 '''QWidget QBoxLayout.addWidget(int stretch = 0, Qt.Alignment alignment = 0)''' 2563 return QWidget() 2564 def addStretch(self, stretch = 0): 2565 '''void QBoxLayout.addStretch(int stretch = 0)''' 2566 def addSpacing(self, size): 2567 '''void QBoxLayout.addSpacing(int size)''' 2568 def setDirection(self): 2569 '''QBoxLayout.Direction QBoxLayout.setDirection()''' 2570 return QBoxLayout.Direction() 2571 def direction(self): 2572 '''QBoxLayout.Direction QBoxLayout.direction()''' 2573 return QBoxLayout.Direction() 2574 2575 2576 class QHBoxLayout(QBoxLayout): 2577 """""" 2578 def __init__(self): 2579 '''void QHBoxLayout.__init__()''' 2580 def __init__(self, parent): 2581 '''void QHBoxLayout.__init__(QWidget parent)''' 2582 2583 2584 class QVBoxLayout(QBoxLayout): 2585 """""" 2586 def __init__(self): 2587 '''void QVBoxLayout.__init__()''' 2588 def __init__(self, parent): 2589 '''void QVBoxLayout.__init__(QWidget parent)''' 2590 2591 2592 class QButtonGroup(QObject): 2593 """""" 2594 def __init__(self, parent = None): 2595 '''void QButtonGroup.__init__(QObject parent = None)''' 2596 buttonToggled = pyqtSignal() # void buttonToggled(QAbstractButton*,bool) - signal 2597 buttonToggled = pyqtSignal() # void buttonToggled(int,bool) - signal 2598 buttonReleased = pyqtSignal() # void buttonReleased(QAbstractButton*) - signal 2599 buttonReleased = pyqtSignal() # void buttonReleased(int) - signal 2600 buttonPressed = pyqtSignal() # void buttonPressed(QAbstractButton*) - signal 2601 buttonPressed = pyqtSignal() # void buttonPressed(int) - signal 2602 buttonClicked = pyqtSignal() # void buttonClicked(QAbstractButton*) - signal 2603 buttonClicked = pyqtSignal() # void buttonClicked(int) - signal 2604 def checkedId(self): 2605 '''int QButtonGroup.checkedId()''' 2606 return int() 2607 def id(self, button): 2608 '''int QButtonGroup.id(QAbstractButton button)''' 2609 return int() 2610 def setId(self, button, id): 2611 '''void QButtonGroup.setId(QAbstractButton button, int id)''' 2612 def checkedButton(self): 2613 '''QAbstractButton QButtonGroup.checkedButton()''' 2614 return QAbstractButton() 2615 def button(self, id): 2616 '''QAbstractButton QButtonGroup.button(int id)''' 2617 return QAbstractButton() 2618 def buttons(self): 2619 '''list-of-QAbstractButton QButtonGroup.buttons()''' 2620 return [QAbstractButton()] 2621 def removeButton(self): 2622 '''QAbstractButton QButtonGroup.removeButton()''' 2623 return QAbstractButton() 2624 def addButton(self, id = None): 2625 '''QAbstractButton QButtonGroup.addButton(int id = -1)''' 2626 return QAbstractButton() 2627 def exclusive(self): 2628 '''bool QButtonGroup.exclusive()''' 2629 return bool() 2630 def setExclusive(self): 2631 '''bool QButtonGroup.setExclusive()''' 2632 return bool() 2633 2634 2635 class QCalendarWidget(QWidget): 2636 """""" 2637 # Enum QCalendarWidget.SelectionMode 2638 NoSelection = 0 2639 SingleSelection = 0 2640 2641 # Enum QCalendarWidget.VerticalHeaderFormat 2642 NoVerticalHeader = 0 2643 ISOWeekNumbers = 0 2644 2645 # Enum QCalendarWidget.HorizontalHeaderFormat 2646 NoHorizontalHeader = 0 2647 SingleLetterDayNames = 0 2648 ShortDayNames = 0 2649 LongDayNames = 0 2650 2651 def __init__(self, parent = None): 2652 '''void QCalendarWidget.__init__(QWidget parent = None)''' 2653 def setNavigationBarVisible(self, visible): 2654 '''void QCalendarWidget.setNavigationBarVisible(bool visible)''' 2655 def setDateEditAcceptDelay(self, delay): 2656 '''void QCalendarWidget.setDateEditAcceptDelay(int delay)''' 2657 def dateEditAcceptDelay(self): 2658 '''int QCalendarWidget.dateEditAcceptDelay()''' 2659 return int() 2660 def setDateEditEnabled(self, enable): 2661 '''void QCalendarWidget.setDateEditEnabled(bool enable)''' 2662 def isDateEditEnabled(self): 2663 '''bool QCalendarWidget.isDateEditEnabled()''' 2664 return bool() 2665 def isNavigationBarVisible(self): 2666 '''bool QCalendarWidget.isNavigationBarVisible()''' 2667 return bool() 2668 selectionChanged = pyqtSignal() # void selectionChanged() - signal 2669 currentPageChanged = pyqtSignal() # void currentPageChanged(int,int) - signal 2670 clicked = pyqtSignal() # void clicked(const QDateamp;) - signal 2671 activated = pyqtSignal() # void activated(const QDateamp;) - signal 2672 def showToday(self): 2673 '''void QCalendarWidget.showToday()''' 2674 def showSelectedDate(self): 2675 '''void QCalendarWidget.showSelectedDate()''' 2676 def showPreviousYear(self): 2677 '''void QCalendarWidget.showPreviousYear()''' 2678 def showPreviousMonth(self): 2679 '''void QCalendarWidget.showPreviousMonth()''' 2680 def showNextYear(self): 2681 '''void QCalendarWidget.showNextYear()''' 2682 def showNextMonth(self): 2683 '''void QCalendarWidget.showNextMonth()''' 2684 def setSelectedDate(self, date): 2685 '''void QCalendarWidget.setSelectedDate(QDate date)''' 2686 def setDateRange(self, min, max): 2687 '''void QCalendarWidget.setDateRange(QDate min, QDate max)''' 2688 def setCurrentPage(self, year, month): 2689 '''void QCalendarWidget.setCurrentPage(int year, int month)''' 2690 def paintCell(self, painter, rect, date): 2691 '''void QCalendarWidget.paintCell(QPainter painter, QRect rect, QDate date)''' 2692 def keyPressEvent(self, event): 2693 '''void QCalendarWidget.keyPressEvent(QKeyEvent event)''' 2694 def resizeEvent(self, event): 2695 '''void QCalendarWidget.resizeEvent(QResizeEvent event)''' 2696 def mousePressEvent(self, event): 2697 '''void QCalendarWidget.mousePressEvent(QMouseEvent event)''' 2698 def eventFilter(self, watched, event): 2699 '''bool QCalendarWidget.eventFilter(QObject watched, QEvent event)''' 2700 return bool() 2701 def event(self, event): 2702 '''bool QCalendarWidget.event(QEvent event)''' 2703 return bool() 2704 def updateCells(self): 2705 '''void QCalendarWidget.updateCells()''' 2706 def updateCell(self, date): 2707 '''void QCalendarWidget.updateCell(QDate date)''' 2708 def setDateTextFormat(self, date, color): 2709 '''void QCalendarWidget.setDateTextFormat(QDate date, QTextCharFormat color)''' 2710 def dateTextFormat(self): 2711 '''dict-of-QDate-QTextCharFormat QCalendarWidget.dateTextFormat()''' 2712 return {QDate():QTextCharFormat()} 2713 def dateTextFormat(self, date): 2714 '''QTextCharFormat QCalendarWidget.dateTextFormat(QDate date)''' 2715 return QTextCharFormat() 2716 def setWeekdayTextFormat(self, dayOfWeek, format): 2717 '''void QCalendarWidget.setWeekdayTextFormat(Qt.DayOfWeek dayOfWeek, QTextCharFormat format)''' 2718 def weekdayTextFormat(self, dayOfWeek): 2719 '''QTextCharFormat QCalendarWidget.weekdayTextFormat(Qt.DayOfWeek dayOfWeek)''' 2720 return QTextCharFormat() 2721 def setHeaderTextFormat(self, format): 2722 '''void QCalendarWidget.setHeaderTextFormat(QTextCharFormat format)''' 2723 def headerTextFormat(self): 2724 '''QTextCharFormat QCalendarWidget.headerTextFormat()''' 2725 return QTextCharFormat() 2726 def setVerticalHeaderFormat(self, format): 2727 '''void QCalendarWidget.setVerticalHeaderFormat(QCalendarWidget.VerticalHeaderFormat format)''' 2728 def verticalHeaderFormat(self): 2729 '''QCalendarWidget.VerticalHeaderFormat QCalendarWidget.verticalHeaderFormat()''' 2730 return QCalendarWidget.VerticalHeaderFormat() 2731 def setHorizontalHeaderFormat(self, format): 2732 '''void QCalendarWidget.setHorizontalHeaderFormat(QCalendarWidget.HorizontalHeaderFormat format)''' 2733 def horizontalHeaderFormat(self): 2734 '''QCalendarWidget.HorizontalHeaderFormat QCalendarWidget.horizontalHeaderFormat()''' 2735 return QCalendarWidget.HorizontalHeaderFormat() 2736 def setSelectionMode(self, mode): 2737 '''void QCalendarWidget.setSelectionMode(QCalendarWidget.SelectionMode mode)''' 2738 def selectionMode(self): 2739 '''QCalendarWidget.SelectionMode QCalendarWidget.selectionMode()''' 2740 return QCalendarWidget.SelectionMode() 2741 def setGridVisible(self, show): 2742 '''void QCalendarWidget.setGridVisible(bool show)''' 2743 def isGridVisible(self): 2744 '''bool QCalendarWidget.isGridVisible()''' 2745 return bool() 2746 def setFirstDayOfWeek(self, dayOfWeek): 2747 '''void QCalendarWidget.setFirstDayOfWeek(Qt.DayOfWeek dayOfWeek)''' 2748 def firstDayOfWeek(self): 2749 '''Qt.DayOfWeek QCalendarWidget.firstDayOfWeek()''' 2750 return Qt.DayOfWeek() 2751 def setMaximumDate(self, date): 2752 '''void QCalendarWidget.setMaximumDate(QDate date)''' 2753 def maximumDate(self): 2754 '''QDate QCalendarWidget.maximumDate()''' 2755 return QDate() 2756 def setMinimumDate(self, date): 2757 '''void QCalendarWidget.setMinimumDate(QDate date)''' 2758 def minimumDate(self): 2759 '''QDate QCalendarWidget.minimumDate()''' 2760 return QDate() 2761 def monthShown(self): 2762 '''int QCalendarWidget.monthShown()''' 2763 return int() 2764 def yearShown(self): 2765 '''int QCalendarWidget.yearShown()''' 2766 return int() 2767 def selectedDate(self): 2768 '''QDate QCalendarWidget.selectedDate()''' 2769 return QDate() 2770 def minimumSizeHint(self): 2771 '''QSize QCalendarWidget.minimumSizeHint()''' 2772 return QSize() 2773 def sizeHint(self): 2774 '''QSize QCalendarWidget.sizeHint()''' 2775 return QSize() 2776 2777 2778 class QCheckBox(QAbstractButton): 2779 """""" 2780 def __init__(self, parent = None): 2781 '''void QCheckBox.__init__(QWidget parent = None)''' 2782 def __init__(self, text, parent = None): 2783 '''void QCheckBox.__init__(str text, QWidget parent = None)''' 2784 def initStyleOption(self, option): 2785 '''void QCheckBox.initStyleOption(QStyleOptionButton option)''' 2786 def mouseMoveEvent(self): 2787 '''QMouseEvent QCheckBox.mouseMoveEvent()''' 2788 return QMouseEvent() 2789 def paintEvent(self): 2790 '''QPaintEvent QCheckBox.paintEvent()''' 2791 return QPaintEvent() 2792 def event(self, e): 2793 '''bool QCheckBox.event(QEvent e)''' 2794 return bool() 2795 def nextCheckState(self): 2796 '''void QCheckBox.nextCheckState()''' 2797 def checkStateSet(self): 2798 '''void QCheckBox.checkStateSet()''' 2799 def hitButton(self, pos): 2800 '''bool QCheckBox.hitButton(QPoint pos)''' 2801 return bool() 2802 stateChanged = pyqtSignal() # void stateChanged(int) - signal 2803 def minimumSizeHint(self): 2804 '''QSize QCheckBox.minimumSizeHint()''' 2805 return QSize() 2806 def setCheckState(self, state): 2807 '''void QCheckBox.setCheckState(Qt.CheckState state)''' 2808 def checkState(self): 2809 '''Qt.CheckState QCheckBox.checkState()''' 2810 return Qt.CheckState() 2811 def isTristate(self): 2812 '''bool QCheckBox.isTristate()''' 2813 return bool() 2814 def setTristate(self, on = True): 2815 '''void QCheckBox.setTristate(bool on = True)''' 2816 def sizeHint(self): 2817 '''QSize QCheckBox.sizeHint()''' 2818 return QSize() 2819 2820 2821 class QDialog(QWidget): 2822 """""" 2823 # Enum QDialog.DialogCode 2824 Rejected = 0 2825 Accepted = 0 2826 2827 def __init__(self, parent = None, flags = 0): 2828 '''void QDialog.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 2829 def eventFilter(self): 2830 '''QEvent QDialog.eventFilter()''' 2831 return QEvent() 2832 def contextMenuEvent(self): 2833 '''QContextMenuEvent QDialog.contextMenuEvent()''' 2834 return QContextMenuEvent() 2835 def resizeEvent(self): 2836 '''QResizeEvent QDialog.resizeEvent()''' 2837 return QResizeEvent() 2838 def showEvent(self): 2839 '''QShowEvent QDialog.showEvent()''' 2840 return QShowEvent() 2841 def closeEvent(self): 2842 '''QCloseEvent QDialog.closeEvent()''' 2843 return QCloseEvent() 2844 def keyPressEvent(self): 2845 '''QKeyEvent QDialog.keyPressEvent()''' 2846 return QKeyEvent() 2847 rejected = pyqtSignal() # void rejected() - signal 2848 finished = pyqtSignal() # void finished(int) - signal 2849 accepted = pyqtSignal() # void accepted() - signal 2850 def open(self): 2851 '''void QDialog.open()''' 2852 def reject(self): 2853 '''void QDialog.reject()''' 2854 def accept(self): 2855 '''void QDialog.accept()''' 2856 def done(self): 2857 '''int QDialog.done()''' 2858 return int() 2859 def exec_(self): 2860 '''int QDialog.exec_()''' 2861 return int() 2862 def setResult(self, r): 2863 '''void QDialog.setResult(int r)''' 2864 def setModal(self, modal): 2865 '''void QDialog.setModal(bool modal)''' 2866 def isSizeGripEnabled(self): 2867 '''bool QDialog.isSizeGripEnabled()''' 2868 return bool() 2869 def setSizeGripEnabled(self): 2870 '''bool QDialog.setSizeGripEnabled()''' 2871 return bool() 2872 def minimumSizeHint(self): 2873 '''QSize QDialog.minimumSizeHint()''' 2874 return QSize() 2875 def sizeHint(self): 2876 '''QSize QDialog.sizeHint()''' 2877 return QSize() 2878 def setVisible(self, visible): 2879 '''void QDialog.setVisible(bool visible)''' 2880 def result(self): 2881 '''int QDialog.result()''' 2882 return int() 2883 2884 2885 class QColorDialog(QDialog): 2886 """""" 2887 # Enum QColorDialog.ColorDialogOption 2888 ShowAlphaChannel = 0 2889 NoButtons = 0 2890 DontUseNativeDialog = 0 2891 2892 def __init__(self, parent = None): 2893 '''void QColorDialog.__init__(QWidget parent = None)''' 2894 def __init__(self, initial, parent = None): 2895 '''void QColorDialog.__init__(QColor initial, QWidget parent = None)''' 2896 def setVisible(self, visible): 2897 '''void QColorDialog.setVisible(bool visible)''' 2898 def open(self): 2899 '''void QColorDialog.open()''' 2900 def open(self, slot): 2901 '''void QColorDialog.open(slot slot)''' 2902 def options(self): 2903 '''QColorDialog.ColorDialogOptions QColorDialog.options()''' 2904 return QColorDialog.ColorDialogOptions() 2905 def setOptions(self, options): 2906 '''void QColorDialog.setOptions(QColorDialog.ColorDialogOptions options)''' 2907 def testOption(self, option): 2908 '''bool QColorDialog.testOption(QColorDialog.ColorDialogOption option)''' 2909 return bool() 2910 def setOption(self, option, on = True): 2911 '''void QColorDialog.setOption(QColorDialog.ColorDialogOption option, bool on = True)''' 2912 def selectedColor(self): 2913 '''QColor QColorDialog.selectedColor()''' 2914 return QColor() 2915 def currentColor(self): 2916 '''QColor QColorDialog.currentColor()''' 2917 return QColor() 2918 def setCurrentColor(self, color): 2919 '''void QColorDialog.setCurrentColor(QColor color)''' 2920 def done(self, result): 2921 '''void QColorDialog.done(int result)''' 2922 def changeEvent(self, e): 2923 '''void QColorDialog.changeEvent(QEvent e)''' 2924 currentColorChanged = pyqtSignal() # void currentColorChanged(const QColoramp;) - signal 2925 colorSelected = pyqtSignal() # void colorSelected(const QColoramp;) - signal 2926 def setStandardColor(self, index, color): 2927 '''static void QColorDialog.setStandardColor(int index, QColor color)''' 2928 def standardColor(self, index): 2929 '''static QColor QColorDialog.standardColor(int index)''' 2930 return QColor() 2931 def setCustomColor(self, index, color): 2932 '''static void QColorDialog.setCustomColor(int index, QColor color)''' 2933 def customColor(self, index): 2934 '''static QColor QColorDialog.customColor(int index)''' 2935 return QColor() 2936 def customCount(self): 2937 '''static int QColorDialog.customCount()''' 2938 return int() 2939 def getColor(self, initial = None, parent = None, title = str(), options = 0): 2940 '''static QColor QColorDialog.getColor(QColor initial = Qt.white, QWidget parent = None, str title = str(), QColorDialog.ColorDialogOptions options = 0)''' 2941 return QColor() 2942 class ColorDialogOptions(): 2943 """""" 2944 def __init__(self): 2945 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__init__()''' 2946 return QColorDialog.ColorDialogOptions() 2947 def __init__(self): 2948 '''int QColorDialog.ColorDialogOptions.__init__()''' 2949 return int() 2950 def __init__(self): 2951 '''void QColorDialog.ColorDialogOptions.__init__()''' 2952 def __bool__(self): 2953 '''int QColorDialog.ColorDialogOptions.__bool__()''' 2954 return int() 2955 def __ne__(self, f): 2956 '''bool QColorDialog.ColorDialogOptions.__ne__(QColorDialog.ColorDialogOptions f)''' 2957 return bool() 2958 def __eq__(self, f): 2959 '''bool QColorDialog.ColorDialogOptions.__eq__(QColorDialog.ColorDialogOptions f)''' 2960 return bool() 2961 def __invert__(self): 2962 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__invert__()''' 2963 return QColorDialog.ColorDialogOptions() 2964 def __and__(self, mask): 2965 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__and__(int mask)''' 2966 return QColorDialog.ColorDialogOptions() 2967 def __xor__(self, f): 2968 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__xor__(QColorDialog.ColorDialogOptions f)''' 2969 return QColorDialog.ColorDialogOptions() 2970 def __xor__(self, f): 2971 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__xor__(int f)''' 2972 return QColorDialog.ColorDialogOptions() 2973 def __or__(self, f): 2974 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__or__(QColorDialog.ColorDialogOptions f)''' 2975 return QColorDialog.ColorDialogOptions() 2976 def __or__(self, f): 2977 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__or__(int f)''' 2978 return QColorDialog.ColorDialogOptions() 2979 def __int__(self): 2980 '''int QColorDialog.ColorDialogOptions.__int__()''' 2981 return int() 2982 def __ixor__(self, f): 2983 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__ixor__(QColorDialog.ColorDialogOptions f)''' 2984 return QColorDialog.ColorDialogOptions() 2985 def __ior__(self, f): 2986 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__ior__(QColorDialog.ColorDialogOptions f)''' 2987 return QColorDialog.ColorDialogOptions() 2988 def __iand__(self, mask): 2989 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__iand__(int mask)''' 2990 return QColorDialog.ColorDialogOptions() 2991 2992 2993 class QColumnView(QAbstractItemView): 2994 """""" 2995 def __init__(self, parent = None): 2996 '''void QColumnView.__init__(QWidget parent = None)''' 2997 def currentChanged(self, current, previous): 2998 '''void QColumnView.currentChanged(QModelIndex current, QModelIndex previous)''' 2999 def rowsInserted(self, parent, start, end): 3000 '''void QColumnView.rowsInserted(QModelIndex parent, int start, int end)''' 3001 def scrollContentsBy(self, dx, dy): 3002 '''void QColumnView.scrollContentsBy(int dx, int dy)''' 3003 def verticalOffset(self): 3004 '''int QColumnView.verticalOffset()''' 3005 return int() 3006 def horizontalOffset(self): 3007 '''int QColumnView.horizontalOffset()''' 3008 return int() 3009 def visualRegionForSelection(self, selection): 3010 '''QRegion QColumnView.visualRegionForSelection(QItemSelection selection)''' 3011 return QRegion() 3012 def setSelection(self, rect, command): 3013 '''void QColumnView.setSelection(QRect rect, QItemSelectionModel.SelectionFlags command)''' 3014 def resizeEvent(self, event): 3015 '''void QColumnView.resizeEvent(QResizeEvent event)''' 3016 def moveCursor(self, cursorAction, modifiers): 3017 '''QModelIndex QColumnView.moveCursor(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers)''' 3018 return QModelIndex() 3019 def isIndexHidden(self, index): 3020 '''bool QColumnView.isIndexHidden(QModelIndex index)''' 3021 return bool() 3022 def initializeColumn(self, column): 3023 '''void QColumnView.initializeColumn(QAbstractItemView column)''' 3024 def createColumn(self, rootIndex): 3025 '''QAbstractItemView QColumnView.createColumn(QModelIndex rootIndex)''' 3026 return QAbstractItemView() 3027 updatePreviewWidget = pyqtSignal() # void updatePreviewWidget(const QModelIndexamp;) - signal 3028 def selectAll(self): 3029 '''void QColumnView.selectAll()''' 3030 def setRootIndex(self, index): 3031 '''void QColumnView.setRootIndex(QModelIndex index)''' 3032 def setSelectionModel(self, selectionModel): 3033 '''void QColumnView.setSelectionModel(QItemSelectionModel selectionModel)''' 3034 def setModel(self, model): 3035 '''void QColumnView.setModel(QAbstractItemModel model)''' 3036 def visualRect(self, index): 3037 '''QRect QColumnView.visualRect(QModelIndex index)''' 3038 return QRect() 3039 def sizeHint(self): 3040 '''QSize QColumnView.sizeHint()''' 3041 return QSize() 3042 def scrollTo(self, index, hint = None): 3043 '''void QColumnView.scrollTo(QModelIndex index, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 3044 def indexAt(self, point): 3045 '''QModelIndex QColumnView.indexAt(QPoint point)''' 3046 return QModelIndex() 3047 def setResizeGripsVisible(self, visible): 3048 '''void QColumnView.setResizeGripsVisible(bool visible)''' 3049 def setPreviewWidget(self, widget): 3050 '''void QColumnView.setPreviewWidget(QWidget widget)''' 3051 def setColumnWidths(self, list): 3052 '''void QColumnView.setColumnWidths(list-of-int list)''' 3053 def resizeGripsVisible(self): 3054 '''bool QColumnView.resizeGripsVisible()''' 3055 return bool() 3056 def previewWidget(self): 3057 '''QWidget QColumnView.previewWidget()''' 3058 return QWidget() 3059 def columnWidths(self): 3060 '''list-of-int QColumnView.columnWidths()''' 3061 return [int()] 3062 3063 3064 class QComboBox(QWidget): 3065 """""" 3066 # Enum QComboBox.SizeAdjustPolicy 3067 AdjustToContents = 0 3068 AdjustToContentsOnFirstShow = 0 3069 AdjustToMinimumContentsLength = 0 3070 AdjustToMinimumContentsLengthWithIcon = 0 3071 3072 # Enum QComboBox.InsertPolicy 3073 NoInsert = 0 3074 InsertAtTop = 0 3075 InsertAtCurrent = 0 3076 InsertAtBottom = 0 3077 InsertAfterCurrent = 0 3078 InsertBeforeCurrent = 0 3079 InsertAlphabetically = 0 3080 3081 def __init__(self, parent = None): 3082 '''void QComboBox.__init__(QWidget parent = None)''' 3083 def currentData(self, role = None): 3084 '''QVariant QComboBox.currentData(int role = Qt.UserRole)''' 3085 return QVariant() 3086 def inputMethodQuery(self): 3087 '''Qt.InputMethodQuery QComboBox.inputMethodQuery()''' 3088 return Qt.InputMethodQuery() 3089 def inputMethodEvent(self): 3090 '''QInputMethodEvent QComboBox.inputMethodEvent()''' 3091 return QInputMethodEvent() 3092 def contextMenuEvent(self, e): 3093 '''void QComboBox.contextMenuEvent(QContextMenuEvent e)''' 3094 def wheelEvent(self, e): 3095 '''void QComboBox.wheelEvent(QWheelEvent e)''' 3096 def keyReleaseEvent(self, e): 3097 '''void QComboBox.keyReleaseEvent(QKeyEvent e)''' 3098 def keyPressEvent(self, e): 3099 '''void QComboBox.keyPressEvent(QKeyEvent e)''' 3100 def mouseReleaseEvent(self, e): 3101 '''void QComboBox.mouseReleaseEvent(QMouseEvent e)''' 3102 def mousePressEvent(self, e): 3103 '''void QComboBox.mousePressEvent(QMouseEvent e)''' 3104 def hideEvent(self, e): 3105 '''void QComboBox.hideEvent(QHideEvent e)''' 3106 def showEvent(self, e): 3107 '''void QComboBox.showEvent(QShowEvent e)''' 3108 def paintEvent(self, e): 3109 '''void QComboBox.paintEvent(QPaintEvent e)''' 3110 def resizeEvent(self, e): 3111 '''void QComboBox.resizeEvent(QResizeEvent e)''' 3112 def changeEvent(self, e): 3113 '''void QComboBox.changeEvent(QEvent e)''' 3114 def focusOutEvent(self, e): 3115 '''void QComboBox.focusOutEvent(QFocusEvent e)''' 3116 def focusInEvent(self, e): 3117 '''void QComboBox.focusInEvent(QFocusEvent e)''' 3118 def initStyleOption(self, option): 3119 '''void QComboBox.initStyleOption(QStyleOptionComboBox option)''' 3120 highlighted = pyqtSignal() # void highlighted(int) - signal 3121 highlighted = pyqtSignal() # void highlighted(const QStringamp;) - signal 3122 currentTextChanged = pyqtSignal() # void currentTextChanged(const QStringamp;) - signal 3123 currentIndexChanged = pyqtSignal() # void currentIndexChanged(int) - signal 3124 currentIndexChanged = pyqtSignal() # void currentIndexChanged(const QStringamp;) - signal 3125 activated = pyqtSignal() # void activated(int) - signal 3126 activated = pyqtSignal() # void activated(const QStringamp;) - signal 3127 editTextChanged = pyqtSignal() # void editTextChanged(const QStringamp;) - signal 3128 def setCurrentText(self, text): 3129 '''void QComboBox.setCurrentText(str text)''' 3130 def setEditText(self, text): 3131 '''void QComboBox.setEditText(str text)''' 3132 def clearEditText(self): 3133 '''void QComboBox.clearEditText()''' 3134 def clear(self): 3135 '''void QComboBox.clear()''' 3136 def insertSeparator(self, index): 3137 '''void QComboBox.insertSeparator(int index)''' 3138 def completer(self): 3139 '''QCompleter QComboBox.completer()''' 3140 return QCompleter() 3141 def setCompleter(self, c): 3142 '''void QComboBox.setCompleter(QCompleter c)''' 3143 def event(self, event): 3144 '''bool QComboBox.event(QEvent event)''' 3145 return bool() 3146 def hidePopup(self): 3147 '''void QComboBox.hidePopup()''' 3148 def showPopup(self): 3149 '''void QComboBox.showPopup()''' 3150 def minimumSizeHint(self): 3151 '''QSize QComboBox.minimumSizeHint()''' 3152 return QSize() 3153 def sizeHint(self): 3154 '''QSize QComboBox.sizeHint()''' 3155 return QSize() 3156 def setView(self, itemView): 3157 '''void QComboBox.setView(QAbstractItemView itemView)''' 3158 def view(self): 3159 '''QAbstractItemView QComboBox.view()''' 3160 return QAbstractItemView() 3161 def setItemData(self, index, value, role = None): 3162 '''void QComboBox.setItemData(int index, QVariant value, int role = Qt.UserRole)''' 3163 def setItemIcon(self, index, icon): 3164 '''void QComboBox.setItemIcon(int index, QIcon icon)''' 3165 def setItemText(self, index, text): 3166 '''void QComboBox.setItemText(int index, str text)''' 3167 def removeItem(self, index): 3168 '''void QComboBox.removeItem(int index)''' 3169 def insertItems(self, index, texts): 3170 '''void QComboBox.insertItems(int index, list-of-str texts)''' 3171 def insertItem(self, index, text, userData = None): 3172 '''void QComboBox.insertItem(int index, str text, QVariant userData = None)''' 3173 def insertItem(self, index, icon, text, userData = None): 3174 '''void QComboBox.insertItem(int index, QIcon icon, str text, QVariant userData = None)''' 3175 def addItem(self, text, userData = None): 3176 '''void QComboBox.addItem(str text, QVariant userData = None)''' 3177 def addItem(self, icon, text, userData = None): 3178 '''void QComboBox.addItem(QIcon icon, str text, QVariant userData = None)''' 3179 def addItems(self, texts): 3180 '''void QComboBox.addItems(list-of-str texts)''' 3181 def itemData(self, index, role = None): 3182 '''QVariant QComboBox.itemData(int index, int role = Qt.UserRole)''' 3183 return QVariant() 3184 def itemIcon(self, index): 3185 '''QIcon QComboBox.itemIcon(int index)''' 3186 return QIcon() 3187 def itemText(self, index): 3188 '''str QComboBox.itemText(int index)''' 3189 return str() 3190 def currentText(self): 3191 '''str QComboBox.currentText()''' 3192 return str() 3193 def setCurrentIndex(self, index): 3194 '''void QComboBox.setCurrentIndex(int index)''' 3195 def currentIndex(self): 3196 '''int QComboBox.currentIndex()''' 3197 return int() 3198 def setModelColumn(self, visibleColumn): 3199 '''void QComboBox.setModelColumn(int visibleColumn)''' 3200 def modelColumn(self): 3201 '''int QComboBox.modelColumn()''' 3202 return int() 3203 def setRootModelIndex(self, index): 3204 '''void QComboBox.setRootModelIndex(QModelIndex index)''' 3205 def rootModelIndex(self): 3206 '''QModelIndex QComboBox.rootModelIndex()''' 3207 return QModelIndex() 3208 def setModel(self, model): 3209 '''void QComboBox.setModel(QAbstractItemModel model)''' 3210 def model(self): 3211 '''QAbstractItemModel QComboBox.model()''' 3212 return QAbstractItemModel() 3213 def setItemDelegate(self, delegate): 3214 '''void QComboBox.setItemDelegate(QAbstractItemDelegate delegate)''' 3215 def itemDelegate(self): 3216 '''QAbstractItemDelegate QComboBox.itemDelegate()''' 3217 return QAbstractItemDelegate() 3218 def validator(self): 3219 '''QValidator QComboBox.validator()''' 3220 return QValidator() 3221 def setValidator(self, v): 3222 '''void QComboBox.setValidator(QValidator v)''' 3223 def lineEdit(self): 3224 '''QLineEdit QComboBox.lineEdit()''' 3225 return QLineEdit() 3226 def setLineEdit(self, edit): 3227 '''void QComboBox.setLineEdit(QLineEdit edit)''' 3228 def setEditable(self, editable): 3229 '''void QComboBox.setEditable(bool editable)''' 3230 def isEditable(self): 3231 '''bool QComboBox.isEditable()''' 3232 return bool() 3233 def setIconSize(self, size): 3234 '''void QComboBox.setIconSize(QSize size)''' 3235 def iconSize(self): 3236 '''QSize QComboBox.iconSize()''' 3237 return QSize() 3238 def setMinimumContentsLength(self, characters): 3239 '''void QComboBox.setMinimumContentsLength(int characters)''' 3240 def minimumContentsLength(self): 3241 '''int QComboBox.minimumContentsLength()''' 3242 return int() 3243 def setSizeAdjustPolicy(self, policy): 3244 '''void QComboBox.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy policy)''' 3245 def sizeAdjustPolicy(self): 3246 '''QComboBox.SizeAdjustPolicy QComboBox.sizeAdjustPolicy()''' 3247 return QComboBox.SizeAdjustPolicy() 3248 def setInsertPolicy(self, policy): 3249 '''void QComboBox.setInsertPolicy(QComboBox.InsertPolicy policy)''' 3250 def insertPolicy(self): 3251 '''QComboBox.InsertPolicy QComboBox.insertPolicy()''' 3252 return QComboBox.InsertPolicy() 3253 def findData(self, data, role = None, flags = None): 3254 '''int QComboBox.findData(QVariant data, int role = Qt.UserRole, Qt.MatchFlags flags = Qt.MatchExactly|Qt.MatchCaseSensitive)''' 3255 return int() 3256 def findText(self, text, flags = None): 3257 '''int QComboBox.findText(str text, Qt.MatchFlags flags = Qt.MatchExactly|Qt.MatchCaseSensitive)''' 3258 return int() 3259 def hasFrame(self): 3260 '''bool QComboBox.hasFrame()''' 3261 return bool() 3262 def setFrame(self): 3263 '''bool QComboBox.setFrame()''' 3264 return bool() 3265 def setDuplicatesEnabled(self, enable): 3266 '''void QComboBox.setDuplicatesEnabled(bool enable)''' 3267 def duplicatesEnabled(self): 3268 '''bool QComboBox.duplicatesEnabled()''' 3269 return bool() 3270 def maxCount(self): 3271 '''int QComboBox.maxCount()''' 3272 return int() 3273 def setMaxCount(self, max): 3274 '''void QComboBox.setMaxCount(int max)''' 3275 def __len__(self): 3276 ''' QComboBox.__len__()''' 3277 return () 3278 def count(self): 3279 '''int QComboBox.count()''' 3280 return int() 3281 def setMaxVisibleItems(self, maxItems): 3282 '''void QComboBox.setMaxVisibleItems(int maxItems)''' 3283 def maxVisibleItems(self): 3284 '''int QComboBox.maxVisibleItems()''' 3285 return int() 3286 3287 3288 class QPushButton(QAbstractButton): 3289 """""" 3290 def __init__(self, parent = None): 3291 '''void QPushButton.__init__(QWidget parent = None)''' 3292 def __init__(self, text, parent = None): 3293 '''void QPushButton.__init__(str text, QWidget parent = None)''' 3294 def __init__(self, icon, text, parent = None): 3295 '''void QPushButton.__init__(QIcon icon, str text, QWidget parent = None)''' 3296 def focusOutEvent(self): 3297 '''QFocusEvent QPushButton.focusOutEvent()''' 3298 return QFocusEvent() 3299 def focusInEvent(self): 3300 '''QFocusEvent QPushButton.focusInEvent()''' 3301 return QFocusEvent() 3302 def keyPressEvent(self): 3303 '''QKeyEvent QPushButton.keyPressEvent()''' 3304 return QKeyEvent() 3305 def paintEvent(self): 3306 '''QPaintEvent QPushButton.paintEvent()''' 3307 return QPaintEvent() 3308 def event(self, e): 3309 '''bool QPushButton.event(QEvent e)''' 3310 return bool() 3311 def initStyleOption(self, option): 3312 '''void QPushButton.initStyleOption(QStyleOptionButton option)''' 3313 def showMenu(self): 3314 '''void QPushButton.showMenu()''' 3315 def isFlat(self): 3316 '''bool QPushButton.isFlat()''' 3317 return bool() 3318 def setFlat(self): 3319 '''bool QPushButton.setFlat()''' 3320 return bool() 3321 def menu(self): 3322 '''QMenu QPushButton.menu()''' 3323 return QMenu() 3324 def setMenu(self, menu): 3325 '''void QPushButton.setMenu(QMenu menu)''' 3326 def setDefault(self): 3327 '''bool QPushButton.setDefault()''' 3328 return bool() 3329 def isDefault(self): 3330 '''bool QPushButton.isDefault()''' 3331 return bool() 3332 def setAutoDefault(self): 3333 '''bool QPushButton.setAutoDefault()''' 3334 return bool() 3335 def autoDefault(self): 3336 '''bool QPushButton.autoDefault()''' 3337 return bool() 3338 def minimumSizeHint(self): 3339 '''QSize QPushButton.minimumSizeHint()''' 3340 return QSize() 3341 def sizeHint(self): 3342 '''QSize QPushButton.sizeHint()''' 3343 return QSize() 3344 3345 3346 class QCommandLinkButton(QPushButton): 3347 """""" 3348 def __init__(self, parent = None): 3349 '''void QCommandLinkButton.__init__(QWidget parent = None)''' 3350 def __init__(self, text, parent = None): 3351 '''void QCommandLinkButton.__init__(str text, QWidget parent = None)''' 3352 def __init__(self, text, description, parent = None): 3353 '''void QCommandLinkButton.__init__(str text, str description, QWidget parent = None)''' 3354 def paintEvent(self): 3355 '''QPaintEvent QCommandLinkButton.paintEvent()''' 3356 return QPaintEvent() 3357 def event(self, e): 3358 '''bool QCommandLinkButton.event(QEvent e)''' 3359 return bool() 3360 def minimumSizeHint(self): 3361 '''QSize QCommandLinkButton.minimumSizeHint()''' 3362 return QSize() 3363 def heightForWidth(self): 3364 '''int QCommandLinkButton.heightForWidth()''' 3365 return int() 3366 def sizeHint(self): 3367 '''QSize QCommandLinkButton.sizeHint()''' 3368 return QSize() 3369 def setDescription(self, description): 3370 '''void QCommandLinkButton.setDescription(str description)''' 3371 def description(self): 3372 '''str QCommandLinkButton.description()''' 3373 return str() 3374 3375 3376 class QStyle(QObject): 3377 """""" 3378 # Enum QStyle.RequestSoftwareInputPanel 3379 RSIP_OnMouseClickAndAlreadyFocused = 0 3380 RSIP_OnMouseClick = 0 3381 3382 # Enum QStyle.StandardPixmap 3383 SP_TitleBarMenuButton = 0 3384 SP_TitleBarMinButton = 0 3385 SP_TitleBarMaxButton = 0 3386 SP_TitleBarCloseButton = 0 3387 SP_TitleBarNormalButton = 0 3388 SP_TitleBarShadeButton = 0 3389 SP_TitleBarUnshadeButton = 0 3390 SP_TitleBarContextHelpButton = 0 3391 SP_DockWidgetCloseButton = 0 3392 SP_MessageBoxInformation = 0 3393 SP_MessageBoxWarning = 0 3394 SP_MessageBoxCritical = 0 3395 SP_MessageBoxQuestion = 0 3396 SP_DesktopIcon = 0 3397 SP_TrashIcon = 0 3398 SP_ComputerIcon = 0 3399 SP_DriveFDIcon = 0 3400 SP_DriveHDIcon = 0 3401 SP_DriveCDIcon = 0 3402 SP_DriveDVDIcon = 0 3403 SP_DriveNetIcon = 0 3404 SP_DirOpenIcon = 0 3405 SP_DirClosedIcon = 0 3406 SP_DirLinkIcon = 0 3407 SP_FileIcon = 0 3408 SP_FileLinkIcon = 0 3409 SP_ToolBarHorizontalExtensionButton = 0 3410 SP_ToolBarVerticalExtensionButton = 0 3411 SP_FileDialogStart = 0 3412 SP_FileDialogEnd = 0 3413 SP_FileDialogToParent = 0 3414 SP_FileDialogNewFolder = 0 3415 SP_FileDialogDetailedView = 0 3416 SP_FileDialogInfoView = 0 3417 SP_FileDialogContentsView = 0 3418 SP_FileDialogListView = 0 3419 SP_FileDialogBack = 0 3420 SP_DirIcon = 0 3421 SP_DialogOkButton = 0 3422 SP_DialogCancelButton = 0 3423 SP_DialogHelpButton = 0 3424 SP_DialogOpenButton = 0 3425 SP_DialogSaveButton = 0 3426 SP_DialogCloseButton = 0 3427 SP_DialogApplyButton = 0 3428 SP_DialogResetButton = 0 3429 SP_DialogDiscardButton = 0 3430 SP_DialogYesButton = 0 3431 SP_DialogNoButton = 0 3432 SP_ArrowUp = 0 3433 SP_ArrowDown = 0 3434 SP_ArrowLeft = 0 3435 SP_ArrowRight = 0 3436 SP_ArrowBack = 0 3437 SP_ArrowForward = 0 3438 SP_DirHomeIcon = 0 3439 SP_CommandLink = 0 3440 SP_VistaShield = 0 3441 SP_BrowserReload = 0 3442 SP_BrowserStop = 0 3443 SP_MediaPlay = 0 3444 SP_MediaStop = 0 3445 SP_MediaPause = 0 3446 SP_MediaSkipForward = 0 3447 SP_MediaSkipBackward = 0 3448 SP_MediaSeekForward = 0 3449 SP_MediaSeekBackward = 0 3450 SP_MediaVolume = 0 3451 SP_MediaVolumeMuted = 0 3452 SP_DirLinkOpenIcon = 0 3453 SP_LineEditClearButton = 0 3454 SP_CustomBase = 0 3455 3456 # Enum QStyle.StyleHint 3457 SH_EtchDisabledText = 0 3458 SH_DitherDisabledText = 0 3459 SH_ScrollBar_MiddleClickAbsolutePosition = 0 3460 SH_ScrollBar_ScrollWhenPointerLeavesControl = 0 3461 SH_TabBar_SelectMouseType = 0 3462 SH_TabBar_Alignment = 0 3463 SH_Header_ArrowAlignment = 0 3464 SH_Slider_SnapToValue = 0 3465 SH_Slider_SloppyKeyEvents = 0 3466 SH_ProgressDialog_CenterCancelButton = 0 3467 SH_ProgressDialog_TextLabelAlignment = 0 3468 SH_PrintDialog_RightAlignButtons = 0 3469 SH_MainWindow_SpaceBelowMenuBar = 0 3470 SH_FontDialog_SelectAssociatedText = 0 3471 SH_Menu_AllowActiveAndDisabled = 0 3472 SH_Menu_SpaceActivatesItem = 0 3473 SH_Menu_SubMenuPopupDelay = 0 3474 SH_ScrollView_FrameOnlyAroundContents = 0 3475 SH_MenuBar_AltKeyNavigation = 0 3476 SH_ComboBox_ListMouseTracking = 0 3477 SH_Menu_MouseTracking = 0 3478 SH_MenuBar_MouseTracking = 0 3479 SH_ItemView_ChangeHighlightOnFocus = 0 3480 SH_Widget_ShareActivation = 0 3481 SH_Workspace_FillSpaceOnMaximize = 0 3482 SH_ComboBox_Popup = 0 3483 SH_TitleBar_NoBorder = 0 3484 SH_ScrollBar_StopMouseOverSlider = 0 3485 SH_BlinkCursorWhenTextSelected = 0 3486 SH_RichText_FullWidthSelection = 0 3487 SH_Menu_Scrollable = 0 3488 SH_GroupBox_TextLabelVerticalAlignment = 0 3489 SH_GroupBox_TextLabelColor = 0 3490 SH_Menu_SloppySubMenus = 0 3491 SH_Table_GridLineColor = 0 3492 SH_LineEdit_PasswordCharacter = 0 3493 SH_DialogButtons_DefaultButton = 0 3494 SH_ToolBox_SelectedPageTitleBold = 0 3495 SH_TabBar_PreferNoArrows = 0 3496 SH_ScrollBar_LeftClickAbsolutePosition = 0 3497 SH_UnderlineShortcut = 0 3498 SH_SpinBox_AnimateButton = 0 3499 SH_SpinBox_KeyPressAutoRepeatRate = 0 3500 SH_SpinBox_ClickAutoRepeatRate = 0 3501 SH_Menu_FillScreenWithScroll = 0 3502 SH_ToolTipLabel_Opacity = 0 3503 SH_DrawMenuBarSeparator = 0 3504 SH_TitleBar_ModifyNotification = 0 3505 SH_Button_FocusPolicy = 0 3506 SH_MessageBox_UseBorderForButtonSpacing = 0 3507 SH_TitleBar_AutoRaise = 0 3508 SH_ToolButton_PopupDelay = 0 3509 SH_FocusFrame_Mask = 0 3510 SH_RubberBand_Mask = 0 3511 SH_WindowFrame_Mask = 0 3512 SH_SpinControls_DisableOnBounds = 0 3513 SH_Dial_BackgroundRole = 0 3514 SH_ComboBox_LayoutDirection = 0 3515 SH_ItemView_EllipsisLocation = 0 3516 SH_ItemView_ShowDecorationSelected = 0 3517 SH_ItemView_ActivateItemOnSingleClick = 0 3518 SH_ScrollBar_ContextMenu = 0 3519 SH_ScrollBar_RollBetweenButtons = 0 3520 SH_Slider_StopMouseOverSlider = 0 3521 SH_Slider_AbsoluteSetButtons = 0 3522 SH_Slider_PageSetButtons = 0 3523 SH_Menu_KeyboardSearch = 0 3524 SH_TabBar_ElideMode = 0 3525 SH_DialogButtonLayout = 0 3526 SH_ComboBox_PopupFrameStyle = 0 3527 SH_MessageBox_TextInteractionFlags = 0 3528 SH_DialogButtonBox_ButtonsHaveIcons = 0 3529 SH_SpellCheckUnderlineStyle = 0 3530 SH_MessageBox_CenterButtons = 0 3531 SH_Menu_SelectionWrap = 0 3532 SH_ItemView_MovementWithoutUpdatingSelection = 0 3533 SH_ToolTip_Mask = 0 3534 SH_FocusFrame_AboveWidget = 0 3535 SH_TextControl_FocusIndicatorTextCharFormat = 0 3536 SH_WizardStyle = 0 3537 SH_ItemView_ArrowKeysNavigateIntoChildren = 0 3538 SH_Menu_Mask = 0 3539 SH_Menu_FlashTriggeredItem = 0 3540 SH_Menu_FadeOutOnHide = 0 3541 SH_SpinBox_ClickAutoRepeatThreshold = 0 3542 SH_ItemView_PaintAlternatingRowColorsForEmptyArea = 0 3543 SH_FormLayoutWrapPolicy = 0 3544 SH_TabWidget_DefaultTabPosition = 0 3545 SH_ToolBar_Movable = 0 3546 SH_FormLayoutFieldGrowthPolicy = 0 3547 SH_FormLayoutFormAlignment = 0 3548 SH_FormLayoutLabelAlignment = 0 3549 SH_ItemView_DrawDelegateFrame = 0 3550 SH_TabBar_CloseButtonPosition = 0 3551 SH_DockWidget_ButtonsHaveFrame = 0 3552 SH_ToolButtonStyle = 0 3553 SH_RequestSoftwareInputPanel = 0 3554 SH_ListViewExpand_SelectMouseType = 0 3555 SH_ScrollBar_Transient = 0 3556 SH_Menu_SupportsSections = 0 3557 SH_ToolTip_WakeUpDelay = 0 3558 SH_ToolTip_FallAsleepDelay = 0 3559 SH_Widget_Animate = 0 3560 SH_Splitter_OpaqueResize = 0 3561 SH_LineEdit_PasswordMaskDelay = 0 3562 SH_TabBar_ChangeCurrentDelay = 0 3563 SH_Menu_SubMenuUniDirection = 0 3564 SH_Menu_SubMenuUniDirectionFailCount = 0 3565 SH_Menu_SubMenuSloppySelectOtherActions = 0 3566 SH_Menu_SubMenuSloppyCloseTimeout = 0 3567 SH_Menu_SubMenuResetWhenReenteringParent = 0 3568 SH_Menu_SubMenuDontStartSloppyOnLeave = 0 3569 SH_CustomBase = 0 3570 3571 # Enum QStyle.ContentsType 3572 CT_PushButton = 0 3573 CT_CheckBox = 0 3574 CT_RadioButton = 0 3575 CT_ToolButton = 0 3576 CT_ComboBox = 0 3577 CT_Splitter = 0 3578 CT_ProgressBar = 0 3579 CT_MenuItem = 0 3580 CT_MenuBarItem = 0 3581 CT_MenuBar = 0 3582 CT_Menu = 0 3583 CT_TabBarTab = 0 3584 CT_Slider = 0 3585 CT_ScrollBar = 0 3586 CT_LineEdit = 0 3587 CT_SpinBox = 0 3588 CT_SizeGrip = 0 3589 CT_TabWidget = 0 3590 CT_DialogButtons = 0 3591 CT_HeaderSection = 0 3592 CT_GroupBox = 0 3593 CT_MdiControls = 0 3594 CT_ItemViewItem = 0 3595 CT_CustomBase = 0 3596 3597 # Enum QStyle.PixelMetric 3598 PM_ButtonMargin = 0 3599 PM_ButtonDefaultIndicator = 0 3600 PM_MenuButtonIndicator = 0 3601 PM_ButtonShiftHorizontal = 0 3602 PM_ButtonShiftVertical = 0 3603 PM_DefaultFrameWidth = 0 3604 PM_SpinBoxFrameWidth = 0 3605 PM_ComboBoxFrameWidth = 0 3606 PM_MaximumDragDistance = 0 3607 PM_ScrollBarExtent = 0 3608 PM_ScrollBarSliderMin = 0 3609 PM_SliderThickness = 0 3610 PM_SliderControlThickness = 0 3611 PM_SliderLength = 0 3612 PM_SliderTickmarkOffset = 0 3613 PM_SliderSpaceAvailable = 0 3614 PM_DockWidgetSeparatorExtent = 0 3615 PM_DockWidgetHandleExtent = 0 3616 PM_DockWidgetFrameWidth = 0 3617 PM_TabBarTabOverlap = 0 3618 PM_TabBarTabHSpace = 0 3619 PM_TabBarTabVSpace = 0 3620 PM_TabBarBaseHeight = 0 3621 PM_TabBarBaseOverlap = 0 3622 PM_ProgressBarChunkWidth = 0 3623 PM_SplitterWidth = 0 3624 PM_TitleBarHeight = 0 3625 PM_MenuScrollerHeight = 0 3626 PM_MenuHMargin = 0 3627 PM_MenuVMargin = 0 3628 PM_MenuPanelWidth = 0 3629 PM_MenuTearoffHeight = 0 3630 PM_MenuDesktopFrameWidth = 0 3631 PM_MenuBarPanelWidth = 0 3632 PM_MenuBarItemSpacing = 0 3633 PM_MenuBarVMargin = 0 3634 PM_MenuBarHMargin = 0 3635 PM_IndicatorWidth = 0 3636 PM_IndicatorHeight = 0 3637 PM_ExclusiveIndicatorWidth = 0 3638 PM_ExclusiveIndicatorHeight = 0 3639 PM_DialogButtonsSeparator = 0 3640 PM_DialogButtonsButtonWidth = 0 3641 PM_DialogButtonsButtonHeight = 0 3642 PM_MdiSubWindowFrameWidth = 0 3643 PM_MDIFrameWidth = 0 3644 PM_MdiSubWindowMinimizedWidth = 0 3645 PM_MDIMinimizedWidth = 0 3646 PM_HeaderMargin = 0 3647 PM_HeaderMarkSize = 0 3648 PM_HeaderGripMargin = 0 3649 PM_TabBarTabShiftHorizontal = 0 3650 PM_TabBarTabShiftVertical = 0 3651 PM_TabBarScrollButtonWidth = 0 3652 PM_ToolBarFrameWidth = 0 3653 PM_ToolBarHandleExtent = 0 3654 PM_ToolBarItemSpacing = 0 3655 PM_ToolBarItemMargin = 0 3656 PM_ToolBarSeparatorExtent = 0 3657 PM_ToolBarExtensionExtent = 0 3658 PM_SpinBoxSliderHeight = 0 3659 PM_DefaultTopLevelMargin = 0 3660 PM_DefaultChildMargin = 0 3661 PM_DefaultLayoutSpacing = 0 3662 PM_ToolBarIconSize = 0 3663 PM_ListViewIconSize = 0 3664 PM_IconViewIconSize = 0 3665 PM_SmallIconSize = 0 3666 PM_LargeIconSize = 0 3667 PM_FocusFrameVMargin = 0 3668 PM_FocusFrameHMargin = 0 3669 PM_ToolTipLabelFrameWidth = 0 3670 PM_CheckBoxLabelSpacing = 0 3671 PM_TabBarIconSize = 0 3672 PM_SizeGripSize = 0 3673 PM_DockWidgetTitleMargin = 0 3674 PM_MessageBoxIconSize = 0 3675 PM_ButtonIconSize = 0 3676 PM_DockWidgetTitleBarButtonMargin = 0 3677 PM_RadioButtonLabelSpacing = 0 3678 PM_LayoutLeftMargin = 0 3679 PM_LayoutTopMargin = 0 3680 PM_LayoutRightMargin = 0 3681 PM_LayoutBottomMargin = 0 3682 PM_LayoutHorizontalSpacing = 0 3683 PM_LayoutVerticalSpacing = 0 3684 PM_TabBar_ScrollButtonOverlap = 0 3685 PM_TextCursorWidth = 0 3686 PM_TabCloseIndicatorWidth = 0 3687 PM_TabCloseIndicatorHeight = 0 3688 PM_ScrollView_ScrollBarSpacing = 0 3689 PM_SubMenuOverlap = 0 3690 PM_ScrollView_ScrollBarOverlap = 0 3691 PM_TreeViewIndentation = 0 3692 PM_HeaderDefaultSectionSizeHorizontal = 0 3693 PM_HeaderDefaultSectionSizeVertical = 0 3694 PM_CustomBase = 0 3695 3696 # Enum QStyle.SubControl 3697 SC_None = 0 3698 SC_ScrollBarAddLine = 0 3699 SC_ScrollBarSubLine = 0 3700 SC_ScrollBarAddPage = 0 3701 SC_ScrollBarSubPage = 0 3702 SC_ScrollBarFirst = 0 3703 SC_ScrollBarLast = 0 3704 SC_ScrollBarSlider = 0 3705 SC_ScrollBarGroove = 0 3706 SC_SpinBoxUp = 0 3707 SC_SpinBoxDown = 0 3708 SC_SpinBoxFrame = 0 3709 SC_SpinBoxEditField = 0 3710 SC_ComboBoxFrame = 0 3711 SC_ComboBoxEditField = 0 3712 SC_ComboBoxArrow = 0 3713 SC_ComboBoxListBoxPopup = 0 3714 SC_SliderGroove = 0 3715 SC_SliderHandle = 0 3716 SC_SliderTickmarks = 0 3717 SC_ToolButton = 0 3718 SC_ToolButtonMenu = 0 3719 SC_TitleBarSysMenu = 0 3720 SC_TitleBarMinButton = 0 3721 SC_TitleBarMaxButton = 0 3722 SC_TitleBarCloseButton = 0 3723 SC_TitleBarNormalButton = 0 3724 SC_TitleBarShadeButton = 0 3725 SC_TitleBarUnshadeButton = 0 3726 SC_TitleBarContextHelpButton = 0 3727 SC_TitleBarLabel = 0 3728 SC_DialGroove = 0 3729 SC_DialHandle = 0 3730 SC_DialTickmarks = 0 3731 SC_GroupBoxCheckBox = 0 3732 SC_GroupBoxLabel = 0 3733 SC_GroupBoxContents = 0 3734 SC_GroupBoxFrame = 0 3735 SC_MdiMinButton = 0 3736 SC_MdiNormalButton = 0 3737 SC_MdiCloseButton = 0 3738 SC_CustomBase = 0 3739 SC_All = 0 3740 3741 # Enum QStyle.ComplexControl 3742 CC_SpinBox = 0 3743 CC_ComboBox = 0 3744 CC_ScrollBar = 0 3745 CC_Slider = 0 3746 CC_ToolButton = 0 3747 CC_TitleBar = 0 3748 CC_Dial = 0 3749 CC_GroupBox = 0 3750 CC_MdiControls = 0 3751 CC_CustomBase = 0 3752 3753 # Enum QStyle.SubElement 3754 SE_PushButtonContents = 0 3755 SE_PushButtonFocusRect = 0 3756 SE_CheckBoxIndicator = 0 3757 SE_CheckBoxContents = 0 3758 SE_CheckBoxFocusRect = 0 3759 SE_CheckBoxClickRect = 0 3760 SE_RadioButtonIndicator = 0 3761 SE_RadioButtonContents = 0 3762 SE_RadioButtonFocusRect = 0 3763 SE_RadioButtonClickRect = 0 3764 SE_ComboBoxFocusRect = 0 3765 SE_SliderFocusRect = 0 3766 SE_ProgressBarGroove = 0 3767 SE_ProgressBarContents = 0 3768 SE_ProgressBarLabel = 0 3769 SE_ToolBoxTabContents = 0 3770 SE_HeaderLabel = 0 3771 SE_HeaderArrow = 0 3772 SE_TabWidgetTabBar = 0 3773 SE_TabWidgetTabPane = 0 3774 SE_TabWidgetTabContents = 0 3775 SE_TabWidgetLeftCorner = 0 3776 SE_TabWidgetRightCorner = 0 3777 SE_ViewItemCheckIndicator = 0 3778 SE_TabBarTearIndicator = 0 3779 SE_TreeViewDisclosureItem = 0 3780 SE_LineEditContents = 0 3781 SE_FrameContents = 0 3782 SE_DockWidgetCloseButton = 0 3783 SE_DockWidgetFloatButton = 0 3784 SE_DockWidgetTitleBarText = 0 3785 SE_DockWidgetIcon = 0 3786 SE_CheckBoxLayoutItem = 0 3787 SE_ComboBoxLayoutItem = 0 3788 SE_DateTimeEditLayoutItem = 0 3789 SE_DialogButtonBoxLayoutItem = 0 3790 SE_LabelLayoutItem = 0 3791 SE_ProgressBarLayoutItem = 0 3792 SE_PushButtonLayoutItem = 0 3793 SE_RadioButtonLayoutItem = 0 3794 SE_SliderLayoutItem = 0 3795 SE_SpinBoxLayoutItem = 0 3796 SE_ToolButtonLayoutItem = 0 3797 SE_FrameLayoutItem = 0 3798 SE_GroupBoxLayoutItem = 0 3799 SE_TabWidgetLayoutItem = 0 3800 SE_ItemViewItemCheckIndicator = 0 3801 SE_ItemViewItemDecoration = 0 3802 SE_ItemViewItemText = 0 3803 SE_ItemViewItemFocusRect = 0 3804 SE_TabBarTabLeftButton = 0 3805 SE_TabBarTabRightButton = 0 3806 SE_TabBarTabText = 0 3807 SE_ShapedFrameContents = 0 3808 SE_ToolBarHandle = 0 3809 SE_CustomBase = 0 3810 3811 # Enum QStyle.ControlElement 3812 CE_PushButton = 0 3813 CE_PushButtonBevel = 0 3814 CE_PushButtonLabel = 0 3815 CE_CheckBox = 0 3816 CE_CheckBoxLabel = 0 3817 CE_RadioButton = 0 3818 CE_RadioButtonLabel = 0 3819 CE_TabBarTab = 0 3820 CE_TabBarTabShape = 0 3821 CE_TabBarTabLabel = 0 3822 CE_ProgressBar = 0 3823 CE_ProgressBarGroove = 0 3824 CE_ProgressBarContents = 0 3825 CE_ProgressBarLabel = 0 3826 CE_MenuItem = 0 3827 CE_MenuScroller = 0 3828 CE_MenuVMargin = 0 3829 CE_MenuHMargin = 0 3830 CE_MenuTearoff = 0 3831 CE_MenuEmptyArea = 0 3832 CE_MenuBarItem = 0 3833 CE_MenuBarEmptyArea = 0 3834 CE_ToolButtonLabel = 0 3835 CE_Header = 0 3836 CE_HeaderSection = 0 3837 CE_HeaderLabel = 0 3838 CE_ToolBoxTab = 0 3839 CE_SizeGrip = 0 3840 CE_Splitter = 0 3841 CE_RubberBand = 0 3842 CE_DockWidgetTitle = 0 3843 CE_ScrollBarAddLine = 0 3844 CE_ScrollBarSubLine = 0 3845 CE_ScrollBarAddPage = 0 3846 CE_ScrollBarSubPage = 0 3847 CE_ScrollBarSlider = 0 3848 CE_ScrollBarFirst = 0 3849 CE_ScrollBarLast = 0 3850 CE_FocusFrame = 0 3851 CE_ComboBoxLabel = 0 3852 CE_ToolBar = 0 3853 CE_ToolBoxTabShape = 0 3854 CE_ToolBoxTabLabel = 0 3855 CE_HeaderEmptyArea = 0 3856 CE_ColumnViewGrip = 0 3857 CE_ItemViewItem = 0 3858 CE_ShapedFrame = 0 3859 CE_CustomBase = 0 3860 3861 # Enum QStyle.PrimitiveElement 3862 PE_Frame = 0 3863 PE_FrameDefaultButton = 0 3864 PE_FrameDockWidget = 0 3865 PE_FrameFocusRect = 0 3866 PE_FrameGroupBox = 0 3867 PE_FrameLineEdit = 0 3868 PE_FrameMenu = 0 3869 PE_FrameStatusBar = 0 3870 PE_FrameTabWidget = 0 3871 PE_FrameWindow = 0 3872 PE_FrameButtonBevel = 0 3873 PE_FrameButtonTool = 0 3874 PE_FrameTabBarBase = 0 3875 PE_PanelButtonCommand = 0 3876 PE_PanelButtonBevel = 0 3877 PE_PanelButtonTool = 0 3878 PE_PanelMenuBar = 0 3879 PE_PanelToolBar = 0 3880 PE_PanelLineEdit = 0 3881 PE_IndicatorArrowDown = 0 3882 PE_IndicatorArrowLeft = 0 3883 PE_IndicatorArrowRight = 0 3884 PE_IndicatorArrowUp = 0 3885 PE_IndicatorBranch = 0 3886 PE_IndicatorButtonDropDown = 0 3887 PE_IndicatorViewItemCheck = 0 3888 PE_IndicatorCheckBox = 0 3889 PE_IndicatorDockWidgetResizeHandle = 0 3890 PE_IndicatorHeaderArrow = 0 3891 PE_IndicatorMenuCheckMark = 0 3892 PE_IndicatorProgressChunk = 0 3893 PE_IndicatorRadioButton = 0 3894 PE_IndicatorSpinDown = 0 3895 PE_IndicatorSpinMinus = 0 3896 PE_IndicatorSpinPlus = 0 3897 PE_IndicatorSpinUp = 0 3898 PE_IndicatorToolBarHandle = 0 3899 PE_IndicatorToolBarSeparator = 0 3900 PE_PanelTipLabel = 0 3901 PE_IndicatorTabTear = 0 3902 PE_PanelScrollAreaCorner = 0 3903 PE_Widget = 0 3904 PE_IndicatorColumnViewArrow = 0 3905 PE_FrameStatusBarItem = 0 3906 PE_IndicatorItemViewItemCheck = 0 3907 PE_IndicatorItemViewItemDrop = 0 3908 PE_PanelItemViewItem = 0 3909 PE_PanelItemViewRow = 0 3910 PE_PanelStatusBar = 0 3911 PE_IndicatorTabClose = 0 3912 PE_PanelMenu = 0 3913 PE_CustomBase = 0 3914 3915 # Enum QStyle.StateFlag 3916 State_None = 0 3917 State_Enabled = 0 3918 State_Raised = 0 3919 State_Sunken = 0 3920 State_Off = 0 3921 State_NoChange = 0 3922 State_On = 0 3923 State_DownArrow = 0 3924 State_Horizontal = 0 3925 State_HasFocus = 0 3926 State_Top = 0 3927 State_Bottom = 0 3928 State_FocusAtBorder = 0 3929 State_AutoRaise = 0 3930 State_MouseOver = 0 3931 State_UpArrow = 0 3932 State_Selected = 0 3933 State_Active = 0 3934 State_Open = 0 3935 State_Children = 0 3936 State_Item = 0 3937 State_Sibling = 0 3938 State_Editing = 0 3939 State_KeyboardFocusChange = 0 3940 State_ReadOnly = 0 3941 State_Window = 0 3942 State_Small = 0 3943 State_Mini = 0 3944 3945 def __init__(self): 3946 '''void QStyle.__init__()''' 3947 def proxy(self): 3948 '''QStyle QStyle.proxy()''' 3949 return QStyle() 3950 def combinedLayoutSpacing(self, controls1, controls2, orientation, option = None, widget = None): 3951 '''int QStyle.combinedLayoutSpacing(QSizePolicy.ControlTypes controls1, QSizePolicy.ControlTypes controls2, Qt.Orientation orientation, QStyleOption option = None, QWidget widget = None)''' 3952 return int() 3953 def layoutSpacing(self, control1, control2, orientation, option = None, widget = None): 3954 '''abstract int QStyle.layoutSpacing(QSizePolicy.ControlType control1, QSizePolicy.ControlType control2, Qt.Orientation orientation, QStyleOption option = None, QWidget widget = None)''' 3955 return int() 3956 def alignedRect(self, direction, alignment, size, rectangle): 3957 '''static QRect QStyle.alignedRect(Qt.LayoutDirection direction, Qt.Alignment alignment, QSize size, QRect rectangle)''' 3958 return QRect() 3959 def visualAlignment(self, direction, alignment): 3960 '''static Qt.Alignment QStyle.visualAlignment(Qt.LayoutDirection direction, Qt.Alignment alignment)''' 3961 return Qt.Alignment() 3962 def sliderValueFromPosition(self, min, max, position, span, upsideDown = False): 3963 '''static int QStyle.sliderValueFromPosition(int min, int max, int position, int span, bool upsideDown = False)''' 3964 return int() 3965 def sliderPositionFromValue(self, min, max, logicalValue, span, upsideDown = False): 3966 '''static int QStyle.sliderPositionFromValue(int min, int max, int logicalValue, int span, bool upsideDown = False)''' 3967 return int() 3968 def visualPos(self, direction, boundingRect, logicalPos): 3969 '''static QPoint QStyle.visualPos(Qt.LayoutDirection direction, QRect boundingRect, QPoint logicalPos)''' 3970 return QPoint() 3971 def visualRect(self, direction, boundingRect, logicalRect): 3972 '''static QRect QStyle.visualRect(Qt.LayoutDirection direction, QRect boundingRect, QRect logicalRect)''' 3973 return QRect() 3974 def generatedIconPixmap(self, iconMode, pixmap, opt): 3975 '''abstract QPixmap QStyle.generatedIconPixmap(QIcon.Mode iconMode, QPixmap pixmap, QStyleOption opt)''' 3976 return QPixmap() 3977 def standardIcon(self, standardIcon, option = None, widget = None): 3978 '''abstract QIcon QStyle.standardIcon(QStyle.StandardPixmap standardIcon, QStyleOption option = None, QWidget widget = None)''' 3979 return QIcon() 3980 def standardPixmap(self, standardPixmap, option = None, widget = None): 3981 '''abstract QPixmap QStyle.standardPixmap(QStyle.StandardPixmap standardPixmap, QStyleOption option = None, QWidget widget = None)''' 3982 return QPixmap() 3983 def styleHint(self, stylehint, option = None, widget = None, returnData = None): 3984 '''abstract int QStyle.styleHint(QStyle.StyleHint stylehint, QStyleOption option = None, QWidget widget = None, QStyleHintReturn returnData = None)''' 3985 return int() 3986 def sizeFromContents(self, ct, opt, contentsSize, widget = None): 3987 '''abstract QSize QStyle.sizeFromContents(QStyle.ContentsType ct, QStyleOption opt, QSize contentsSize, QWidget widget = None)''' 3988 return QSize() 3989 def pixelMetric(self, metric, option = None, widget = None): 3990 '''abstract int QStyle.pixelMetric(QStyle.PixelMetric metric, QStyleOption option = None, QWidget widget = None)''' 3991 return int() 3992 def subControlRect(self, cc, opt, sc, widget = None): 3993 '''abstract QRect QStyle.subControlRect(QStyle.ComplexControl cc, QStyleOptionComplex opt, QStyle.SubControl sc, QWidget widget = None)''' 3994 return QRect() 3995 def hitTestComplexControl(self, cc, opt, pt, widget = None): 3996 '''abstract QStyle.SubControl QStyle.hitTestComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPoint pt, QWidget widget = None)''' 3997 return QStyle.SubControl() 3998 def drawComplexControl(self, cc, opt, p, widget = None): 3999 '''abstract void QStyle.drawComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPainter p, QWidget widget = None)''' 4000 def subElementRect(self, subElement, option, widget = None): 4001 '''abstract QRect QStyle.subElementRect(QStyle.SubElement subElement, QStyleOption option, QWidget widget = None)''' 4002 return QRect() 4003 def drawControl(self, element, opt, p, widget = None): 4004 '''abstract void QStyle.drawControl(QStyle.ControlElement element, QStyleOption opt, QPainter p, QWidget widget = None)''' 4005 def drawPrimitive(self, pe, opt, p, widget = None): 4006 '''abstract void QStyle.drawPrimitive(QStyle.PrimitiveElement pe, QStyleOption opt, QPainter p, QWidget widget = None)''' 4007 def standardPalette(self): 4008 '''QPalette QStyle.standardPalette()''' 4009 return QPalette() 4010 def drawItemPixmap(self, painter, rect, alignment, pixmap): 4011 '''void QStyle.drawItemPixmap(QPainter painter, QRect rect, int alignment, QPixmap pixmap)''' 4012 def drawItemText(self, painter, rectangle, alignment, palette, enabled, text, textRole = None): 4013 '''void QStyle.drawItemText(QPainter painter, QRect rectangle, int alignment, QPalette palette, bool enabled, str text, QPalette.ColorRole textRole = QPalette.NoRole)''' 4014 def itemPixmapRect(self, r, flags, pixmap): 4015 '''QRect QStyle.itemPixmapRect(QRect r, int flags, QPixmap pixmap)''' 4016 return QRect() 4017 def itemTextRect(self, fm, r, flags, enabled, text): 4018 '''QRect QStyle.itemTextRect(QFontMetrics fm, QRect r, int flags, bool enabled, str text)''' 4019 return QRect() 4020 def unpolish(self): 4021 '''QWidget QStyle.unpolish()''' 4022 return QWidget() 4023 def unpolish(self): 4024 '''QApplication QStyle.unpolish()''' 4025 return QApplication() 4026 def polish(self): 4027 '''QWidget QStyle.polish()''' 4028 return QWidget() 4029 def polish(self): 4030 '''QApplication QStyle.polish()''' 4031 return QApplication() 4032 def polish(self): 4033 '''QPalette QStyle.polish()''' 4034 return QPalette() 4035 class SubControls(): 4036 """""" 4037 def __init__(self): 4038 '''QStyle.SubControls QStyle.SubControls.__init__()''' 4039 return QStyle.SubControls() 4040 def __init__(self): 4041 '''int QStyle.SubControls.__init__()''' 4042 return int() 4043 def __init__(self): 4044 '''void QStyle.SubControls.__init__()''' 4045 def __bool__(self): 4046 '''int QStyle.SubControls.__bool__()''' 4047 return int() 4048 def __ne__(self, f): 4049 '''bool QStyle.SubControls.__ne__(QStyle.SubControls f)''' 4050 return bool() 4051 def __eq__(self, f): 4052 '''bool QStyle.SubControls.__eq__(QStyle.SubControls f)''' 4053 return bool() 4054 def __invert__(self): 4055 '''QStyle.SubControls QStyle.SubControls.__invert__()''' 4056 return QStyle.SubControls() 4057 def __and__(self, mask): 4058 '''QStyle.SubControls QStyle.SubControls.__and__(int mask)''' 4059 return QStyle.SubControls() 4060 def __xor__(self, f): 4061 '''QStyle.SubControls QStyle.SubControls.__xor__(QStyle.SubControls f)''' 4062 return QStyle.SubControls() 4063 def __xor__(self, f): 4064 '''QStyle.SubControls QStyle.SubControls.__xor__(int f)''' 4065 return QStyle.SubControls() 4066 def __or__(self, f): 4067 '''QStyle.SubControls QStyle.SubControls.__or__(QStyle.SubControls f)''' 4068 return QStyle.SubControls() 4069 def __or__(self, f): 4070 '''QStyle.SubControls QStyle.SubControls.__or__(int f)''' 4071 return QStyle.SubControls() 4072 def __int__(self): 4073 '''int QStyle.SubControls.__int__()''' 4074 return int() 4075 def __ixor__(self, f): 4076 '''QStyle.SubControls QStyle.SubControls.__ixor__(QStyle.SubControls f)''' 4077 return QStyle.SubControls() 4078 def __ior__(self, f): 4079 '''QStyle.SubControls QStyle.SubControls.__ior__(QStyle.SubControls f)''' 4080 return QStyle.SubControls() 4081 def __iand__(self, mask): 4082 '''QStyle.SubControls QStyle.SubControls.__iand__(int mask)''' 4083 return QStyle.SubControls() 4084 class State(): 4085 """""" 4086 def __init__(self): 4087 '''QStyle.State QStyle.State.__init__()''' 4088 return QStyle.State() 4089 def __init__(self): 4090 '''int QStyle.State.__init__()''' 4091 return int() 4092 def __init__(self): 4093 '''void QStyle.State.__init__()''' 4094 def __bool__(self): 4095 '''int QStyle.State.__bool__()''' 4096 return int() 4097 def __ne__(self, f): 4098 '''bool QStyle.State.__ne__(QStyle.State f)''' 4099 return bool() 4100 def __eq__(self, f): 4101 '''bool QStyle.State.__eq__(QStyle.State f)''' 4102 return bool() 4103 def __invert__(self): 4104 '''QStyle.State QStyle.State.__invert__()''' 4105 return QStyle.State() 4106 def __and__(self, mask): 4107 '''QStyle.State QStyle.State.__and__(int mask)''' 4108 return QStyle.State() 4109 def __xor__(self, f): 4110 '''QStyle.State QStyle.State.__xor__(QStyle.State f)''' 4111 return QStyle.State() 4112 def __xor__(self, f): 4113 '''QStyle.State QStyle.State.__xor__(int f)''' 4114 return QStyle.State() 4115 def __or__(self, f): 4116 '''QStyle.State QStyle.State.__or__(QStyle.State f)''' 4117 return QStyle.State() 4118 def __or__(self, f): 4119 '''QStyle.State QStyle.State.__or__(int f)''' 4120 return QStyle.State() 4121 def __int__(self): 4122 '''int QStyle.State.__int__()''' 4123 return int() 4124 def __ixor__(self, f): 4125 '''QStyle.State QStyle.State.__ixor__(QStyle.State f)''' 4126 return QStyle.State() 4127 def __ior__(self, f): 4128 '''QStyle.State QStyle.State.__ior__(QStyle.State f)''' 4129 return QStyle.State() 4130 def __iand__(self, mask): 4131 '''QStyle.State QStyle.State.__iand__(int mask)''' 4132 return QStyle.State() 4133 4134 4135 class QCommonStyle(QStyle): 4136 """""" 4137 def __init__(self): 4138 '''void QCommonStyle.__init__()''' 4139 def layoutSpacing(self, control1, control2, orientation, option = None, widget = None): 4140 '''int QCommonStyle.layoutSpacing(QSizePolicy.ControlType control1, QSizePolicy.ControlType control2, Qt.Orientation orientation, QStyleOption option = None, QWidget widget = None)''' 4141 return int() 4142 def standardIcon(self, standardIcon, option = None, widget = None): 4143 '''QIcon QCommonStyle.standardIcon(QStyle.StandardPixmap standardIcon, QStyleOption option = None, QWidget widget = None)''' 4144 return QIcon() 4145 def generatedIconPixmap(self, iconMode, pixmap, opt): 4146 '''QPixmap QCommonStyle.generatedIconPixmap(QIcon.Mode iconMode, QPixmap pixmap, QStyleOption opt)''' 4147 return QPixmap() 4148 def standardPixmap(self, sp, option = None, widget = None): 4149 '''QPixmap QCommonStyle.standardPixmap(QStyle.StandardPixmap sp, QStyleOption option = None, QWidget widget = None)''' 4150 return QPixmap() 4151 def styleHint(self, sh, option = None, widget = None, returnData = None): 4152 '''int QCommonStyle.styleHint(QStyle.StyleHint sh, QStyleOption option = None, QWidget widget = None, QStyleHintReturn returnData = None)''' 4153 return int() 4154 def pixelMetric(self, m, option = None, widget = None): 4155 '''int QCommonStyle.pixelMetric(QStyle.PixelMetric m, QStyleOption option = None, QWidget widget = None)''' 4156 return int() 4157 def sizeFromContents(self, ct, opt, contentsSize, widget = None): 4158 '''QSize QCommonStyle.sizeFromContents(QStyle.ContentsType ct, QStyleOption opt, QSize contentsSize, QWidget widget = None)''' 4159 return QSize() 4160 def subControlRect(self, cc, opt, sc, widget = None): 4161 '''QRect QCommonStyle.subControlRect(QStyle.ComplexControl cc, QStyleOptionComplex opt, QStyle.SubControl sc, QWidget widget = None)''' 4162 return QRect() 4163 def hitTestComplexControl(self, cc, opt, pt, widget = None): 4164 '''QStyle.SubControl QCommonStyle.hitTestComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPoint pt, QWidget widget = None)''' 4165 return QStyle.SubControl() 4166 def drawComplexControl(self, cc, opt, p, widget = None): 4167 '''void QCommonStyle.drawComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPainter p, QWidget widget = None)''' 4168 def subElementRect(self, r, opt, widget = None): 4169 '''QRect QCommonStyle.subElementRect(QStyle.SubElement r, QStyleOption opt, QWidget widget = None)''' 4170 return QRect() 4171 def drawControl(self, element, opt, p, widget = None): 4172 '''void QCommonStyle.drawControl(QStyle.ControlElement element, QStyleOption opt, QPainter p, QWidget widget = None)''' 4173 def drawPrimitive(self, pe, opt, p, widget = None): 4174 '''void QCommonStyle.drawPrimitive(QStyle.PrimitiveElement pe, QStyleOption opt, QPainter p, QWidget widget = None)''' 4175 def unpolish(self, widget): 4176 '''void QCommonStyle.unpolish(QWidget widget)''' 4177 def unpolish(self, application): 4178 '''void QCommonStyle.unpolish(QApplication application)''' 4179 def polish(self, widget): 4180 '''void QCommonStyle.polish(QWidget widget)''' 4181 def polish(self, app): 4182 '''void QCommonStyle.polish(QApplication app)''' 4183 def polish(self): 4184 '''QPalette QCommonStyle.polish()''' 4185 return QPalette() 4186 4187 4188 class QCompleter(QObject): 4189 """""" 4190 # Enum QCompleter.ModelSorting 4191 UnsortedModel = 0 4192 CaseSensitivelySortedModel = 0 4193 CaseInsensitivelySortedModel = 0 4194 4195 # Enum QCompleter.CompletionMode 4196 PopupCompletion = 0 4197 UnfilteredPopupCompletion = 0 4198 InlineCompletion = 0 4199 4200 def __init__(self, parent = None): 4201 '''void QCompleter.__init__(QObject parent = None)''' 4202 def __init__(self, model, parent = None): 4203 '''void QCompleter.__init__(QAbstractItemModel model, QObject parent = None)''' 4204 def __init__(self, list, parent = None): 4205 '''void QCompleter.__init__(list-of-str list, QObject parent = None)''' 4206 def filterMode(self): 4207 '''Qt.MatchFlags QCompleter.filterMode()''' 4208 return Qt.MatchFlags() 4209 def setFilterMode(self, filterMode): 4210 '''void QCompleter.setFilterMode(Qt.MatchFlags filterMode)''' 4211 def setMaxVisibleItems(self, maxItems): 4212 '''void QCompleter.setMaxVisibleItems(int maxItems)''' 4213 def maxVisibleItems(self): 4214 '''int QCompleter.maxVisibleItems()''' 4215 return int() 4216 highlighted = pyqtSignal() # void highlighted(const QStringamp;) - signal 4217 highlighted = pyqtSignal() # void highlighted(const QModelIndexamp;) - signal 4218 activated = pyqtSignal() # void activated(const QStringamp;) - signal 4219 activated = pyqtSignal() # void activated(const QModelIndexamp;) - signal 4220 def event(self): 4221 '''QEvent QCompleter.event()''' 4222 return QEvent() 4223 def eventFilter(self, o, e): 4224 '''bool QCompleter.eventFilter(QObject o, QEvent e)''' 4225 return bool() 4226 def setWrapAround(self, wrap): 4227 '''void QCompleter.setWrapAround(bool wrap)''' 4228 def setCompletionPrefix(self, prefix): 4229 '''void QCompleter.setCompletionPrefix(str prefix)''' 4230 def complete(self, rect = QRect()): 4231 '''void QCompleter.complete(QRect rect = QRect())''' 4232 def wrapAround(self): 4233 '''bool QCompleter.wrapAround()''' 4234 return bool() 4235 def splitPath(self, path): 4236 '''list-of-str QCompleter.splitPath(str path)''' 4237 return [str()] 4238 def pathFromIndex(self, index): 4239 '''str QCompleter.pathFromIndex(QModelIndex index)''' 4240 return str() 4241 def completionPrefix(self): 4242 '''str QCompleter.completionPrefix()''' 4243 return str() 4244 def completionModel(self): 4245 '''QAbstractItemModel QCompleter.completionModel()''' 4246 return QAbstractItemModel() 4247 def currentCompletion(self): 4248 '''str QCompleter.currentCompletion()''' 4249 return str() 4250 def currentIndex(self): 4251 '''QModelIndex QCompleter.currentIndex()''' 4252 return QModelIndex() 4253 def currentRow(self): 4254 '''int QCompleter.currentRow()''' 4255 return int() 4256 def setCurrentRow(self, row): 4257 '''bool QCompleter.setCurrentRow(int row)''' 4258 return bool() 4259 def completionCount(self): 4260 '''int QCompleter.completionCount()''' 4261 return int() 4262 def completionRole(self): 4263 '''int QCompleter.completionRole()''' 4264 return int() 4265 def setCompletionRole(self, role): 4266 '''void QCompleter.setCompletionRole(int role)''' 4267 def completionColumn(self): 4268 '''int QCompleter.completionColumn()''' 4269 return int() 4270 def setCompletionColumn(self, column): 4271 '''void QCompleter.setCompletionColumn(int column)''' 4272 def modelSorting(self): 4273 '''QCompleter.ModelSorting QCompleter.modelSorting()''' 4274 return QCompleter.ModelSorting() 4275 def setModelSorting(self, sorting): 4276 '''void QCompleter.setModelSorting(QCompleter.ModelSorting sorting)''' 4277 def caseSensitivity(self): 4278 '''Qt.CaseSensitivity QCompleter.caseSensitivity()''' 4279 return Qt.CaseSensitivity() 4280 def setCaseSensitivity(self, caseSensitivity): 4281 '''void QCompleter.setCaseSensitivity(Qt.CaseSensitivity caseSensitivity)''' 4282 def setPopup(self, popup): 4283 '''void QCompleter.setPopup(QAbstractItemView popup)''' 4284 def popup(self): 4285 '''QAbstractItemView QCompleter.popup()''' 4286 return QAbstractItemView() 4287 def completionMode(self): 4288 '''QCompleter.CompletionMode QCompleter.completionMode()''' 4289 return QCompleter.CompletionMode() 4290 def setCompletionMode(self, mode): 4291 '''void QCompleter.setCompletionMode(QCompleter.CompletionMode mode)''' 4292 def model(self): 4293 '''QAbstractItemModel QCompleter.model()''' 4294 return QAbstractItemModel() 4295 def setModel(self, c): 4296 '''void QCompleter.setModel(QAbstractItemModel c)''' 4297 def widget(self): 4298 '''QWidget QCompleter.widget()''' 4299 return QWidget() 4300 def setWidget(self, widget): 4301 '''void QCompleter.setWidget(QWidget widget)''' 4302 4303 4304 class QDataWidgetMapper(QObject): 4305 """""" 4306 # Enum QDataWidgetMapper.SubmitPolicy 4307 AutoSubmit = 0 4308 ManualSubmit = 0 4309 4310 def __init__(self, parent = None): 4311 '''void QDataWidgetMapper.__init__(QObject parent = None)''' 4312 currentIndexChanged = pyqtSignal() # void currentIndexChanged(int) - signal 4313 def toPrevious(self): 4314 '''void QDataWidgetMapper.toPrevious()''' 4315 def toNext(self): 4316 '''void QDataWidgetMapper.toNext()''' 4317 def toLast(self): 4318 '''void QDataWidgetMapper.toLast()''' 4319 def toFirst(self): 4320 '''void QDataWidgetMapper.toFirst()''' 4321 def submit(self): 4322 '''bool QDataWidgetMapper.submit()''' 4323 return bool() 4324 def setCurrentModelIndex(self, index): 4325 '''void QDataWidgetMapper.setCurrentModelIndex(QModelIndex index)''' 4326 def setCurrentIndex(self, index): 4327 '''void QDataWidgetMapper.setCurrentIndex(int index)''' 4328 def revert(self): 4329 '''void QDataWidgetMapper.revert()''' 4330 def currentIndex(self): 4331 '''int QDataWidgetMapper.currentIndex()''' 4332 return int() 4333 def clearMapping(self): 4334 '''void QDataWidgetMapper.clearMapping()''' 4335 def mappedWidgetAt(self, section): 4336 '''QWidget QDataWidgetMapper.mappedWidgetAt(int section)''' 4337 return QWidget() 4338 def mappedSection(self, widget): 4339 '''int QDataWidgetMapper.mappedSection(QWidget widget)''' 4340 return int() 4341 def mappedPropertyName(self, widget): 4342 '''QByteArray QDataWidgetMapper.mappedPropertyName(QWidget widget)''' 4343 return QByteArray() 4344 def removeMapping(self, widget): 4345 '''void QDataWidgetMapper.removeMapping(QWidget widget)''' 4346 def addMapping(self, widget, section): 4347 '''void QDataWidgetMapper.addMapping(QWidget widget, int section)''' 4348 def addMapping(self, widget, section, propertyName): 4349 '''void QDataWidgetMapper.addMapping(QWidget widget, int section, QByteArray propertyName)''' 4350 def submitPolicy(self): 4351 '''QDataWidgetMapper.SubmitPolicy QDataWidgetMapper.submitPolicy()''' 4352 return QDataWidgetMapper.SubmitPolicy() 4353 def setSubmitPolicy(self, policy): 4354 '''void QDataWidgetMapper.setSubmitPolicy(QDataWidgetMapper.SubmitPolicy policy)''' 4355 def orientation(self): 4356 '''Qt.Orientation QDataWidgetMapper.orientation()''' 4357 return Qt.Orientation() 4358 def setOrientation(self, aOrientation): 4359 '''void QDataWidgetMapper.setOrientation(Qt.Orientation aOrientation)''' 4360 def rootIndex(self): 4361 '''QModelIndex QDataWidgetMapper.rootIndex()''' 4362 return QModelIndex() 4363 def setRootIndex(self, index): 4364 '''void QDataWidgetMapper.setRootIndex(QModelIndex index)''' 4365 def itemDelegate(self): 4366 '''QAbstractItemDelegate QDataWidgetMapper.itemDelegate()''' 4367 return QAbstractItemDelegate() 4368 def setItemDelegate(self, delegate): 4369 '''void QDataWidgetMapper.setItemDelegate(QAbstractItemDelegate delegate)''' 4370 def model(self): 4371 '''QAbstractItemModel QDataWidgetMapper.model()''' 4372 return QAbstractItemModel() 4373 def setModel(self, model): 4374 '''void QDataWidgetMapper.setModel(QAbstractItemModel model)''' 4375 4376 4377 class QDateTimeEdit(QAbstractSpinBox): 4378 """""" 4379 # Enum QDateTimeEdit.Section 4380 NoSection = 0 4381 AmPmSection = 0 4382 MSecSection = 0 4383 SecondSection = 0 4384 MinuteSection = 0 4385 HourSection = 0 4386 DaySection = 0 4387 MonthSection = 0 4388 YearSection = 0 4389 TimeSections_Mask = 0 4390 DateSections_Mask = 0 4391 4392 def __init__(self, parent = None): 4393 '''void QDateTimeEdit.__init__(QWidget parent = None)''' 4394 def __init__(self, datetime, parent = None): 4395 '''void QDateTimeEdit.__init__(QDateTime datetime, QWidget parent = None)''' 4396 def __init__(self, date, parent = None): 4397 '''void QDateTimeEdit.__init__(QDate date, QWidget parent = None)''' 4398 def __init__(self, time, parent = None): 4399 '''void QDateTimeEdit.__init__(QTime time, QWidget parent = None)''' 4400 def setTimeSpec(self, spec): 4401 '''void QDateTimeEdit.setTimeSpec(Qt.TimeSpec spec)''' 4402 def timeSpec(self): 4403 '''Qt.TimeSpec QDateTimeEdit.timeSpec()''' 4404 return Qt.TimeSpec() 4405 def setCalendarWidget(self, calendarWidget): 4406 '''void QDateTimeEdit.setCalendarWidget(QCalendarWidget calendarWidget)''' 4407 def calendarWidget(self): 4408 '''QCalendarWidget QDateTimeEdit.calendarWidget()''' 4409 return QCalendarWidget() 4410 def setDateTimeRange(self, min, max): 4411 '''void QDateTimeEdit.setDateTimeRange(QDateTime min, QDateTime max)''' 4412 def setMaximumDateTime(self, dt): 4413 '''void QDateTimeEdit.setMaximumDateTime(QDateTime dt)''' 4414 def clearMaximumDateTime(self): 4415 '''void QDateTimeEdit.clearMaximumDateTime()''' 4416 def maximumDateTime(self): 4417 '''QDateTime QDateTimeEdit.maximumDateTime()''' 4418 return QDateTime() 4419 def setMinimumDateTime(self, dt): 4420 '''void QDateTimeEdit.setMinimumDateTime(QDateTime dt)''' 4421 def clearMinimumDateTime(self): 4422 '''void QDateTimeEdit.clearMinimumDateTime()''' 4423 def minimumDateTime(self): 4424 '''QDateTime QDateTimeEdit.minimumDateTime()''' 4425 return QDateTime() 4426 def stepEnabled(self): 4427 '''QAbstractSpinBox.StepEnabled QDateTimeEdit.stepEnabled()''' 4428 return QAbstractSpinBox.StepEnabled() 4429 def textFromDateTime(self, dt): 4430 '''str QDateTimeEdit.textFromDateTime(QDateTime dt)''' 4431 return str() 4432 def dateTimeFromText(self, text): 4433 '''QDateTime QDateTimeEdit.dateTimeFromText(str text)''' 4434 return QDateTime() 4435 def fixup(self, input): 4436 '''void QDateTimeEdit.fixup(str input)''' 4437 def validate(self, input, pos): 4438 '''QValidator.State QDateTimeEdit.validate(str input, int pos)''' 4439 return QValidator.State() 4440 def paintEvent(self, event): 4441 '''void QDateTimeEdit.paintEvent(QPaintEvent event)''' 4442 def mousePressEvent(self, event): 4443 '''void QDateTimeEdit.mousePressEvent(QMouseEvent event)''' 4444 def focusNextPrevChild(self, next): 4445 '''bool QDateTimeEdit.focusNextPrevChild(bool next)''' 4446 return bool() 4447 def focusInEvent(self, e): 4448 '''void QDateTimeEdit.focusInEvent(QFocusEvent e)''' 4449 def wheelEvent(self, e): 4450 '''void QDateTimeEdit.wheelEvent(QWheelEvent e)''' 4451 def keyPressEvent(self, e): 4452 '''void QDateTimeEdit.keyPressEvent(QKeyEvent e)''' 4453 def initStyleOption(self, option): 4454 '''void QDateTimeEdit.initStyleOption(QStyleOptionSpinBox option)''' 4455 def setTime(self, time): 4456 '''void QDateTimeEdit.setTime(QTime time)''' 4457 def setDate(self, date): 4458 '''void QDateTimeEdit.setDate(QDate date)''' 4459 def setDateTime(self, dateTime): 4460 '''void QDateTimeEdit.setDateTime(QDateTime dateTime)''' 4461 dateChanged = pyqtSignal() # void dateChanged(const QDateamp;) - signal 4462 timeChanged = pyqtSignal() # void timeChanged(const QTimeamp;) - signal 4463 dateTimeChanged = pyqtSignal() # void dateTimeChanged(const QDateTimeamp;) - signal 4464 def sectionCount(self): 4465 '''int QDateTimeEdit.sectionCount()''' 4466 return int() 4467 def setCurrentSectionIndex(self, index): 4468 '''void QDateTimeEdit.setCurrentSectionIndex(int index)''' 4469 def currentSectionIndex(self): 4470 '''int QDateTimeEdit.currentSectionIndex()''' 4471 return int() 4472 def sectionAt(self, index): 4473 '''QDateTimeEdit.Section QDateTimeEdit.sectionAt(int index)''' 4474 return QDateTimeEdit.Section() 4475 def event(self, e): 4476 '''bool QDateTimeEdit.event(QEvent e)''' 4477 return bool() 4478 def stepBy(self, steps): 4479 '''void QDateTimeEdit.stepBy(int steps)''' 4480 def clear(self): 4481 '''void QDateTimeEdit.clear()''' 4482 def sizeHint(self): 4483 '''QSize QDateTimeEdit.sizeHint()''' 4484 return QSize() 4485 def setSelectedSection(self, section): 4486 '''void QDateTimeEdit.setSelectedSection(QDateTimeEdit.Section section)''' 4487 def setCalendarPopup(self, enable): 4488 '''void QDateTimeEdit.setCalendarPopup(bool enable)''' 4489 def calendarPopup(self): 4490 '''bool QDateTimeEdit.calendarPopup()''' 4491 return bool() 4492 def setDisplayFormat(self, format): 4493 '''void QDateTimeEdit.setDisplayFormat(str format)''' 4494 def displayFormat(self): 4495 '''str QDateTimeEdit.displayFormat()''' 4496 return str() 4497 def sectionText(self, s): 4498 '''str QDateTimeEdit.sectionText(QDateTimeEdit.Section s)''' 4499 return str() 4500 def setCurrentSection(self, section): 4501 '''void QDateTimeEdit.setCurrentSection(QDateTimeEdit.Section section)''' 4502 def currentSection(self): 4503 '''QDateTimeEdit.Section QDateTimeEdit.currentSection()''' 4504 return QDateTimeEdit.Section() 4505 def displayedSections(self): 4506 '''QDateTimeEdit.Sections QDateTimeEdit.displayedSections()''' 4507 return QDateTimeEdit.Sections() 4508 def setTimeRange(self, min, max): 4509 '''void QDateTimeEdit.setTimeRange(QTime min, QTime max)''' 4510 def clearMaximumTime(self): 4511 '''void QDateTimeEdit.clearMaximumTime()''' 4512 def setMaximumTime(self, max): 4513 '''void QDateTimeEdit.setMaximumTime(QTime max)''' 4514 def maximumTime(self): 4515 '''QTime QDateTimeEdit.maximumTime()''' 4516 return QTime() 4517 def clearMinimumTime(self): 4518 '''void QDateTimeEdit.clearMinimumTime()''' 4519 def setMinimumTime(self, min): 4520 '''void QDateTimeEdit.setMinimumTime(QTime min)''' 4521 def minimumTime(self): 4522 '''QTime QDateTimeEdit.minimumTime()''' 4523 return QTime() 4524 def setDateRange(self, min, max): 4525 '''void QDateTimeEdit.setDateRange(QDate min, QDate max)''' 4526 def clearMaximumDate(self): 4527 '''void QDateTimeEdit.clearMaximumDate()''' 4528 def setMaximumDate(self, max): 4529 '''void QDateTimeEdit.setMaximumDate(QDate max)''' 4530 def maximumDate(self): 4531 '''QDate QDateTimeEdit.maximumDate()''' 4532 return QDate() 4533 def clearMinimumDate(self): 4534 '''void QDateTimeEdit.clearMinimumDate()''' 4535 def setMinimumDate(self, min): 4536 '''void QDateTimeEdit.setMinimumDate(QDate min)''' 4537 def minimumDate(self): 4538 '''QDate QDateTimeEdit.minimumDate()''' 4539 return QDate() 4540 def time(self): 4541 '''QTime QDateTimeEdit.time()''' 4542 return QTime() 4543 def date(self): 4544 '''QDate QDateTimeEdit.date()''' 4545 return QDate() 4546 def dateTime(self): 4547 '''QDateTime QDateTimeEdit.dateTime()''' 4548 return QDateTime() 4549 class Sections(): 4550 """""" 4551 def __init__(self): 4552 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__init__()''' 4553 return QDateTimeEdit.Sections() 4554 def __init__(self): 4555 '''int QDateTimeEdit.Sections.__init__()''' 4556 return int() 4557 def __init__(self): 4558 '''void QDateTimeEdit.Sections.__init__()''' 4559 def __bool__(self): 4560 '''int QDateTimeEdit.Sections.__bool__()''' 4561 return int() 4562 def __ne__(self, f): 4563 '''bool QDateTimeEdit.Sections.__ne__(QDateTimeEdit.Sections f)''' 4564 return bool() 4565 def __eq__(self, f): 4566 '''bool QDateTimeEdit.Sections.__eq__(QDateTimeEdit.Sections f)''' 4567 return bool() 4568 def __invert__(self): 4569 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__invert__()''' 4570 return QDateTimeEdit.Sections() 4571 def __and__(self, mask): 4572 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__and__(int mask)''' 4573 return QDateTimeEdit.Sections() 4574 def __xor__(self, f): 4575 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__xor__(QDateTimeEdit.Sections f)''' 4576 return QDateTimeEdit.Sections() 4577 def __xor__(self, f): 4578 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__xor__(int f)''' 4579 return QDateTimeEdit.Sections() 4580 def __or__(self, f): 4581 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__or__(QDateTimeEdit.Sections f)''' 4582 return QDateTimeEdit.Sections() 4583 def __or__(self, f): 4584 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__or__(int f)''' 4585 return QDateTimeEdit.Sections() 4586 def __int__(self): 4587 '''int QDateTimeEdit.Sections.__int__()''' 4588 return int() 4589 def __ixor__(self, f): 4590 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__ixor__(QDateTimeEdit.Sections f)''' 4591 return QDateTimeEdit.Sections() 4592 def __ior__(self, f): 4593 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__ior__(QDateTimeEdit.Sections f)''' 4594 return QDateTimeEdit.Sections() 4595 def __iand__(self, mask): 4596 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__iand__(int mask)''' 4597 return QDateTimeEdit.Sections() 4598 4599 4600 class QTimeEdit(QDateTimeEdit): 4601 """""" 4602 def __init__(self, parent = None): 4603 '''void QTimeEdit.__init__(QWidget parent = None)''' 4604 def __init__(self, time, parent = None): 4605 '''void QTimeEdit.__init__(QTime time, QWidget parent = None)''' 4606 4607 4608 class QDateEdit(QDateTimeEdit): 4609 """""" 4610 def __init__(self, parent = None): 4611 '''void QDateEdit.__init__(QWidget parent = None)''' 4612 def __init__(self, date, parent = None): 4613 '''void QDateEdit.__init__(QDate date, QWidget parent = None)''' 4614 4615 4616 class QDesktopWidget(QWidget): 4617 """""" 4618 def __init__(self): 4619 '''void QDesktopWidget.__init__()''' 4620 def resizeEvent(self, e): 4621 '''void QDesktopWidget.resizeEvent(QResizeEvent e)''' 4622 screenCountChanged = pyqtSignal() # void screenCountChanged(int) - signal 4623 workAreaResized = pyqtSignal() # void workAreaResized(int) - signal 4624 resized = pyqtSignal() # void resized(int) - signal 4625 def availableGeometry(self, screen = None): 4626 '''QRect QDesktopWidget.availableGeometry(int screen = -1)''' 4627 return QRect() 4628 def availableGeometry(self, widget): 4629 '''QRect QDesktopWidget.availableGeometry(QWidget widget)''' 4630 return QRect() 4631 def availableGeometry(self, point): 4632 '''QRect QDesktopWidget.availableGeometry(QPoint point)''' 4633 return QRect() 4634 def screenGeometry(self, screen = None): 4635 '''QRect QDesktopWidget.screenGeometry(int screen = -1)''' 4636 return QRect() 4637 def screenGeometry(self, widget): 4638 '''QRect QDesktopWidget.screenGeometry(QWidget widget)''' 4639 return QRect() 4640 def screenGeometry(self, point): 4641 '''QRect QDesktopWidget.screenGeometry(QPoint point)''' 4642 return QRect() 4643 def screenCount(self): 4644 '''int QDesktopWidget.screenCount()''' 4645 return int() 4646 def screen(self, screen = None): 4647 '''QWidget QDesktopWidget.screen(int screen = -1)''' 4648 return QWidget() 4649 def screenNumber(self, widget = None): 4650 '''int QDesktopWidget.screenNumber(QWidget widget = None)''' 4651 return int() 4652 def screenNumber(self): 4653 '''QPoint QDesktopWidget.screenNumber()''' 4654 return QPoint() 4655 def primaryScreen(self): 4656 '''int QDesktopWidget.primaryScreen()''' 4657 return int() 4658 def isVirtualDesktop(self): 4659 '''bool QDesktopWidget.isVirtualDesktop()''' 4660 return bool() 4661 4662 4663 class QDial(QAbstractSlider): 4664 """""" 4665 def __init__(self, parent = None): 4666 '''void QDial.__init__(QWidget parent = None)''' 4667 def sliderChange(self, change): 4668 '''void QDial.sliderChange(QAbstractSlider.SliderChange change)''' 4669 def mouseMoveEvent(self, me): 4670 '''void QDial.mouseMoveEvent(QMouseEvent me)''' 4671 def mouseReleaseEvent(self, me): 4672 '''void QDial.mouseReleaseEvent(QMouseEvent me)''' 4673 def mousePressEvent(self, me): 4674 '''void QDial.mousePressEvent(QMouseEvent me)''' 4675 def paintEvent(self, pe): 4676 '''void QDial.paintEvent(QPaintEvent pe)''' 4677 def resizeEvent(self, re): 4678 '''void QDial.resizeEvent(QResizeEvent re)''' 4679 def event(self, e): 4680 '''bool QDial.event(QEvent e)''' 4681 return bool() 4682 def initStyleOption(self, option): 4683 '''void QDial.initStyleOption(QStyleOptionSlider option)''' 4684 def setWrapping(self, on): 4685 '''void QDial.setWrapping(bool on)''' 4686 def setNotchesVisible(self, visible): 4687 '''void QDial.setNotchesVisible(bool visible)''' 4688 def minimumSizeHint(self): 4689 '''QSize QDial.minimumSizeHint()''' 4690 return QSize() 4691 def sizeHint(self): 4692 '''QSize QDial.sizeHint()''' 4693 return QSize() 4694 def notchesVisible(self): 4695 '''bool QDial.notchesVisible()''' 4696 return bool() 4697 def notchTarget(self): 4698 '''float QDial.notchTarget()''' 4699 return float() 4700 def setNotchTarget(self, target): 4701 '''void QDial.setNotchTarget(float target)''' 4702 def notchSize(self): 4703 '''int QDial.notchSize()''' 4704 return int() 4705 def wrapping(self): 4706 '''bool QDial.wrapping()''' 4707 return bool() 4708 4709 4710 class QDialogButtonBox(QWidget): 4711 """""" 4712 # Enum QDialogButtonBox.StandardButton 4713 NoButton = 0 4714 Ok = 0 4715 Save = 0 4716 SaveAll = 0 4717 Open = 0 4718 Yes = 0 4719 YesToAll = 0 4720 No = 0 4721 NoToAll = 0 4722 Abort = 0 4723 Retry = 0 4724 Ignore = 0 4725 Close = 0 4726 Cancel = 0 4727 Discard = 0 4728 Help = 0 4729 Apply = 0 4730 Reset = 0 4731 RestoreDefaults = 0 4732 4733 # Enum QDialogButtonBox.ButtonRole 4734 InvalidRole = 0 4735 AcceptRole = 0 4736 RejectRole = 0 4737 DestructiveRole = 0 4738 ActionRole = 0 4739 HelpRole = 0 4740 YesRole = 0 4741 NoRole = 0 4742 ResetRole = 0 4743 ApplyRole = 0 4744 4745 # Enum QDialogButtonBox.ButtonLayout 4746 WinLayout = 0 4747 MacLayout = 0 4748 KdeLayout = 0 4749 GnomeLayout = 0 4750 4751 def __init__(self, parent = None): 4752 '''void QDialogButtonBox.__init__(QWidget parent = None)''' 4753 def __init__(self, orientation, parent = None): 4754 '''void QDialogButtonBox.__init__(Qt.Orientation orientation, QWidget parent = None)''' 4755 def __init__(self, buttons, parent = None): 4756 '''void QDialogButtonBox.__init__(QDialogButtonBox.StandardButtons buttons, QWidget parent = None)''' 4757 def __init__(self, buttons, orientation, parent = None): 4758 '''void QDialogButtonBox.__init__(QDialogButtonBox.StandardButtons buttons, Qt.Orientation orientation, QWidget parent = None)''' 4759 def event(self, event): 4760 '''bool QDialogButtonBox.event(QEvent event)''' 4761 return bool() 4762 def changeEvent(self, event): 4763 '''void QDialogButtonBox.changeEvent(QEvent event)''' 4764 rejected = pyqtSignal() # void rejected() - signal 4765 helpRequested = pyqtSignal() # void helpRequested() - signal 4766 clicked = pyqtSignal() # void clicked(QAbstractButton*) - signal 4767 accepted = pyqtSignal() # void accepted() - signal 4768 def centerButtons(self): 4769 '''bool QDialogButtonBox.centerButtons()''' 4770 return bool() 4771 def setCenterButtons(self, center): 4772 '''void QDialogButtonBox.setCenterButtons(bool center)''' 4773 def button(self, which): 4774 '''QPushButton QDialogButtonBox.button(QDialogButtonBox.StandardButton which)''' 4775 return QPushButton() 4776 def standardButton(self, button): 4777 '''QDialogButtonBox.StandardButton QDialogButtonBox.standardButton(QAbstractButton button)''' 4778 return QDialogButtonBox.StandardButton() 4779 def standardButtons(self): 4780 '''QDialogButtonBox.StandardButtons QDialogButtonBox.standardButtons()''' 4781 return QDialogButtonBox.StandardButtons() 4782 def setStandardButtons(self, buttons): 4783 '''void QDialogButtonBox.setStandardButtons(QDialogButtonBox.StandardButtons buttons)''' 4784 def buttonRole(self, button): 4785 '''QDialogButtonBox.ButtonRole QDialogButtonBox.buttonRole(QAbstractButton button)''' 4786 return QDialogButtonBox.ButtonRole() 4787 def buttons(self): 4788 '''list-of-QAbstractButton QDialogButtonBox.buttons()''' 4789 return [QAbstractButton()] 4790 def clear(self): 4791 '''void QDialogButtonBox.clear()''' 4792 def removeButton(self, button): 4793 '''void QDialogButtonBox.removeButton(QAbstractButton button)''' 4794 def addButton(self, button, role): 4795 '''void QDialogButtonBox.addButton(QAbstractButton button, QDialogButtonBox.ButtonRole role)''' 4796 def addButton(self, text, role): 4797 '''QPushButton QDialogButtonBox.addButton(str text, QDialogButtonBox.ButtonRole role)''' 4798 return QPushButton() 4799 def addButton(self, button): 4800 '''QPushButton QDialogButtonBox.addButton(QDialogButtonBox.StandardButton button)''' 4801 return QPushButton() 4802 def orientation(self): 4803 '''Qt.Orientation QDialogButtonBox.orientation()''' 4804 return Qt.Orientation() 4805 def setOrientation(self, orientation): 4806 '''void QDialogButtonBox.setOrientation(Qt.Orientation orientation)''' 4807 class StandardButtons(): 4808 """""" 4809 def __init__(self): 4810 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__init__()''' 4811 return QDialogButtonBox.StandardButtons() 4812 def __init__(self): 4813 '''int QDialogButtonBox.StandardButtons.__init__()''' 4814 return int() 4815 def __init__(self): 4816 '''void QDialogButtonBox.StandardButtons.__init__()''' 4817 def __bool__(self): 4818 '''int QDialogButtonBox.StandardButtons.__bool__()''' 4819 return int() 4820 def __ne__(self, f): 4821 '''bool QDialogButtonBox.StandardButtons.__ne__(QDialogButtonBox.StandardButtons f)''' 4822 return bool() 4823 def __eq__(self, f): 4824 '''bool QDialogButtonBox.StandardButtons.__eq__(QDialogButtonBox.StandardButtons f)''' 4825 return bool() 4826 def __invert__(self): 4827 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__invert__()''' 4828 return QDialogButtonBox.StandardButtons() 4829 def __and__(self, mask): 4830 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__and__(int mask)''' 4831 return QDialogButtonBox.StandardButtons() 4832 def __xor__(self, f): 4833 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__xor__(QDialogButtonBox.StandardButtons f)''' 4834 return QDialogButtonBox.StandardButtons() 4835 def __xor__(self, f): 4836 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__xor__(int f)''' 4837 return QDialogButtonBox.StandardButtons() 4838 def __or__(self, f): 4839 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__or__(QDialogButtonBox.StandardButtons f)''' 4840 return QDialogButtonBox.StandardButtons() 4841 def __or__(self, f): 4842 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__or__(int f)''' 4843 return QDialogButtonBox.StandardButtons() 4844 def __int__(self): 4845 '''int QDialogButtonBox.StandardButtons.__int__()''' 4846 return int() 4847 def __ixor__(self, f): 4848 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__ixor__(QDialogButtonBox.StandardButtons f)''' 4849 return QDialogButtonBox.StandardButtons() 4850 def __ior__(self, f): 4851 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__ior__(QDialogButtonBox.StandardButtons f)''' 4852 return QDialogButtonBox.StandardButtons() 4853 def __iand__(self, mask): 4854 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__iand__(int mask)''' 4855 return QDialogButtonBox.StandardButtons() 4856 4857 4858 class QDirModel(QAbstractItemModel): 4859 """""" 4860 # Enum QDirModel.Roles 4861 FileIconRole = 0 4862 FilePathRole = 0 4863 FileNameRole = 0 4864 4865 def __init__(self, nameFilters, filters, sort, parent = None): 4866 '''void QDirModel.__init__(list-of-str nameFilters, QDir.Filters filters, QDir.SortFlags sort, QObject parent = None)''' 4867 def __init__(self, parent = None): 4868 '''void QDirModel.__init__(QObject parent = None)''' 4869 def fileInfo(self, index): 4870 '''QFileInfo QDirModel.fileInfo(QModelIndex index)''' 4871 return QFileInfo() 4872 def fileIcon(self, index): 4873 '''QIcon QDirModel.fileIcon(QModelIndex index)''' 4874 return QIcon() 4875 def fileName(self, index): 4876 '''str QDirModel.fileName(QModelIndex index)''' 4877 return str() 4878 def filePath(self, index): 4879 '''str QDirModel.filePath(QModelIndex index)''' 4880 return str() 4881 def remove(self, index): 4882 '''bool QDirModel.remove(QModelIndex index)''' 4883 return bool() 4884 def rmdir(self, index): 4885 '''bool QDirModel.rmdir(QModelIndex index)''' 4886 return bool() 4887 def mkdir(self, parent, name): 4888 '''QModelIndex QDirModel.mkdir(QModelIndex parent, str name)''' 4889 return QModelIndex() 4890 def isDir(self, index): 4891 '''bool QDirModel.isDir(QModelIndex index)''' 4892 return bool() 4893 def refresh(self, parent = QModelIndex()): 4894 '''void QDirModel.refresh(QModelIndex parent = QModelIndex())''' 4895 def lazyChildCount(self): 4896 '''bool QDirModel.lazyChildCount()''' 4897 return bool() 4898 def setLazyChildCount(self, enable): 4899 '''void QDirModel.setLazyChildCount(bool enable)''' 4900 def isReadOnly(self): 4901 '''bool QDirModel.isReadOnly()''' 4902 return bool() 4903 def setReadOnly(self, enable): 4904 '''void QDirModel.setReadOnly(bool enable)''' 4905 def resolveSymlinks(self): 4906 '''bool QDirModel.resolveSymlinks()''' 4907 return bool() 4908 def setResolveSymlinks(self, enable): 4909 '''void QDirModel.setResolveSymlinks(bool enable)''' 4910 def sorting(self): 4911 '''QDir.SortFlags QDirModel.sorting()''' 4912 return QDir.SortFlags() 4913 def setSorting(self, sort): 4914 '''void QDirModel.setSorting(QDir.SortFlags sort)''' 4915 def filter(self): 4916 '''QDir.Filters QDirModel.filter()''' 4917 return QDir.Filters() 4918 def setFilter(self, filters): 4919 '''void QDirModel.setFilter(QDir.Filters filters)''' 4920 def nameFilters(self): 4921 '''list-of-str QDirModel.nameFilters()''' 4922 return [str()] 4923 def setNameFilters(self, filters): 4924 '''void QDirModel.setNameFilters(list-of-str filters)''' 4925 def iconProvider(self): 4926 '''QFileIconProvider QDirModel.iconProvider()''' 4927 return QFileIconProvider() 4928 def setIconProvider(self, provider): 4929 '''void QDirModel.setIconProvider(QFileIconProvider provider)''' 4930 def supportedDropActions(self): 4931 '''Qt.DropActions QDirModel.supportedDropActions()''' 4932 return Qt.DropActions() 4933 def dropMimeData(self, data, action, row, column, parent): 4934 '''bool QDirModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 4935 return bool() 4936 def mimeData(self, indexes): 4937 '''QMimeData QDirModel.mimeData(list-of-QModelIndex indexes)''' 4938 return QMimeData() 4939 def mimeTypes(self): 4940 '''list-of-str QDirModel.mimeTypes()''' 4941 return [str()] 4942 def sort(self, column, order = None): 4943 '''void QDirModel.sort(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 4944 def flags(self, index): 4945 '''Qt.ItemFlags QDirModel.flags(QModelIndex index)''' 4946 return Qt.ItemFlags() 4947 def hasChildren(self, parent = QModelIndex()): 4948 '''bool QDirModel.hasChildren(QModelIndex parent = QModelIndex())''' 4949 return bool() 4950 def headerData(self, section, orientation, role = None): 4951 '''QVariant QDirModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 4952 return QVariant() 4953 def setData(self, index, value, role = None): 4954 '''bool QDirModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 4955 return bool() 4956 def data(self, index, role = None): 4957 '''QVariant QDirModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 4958 return QVariant() 4959 def columnCount(self, parent = QModelIndex()): 4960 '''int QDirModel.columnCount(QModelIndex parent = QModelIndex())''' 4961 return int() 4962 def rowCount(self, parent = QModelIndex()): 4963 '''int QDirModel.rowCount(QModelIndex parent = QModelIndex())''' 4964 return int() 4965 def parent(self, child): 4966 '''QModelIndex QDirModel.parent(QModelIndex child)''' 4967 return QModelIndex() 4968 def parent(self): 4969 '''QObject QDirModel.parent()''' 4970 return QObject() 4971 def index(self, row, column, parent = QModelIndex()): 4972 '''QModelIndex QDirModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 4973 return QModelIndex() 4974 def index(self, path, column = 0): 4975 '''QModelIndex QDirModel.index(str path, int column = 0)''' 4976 return QModelIndex() 4977 4978 4979 class QDockWidget(QWidget): 4980 """""" 4981 # Enum QDockWidget.DockWidgetFeature 4982 DockWidgetClosable = 0 4983 DockWidgetMovable = 0 4984 DockWidgetFloatable = 0 4985 DockWidgetVerticalTitleBar = 0 4986 AllDockWidgetFeatures = 0 4987 NoDockWidgetFeatures = 0 4988 4989 def __init__(self, title, parent = None, flags = 0): 4990 '''void QDockWidget.__init__(str title, QWidget parent = None, Qt.WindowFlags flags = 0)''' 4991 def __init__(self, parent = None, flags = 0): 4992 '''void QDockWidget.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 4993 def event(self, event): 4994 '''bool QDockWidget.event(QEvent event)''' 4995 return bool() 4996 def paintEvent(self, event): 4997 '''void QDockWidget.paintEvent(QPaintEvent event)''' 4998 def closeEvent(self, event): 4999 '''void QDockWidget.closeEvent(QCloseEvent event)''' 5000 def changeEvent(self, event): 5001 '''void QDockWidget.changeEvent(QEvent event)''' 5002 def initStyleOption(self, option): 5003 '''void QDockWidget.initStyleOption(QStyleOptionDockWidget option)''' 5004 visibilityChanged = pyqtSignal() # void visibilityChanged(bool) - signal 5005 dockLocationChanged = pyqtSignal() # void dockLocationChanged(Qt::DockWidgetArea) - signal 5006 allowedAreasChanged = pyqtSignal() # void allowedAreasChanged(Qt::DockWidgetAreas) - signal 5007 topLevelChanged = pyqtSignal() # void topLevelChanged(bool) - signal 5008 featuresChanged = pyqtSignal() # void featuresChanged(QDockWidget::DockWidgetFeatures) - signal 5009 def titleBarWidget(self): 5010 '''QWidget QDockWidget.titleBarWidget()''' 5011 return QWidget() 5012 def setTitleBarWidget(self, widget): 5013 '''void QDockWidget.setTitleBarWidget(QWidget widget)''' 5014 def toggleViewAction(self): 5015 '''QAction QDockWidget.toggleViewAction()''' 5016 return QAction() 5017 def isAreaAllowed(self, area): 5018 '''bool QDockWidget.isAreaAllowed(Qt.DockWidgetArea area)''' 5019 return bool() 5020 def allowedAreas(self): 5021 '''Qt.DockWidgetAreas QDockWidget.allowedAreas()''' 5022 return Qt.DockWidgetAreas() 5023 def setAllowedAreas(self, areas): 5024 '''void QDockWidget.setAllowedAreas(Qt.DockWidgetAreas areas)''' 5025 def isFloating(self): 5026 '''bool QDockWidget.isFloating()''' 5027 return bool() 5028 def setFloating(self, floating): 5029 '''void QDockWidget.setFloating(bool floating)''' 5030 def features(self): 5031 '''QDockWidget.DockWidgetFeatures QDockWidget.features()''' 5032 return QDockWidget.DockWidgetFeatures() 5033 def setFeatures(self, features): 5034 '''void QDockWidget.setFeatures(QDockWidget.DockWidgetFeatures features)''' 5035 def setWidget(self, widget): 5036 '''void QDockWidget.setWidget(QWidget widget)''' 5037 def widget(self): 5038 '''QWidget QDockWidget.widget()''' 5039 return QWidget() 5040 class DockWidgetFeatures(): 5041 """""" 5042 def __init__(self): 5043 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__init__()''' 5044 return QDockWidget.DockWidgetFeatures() 5045 def __init__(self): 5046 '''int QDockWidget.DockWidgetFeatures.__init__()''' 5047 return int() 5048 def __init__(self): 5049 '''void QDockWidget.DockWidgetFeatures.__init__()''' 5050 def __bool__(self): 5051 '''int QDockWidget.DockWidgetFeatures.__bool__()''' 5052 return int() 5053 def __ne__(self, f): 5054 '''bool QDockWidget.DockWidgetFeatures.__ne__(QDockWidget.DockWidgetFeatures f)''' 5055 return bool() 5056 def __eq__(self, f): 5057 '''bool QDockWidget.DockWidgetFeatures.__eq__(QDockWidget.DockWidgetFeatures f)''' 5058 return bool() 5059 def __invert__(self): 5060 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__invert__()''' 5061 return QDockWidget.DockWidgetFeatures() 5062 def __and__(self, mask): 5063 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__and__(int mask)''' 5064 return QDockWidget.DockWidgetFeatures() 5065 def __xor__(self, f): 5066 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__xor__(QDockWidget.DockWidgetFeatures f)''' 5067 return QDockWidget.DockWidgetFeatures() 5068 def __xor__(self, f): 5069 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__xor__(int f)''' 5070 return QDockWidget.DockWidgetFeatures() 5071 def __or__(self, f): 5072 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__or__(QDockWidget.DockWidgetFeatures f)''' 5073 return QDockWidget.DockWidgetFeatures() 5074 def __or__(self, f): 5075 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__or__(int f)''' 5076 return QDockWidget.DockWidgetFeatures() 5077 def __int__(self): 5078 '''int QDockWidget.DockWidgetFeatures.__int__()''' 5079 return int() 5080 def __ixor__(self, f): 5081 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__ixor__(QDockWidget.DockWidgetFeatures f)''' 5082 return QDockWidget.DockWidgetFeatures() 5083 def __ior__(self, f): 5084 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__ior__(QDockWidget.DockWidgetFeatures f)''' 5085 return QDockWidget.DockWidgetFeatures() 5086 def __iand__(self, mask): 5087 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__iand__(int mask)''' 5088 return QDockWidget.DockWidgetFeatures() 5089 5090 5091 class QErrorMessage(QDialog): 5092 """""" 5093 def __init__(self, parent = None): 5094 '''void QErrorMessage.__init__(QWidget parent = None)''' 5095 def done(self): 5096 '''int QErrorMessage.done()''' 5097 return int() 5098 def changeEvent(self, e): 5099 '''void QErrorMessage.changeEvent(QEvent e)''' 5100 def showMessage(self, message): 5101 '''void QErrorMessage.showMessage(str message)''' 5102 def showMessage(self, message, type): 5103 '''void QErrorMessage.showMessage(str message, str type)''' 5104 def qtHandler(self): 5105 '''static QErrorMessage QErrorMessage.qtHandler()''' 5106 return QErrorMessage() 5107 5108 5109 class QFileDialog(QDialog): 5110 """""" 5111 # Enum QFileDialog.Option 5112 ShowDirsOnly = 0 5113 DontResolveSymlinks = 0 5114 DontConfirmOverwrite = 0 5115 DontUseSheet = 0 5116 DontUseNativeDialog = 0 5117 ReadOnly = 0 5118 HideNameFilterDetails = 0 5119 DontUseCustomDirectoryIcons = 0 5120 5121 # Enum QFileDialog.DialogLabel 5122 LookIn = 0 5123 FileName = 0 5124 FileType = 0 5125 Accept = 0 5126 Reject = 0 5127 5128 # Enum QFileDialog.AcceptMode 5129 AcceptOpen = 0 5130 AcceptSave = 0 5131 5132 # Enum QFileDialog.FileMode 5133 AnyFile = 0 5134 ExistingFile = 0 5135 Directory = 0 5136 ExistingFiles = 0 5137 DirectoryOnly = 0 5138 5139 # Enum QFileDialog.ViewMode 5140 Detail = 0 5141 List = 0 5142 5143 def __init__(self, parent, f): 5144 '''void QFileDialog.__init__(QWidget parent, Qt.WindowFlags f)''' 5145 def __init__(self, parent = None, caption = None, directory = None, filter = None): 5146 '''void QFileDialog.__init__(QWidget parent = None, str caption = '', str directory = '', str filter = '')''' 5147 def getSaveFileUrl(self, parent = None, caption = None, directory = None, filter = None, initialFilter = None, options = 0, supportedSchemes = None): 5148 '''static (QUrl, str) QFileDialog.getSaveFileUrl(QWidget parent = None, str caption = '', str directory = '', str filter = '', str initialFilter = '', QFileDialog.Options options = 0, list-of-str supportedSchemes = [])''' 5149 return (QUrl, str)() 5150 def getOpenFileUrls(self, parent = None, caption = None, directory = None, filter = None, initialFilter = None, options = 0, supportedSchemes = None): 5151 '''static (list-of-QUrl, str) QFileDialog.getOpenFileUrls(QWidget parent = None, str caption = '', str directory = '', str filter = '', str initialFilter = '', QFileDialog.Options options = 0, list-of-str supportedSchemes = [])''' 5152 return (list-of-QUrl, str)() 5153 def getOpenFileUrl(self, parent = None, caption = None, directory = None, filter = None, initialFilter = None, options = 0, supportedSchemes = None): 5154 '''static (QUrl, str) QFileDialog.getOpenFileUrl(QWidget parent = None, str caption = '', str directory = '', str filter = '', str initialFilter = '', QFileDialog.Options options = 0, list-of-str supportedSchemes = [])''' 5155 return (QUrl, str)() 5156 def getExistingDirectoryUrl(self, parent = None, caption = None, directory = QUrl(), options = None, supportedSchemes = None): 5157 '''static QUrl QFileDialog.getExistingDirectoryUrl(QWidget parent = None, str caption = '', QUrl directory = QUrl(), QFileDialog.Options options = QFileDialog.ShowDirsOnly, list-of-str supportedSchemes = [])''' 5158 return QUrl() 5159 directoryUrlEntered = pyqtSignal() # void directoryUrlEntered(const QUrlamp;) - signal 5160 currentUrlChanged = pyqtSignal() # void currentUrlChanged(const QUrlamp;) - signal 5161 urlsSelected = pyqtSignal() # void urlsSelected(const QListlt;QUrlgt;amp;) - signal 5162 urlSelected = pyqtSignal() # void urlSelected(const QUrlamp;) - signal 5163 def selectMimeTypeFilter(self, filter): 5164 '''void QFileDialog.selectMimeTypeFilter(str filter)''' 5165 def mimeTypeFilters(self): 5166 '''list-of-str QFileDialog.mimeTypeFilters()''' 5167 return [str()] 5168 def setMimeTypeFilters(self, filters): 5169 '''void QFileDialog.setMimeTypeFilters(list-of-str filters)''' 5170 def selectedUrls(self): 5171 '''list-of-QUrl QFileDialog.selectedUrls()''' 5172 return [QUrl()] 5173 def selectUrl(self, url): 5174 '''void QFileDialog.selectUrl(QUrl url)''' 5175 def directoryUrl(self): 5176 '''QUrl QFileDialog.directoryUrl()''' 5177 return QUrl() 5178 def setDirectoryUrl(self, directory): 5179 '''void QFileDialog.setDirectoryUrl(QUrl directory)''' 5180 def setVisible(self, visible): 5181 '''void QFileDialog.setVisible(bool visible)''' 5182 def open(self): 5183 '''void QFileDialog.open()''' 5184 def open(self, slot): 5185 '''void QFileDialog.open(slot slot)''' 5186 def options(self): 5187 '''QFileDialog.Options QFileDialog.options()''' 5188 return QFileDialog.Options() 5189 def setOptions(self, options): 5190 '''void QFileDialog.setOptions(QFileDialog.Options options)''' 5191 def testOption(self, option): 5192 '''bool QFileDialog.testOption(QFileDialog.Option option)''' 5193 return bool() 5194 def setOption(self, option, on = True): 5195 '''void QFileDialog.setOption(QFileDialog.Option option, bool on = True)''' 5196 def setFilter(self, filters): 5197 '''void QFileDialog.setFilter(QDir.Filters filters)''' 5198 def filter(self): 5199 '''QDir.Filters QFileDialog.filter()''' 5200 return QDir.Filters() 5201 def selectedNameFilter(self): 5202 '''str QFileDialog.selectedNameFilter()''' 5203 return str() 5204 def selectNameFilter(self, filter): 5205 '''void QFileDialog.selectNameFilter(str filter)''' 5206 def nameFilters(self): 5207 '''list-of-str QFileDialog.nameFilters()''' 5208 return [str()] 5209 def setNameFilters(self, filters): 5210 '''void QFileDialog.setNameFilters(list-of-str filters)''' 5211 def setNameFilter(self, filter): 5212 '''void QFileDialog.setNameFilter(str filter)''' 5213 def proxyModel(self): 5214 '''QAbstractProxyModel QFileDialog.proxyModel()''' 5215 return QAbstractProxyModel() 5216 def setProxyModel(self, model): 5217 '''void QFileDialog.setProxyModel(QAbstractProxyModel model)''' 5218 def restoreState(self, state): 5219 '''bool QFileDialog.restoreState(QByteArray state)''' 5220 return bool() 5221 def saveState(self): 5222 '''QByteArray QFileDialog.saveState()''' 5223 return QByteArray() 5224 def sidebarUrls(self): 5225 '''list-of-QUrl QFileDialog.sidebarUrls()''' 5226 return [QUrl()] 5227 def setSidebarUrls(self, urls): 5228 '''void QFileDialog.setSidebarUrls(list-of-QUrl urls)''' 5229 def changeEvent(self, e): 5230 '''void QFileDialog.changeEvent(QEvent e)''' 5231 def accept(self): 5232 '''void QFileDialog.accept()''' 5233 def done(self, result): 5234 '''void QFileDialog.done(int result)''' 5235 def getSaveFileName(self, parent = None, caption = None, directory = None, filter = None, initialFilter = None, options = 0): 5236 '''static (str, str) QFileDialog.getSaveFileName(QWidget parent = None, str caption = '', str directory = '', str filter = '', str initialFilter = '', QFileDialog.Options options = 0)''' 5237 return (str, str)() 5238 def getOpenFileNames(self, parent = None, caption = None, directory = None, filter = None, initialFilter = None, options = 0): 5239 '''static (list-of-str, str) QFileDialog.getOpenFileNames(QWidget parent = None, str caption = '', str directory = '', str filter = '', str initialFilter = '', QFileDialog.Options options = 0)''' 5240 return (list-of-str, str)() 5241 def getOpenFileName(self, parent = None, caption = None, directory = None, filter = None, initialFilter = None, options = 0): 5242 '''static (str, str) QFileDialog.getOpenFileName(QWidget parent = None, str caption = '', str directory = '', str filter = '', str initialFilter = '', QFileDialog.Options options = 0)''' 5243 return (str, str)() 5244 def getExistingDirectory(self, parent = None, caption = None, directory = None, options = None): 5245 '''static str QFileDialog.getExistingDirectory(QWidget parent = None, str caption = '', str directory = '', QFileDialog.Options options = QFileDialog.ShowDirsOnly)''' 5246 return str() 5247 fileSelected = pyqtSignal() # void fileSelected(const QStringamp;) - signal 5248 filterSelected = pyqtSignal() # void filterSelected(const QStringamp;) - signal 5249 filesSelected = pyqtSignal() # void filesSelected(const QStringListamp;) - signal 5250 directoryEntered = pyqtSignal() # void directoryEntered(const QStringamp;) - signal 5251 currentChanged = pyqtSignal() # void currentChanged(const QStringamp;) - signal 5252 def labelText(self, label): 5253 '''str QFileDialog.labelText(QFileDialog.DialogLabel label)''' 5254 return str() 5255 def setLabelText(self, label, text): 5256 '''void QFileDialog.setLabelText(QFileDialog.DialogLabel label, str text)''' 5257 def iconProvider(self): 5258 '''QFileIconProvider QFileDialog.iconProvider()''' 5259 return QFileIconProvider() 5260 def setIconProvider(self, provider): 5261 '''void QFileDialog.setIconProvider(QFileIconProvider provider)''' 5262 def itemDelegate(self): 5263 '''QAbstractItemDelegate QFileDialog.itemDelegate()''' 5264 return QAbstractItemDelegate() 5265 def setItemDelegate(self, delegate): 5266 '''void QFileDialog.setItemDelegate(QAbstractItemDelegate delegate)''' 5267 def history(self): 5268 '''list-of-str QFileDialog.history()''' 5269 return [str()] 5270 def setHistory(self, paths): 5271 '''void QFileDialog.setHistory(list-of-str paths)''' 5272 def defaultSuffix(self): 5273 '''str QFileDialog.defaultSuffix()''' 5274 return str() 5275 def setDefaultSuffix(self, suffix): 5276 '''void QFileDialog.setDefaultSuffix(str suffix)''' 5277 def acceptMode(self): 5278 '''QFileDialog.AcceptMode QFileDialog.acceptMode()''' 5279 return QFileDialog.AcceptMode() 5280 def setAcceptMode(self, mode): 5281 '''void QFileDialog.setAcceptMode(QFileDialog.AcceptMode mode)''' 5282 def fileMode(self): 5283 '''QFileDialog.FileMode QFileDialog.fileMode()''' 5284 return QFileDialog.FileMode() 5285 def setFileMode(self, mode): 5286 '''void QFileDialog.setFileMode(QFileDialog.FileMode mode)''' 5287 def viewMode(self): 5288 '''QFileDialog.ViewMode QFileDialog.viewMode()''' 5289 return QFileDialog.ViewMode() 5290 def setViewMode(self, mode): 5291 '''void QFileDialog.setViewMode(QFileDialog.ViewMode mode)''' 5292 def selectedFiles(self): 5293 '''list-of-str QFileDialog.selectedFiles()''' 5294 return [str()] 5295 def selectFile(self, filename): 5296 '''void QFileDialog.selectFile(str filename)''' 5297 def directory(self): 5298 '''QDir QFileDialog.directory()''' 5299 return QDir() 5300 def setDirectory(self, directory): 5301 '''void QFileDialog.setDirectory(str directory)''' 5302 def setDirectory(self, adirectory): 5303 '''void QFileDialog.setDirectory(QDir adirectory)''' 5304 class Options(): 5305 """""" 5306 def __init__(self): 5307 '''QFileDialog.Options QFileDialog.Options.__init__()''' 5308 return QFileDialog.Options() 5309 def __init__(self): 5310 '''int QFileDialog.Options.__init__()''' 5311 return int() 5312 def __init__(self): 5313 '''void QFileDialog.Options.__init__()''' 5314 def __bool__(self): 5315 '''int QFileDialog.Options.__bool__()''' 5316 return int() 5317 def __ne__(self, f): 5318 '''bool QFileDialog.Options.__ne__(QFileDialog.Options f)''' 5319 return bool() 5320 def __eq__(self, f): 5321 '''bool QFileDialog.Options.__eq__(QFileDialog.Options f)''' 5322 return bool() 5323 def __invert__(self): 5324 '''QFileDialog.Options QFileDialog.Options.__invert__()''' 5325 return QFileDialog.Options() 5326 def __and__(self, mask): 5327 '''QFileDialog.Options QFileDialog.Options.__and__(int mask)''' 5328 return QFileDialog.Options() 5329 def __xor__(self, f): 5330 '''QFileDialog.Options QFileDialog.Options.__xor__(QFileDialog.Options f)''' 5331 return QFileDialog.Options() 5332 def __xor__(self, f): 5333 '''QFileDialog.Options QFileDialog.Options.__xor__(int f)''' 5334 return QFileDialog.Options() 5335 def __or__(self, f): 5336 '''QFileDialog.Options QFileDialog.Options.__or__(QFileDialog.Options f)''' 5337 return QFileDialog.Options() 5338 def __or__(self, f): 5339 '''QFileDialog.Options QFileDialog.Options.__or__(int f)''' 5340 return QFileDialog.Options() 5341 def __int__(self): 5342 '''int QFileDialog.Options.__int__()''' 5343 return int() 5344 def __ixor__(self, f): 5345 '''QFileDialog.Options QFileDialog.Options.__ixor__(QFileDialog.Options f)''' 5346 return QFileDialog.Options() 5347 def __ior__(self, f): 5348 '''QFileDialog.Options QFileDialog.Options.__ior__(QFileDialog.Options f)''' 5349 return QFileDialog.Options() 5350 def __iand__(self, mask): 5351 '''QFileDialog.Options QFileDialog.Options.__iand__(int mask)''' 5352 return QFileDialog.Options() 5353 5354 5355 class QFileIconProvider(): 5356 """""" 5357 # Enum QFileIconProvider.Option 5358 DontUseCustomDirectoryIcons = 0 5359 5360 # Enum QFileIconProvider.IconType 5361 Computer = 0 5362 Desktop = 0 5363 Trashcan = 0 5364 Network = 0 5365 Drive = 0 5366 Folder = 0 5367 File = 0 5368 5369 def __init__(self): 5370 '''void QFileIconProvider.__init__()''' 5371 def options(self): 5372 '''QFileIconProvider.Options QFileIconProvider.options()''' 5373 return QFileIconProvider.Options() 5374 def setOptions(self, options): 5375 '''void QFileIconProvider.setOptions(QFileIconProvider.Options options)''' 5376 def type(self, info): 5377 '''str QFileIconProvider.type(QFileInfo info)''' 5378 return str() 5379 def icon(self, type): 5380 '''QIcon QFileIconProvider.icon(QFileIconProvider.IconType type)''' 5381 return QIcon() 5382 def icon(self, info): 5383 '''QIcon QFileIconProvider.icon(QFileInfo info)''' 5384 return QIcon() 5385 class Options(): 5386 """""" 5387 def __init__(self): 5388 '''QFileIconProvider.Options QFileIconProvider.Options.__init__()''' 5389 return QFileIconProvider.Options() 5390 def __init__(self): 5391 '''int QFileIconProvider.Options.__init__()''' 5392 return int() 5393 def __init__(self): 5394 '''void QFileIconProvider.Options.__init__()''' 5395 def __bool__(self): 5396 '''int QFileIconProvider.Options.__bool__()''' 5397 return int() 5398 def __ne__(self, f): 5399 '''bool QFileIconProvider.Options.__ne__(QFileIconProvider.Options f)''' 5400 return bool() 5401 def __eq__(self, f): 5402 '''bool QFileIconProvider.Options.__eq__(QFileIconProvider.Options f)''' 5403 return bool() 5404 def __invert__(self): 5405 '''QFileIconProvider.Options QFileIconProvider.Options.__invert__()''' 5406 return QFileIconProvider.Options() 5407 def __and__(self, mask): 5408 '''QFileIconProvider.Options QFileIconProvider.Options.__and__(int mask)''' 5409 return QFileIconProvider.Options() 5410 def __xor__(self, f): 5411 '''QFileIconProvider.Options QFileIconProvider.Options.__xor__(QFileIconProvider.Options f)''' 5412 return QFileIconProvider.Options() 5413 def __xor__(self, f): 5414 '''QFileIconProvider.Options QFileIconProvider.Options.__xor__(int f)''' 5415 return QFileIconProvider.Options() 5416 def __or__(self, f): 5417 '''QFileIconProvider.Options QFileIconProvider.Options.__or__(QFileIconProvider.Options f)''' 5418 return QFileIconProvider.Options() 5419 def __or__(self, f): 5420 '''QFileIconProvider.Options QFileIconProvider.Options.__or__(int f)''' 5421 return QFileIconProvider.Options() 5422 def __int__(self): 5423 '''int QFileIconProvider.Options.__int__()''' 5424 return int() 5425 def __ixor__(self, f): 5426 '''QFileIconProvider.Options QFileIconProvider.Options.__ixor__(QFileIconProvider.Options f)''' 5427 return QFileIconProvider.Options() 5428 def __ior__(self, f): 5429 '''QFileIconProvider.Options QFileIconProvider.Options.__ior__(QFileIconProvider.Options f)''' 5430 return QFileIconProvider.Options() 5431 def __iand__(self, mask): 5432 '''QFileIconProvider.Options QFileIconProvider.Options.__iand__(int mask)''' 5433 return QFileIconProvider.Options() 5434 5435 5436 class QFileSystemModel(QAbstractItemModel): 5437 """""" 5438 # Enum QFileSystemModel.Roles 5439 FileIconRole = 0 5440 FilePathRole = 0 5441 FileNameRole = 0 5442 FilePermissions = 0 5443 5444 def __init__(self, parent = None): 5445 '''void QFileSystemModel.__init__(QObject parent = None)''' 5446 def timerEvent(self, event): 5447 '''void QFileSystemModel.timerEvent(QTimerEvent event)''' 5448 def event(self, event): 5449 '''bool QFileSystemModel.event(QEvent event)''' 5450 return bool() 5451 directoryLoaded = pyqtSignal() # void directoryLoaded(const QStringamp;) - signal 5452 rootPathChanged = pyqtSignal() # void rootPathChanged(const QStringamp;) - signal 5453 fileRenamed = pyqtSignal() # void fileRenamed(const QStringamp;,const QStringamp;,const QStringamp;) - signal 5454 def remove(self, index): 5455 '''bool QFileSystemModel.remove(QModelIndex index)''' 5456 return bool() 5457 def fileInfo(self, aindex): 5458 '''QFileInfo QFileSystemModel.fileInfo(QModelIndex aindex)''' 5459 return QFileInfo() 5460 def fileIcon(self, aindex): 5461 '''QIcon QFileSystemModel.fileIcon(QModelIndex aindex)''' 5462 return QIcon() 5463 def fileName(self, aindex): 5464 '''str QFileSystemModel.fileName(QModelIndex aindex)''' 5465 return str() 5466 def rmdir(self, index): 5467 '''bool QFileSystemModel.rmdir(QModelIndex index)''' 5468 return bool() 5469 def permissions(self, index): 5470 '''QFileDevice.Permissions QFileSystemModel.permissions(QModelIndex index)''' 5471 return QFileDevice.Permissions() 5472 def mkdir(self, parent, name): 5473 '''QModelIndex QFileSystemModel.mkdir(QModelIndex parent, str name)''' 5474 return QModelIndex() 5475 def lastModified(self, index): 5476 '''QDateTime QFileSystemModel.lastModified(QModelIndex index)''' 5477 return QDateTime() 5478 def type(self, index): 5479 '''str QFileSystemModel.type(QModelIndex index)''' 5480 return str() 5481 def size(self, index): 5482 '''int QFileSystemModel.size(QModelIndex index)''' 5483 return int() 5484 def isDir(self, index): 5485 '''bool QFileSystemModel.isDir(QModelIndex index)''' 5486 return bool() 5487 def filePath(self, index): 5488 '''str QFileSystemModel.filePath(QModelIndex index)''' 5489 return str() 5490 def nameFilters(self): 5491 '''list-of-str QFileSystemModel.nameFilters()''' 5492 return [str()] 5493 def setNameFilters(self, filters): 5494 '''void QFileSystemModel.setNameFilters(list-of-str filters)''' 5495 def nameFilterDisables(self): 5496 '''bool QFileSystemModel.nameFilterDisables()''' 5497 return bool() 5498 def setNameFilterDisables(self, enable): 5499 '''void QFileSystemModel.setNameFilterDisables(bool enable)''' 5500 def isReadOnly(self): 5501 '''bool QFileSystemModel.isReadOnly()''' 5502 return bool() 5503 def setReadOnly(self, enable): 5504 '''void QFileSystemModel.setReadOnly(bool enable)''' 5505 def resolveSymlinks(self): 5506 '''bool QFileSystemModel.resolveSymlinks()''' 5507 return bool() 5508 def setResolveSymlinks(self, enable): 5509 '''void QFileSystemModel.setResolveSymlinks(bool enable)''' 5510 def filter(self): 5511 '''QDir.Filters QFileSystemModel.filter()''' 5512 return QDir.Filters() 5513 def setFilter(self, filters): 5514 '''void QFileSystemModel.setFilter(QDir.Filters filters)''' 5515 def iconProvider(self): 5516 '''QFileIconProvider QFileSystemModel.iconProvider()''' 5517 return QFileIconProvider() 5518 def setIconProvider(self, provider): 5519 '''void QFileSystemModel.setIconProvider(QFileIconProvider provider)''' 5520 def rootDirectory(self): 5521 '''QDir QFileSystemModel.rootDirectory()''' 5522 return QDir() 5523 def rootPath(self): 5524 '''str QFileSystemModel.rootPath()''' 5525 return str() 5526 def setRootPath(self, path): 5527 '''QModelIndex QFileSystemModel.setRootPath(str path)''' 5528 return QModelIndex() 5529 def supportedDropActions(self): 5530 '''Qt.DropActions QFileSystemModel.supportedDropActions()''' 5531 return Qt.DropActions() 5532 def dropMimeData(self, data, action, row, column, parent): 5533 '''bool QFileSystemModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 5534 return bool() 5535 def mimeData(self, indexes): 5536 '''QMimeData QFileSystemModel.mimeData(list-of-QModelIndex indexes)''' 5537 return QMimeData() 5538 def mimeTypes(self): 5539 '''list-of-str QFileSystemModel.mimeTypes()''' 5540 return [str()] 5541 def sort(self, column, order = None): 5542 '''void QFileSystemModel.sort(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 5543 def flags(self, index): 5544 '''Qt.ItemFlags QFileSystemModel.flags(QModelIndex index)''' 5545 return Qt.ItemFlags() 5546 def headerData(self, section, orientation, role = None): 5547 '''QVariant QFileSystemModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 5548 return QVariant() 5549 def setData(self, idx, value, role = None): 5550 '''bool QFileSystemModel.setData(QModelIndex idx, QVariant value, int role = Qt.EditRole)''' 5551 return bool() 5552 def data(self, index, role = None): 5553 '''QVariant QFileSystemModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 5554 return QVariant() 5555 def myComputer(self, role = None): 5556 '''QVariant QFileSystemModel.myComputer(int role = Qt.DisplayRole)''' 5557 return QVariant() 5558 def columnCount(self, parent = QModelIndex()): 5559 '''int QFileSystemModel.columnCount(QModelIndex parent = QModelIndex())''' 5560 return int() 5561 def rowCount(self, parent = QModelIndex()): 5562 '''int QFileSystemModel.rowCount(QModelIndex parent = QModelIndex())''' 5563 return int() 5564 def fetchMore(self, parent): 5565 '''void QFileSystemModel.fetchMore(QModelIndex parent)''' 5566 def canFetchMore(self, parent): 5567 '''bool QFileSystemModel.canFetchMore(QModelIndex parent)''' 5568 return bool() 5569 def hasChildren(self, parent = QModelIndex()): 5570 '''bool QFileSystemModel.hasChildren(QModelIndex parent = QModelIndex())''' 5571 return bool() 5572 def parent(self, child): 5573 '''QModelIndex QFileSystemModel.parent(QModelIndex child)''' 5574 return QModelIndex() 5575 def index(self, row, column, parent = QModelIndex()): 5576 '''QModelIndex QFileSystemModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 5577 return QModelIndex() 5578 def index(self, path, column = 0): 5579 '''QModelIndex QFileSystemModel.index(str path, int column = 0)''' 5580 return QModelIndex() 5581 5582 5583 class QFocusFrame(QWidget): 5584 """""" 5585 def __init__(self, parent = None): 5586 '''void QFocusFrame.__init__(QWidget parent = None)''' 5587 def paintEvent(self): 5588 '''QPaintEvent QFocusFrame.paintEvent()''' 5589 return QPaintEvent() 5590 def event(self, e): 5591 '''bool QFocusFrame.event(QEvent e)''' 5592 return bool() 5593 def eventFilter(self): 5594 '''QEvent QFocusFrame.eventFilter()''' 5595 return QEvent() 5596 def initStyleOption(self, option): 5597 '''void QFocusFrame.initStyleOption(QStyleOption option)''' 5598 def widget(self): 5599 '''QWidget QFocusFrame.widget()''' 5600 return QWidget() 5601 def setWidget(self, widget): 5602 '''void QFocusFrame.setWidget(QWidget widget)''' 5603 5604 5605 class QFontComboBox(QComboBox): 5606 """""" 5607 # Enum QFontComboBox.FontFilter 5608 AllFonts = 0 5609 ScalableFonts = 0 5610 NonScalableFonts = 0 5611 MonospacedFonts = 0 5612 ProportionalFonts = 0 5613 5614 def __init__(self, parent = None): 5615 '''void QFontComboBox.__init__(QWidget parent = None)''' 5616 def event(self, e): 5617 '''bool QFontComboBox.event(QEvent e)''' 5618 return bool() 5619 currentFontChanged = pyqtSignal() # void currentFontChanged(const QFontamp;) - signal 5620 def setCurrentFont(self, f): 5621 '''void QFontComboBox.setCurrentFont(QFont f)''' 5622 def sizeHint(self): 5623 '''QSize QFontComboBox.sizeHint()''' 5624 return QSize() 5625 def currentFont(self): 5626 '''QFont QFontComboBox.currentFont()''' 5627 return QFont() 5628 def setFontFilters(self, filters): 5629 '''void QFontComboBox.setFontFilters(QFontComboBox.FontFilters filters)''' 5630 def writingSystem(self): 5631 '''QFontDatabase.WritingSystem QFontComboBox.writingSystem()''' 5632 return QFontDatabase.WritingSystem() 5633 def setWritingSystem(self): 5634 '''QFontDatabase.WritingSystem QFontComboBox.setWritingSystem()''' 5635 return QFontDatabase.WritingSystem() 5636 def fontFilters(self): 5637 '''QFontComboBox.FontFilters QFontComboBox.fontFilters()''' 5638 return QFontComboBox.FontFilters() 5639 class FontFilters(): 5640 """""" 5641 def __init__(self): 5642 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__init__()''' 5643 return QFontComboBox.FontFilters() 5644 def __init__(self): 5645 '''int QFontComboBox.FontFilters.__init__()''' 5646 return int() 5647 def __init__(self): 5648 '''void QFontComboBox.FontFilters.__init__()''' 5649 def __bool__(self): 5650 '''int QFontComboBox.FontFilters.__bool__()''' 5651 return int() 5652 def __ne__(self, f): 5653 '''bool QFontComboBox.FontFilters.__ne__(QFontComboBox.FontFilters f)''' 5654 return bool() 5655 def __eq__(self, f): 5656 '''bool QFontComboBox.FontFilters.__eq__(QFontComboBox.FontFilters f)''' 5657 return bool() 5658 def __invert__(self): 5659 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__invert__()''' 5660 return QFontComboBox.FontFilters() 5661 def __and__(self, mask): 5662 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__and__(int mask)''' 5663 return QFontComboBox.FontFilters() 5664 def __xor__(self, f): 5665 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__xor__(QFontComboBox.FontFilters f)''' 5666 return QFontComboBox.FontFilters() 5667 def __xor__(self, f): 5668 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__xor__(int f)''' 5669 return QFontComboBox.FontFilters() 5670 def __or__(self, f): 5671 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__or__(QFontComboBox.FontFilters f)''' 5672 return QFontComboBox.FontFilters() 5673 def __or__(self, f): 5674 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__or__(int f)''' 5675 return QFontComboBox.FontFilters() 5676 def __int__(self): 5677 '''int QFontComboBox.FontFilters.__int__()''' 5678 return int() 5679 def __ixor__(self, f): 5680 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__ixor__(QFontComboBox.FontFilters f)''' 5681 return QFontComboBox.FontFilters() 5682 def __ior__(self, f): 5683 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__ior__(QFontComboBox.FontFilters f)''' 5684 return QFontComboBox.FontFilters() 5685 def __iand__(self, mask): 5686 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__iand__(int mask)''' 5687 return QFontComboBox.FontFilters() 5688 5689 5690 class QFontDialog(QDialog): 5691 """""" 5692 # Enum QFontDialog.FontDialogOption 5693 NoButtons = 0 5694 DontUseNativeDialog = 0 5695 ScalableFonts = 0 5696 NonScalableFonts = 0 5697 MonospacedFonts = 0 5698 ProportionalFonts = 0 5699 5700 def __init__(self, parent = None): 5701 '''void QFontDialog.__init__(QWidget parent = None)''' 5702 def __init__(self, initial, parent = None): 5703 '''void QFontDialog.__init__(QFont initial, QWidget parent = None)''' 5704 fontSelected = pyqtSignal() # void fontSelected(const QFontamp;) - signal 5705 currentFontChanged = pyqtSignal() # void currentFontChanged(const QFontamp;) - signal 5706 def setVisible(self, visible): 5707 '''void QFontDialog.setVisible(bool visible)''' 5708 def open(self): 5709 '''void QFontDialog.open()''' 5710 def open(self, slot): 5711 '''void QFontDialog.open(slot slot)''' 5712 def options(self): 5713 '''QFontDialog.FontDialogOptions QFontDialog.options()''' 5714 return QFontDialog.FontDialogOptions() 5715 def setOptions(self, options): 5716 '''void QFontDialog.setOptions(QFontDialog.FontDialogOptions options)''' 5717 def testOption(self, option): 5718 '''bool QFontDialog.testOption(QFontDialog.FontDialogOption option)''' 5719 return bool() 5720 def setOption(self, option, on = True): 5721 '''void QFontDialog.setOption(QFontDialog.FontDialogOption option, bool on = True)''' 5722 def selectedFont(self): 5723 '''QFont QFontDialog.selectedFont()''' 5724 return QFont() 5725 def currentFont(self): 5726 '''QFont QFontDialog.currentFont()''' 5727 return QFont() 5728 def setCurrentFont(self, font): 5729 '''void QFontDialog.setCurrentFont(QFont font)''' 5730 def eventFilter(self, object, event): 5731 '''bool QFontDialog.eventFilter(QObject object, QEvent event)''' 5732 return bool() 5733 def done(self, result): 5734 '''void QFontDialog.done(int result)''' 5735 def changeEvent(self, e): 5736 '''void QFontDialog.changeEvent(QEvent e)''' 5737 def getFont(self, ok, initial, parent = None, caption = str(), options = 0): 5738 '''static QFont QFontDialog.getFont(bool ok, QFont initial, QWidget parent = None, str caption = str(), QFontDialog.FontDialogOptions options = 0)''' 5739 return QFont() 5740 def getFont(self, ok, parent = None): 5741 '''static QFont QFontDialog.getFont(bool ok, QWidget parent = None)''' 5742 return QFont() 5743 class FontDialogOptions(): 5744 """""" 5745 def __init__(self): 5746 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__init__()''' 5747 return QFontDialog.FontDialogOptions() 5748 def __init__(self): 5749 '''int QFontDialog.FontDialogOptions.__init__()''' 5750 return int() 5751 def __init__(self): 5752 '''void QFontDialog.FontDialogOptions.__init__()''' 5753 def __bool__(self): 5754 '''int QFontDialog.FontDialogOptions.__bool__()''' 5755 return int() 5756 def __ne__(self, f): 5757 '''bool QFontDialog.FontDialogOptions.__ne__(QFontDialog.FontDialogOptions f)''' 5758 return bool() 5759 def __eq__(self, f): 5760 '''bool QFontDialog.FontDialogOptions.__eq__(QFontDialog.FontDialogOptions f)''' 5761 return bool() 5762 def __invert__(self): 5763 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__invert__()''' 5764 return QFontDialog.FontDialogOptions() 5765 def __and__(self, mask): 5766 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__and__(int mask)''' 5767 return QFontDialog.FontDialogOptions() 5768 def __xor__(self, f): 5769 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__xor__(QFontDialog.FontDialogOptions f)''' 5770 return QFontDialog.FontDialogOptions() 5771 def __xor__(self, f): 5772 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__xor__(int f)''' 5773 return QFontDialog.FontDialogOptions() 5774 def __or__(self, f): 5775 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__or__(QFontDialog.FontDialogOptions f)''' 5776 return QFontDialog.FontDialogOptions() 5777 def __or__(self, f): 5778 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__or__(int f)''' 5779 return QFontDialog.FontDialogOptions() 5780 def __int__(self): 5781 '''int QFontDialog.FontDialogOptions.__int__()''' 5782 return int() 5783 def __ixor__(self, f): 5784 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__ixor__(QFontDialog.FontDialogOptions f)''' 5785 return QFontDialog.FontDialogOptions() 5786 def __ior__(self, f): 5787 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__ior__(QFontDialog.FontDialogOptions f)''' 5788 return QFontDialog.FontDialogOptions() 5789 def __iand__(self, mask): 5790 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__iand__(int mask)''' 5791 return QFontDialog.FontDialogOptions() 5792 5793 5794 class QFormLayout(QLayout): 5795 """""" 5796 # Enum QFormLayout.ItemRole 5797 LabelRole = 0 5798 FieldRole = 0 5799 SpanningRole = 0 5800 5801 # Enum QFormLayout.RowWrapPolicy 5802 DontWrapRows = 0 5803 WrapLongRows = 0 5804 WrapAllRows = 0 5805 5806 # Enum QFormLayout.FieldGrowthPolicy 5807 FieldsStayAtSizeHint = 0 5808 ExpandingFieldsGrow = 0 5809 AllNonFixedFieldsGrow = 0 5810 5811 def __init__(self, parent = None): 5812 '''void QFormLayout.__init__(QWidget parent = None)''' 5813 def rowCount(self): 5814 '''int QFormLayout.rowCount()''' 5815 return int() 5816 def count(self): 5817 '''int QFormLayout.count()''' 5818 return int() 5819 def expandingDirections(self): 5820 '''Qt.Orientations QFormLayout.expandingDirections()''' 5821 return Qt.Orientations() 5822 def heightForWidth(self, width): 5823 '''int QFormLayout.heightForWidth(int width)''' 5824 return int() 5825 def hasHeightForWidth(self): 5826 '''bool QFormLayout.hasHeightForWidth()''' 5827 return bool() 5828 def invalidate(self): 5829 '''void QFormLayout.invalidate()''' 5830 def sizeHint(self): 5831 '''QSize QFormLayout.sizeHint()''' 5832 return QSize() 5833 def minimumSize(self): 5834 '''QSize QFormLayout.minimumSize()''' 5835 return QSize() 5836 def setGeometry(self, rect): 5837 '''void QFormLayout.setGeometry(QRect rect)''' 5838 def takeAt(self, index): 5839 '''QLayoutItem QFormLayout.takeAt(int index)''' 5840 return QLayoutItem() 5841 def addItem(self, item): 5842 '''void QFormLayout.addItem(QLayoutItem item)''' 5843 def labelForField(self, field): 5844 '''QWidget QFormLayout.labelForField(QWidget field)''' 5845 return QWidget() 5846 def labelForField(self, field): 5847 '''QWidget QFormLayout.labelForField(QLayout field)''' 5848 return QWidget() 5849 def getLayoutPosition(self, layout, rowPtr, rolePtr): 5850 '''void QFormLayout.getLayoutPosition(QLayout layout, int rowPtr, QFormLayout.ItemRole rolePtr)''' 5851 def getWidgetPosition(self, widget, rowPtr, rolePtr): 5852 '''void QFormLayout.getWidgetPosition(QWidget widget, int rowPtr, QFormLayout.ItemRole rolePtr)''' 5853 def getItemPosition(self, index, rowPtr, rolePtr): 5854 '''void QFormLayout.getItemPosition(int index, int rowPtr, QFormLayout.ItemRole rolePtr)''' 5855 def itemAt(self, row, role): 5856 '''QLayoutItem QFormLayout.itemAt(int row, QFormLayout.ItemRole role)''' 5857 return QLayoutItem() 5858 def itemAt(self, index): 5859 '''QLayoutItem QFormLayout.itemAt(int index)''' 5860 return QLayoutItem() 5861 def setLayout(self, row, role, layout): 5862 '''void QFormLayout.setLayout(int row, QFormLayout.ItemRole role, QLayout layout)''' 5863 def setWidget(self, row, role, widget): 5864 '''void QFormLayout.setWidget(int row, QFormLayout.ItemRole role, QWidget widget)''' 5865 def setItem(self, row, role, item): 5866 '''void QFormLayout.setItem(int row, QFormLayout.ItemRole role, QLayoutItem item)''' 5867 def insertRow(self, row, label, field): 5868 '''void QFormLayout.insertRow(int row, QWidget label, QWidget field)''' 5869 def insertRow(self, row, label, field): 5870 '''void QFormLayout.insertRow(int row, QWidget label, QLayout field)''' 5871 def insertRow(self, row, labelText, field): 5872 '''void QFormLayout.insertRow(int row, str labelText, QWidget field)''' 5873 def insertRow(self, row, labelText, field): 5874 '''void QFormLayout.insertRow(int row, str labelText, QLayout field)''' 5875 def insertRow(self, row, widget): 5876 '''void QFormLayout.insertRow(int row, QWidget widget)''' 5877 def insertRow(self, row, layout): 5878 '''void QFormLayout.insertRow(int row, QLayout layout)''' 5879 def addRow(self, label, field): 5880 '''void QFormLayout.addRow(QWidget label, QWidget field)''' 5881 def addRow(self, label, field): 5882 '''void QFormLayout.addRow(QWidget label, QLayout field)''' 5883 def addRow(self, labelText, field): 5884 '''void QFormLayout.addRow(str labelText, QWidget field)''' 5885 def addRow(self, labelText, field): 5886 '''void QFormLayout.addRow(str labelText, QLayout field)''' 5887 def addRow(self, widget): 5888 '''void QFormLayout.addRow(QWidget widget)''' 5889 def addRow(self, layout): 5890 '''void QFormLayout.addRow(QLayout layout)''' 5891 def setSpacing(self): 5892 '''int QFormLayout.setSpacing()''' 5893 return int() 5894 def spacing(self): 5895 '''int QFormLayout.spacing()''' 5896 return int() 5897 def verticalSpacing(self): 5898 '''int QFormLayout.verticalSpacing()''' 5899 return int() 5900 def setVerticalSpacing(self, spacing): 5901 '''void QFormLayout.setVerticalSpacing(int spacing)''' 5902 def horizontalSpacing(self): 5903 '''int QFormLayout.horizontalSpacing()''' 5904 return int() 5905 def setHorizontalSpacing(self, spacing): 5906 '''void QFormLayout.setHorizontalSpacing(int spacing)''' 5907 def formAlignment(self): 5908 '''Qt.Alignment QFormLayout.formAlignment()''' 5909 return Qt.Alignment() 5910 def setFormAlignment(self, alignment): 5911 '''void QFormLayout.setFormAlignment(Qt.Alignment alignment)''' 5912 def labelAlignment(self): 5913 '''Qt.Alignment QFormLayout.labelAlignment()''' 5914 return Qt.Alignment() 5915 def setLabelAlignment(self, alignment): 5916 '''void QFormLayout.setLabelAlignment(Qt.Alignment alignment)''' 5917 def rowWrapPolicy(self): 5918 '''QFormLayout.RowWrapPolicy QFormLayout.rowWrapPolicy()''' 5919 return QFormLayout.RowWrapPolicy() 5920 def setRowWrapPolicy(self, policy): 5921 '''void QFormLayout.setRowWrapPolicy(QFormLayout.RowWrapPolicy policy)''' 5922 def fieldGrowthPolicy(self): 5923 '''QFormLayout.FieldGrowthPolicy QFormLayout.fieldGrowthPolicy()''' 5924 return QFormLayout.FieldGrowthPolicy() 5925 def setFieldGrowthPolicy(self, policy): 5926 '''void QFormLayout.setFieldGrowthPolicy(QFormLayout.FieldGrowthPolicy policy)''' 5927 5928 5929 class QGesture(QObject): 5930 """""" 5931 # Enum QGesture.GestureCancelPolicy 5932 CancelNone = 0 5933 CancelAllInContext = 0 5934 5935 def __init__(self, parent = None): 5936 '''void QGesture.__init__(QObject parent = None)''' 5937 def gestureCancelPolicy(self): 5938 '''QGesture.GestureCancelPolicy QGesture.gestureCancelPolicy()''' 5939 return QGesture.GestureCancelPolicy() 5940 def setGestureCancelPolicy(self, policy): 5941 '''void QGesture.setGestureCancelPolicy(QGesture.GestureCancelPolicy policy)''' 5942 def unsetHotSpot(self): 5943 '''void QGesture.unsetHotSpot()''' 5944 def hasHotSpot(self): 5945 '''bool QGesture.hasHotSpot()''' 5946 return bool() 5947 def setHotSpot(self, value): 5948 '''void QGesture.setHotSpot(QPointF value)''' 5949 def hotSpot(self): 5950 '''QPointF QGesture.hotSpot()''' 5951 return QPointF() 5952 def state(self): 5953 '''Qt.GestureState QGesture.state()''' 5954 return Qt.GestureState() 5955 def gestureType(self): 5956 '''Qt.GestureType QGesture.gestureType()''' 5957 return Qt.GestureType() 5958 5959 5960 class QPanGesture(QGesture): 5961 """""" 5962 def __init__(self, parent = None): 5963 '''void QPanGesture.__init__(QObject parent = None)''' 5964 def setAcceleration(self, value): 5965 '''void QPanGesture.setAcceleration(float value)''' 5966 def setOffset(self, value): 5967 '''void QPanGesture.setOffset(QPointF value)''' 5968 def setLastOffset(self, value): 5969 '''void QPanGesture.setLastOffset(QPointF value)''' 5970 def acceleration(self): 5971 '''float QPanGesture.acceleration()''' 5972 return float() 5973 def delta(self): 5974 '''QPointF QPanGesture.delta()''' 5975 return QPointF() 5976 def offset(self): 5977 '''QPointF QPanGesture.offset()''' 5978 return QPointF() 5979 def lastOffset(self): 5980 '''QPointF QPanGesture.lastOffset()''' 5981 return QPointF() 5982 5983 5984 class QPinchGesture(QGesture): 5985 """""" 5986 # Enum QPinchGesture.ChangeFlag 5987 ScaleFactorChanged = 0 5988 RotationAngleChanged = 0 5989 CenterPointChanged = 0 5990 5991 def __init__(self, parent = None): 5992 '''void QPinchGesture.__init__(QObject parent = None)''' 5993 def setRotationAngle(self, value): 5994 '''void QPinchGesture.setRotationAngle(float value)''' 5995 def setLastRotationAngle(self, value): 5996 '''void QPinchGesture.setLastRotationAngle(float value)''' 5997 def setTotalRotationAngle(self, value): 5998 '''void QPinchGesture.setTotalRotationAngle(float value)''' 5999 def rotationAngle(self): 6000 '''float QPinchGesture.rotationAngle()''' 6001 return float() 6002 def lastRotationAngle(self): 6003 '''float QPinchGesture.lastRotationAngle()''' 6004 return float() 6005 def totalRotationAngle(self): 6006 '''float QPinchGesture.totalRotationAngle()''' 6007 return float() 6008 def setScaleFactor(self, value): 6009 '''void QPinchGesture.setScaleFactor(float value)''' 6010 def setLastScaleFactor(self, value): 6011 '''void QPinchGesture.setLastScaleFactor(float value)''' 6012 def setTotalScaleFactor(self, value): 6013 '''void QPinchGesture.setTotalScaleFactor(float value)''' 6014 def scaleFactor(self): 6015 '''float QPinchGesture.scaleFactor()''' 6016 return float() 6017 def lastScaleFactor(self): 6018 '''float QPinchGesture.lastScaleFactor()''' 6019 return float() 6020 def totalScaleFactor(self): 6021 '''float QPinchGesture.totalScaleFactor()''' 6022 return float() 6023 def setCenterPoint(self, value): 6024 '''void QPinchGesture.setCenterPoint(QPointF value)''' 6025 def setLastCenterPoint(self, value): 6026 '''void QPinchGesture.setLastCenterPoint(QPointF value)''' 6027 def setStartCenterPoint(self, value): 6028 '''void QPinchGesture.setStartCenterPoint(QPointF value)''' 6029 def centerPoint(self): 6030 '''QPointF QPinchGesture.centerPoint()''' 6031 return QPointF() 6032 def lastCenterPoint(self): 6033 '''QPointF QPinchGesture.lastCenterPoint()''' 6034 return QPointF() 6035 def startCenterPoint(self): 6036 '''QPointF QPinchGesture.startCenterPoint()''' 6037 return QPointF() 6038 def setChangeFlags(self, value): 6039 '''void QPinchGesture.setChangeFlags(QPinchGesture.ChangeFlags value)''' 6040 def changeFlags(self): 6041 '''QPinchGesture.ChangeFlags QPinchGesture.changeFlags()''' 6042 return QPinchGesture.ChangeFlags() 6043 def setTotalChangeFlags(self, value): 6044 '''void QPinchGesture.setTotalChangeFlags(QPinchGesture.ChangeFlags value)''' 6045 def totalChangeFlags(self): 6046 '''QPinchGesture.ChangeFlags QPinchGesture.totalChangeFlags()''' 6047 return QPinchGesture.ChangeFlags() 6048 class ChangeFlags(): 6049 """""" 6050 def __init__(self): 6051 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__init__()''' 6052 return QPinchGesture.ChangeFlags() 6053 def __init__(self): 6054 '''int QPinchGesture.ChangeFlags.__init__()''' 6055 return int() 6056 def __init__(self): 6057 '''void QPinchGesture.ChangeFlags.__init__()''' 6058 def __bool__(self): 6059 '''int QPinchGesture.ChangeFlags.__bool__()''' 6060 return int() 6061 def __ne__(self, f): 6062 '''bool QPinchGesture.ChangeFlags.__ne__(QPinchGesture.ChangeFlags f)''' 6063 return bool() 6064 def __eq__(self, f): 6065 '''bool QPinchGesture.ChangeFlags.__eq__(QPinchGesture.ChangeFlags f)''' 6066 return bool() 6067 def __invert__(self): 6068 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__invert__()''' 6069 return QPinchGesture.ChangeFlags() 6070 def __and__(self, mask): 6071 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__and__(int mask)''' 6072 return QPinchGesture.ChangeFlags() 6073 def __xor__(self, f): 6074 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__xor__(QPinchGesture.ChangeFlags f)''' 6075 return QPinchGesture.ChangeFlags() 6076 def __xor__(self, f): 6077 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__xor__(int f)''' 6078 return QPinchGesture.ChangeFlags() 6079 def __or__(self, f): 6080 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__or__(QPinchGesture.ChangeFlags f)''' 6081 return QPinchGesture.ChangeFlags() 6082 def __or__(self, f): 6083 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__or__(int f)''' 6084 return QPinchGesture.ChangeFlags() 6085 def __int__(self): 6086 '''int QPinchGesture.ChangeFlags.__int__()''' 6087 return int() 6088 def __ixor__(self, f): 6089 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__ixor__(QPinchGesture.ChangeFlags f)''' 6090 return QPinchGesture.ChangeFlags() 6091 def __ior__(self, f): 6092 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__ior__(QPinchGesture.ChangeFlags f)''' 6093 return QPinchGesture.ChangeFlags() 6094 def __iand__(self, mask): 6095 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__iand__(int mask)''' 6096 return QPinchGesture.ChangeFlags() 6097 6098 6099 class QSwipeGesture(QGesture): 6100 """""" 6101 # Enum QSwipeGesture.SwipeDirection 6102 NoDirection = 0 6103 Left = 0 6104 Right = 0 6105 Up = 0 6106 Down = 0 6107 6108 def __init__(self, parent = None): 6109 '''void QSwipeGesture.__init__(QObject parent = None)''' 6110 def setSwipeAngle(self, value): 6111 '''void QSwipeGesture.setSwipeAngle(float value)''' 6112 def swipeAngle(self): 6113 '''float QSwipeGesture.swipeAngle()''' 6114 return float() 6115 def verticalDirection(self): 6116 '''QSwipeGesture.SwipeDirection QSwipeGesture.verticalDirection()''' 6117 return QSwipeGesture.SwipeDirection() 6118 def horizontalDirection(self): 6119 '''QSwipeGesture.SwipeDirection QSwipeGesture.horizontalDirection()''' 6120 return QSwipeGesture.SwipeDirection() 6121 6122 6123 class QTapGesture(QGesture): 6124 """""" 6125 def __init__(self, parent = None): 6126 '''void QTapGesture.__init__(QObject parent = None)''' 6127 def setPosition(self, pos): 6128 '''void QTapGesture.setPosition(QPointF pos)''' 6129 def position(self): 6130 '''QPointF QTapGesture.position()''' 6131 return QPointF() 6132 6133 6134 class QTapAndHoldGesture(QGesture): 6135 """""" 6136 def __init__(self, parent = None): 6137 '''void QTapAndHoldGesture.__init__(QObject parent = None)''' 6138 def timeout(self): 6139 '''static int QTapAndHoldGesture.timeout()''' 6140 return int() 6141 def setTimeout(self, msecs): 6142 '''static void QTapAndHoldGesture.setTimeout(int msecs)''' 6143 def setPosition(self, pos): 6144 '''void QTapAndHoldGesture.setPosition(QPointF pos)''' 6145 def position(self): 6146 '''QPointF QTapAndHoldGesture.position()''' 6147 return QPointF() 6148 6149 6150 class QGestureEvent(QEvent): 6151 """""" 6152 def __init__(self, gestures): 6153 '''void QGestureEvent.__init__(list-of-QGesture gestures)''' 6154 def __init__(self): 6155 '''QGestureEvent QGestureEvent.__init__()''' 6156 return QGestureEvent() 6157 def mapToGraphicsScene(self, gesturePoint): 6158 '''QPointF QGestureEvent.mapToGraphicsScene(QPointF gesturePoint)''' 6159 return QPointF() 6160 def widget(self): 6161 '''QWidget QGestureEvent.widget()''' 6162 return QWidget() 6163 def ignore(self): 6164 '''void QGestureEvent.ignore()''' 6165 def ignore(self): 6166 '''QGesture QGestureEvent.ignore()''' 6167 return QGesture() 6168 def ignore(self): 6169 '''Qt.GestureType QGestureEvent.ignore()''' 6170 return Qt.GestureType() 6171 def accept(self): 6172 '''void QGestureEvent.accept()''' 6173 def accept(self): 6174 '''QGesture QGestureEvent.accept()''' 6175 return QGesture() 6176 def accept(self): 6177 '''Qt.GestureType QGestureEvent.accept()''' 6178 return Qt.GestureType() 6179 def isAccepted(self): 6180 '''bool QGestureEvent.isAccepted()''' 6181 return bool() 6182 def isAccepted(self): 6183 '''QGesture QGestureEvent.isAccepted()''' 6184 return QGesture() 6185 def isAccepted(self): 6186 '''Qt.GestureType QGestureEvent.isAccepted()''' 6187 return Qt.GestureType() 6188 def setAccepted(self, accepted): 6189 '''void QGestureEvent.setAccepted(bool accepted)''' 6190 def setAccepted(self): 6191 '''bool QGestureEvent.setAccepted()''' 6192 return bool() 6193 def setAccepted(self): 6194 '''bool QGestureEvent.setAccepted()''' 6195 return bool() 6196 def canceledGestures(self): 6197 '''list-of-QGesture QGestureEvent.canceledGestures()''' 6198 return [QGesture()] 6199 def activeGestures(self): 6200 '''list-of-QGesture QGestureEvent.activeGestures()''' 6201 return [QGesture()] 6202 def gesture(self, type): 6203 '''QGesture QGestureEvent.gesture(Qt.GestureType type)''' 6204 return QGesture() 6205 def gestures(self): 6206 '''list-of-QGesture QGestureEvent.gestures()''' 6207 return [QGesture()] 6208 6209 6210 class QGestureRecognizer(): 6211 """""" 6212 # Enum QGestureRecognizer.ResultFlag 6213 Ignore = 0 6214 MayBeGesture = 0 6215 TriggerGesture = 0 6216 FinishGesture = 0 6217 CancelGesture = 0 6218 ConsumeEventHint = 0 6219 6220 def __init__(self): 6221 '''void QGestureRecognizer.__init__()''' 6222 def __init__(self): 6223 '''QGestureRecognizer QGestureRecognizer.__init__()''' 6224 return QGestureRecognizer() 6225 def unregisterRecognizer(self, type): 6226 '''static void QGestureRecognizer.unregisterRecognizer(Qt.GestureType type)''' 6227 def registerRecognizer(self, recognizer): 6228 '''static Qt.GestureType QGestureRecognizer.registerRecognizer(QGestureRecognizer recognizer)''' 6229 return Qt.GestureType() 6230 def reset(self, state): 6231 '''void QGestureRecognizer.reset(QGesture state)''' 6232 def recognize(self, state, watched, event): 6233 '''abstract QGestureRecognizer.Result QGestureRecognizer.recognize(QGesture state, QObject watched, QEvent event)''' 6234 return QGestureRecognizer.Result() 6235 def create(self, target): 6236 '''QGesture QGestureRecognizer.create(QObject target)''' 6237 return QGesture() 6238 class Result(): 6239 """""" 6240 def __init__(self): 6241 '''QGestureRecognizer.Result QGestureRecognizer.Result.__init__()''' 6242 return QGestureRecognizer.Result() 6243 def __init__(self): 6244 '''int QGestureRecognizer.Result.__init__()''' 6245 return int() 6246 def __init__(self): 6247 '''void QGestureRecognizer.Result.__init__()''' 6248 def __bool__(self): 6249 '''int QGestureRecognizer.Result.__bool__()''' 6250 return int() 6251 def __ne__(self, f): 6252 '''bool QGestureRecognizer.Result.__ne__(QGestureRecognizer.Result f)''' 6253 return bool() 6254 def __eq__(self, f): 6255 '''bool QGestureRecognizer.Result.__eq__(QGestureRecognizer.Result f)''' 6256 return bool() 6257 def __invert__(self): 6258 '''QGestureRecognizer.Result QGestureRecognizer.Result.__invert__()''' 6259 return QGestureRecognizer.Result() 6260 def __and__(self, mask): 6261 '''QGestureRecognizer.Result QGestureRecognizer.Result.__and__(int mask)''' 6262 return QGestureRecognizer.Result() 6263 def __xor__(self, f): 6264 '''QGestureRecognizer.Result QGestureRecognizer.Result.__xor__(QGestureRecognizer.Result f)''' 6265 return QGestureRecognizer.Result() 6266 def __xor__(self, f): 6267 '''QGestureRecognizer.Result QGestureRecognizer.Result.__xor__(int f)''' 6268 return QGestureRecognizer.Result() 6269 def __or__(self, f): 6270 '''QGestureRecognizer.Result QGestureRecognizer.Result.__or__(QGestureRecognizer.Result f)''' 6271 return QGestureRecognizer.Result() 6272 def __or__(self, f): 6273 '''QGestureRecognizer.Result QGestureRecognizer.Result.__or__(int f)''' 6274 return QGestureRecognizer.Result() 6275 def __int__(self): 6276 '''int QGestureRecognizer.Result.__int__()''' 6277 return int() 6278 def __ixor__(self, f): 6279 '''QGestureRecognizer.Result QGestureRecognizer.Result.__ixor__(QGestureRecognizer.Result f)''' 6280 return QGestureRecognizer.Result() 6281 def __ior__(self, f): 6282 '''QGestureRecognizer.Result QGestureRecognizer.Result.__ior__(QGestureRecognizer.Result f)''' 6283 return QGestureRecognizer.Result() 6284 def __iand__(self, mask): 6285 '''QGestureRecognizer.Result QGestureRecognizer.Result.__iand__(int mask)''' 6286 return QGestureRecognizer.Result() 6287 6288 6289 class QGraphicsAnchor(QObject): 6290 """""" 6291 def sizePolicy(self): 6292 '''QSizePolicy.Policy QGraphicsAnchor.sizePolicy()''' 6293 return QSizePolicy.Policy() 6294 def setSizePolicy(self, policy): 6295 '''void QGraphicsAnchor.setSizePolicy(QSizePolicy.Policy policy)''' 6296 def spacing(self): 6297 '''float QGraphicsAnchor.spacing()''' 6298 return float() 6299 def unsetSpacing(self): 6300 '''void QGraphicsAnchor.unsetSpacing()''' 6301 def setSpacing(self, spacing): 6302 '''void QGraphicsAnchor.setSpacing(float spacing)''' 6303 6304 6305 class QGraphicsLayoutItem(): 6306 """""" 6307 def __init__(self, parent = None, isLayout = False): 6308 '''void QGraphicsLayoutItem.__init__(QGraphicsLayoutItem parent = None, bool isLayout = False)''' 6309 def setOwnedByLayout(self, ownedByLayout): 6310 '''void QGraphicsLayoutItem.setOwnedByLayout(bool ownedByLayout)''' 6311 def setGraphicsItem(self, item): 6312 '''void QGraphicsLayoutItem.setGraphicsItem(QGraphicsItem item)''' 6313 def sizeHint(self, which, constraint = QSizeF()): 6314 '''abstract QSizeF QGraphicsLayoutItem.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 6315 return QSizeF() 6316 def ownedByLayout(self): 6317 '''bool QGraphicsLayoutItem.ownedByLayout()''' 6318 return bool() 6319 def graphicsItem(self): 6320 '''QGraphicsItem QGraphicsLayoutItem.graphicsItem()''' 6321 return QGraphicsItem() 6322 def maximumHeight(self): 6323 '''float QGraphicsLayoutItem.maximumHeight()''' 6324 return float() 6325 def maximumWidth(self): 6326 '''float QGraphicsLayoutItem.maximumWidth()''' 6327 return float() 6328 def preferredHeight(self): 6329 '''float QGraphicsLayoutItem.preferredHeight()''' 6330 return float() 6331 def preferredWidth(self): 6332 '''float QGraphicsLayoutItem.preferredWidth()''' 6333 return float() 6334 def minimumHeight(self): 6335 '''float QGraphicsLayoutItem.minimumHeight()''' 6336 return float() 6337 def minimumWidth(self): 6338 '''float QGraphicsLayoutItem.minimumWidth()''' 6339 return float() 6340 def isLayout(self): 6341 '''bool QGraphicsLayoutItem.isLayout()''' 6342 return bool() 6343 def setParentLayoutItem(self, parent): 6344 '''void QGraphicsLayoutItem.setParentLayoutItem(QGraphicsLayoutItem parent)''' 6345 def parentLayoutItem(self): 6346 '''QGraphicsLayoutItem QGraphicsLayoutItem.parentLayoutItem()''' 6347 return QGraphicsLayoutItem() 6348 def updateGeometry(self): 6349 '''void QGraphicsLayoutItem.updateGeometry()''' 6350 def effectiveSizeHint(self, which, constraint = QSizeF()): 6351 '''QSizeF QGraphicsLayoutItem.effectiveSizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 6352 return QSizeF() 6353 def contentsRect(self): 6354 '''QRectF QGraphicsLayoutItem.contentsRect()''' 6355 return QRectF() 6356 def getContentsMargins(self, left, top, right, bottom): 6357 '''void QGraphicsLayoutItem.getContentsMargins(float left, float top, float right, float bottom)''' 6358 def geometry(self): 6359 '''QRectF QGraphicsLayoutItem.geometry()''' 6360 return QRectF() 6361 def setGeometry(self, rect): 6362 '''void QGraphicsLayoutItem.setGeometry(QRectF rect)''' 6363 def setMaximumHeight(self, height): 6364 '''void QGraphicsLayoutItem.setMaximumHeight(float height)''' 6365 def setMaximumWidth(self, width): 6366 '''void QGraphicsLayoutItem.setMaximumWidth(float width)''' 6367 def maximumSize(self): 6368 '''QSizeF QGraphicsLayoutItem.maximumSize()''' 6369 return QSizeF() 6370 def setMaximumSize(self, size): 6371 '''void QGraphicsLayoutItem.setMaximumSize(QSizeF size)''' 6372 def setMaximumSize(self, aw, ah): 6373 '''void QGraphicsLayoutItem.setMaximumSize(float aw, float ah)''' 6374 def setPreferredHeight(self, height): 6375 '''void QGraphicsLayoutItem.setPreferredHeight(float height)''' 6376 def setPreferredWidth(self, width): 6377 '''void QGraphicsLayoutItem.setPreferredWidth(float width)''' 6378 def preferredSize(self): 6379 '''QSizeF QGraphicsLayoutItem.preferredSize()''' 6380 return QSizeF() 6381 def setPreferredSize(self, size): 6382 '''void QGraphicsLayoutItem.setPreferredSize(QSizeF size)''' 6383 def setPreferredSize(self, aw, ah): 6384 '''void QGraphicsLayoutItem.setPreferredSize(float aw, float ah)''' 6385 def setMinimumHeight(self, height): 6386 '''void QGraphicsLayoutItem.setMinimumHeight(float height)''' 6387 def setMinimumWidth(self, width): 6388 '''void QGraphicsLayoutItem.setMinimumWidth(float width)''' 6389 def minimumSize(self): 6390 '''QSizeF QGraphicsLayoutItem.minimumSize()''' 6391 return QSizeF() 6392 def setMinimumSize(self, size): 6393 '''void QGraphicsLayoutItem.setMinimumSize(QSizeF size)''' 6394 def setMinimumSize(self, aw, ah): 6395 '''void QGraphicsLayoutItem.setMinimumSize(float aw, float ah)''' 6396 def sizePolicy(self): 6397 '''QSizePolicy QGraphicsLayoutItem.sizePolicy()''' 6398 return QSizePolicy() 6399 def setSizePolicy(self, policy): 6400 '''void QGraphicsLayoutItem.setSizePolicy(QSizePolicy policy)''' 6401 def setSizePolicy(self, hPolicy, vPolicy, controlType = None): 6402 '''void QGraphicsLayoutItem.setSizePolicy(QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy, QSizePolicy.ControlType controlType = QSizePolicy.DefaultType)''' 6403 6404 6405 class QGraphicsLayout(QGraphicsLayoutItem): 6406 """""" 6407 def __init__(self, parent = None): 6408 '''void QGraphicsLayout.__init__(QGraphicsLayoutItem parent = None)''' 6409 def addChildLayoutItem(self, layoutItem): 6410 '''void QGraphicsLayout.addChildLayoutItem(QGraphicsLayoutItem layoutItem)''' 6411 def updateGeometry(self): 6412 '''void QGraphicsLayout.updateGeometry()''' 6413 def removeAt(self, index): 6414 '''abstract void QGraphicsLayout.removeAt(int index)''' 6415 def itemAt(self, i): 6416 '''abstract QGraphicsLayoutItem QGraphicsLayout.itemAt(int i)''' 6417 return QGraphicsLayoutItem() 6418 def __len__(self): 6419 ''' QGraphicsLayout.__len__()''' 6420 return () 6421 def count(self): 6422 '''abstract int QGraphicsLayout.count()''' 6423 return int() 6424 def widgetEvent(self, e): 6425 '''void QGraphicsLayout.widgetEvent(QEvent e)''' 6426 def invalidate(self): 6427 '''void QGraphicsLayout.invalidate()''' 6428 def isActivated(self): 6429 '''bool QGraphicsLayout.isActivated()''' 6430 return bool() 6431 def activate(self): 6432 '''void QGraphicsLayout.activate()''' 6433 def getContentsMargins(self, left, top, right, bottom): 6434 '''void QGraphicsLayout.getContentsMargins(float left, float top, float right, float bottom)''' 6435 def setContentsMargins(self, left, top, right, bottom): 6436 '''void QGraphicsLayout.setContentsMargins(float left, float top, float right, float bottom)''' 6437 6438 6439 class QGraphicsAnchorLayout(QGraphicsLayout): 6440 """""" 6441 def __init__(self, parent = None): 6442 '''void QGraphicsAnchorLayout.__init__(QGraphicsLayoutItem parent = None)''' 6443 def sizeHint(self, which, constraint = QSizeF()): 6444 '''QSizeF QGraphicsAnchorLayout.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 6445 return QSizeF() 6446 def invalidate(self): 6447 '''void QGraphicsAnchorLayout.invalidate()''' 6448 def itemAt(self, index): 6449 '''QGraphicsLayoutItem QGraphicsAnchorLayout.itemAt(int index)''' 6450 return QGraphicsLayoutItem() 6451 def count(self): 6452 '''int QGraphicsAnchorLayout.count()''' 6453 return int() 6454 def setGeometry(self, rect): 6455 '''void QGraphicsAnchorLayout.setGeometry(QRectF rect)''' 6456 def removeAt(self, index): 6457 '''void QGraphicsAnchorLayout.removeAt(int index)''' 6458 def verticalSpacing(self): 6459 '''float QGraphicsAnchorLayout.verticalSpacing()''' 6460 return float() 6461 def horizontalSpacing(self): 6462 '''float QGraphicsAnchorLayout.horizontalSpacing()''' 6463 return float() 6464 def setSpacing(self, spacing): 6465 '''void QGraphicsAnchorLayout.setSpacing(float spacing)''' 6466 def setVerticalSpacing(self, spacing): 6467 '''void QGraphicsAnchorLayout.setVerticalSpacing(float spacing)''' 6468 def setHorizontalSpacing(self, spacing): 6469 '''void QGraphicsAnchorLayout.setHorizontalSpacing(float spacing)''' 6470 def addAnchors(self, firstItem, secondItem, orientations = None): 6471 '''void QGraphicsAnchorLayout.addAnchors(QGraphicsLayoutItem firstItem, QGraphicsLayoutItem secondItem, Qt.Orientations orientations = Qt.Horizontal|Qt.Vertical)''' 6472 def addCornerAnchors(self, firstItem, firstCorner, secondItem, secondCorner): 6473 '''void QGraphicsAnchorLayout.addCornerAnchors(QGraphicsLayoutItem firstItem, Qt.Corner firstCorner, QGraphicsLayoutItem secondItem, Qt.Corner secondCorner)''' 6474 def anchor(self, firstItem, firstEdge, secondItem, secondEdge): 6475 '''QGraphicsAnchor QGraphicsAnchorLayout.anchor(QGraphicsLayoutItem firstItem, Qt.AnchorPoint firstEdge, QGraphicsLayoutItem secondItem, Qt.AnchorPoint secondEdge)''' 6476 return QGraphicsAnchor() 6477 def addAnchor(self, firstItem, firstEdge, secondItem, secondEdge): 6478 '''QGraphicsAnchor QGraphicsAnchorLayout.addAnchor(QGraphicsLayoutItem firstItem, Qt.AnchorPoint firstEdge, QGraphicsLayoutItem secondItem, Qt.AnchorPoint secondEdge)''' 6479 return QGraphicsAnchor() 6480 6481 6482 class QGraphicsEffect(QObject): 6483 """""" 6484 # Enum QGraphicsEffect.PixmapPadMode 6485 NoPad = 0 6486 PadToTransparentBorder = 0 6487 PadToEffectiveBoundingRect = 0 6488 6489 # Enum QGraphicsEffect.ChangeFlag 6490 SourceAttached = 0 6491 SourceDetached = 0 6492 SourceBoundingRectChanged = 0 6493 SourceInvalidated = 0 6494 6495 def __init__(self, parent = None): 6496 '''void QGraphicsEffect.__init__(QObject parent = None)''' 6497 def sourcePixmap(self, system = None, offset = None, mode = None): 6498 '''QPixmap QGraphicsEffect.sourcePixmap(Qt.CoordinateSystem system = Qt.LogicalCoordinates, QPoint offset, QGraphicsEffect.PixmapPadMode mode = QGraphicsEffect.PadToEffectiveBoundingRect)''' 6499 return QPixmap() 6500 def drawSource(self, painter): 6501 '''void QGraphicsEffect.drawSource(QPainter painter)''' 6502 def sourceBoundingRect(self, system = None): 6503 '''QRectF QGraphicsEffect.sourceBoundingRect(Qt.CoordinateSystem system = Qt.LogicalCoordinates)''' 6504 return QRectF() 6505 def sourceIsPixmap(self): 6506 '''bool QGraphicsEffect.sourceIsPixmap()''' 6507 return bool() 6508 def updateBoundingRect(self): 6509 '''void QGraphicsEffect.updateBoundingRect()''' 6510 def sourceChanged(self, flags): 6511 '''void QGraphicsEffect.sourceChanged(QGraphicsEffect.ChangeFlags flags)''' 6512 def draw(self, painter): 6513 '''abstract void QGraphicsEffect.draw(QPainter painter)''' 6514 enabledChanged = pyqtSignal() # void enabledChanged(bool) - signal 6515 def update(self): 6516 '''void QGraphicsEffect.update()''' 6517 def setEnabled(self, enable): 6518 '''void QGraphicsEffect.setEnabled(bool enable)''' 6519 def isEnabled(self): 6520 '''bool QGraphicsEffect.isEnabled()''' 6521 return bool() 6522 def boundingRect(self): 6523 '''QRectF QGraphicsEffect.boundingRect()''' 6524 return QRectF() 6525 def boundingRectFor(self, sourceRect): 6526 '''QRectF QGraphicsEffect.boundingRectFor(QRectF sourceRect)''' 6527 return QRectF() 6528 class ChangeFlags(): 6529 """""" 6530 def __init__(self): 6531 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__init__()''' 6532 return QGraphicsEffect.ChangeFlags() 6533 def __init__(self): 6534 '''int QGraphicsEffect.ChangeFlags.__init__()''' 6535 return int() 6536 def __init__(self): 6537 '''void QGraphicsEffect.ChangeFlags.__init__()''' 6538 def __bool__(self): 6539 '''int QGraphicsEffect.ChangeFlags.__bool__()''' 6540 return int() 6541 def __ne__(self, f): 6542 '''bool QGraphicsEffect.ChangeFlags.__ne__(QGraphicsEffect.ChangeFlags f)''' 6543 return bool() 6544 def __eq__(self, f): 6545 '''bool QGraphicsEffect.ChangeFlags.__eq__(QGraphicsEffect.ChangeFlags f)''' 6546 return bool() 6547 def __invert__(self): 6548 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__invert__()''' 6549 return QGraphicsEffect.ChangeFlags() 6550 def __and__(self, mask): 6551 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__and__(int mask)''' 6552 return QGraphicsEffect.ChangeFlags() 6553 def __xor__(self, f): 6554 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__xor__(QGraphicsEffect.ChangeFlags f)''' 6555 return QGraphicsEffect.ChangeFlags() 6556 def __xor__(self, f): 6557 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__xor__(int f)''' 6558 return QGraphicsEffect.ChangeFlags() 6559 def __or__(self, f): 6560 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__or__(QGraphicsEffect.ChangeFlags f)''' 6561 return QGraphicsEffect.ChangeFlags() 6562 def __or__(self, f): 6563 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__or__(int f)''' 6564 return QGraphicsEffect.ChangeFlags() 6565 def __int__(self): 6566 '''int QGraphicsEffect.ChangeFlags.__int__()''' 6567 return int() 6568 def __ixor__(self, f): 6569 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__ixor__(QGraphicsEffect.ChangeFlags f)''' 6570 return QGraphicsEffect.ChangeFlags() 6571 def __ior__(self, f): 6572 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__ior__(QGraphicsEffect.ChangeFlags f)''' 6573 return QGraphicsEffect.ChangeFlags() 6574 def __iand__(self, mask): 6575 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__iand__(int mask)''' 6576 return QGraphicsEffect.ChangeFlags() 6577 6578 6579 class QGraphicsColorizeEffect(QGraphicsEffect): 6580 """""" 6581 def __init__(self, parent = None): 6582 '''void QGraphicsColorizeEffect.__init__(QObject parent = None)''' 6583 def draw(self, painter): 6584 '''void QGraphicsColorizeEffect.draw(QPainter painter)''' 6585 strengthChanged = pyqtSignal() # void strengthChanged(qreal) - signal 6586 colorChanged = pyqtSignal() # void colorChanged(const QColoramp;) - signal 6587 def setStrength(self, strength): 6588 '''void QGraphicsColorizeEffect.setStrength(float strength)''' 6589 def setColor(self, c): 6590 '''void QGraphicsColorizeEffect.setColor(QColor c)''' 6591 def strength(self): 6592 '''float QGraphicsColorizeEffect.strength()''' 6593 return float() 6594 def color(self): 6595 '''QColor QGraphicsColorizeEffect.color()''' 6596 return QColor() 6597 6598 6599 class QGraphicsBlurEffect(QGraphicsEffect): 6600 """""" 6601 # Enum QGraphicsBlurEffect.BlurHint 6602 PerformanceHint = 0 6603 QualityHint = 0 6604 AnimationHint = 0 6605 6606 def __init__(self, parent = None): 6607 '''void QGraphicsBlurEffect.__init__(QObject parent = None)''' 6608 def draw(self, painter): 6609 '''void QGraphicsBlurEffect.draw(QPainter painter)''' 6610 blurHintsChanged = pyqtSignal() # void blurHintsChanged(QGraphicsBlurEffect::BlurHints) - signal 6611 blurRadiusChanged = pyqtSignal() # void blurRadiusChanged(qreal) - signal 6612 def setBlurHints(self, hints): 6613 '''void QGraphicsBlurEffect.setBlurHints(QGraphicsBlurEffect.BlurHints hints)''' 6614 def setBlurRadius(self, blurRadius): 6615 '''void QGraphicsBlurEffect.setBlurRadius(float blurRadius)''' 6616 def blurHints(self): 6617 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.blurHints()''' 6618 return QGraphicsBlurEffect.BlurHints() 6619 def blurRadius(self): 6620 '''float QGraphicsBlurEffect.blurRadius()''' 6621 return float() 6622 def boundingRectFor(self, rect): 6623 '''QRectF QGraphicsBlurEffect.boundingRectFor(QRectF rect)''' 6624 return QRectF() 6625 class BlurHints(): 6626 """""" 6627 def __init__(self): 6628 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__init__()''' 6629 return QGraphicsBlurEffect.BlurHints() 6630 def __init__(self): 6631 '''int QGraphicsBlurEffect.BlurHints.__init__()''' 6632 return int() 6633 def __init__(self): 6634 '''void QGraphicsBlurEffect.BlurHints.__init__()''' 6635 def __bool__(self): 6636 '''int QGraphicsBlurEffect.BlurHints.__bool__()''' 6637 return int() 6638 def __ne__(self, f): 6639 '''bool QGraphicsBlurEffect.BlurHints.__ne__(QGraphicsBlurEffect.BlurHints f)''' 6640 return bool() 6641 def __eq__(self, f): 6642 '''bool QGraphicsBlurEffect.BlurHints.__eq__(QGraphicsBlurEffect.BlurHints f)''' 6643 return bool() 6644 def __invert__(self): 6645 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__invert__()''' 6646 return QGraphicsBlurEffect.BlurHints() 6647 def __and__(self, mask): 6648 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__and__(int mask)''' 6649 return QGraphicsBlurEffect.BlurHints() 6650 def __xor__(self, f): 6651 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__xor__(QGraphicsBlurEffect.BlurHints f)''' 6652 return QGraphicsBlurEffect.BlurHints() 6653 def __xor__(self, f): 6654 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__xor__(int f)''' 6655 return QGraphicsBlurEffect.BlurHints() 6656 def __or__(self, f): 6657 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__or__(QGraphicsBlurEffect.BlurHints f)''' 6658 return QGraphicsBlurEffect.BlurHints() 6659 def __or__(self, f): 6660 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__or__(int f)''' 6661 return QGraphicsBlurEffect.BlurHints() 6662 def __int__(self): 6663 '''int QGraphicsBlurEffect.BlurHints.__int__()''' 6664 return int() 6665 def __ixor__(self, f): 6666 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__ixor__(QGraphicsBlurEffect.BlurHints f)''' 6667 return QGraphicsBlurEffect.BlurHints() 6668 def __ior__(self, f): 6669 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__ior__(QGraphicsBlurEffect.BlurHints f)''' 6670 return QGraphicsBlurEffect.BlurHints() 6671 def __iand__(self, mask): 6672 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__iand__(int mask)''' 6673 return QGraphicsBlurEffect.BlurHints() 6674 6675 6676 class QGraphicsDropShadowEffect(QGraphicsEffect): 6677 """""" 6678 def __init__(self, parent = None): 6679 '''void QGraphicsDropShadowEffect.__init__(QObject parent = None)''' 6680 def draw(self, painter): 6681 '''void QGraphicsDropShadowEffect.draw(QPainter painter)''' 6682 colorChanged = pyqtSignal() # void colorChanged(const QColoramp;) - signal 6683 blurRadiusChanged = pyqtSignal() # void blurRadiusChanged(qreal) - signal 6684 offsetChanged = pyqtSignal() # void offsetChanged(const QPointFamp;) - signal 6685 def setColor(self, color): 6686 '''void QGraphicsDropShadowEffect.setColor(QColor color)''' 6687 def setBlurRadius(self, blurRadius): 6688 '''void QGraphicsDropShadowEffect.setBlurRadius(float blurRadius)''' 6689 def setYOffset(self, dy): 6690 '''void QGraphicsDropShadowEffect.setYOffset(float dy)''' 6691 def setXOffset(self, dx): 6692 '''void QGraphicsDropShadowEffect.setXOffset(float dx)''' 6693 def setOffset(self, ofs): 6694 '''void QGraphicsDropShadowEffect.setOffset(QPointF ofs)''' 6695 def setOffset(self, dx, dy): 6696 '''void QGraphicsDropShadowEffect.setOffset(float dx, float dy)''' 6697 def setOffset(self, d): 6698 '''void QGraphicsDropShadowEffect.setOffset(float d)''' 6699 def color(self): 6700 '''QColor QGraphicsDropShadowEffect.color()''' 6701 return QColor() 6702 def blurRadius(self): 6703 '''float QGraphicsDropShadowEffect.blurRadius()''' 6704 return float() 6705 def yOffset(self): 6706 '''float QGraphicsDropShadowEffect.yOffset()''' 6707 return float() 6708 def xOffset(self): 6709 '''float QGraphicsDropShadowEffect.xOffset()''' 6710 return float() 6711 def offset(self): 6712 '''QPointF QGraphicsDropShadowEffect.offset()''' 6713 return QPointF() 6714 def boundingRectFor(self, rect): 6715 '''QRectF QGraphicsDropShadowEffect.boundingRectFor(QRectF rect)''' 6716 return QRectF() 6717 6718 6719 class QGraphicsOpacityEffect(QGraphicsEffect): 6720 """""" 6721 def __init__(self, parent = None): 6722 '''void QGraphicsOpacityEffect.__init__(QObject parent = None)''' 6723 def draw(self, painter): 6724 '''void QGraphicsOpacityEffect.draw(QPainter painter)''' 6725 opacityMaskChanged = pyqtSignal() # void opacityMaskChanged(const QBrushamp;) - signal 6726 opacityChanged = pyqtSignal() # void opacityChanged(qreal) - signal 6727 def setOpacityMask(self, mask): 6728 '''void QGraphicsOpacityEffect.setOpacityMask(QBrush mask)''' 6729 def setOpacity(self, opacity): 6730 '''void QGraphicsOpacityEffect.setOpacity(float opacity)''' 6731 def opacityMask(self): 6732 '''QBrush QGraphicsOpacityEffect.opacityMask()''' 6733 return QBrush() 6734 def opacity(self): 6735 '''float QGraphicsOpacityEffect.opacity()''' 6736 return float() 6737 6738 6739 class QGraphicsGridLayout(QGraphicsLayout): 6740 """""" 6741 def __init__(self, parent = None): 6742 '''void QGraphicsGridLayout.__init__(QGraphicsLayoutItem parent = None)''' 6743 def removeItem(self, item): 6744 '''void QGraphicsGridLayout.removeItem(QGraphicsLayoutItem item)''' 6745 def sizeHint(self, which, constraint = QSizeF()): 6746 '''QSizeF QGraphicsGridLayout.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 6747 return QSizeF() 6748 def setGeometry(self, rect): 6749 '''void QGraphicsGridLayout.setGeometry(QRectF rect)''' 6750 def invalidate(self): 6751 '''void QGraphicsGridLayout.invalidate()''' 6752 def removeAt(self, index): 6753 '''void QGraphicsGridLayout.removeAt(int index)''' 6754 def count(self): 6755 '''int QGraphicsGridLayout.count()''' 6756 return int() 6757 def itemAt(self, row, column): 6758 '''QGraphicsLayoutItem QGraphicsGridLayout.itemAt(int row, int column)''' 6759 return QGraphicsLayoutItem() 6760 def itemAt(self, index): 6761 '''QGraphicsLayoutItem QGraphicsGridLayout.itemAt(int index)''' 6762 return QGraphicsLayoutItem() 6763 def columnCount(self): 6764 '''int QGraphicsGridLayout.columnCount()''' 6765 return int() 6766 def rowCount(self): 6767 '''int QGraphicsGridLayout.rowCount()''' 6768 return int() 6769 def alignment(self, item): 6770 '''Qt.Alignment QGraphicsGridLayout.alignment(QGraphicsLayoutItem item)''' 6771 return Qt.Alignment() 6772 def setAlignment(self, item, alignment): 6773 '''void QGraphicsGridLayout.setAlignment(QGraphicsLayoutItem item, Qt.Alignment alignment)''' 6774 def columnAlignment(self, column): 6775 '''Qt.Alignment QGraphicsGridLayout.columnAlignment(int column)''' 6776 return Qt.Alignment() 6777 def setColumnAlignment(self, column, alignment): 6778 '''void QGraphicsGridLayout.setColumnAlignment(int column, Qt.Alignment alignment)''' 6779 def rowAlignment(self, row): 6780 '''Qt.Alignment QGraphicsGridLayout.rowAlignment(int row)''' 6781 return Qt.Alignment() 6782 def setRowAlignment(self, row, alignment): 6783 '''void QGraphicsGridLayout.setRowAlignment(int row, Qt.Alignment alignment)''' 6784 def setColumnFixedWidth(self, column, width): 6785 '''void QGraphicsGridLayout.setColumnFixedWidth(int column, float width)''' 6786 def columnMaximumWidth(self, column): 6787 '''float QGraphicsGridLayout.columnMaximumWidth(int column)''' 6788 return float() 6789 def setColumnMaximumWidth(self, column, width): 6790 '''void QGraphicsGridLayout.setColumnMaximumWidth(int column, float width)''' 6791 def columnPreferredWidth(self, column): 6792 '''float QGraphicsGridLayout.columnPreferredWidth(int column)''' 6793 return float() 6794 def setColumnPreferredWidth(self, column, width): 6795 '''void QGraphicsGridLayout.setColumnPreferredWidth(int column, float width)''' 6796 def columnMinimumWidth(self, column): 6797 '''float QGraphicsGridLayout.columnMinimumWidth(int column)''' 6798 return float() 6799 def setColumnMinimumWidth(self, column, width): 6800 '''void QGraphicsGridLayout.setColumnMinimumWidth(int column, float width)''' 6801 def setRowFixedHeight(self, row, height): 6802 '''void QGraphicsGridLayout.setRowFixedHeight(int row, float height)''' 6803 def rowMaximumHeight(self, row): 6804 '''float QGraphicsGridLayout.rowMaximumHeight(int row)''' 6805 return float() 6806 def setRowMaximumHeight(self, row, height): 6807 '''void QGraphicsGridLayout.setRowMaximumHeight(int row, float height)''' 6808 def rowPreferredHeight(self, row): 6809 '''float QGraphicsGridLayout.rowPreferredHeight(int row)''' 6810 return float() 6811 def setRowPreferredHeight(self, row, height): 6812 '''void QGraphicsGridLayout.setRowPreferredHeight(int row, float height)''' 6813 def rowMinimumHeight(self, row): 6814 '''float QGraphicsGridLayout.rowMinimumHeight(int row)''' 6815 return float() 6816 def setRowMinimumHeight(self, row, height): 6817 '''void QGraphicsGridLayout.setRowMinimumHeight(int row, float height)''' 6818 def columnStretchFactor(self, column): 6819 '''int QGraphicsGridLayout.columnStretchFactor(int column)''' 6820 return int() 6821 def setColumnStretchFactor(self, column, stretch): 6822 '''void QGraphicsGridLayout.setColumnStretchFactor(int column, int stretch)''' 6823 def rowStretchFactor(self, row): 6824 '''int QGraphicsGridLayout.rowStretchFactor(int row)''' 6825 return int() 6826 def setRowStretchFactor(self, row, stretch): 6827 '''void QGraphicsGridLayout.setRowStretchFactor(int row, int stretch)''' 6828 def columnSpacing(self, column): 6829 '''float QGraphicsGridLayout.columnSpacing(int column)''' 6830 return float() 6831 def setColumnSpacing(self, column, spacing): 6832 '''void QGraphicsGridLayout.setColumnSpacing(int column, float spacing)''' 6833 def rowSpacing(self, row): 6834 '''float QGraphicsGridLayout.rowSpacing(int row)''' 6835 return float() 6836 def setRowSpacing(self, row, spacing): 6837 '''void QGraphicsGridLayout.setRowSpacing(int row, float spacing)''' 6838 def setSpacing(self, spacing): 6839 '''void QGraphicsGridLayout.setSpacing(float spacing)''' 6840 def verticalSpacing(self): 6841 '''float QGraphicsGridLayout.verticalSpacing()''' 6842 return float() 6843 def setVerticalSpacing(self, spacing): 6844 '''void QGraphicsGridLayout.setVerticalSpacing(float spacing)''' 6845 def horizontalSpacing(self): 6846 '''float QGraphicsGridLayout.horizontalSpacing()''' 6847 return float() 6848 def setHorizontalSpacing(self, spacing): 6849 '''void QGraphicsGridLayout.setHorizontalSpacing(float spacing)''' 6850 def addItem(self, item, row, column, rowSpan, columnSpan, alignment = 0): 6851 '''void QGraphicsGridLayout.addItem(QGraphicsLayoutItem item, int row, int column, int rowSpan, int columnSpan, Qt.Alignment alignment = 0)''' 6852 def addItem(self, aitem, arow, acolumn, alignment = 0): 6853 '''void QGraphicsGridLayout.addItem(QGraphicsLayoutItem aitem, int arow, int acolumn, Qt.Alignment alignment = 0)''' 6854 6855 6856 class QGraphicsItem(): 6857 """""" 6858 # Enum QGraphicsItem.PanelModality 6859 NonModal = 0 6860 PanelModal = 0 6861 SceneModal = 0 6862 6863 # Enum QGraphicsItem.GraphicsItemFlag 6864 ItemIsMovable = 0 6865 ItemIsSelectable = 0 6866 ItemIsFocusable = 0 6867 ItemClipsToShape = 0 6868 ItemClipsChildrenToShape = 0 6869 ItemIgnoresTransformations = 0 6870 ItemIgnoresParentOpacity = 0 6871 ItemDoesntPropagateOpacityToChildren = 0 6872 ItemStacksBehindParent = 0 6873 ItemUsesExtendedStyleOption = 0 6874 ItemHasNoContents = 0 6875 ItemSendsGeometryChanges = 0 6876 ItemAcceptsInputMethod = 0 6877 ItemNegativeZStacksBehindParent = 0 6878 ItemIsPanel = 0 6879 ItemSendsScenePositionChanges = 0 6880 ItemContainsChildrenInShape = 0 6881 6882 # Enum QGraphicsItem.GraphicsItemChange 6883 ItemPositionChange = 0 6884 ItemMatrixChange = 0 6885 ItemVisibleChange = 0 6886 ItemEnabledChange = 0 6887 ItemSelectedChange = 0 6888 ItemParentChange = 0 6889 ItemChildAddedChange = 0 6890 ItemChildRemovedChange = 0 6891 ItemTransformChange = 0 6892 ItemPositionHasChanged = 0 6893 ItemTransformHasChanged = 0 6894 ItemSceneChange = 0 6895 ItemVisibleHasChanged = 0 6896 ItemEnabledHasChanged = 0 6897 ItemSelectedHasChanged = 0 6898 ItemParentHasChanged = 0 6899 ItemSceneHasChanged = 0 6900 ItemCursorChange = 0 6901 ItemCursorHasChanged = 0 6902 ItemToolTipChange = 0 6903 ItemToolTipHasChanged = 0 6904 ItemFlagsChange = 0 6905 ItemFlagsHaveChanged = 0 6906 ItemZValueChange = 0 6907 ItemZValueHasChanged = 0 6908 ItemOpacityChange = 0 6909 ItemOpacityHasChanged = 0 6910 ItemScenePositionHasChanged = 0 6911 ItemRotationChange = 0 6912 ItemRotationHasChanged = 0 6913 ItemScaleChange = 0 6914 ItemScaleHasChanged = 0 6915 ItemTransformOriginPointChange = 0 6916 ItemTransformOriginPointHasChanged = 0 6917 6918 # Enum QGraphicsItem.CacheMode 6919 NoCache = 0 6920 ItemCoordinateCache = 0 6921 DeviceCoordinateCache = 0 6922 6923 Type = None # int - member 6924 UserType = None # int - member 6925 def __init__(self, parent = None): 6926 '''void QGraphicsItem.__init__(QGraphicsItem parent = None)''' 6927 def updateMicroFocus(self): 6928 '''void QGraphicsItem.updateMicroFocus()''' 6929 def setInputMethodHints(self, hints): 6930 '''void QGraphicsItem.setInputMethodHints(Qt.InputMethodHints hints)''' 6931 def inputMethodHints(self): 6932 '''Qt.InputMethodHints QGraphicsItem.inputMethodHints()''' 6933 return Qt.InputMethodHints() 6934 def stackBefore(self, sibling): 6935 '''void QGraphicsItem.stackBefore(QGraphicsItem sibling)''' 6936 def setTransformOriginPoint(self, origin): 6937 '''void QGraphicsItem.setTransformOriginPoint(QPointF origin)''' 6938 def setTransformOriginPoint(self, ax, ay): 6939 '''void QGraphicsItem.setTransformOriginPoint(float ax, float ay)''' 6940 def transformOriginPoint(self): 6941 '''QPointF QGraphicsItem.transformOriginPoint()''' 6942 return QPointF() 6943 def setTransformations(self, transformations): 6944 '''void QGraphicsItem.setTransformations(list-of-QGraphicsTransform transformations)''' 6945 def transformations(self): 6946 '''list-of-QGraphicsTransform QGraphicsItem.transformations()''' 6947 return [QGraphicsTransform()] 6948 def scale(self): 6949 '''float QGraphicsItem.scale()''' 6950 return float() 6951 def setScale(self, scale): 6952 '''void QGraphicsItem.setScale(float scale)''' 6953 def rotation(self): 6954 '''float QGraphicsItem.rotation()''' 6955 return float() 6956 def setRotation(self, angle): 6957 '''void QGraphicsItem.setRotation(float angle)''' 6958 def setY(self, y): 6959 '''void QGraphicsItem.setY(float y)''' 6960 def setX(self, x): 6961 '''void QGraphicsItem.setX(float x)''' 6962 def focusItem(self): 6963 '''QGraphicsItem QGraphicsItem.focusItem()''' 6964 return QGraphicsItem() 6965 def setFocusProxy(self, item): 6966 '''void QGraphicsItem.setFocusProxy(QGraphicsItem item)''' 6967 def focusProxy(self): 6968 '''QGraphicsItem QGraphicsItem.focusProxy()''' 6969 return QGraphicsItem() 6970 def setActive(self, active): 6971 '''void QGraphicsItem.setActive(bool active)''' 6972 def isActive(self): 6973 '''bool QGraphicsItem.isActive()''' 6974 return bool() 6975 def setFiltersChildEvents(self, enabled): 6976 '''void QGraphicsItem.setFiltersChildEvents(bool enabled)''' 6977 def filtersChildEvents(self): 6978 '''bool QGraphicsItem.filtersChildEvents()''' 6979 return bool() 6980 def setAcceptTouchEvents(self, enabled): 6981 '''void QGraphicsItem.setAcceptTouchEvents(bool enabled)''' 6982 def acceptTouchEvents(self): 6983 '''bool QGraphicsItem.acceptTouchEvents()''' 6984 return bool() 6985 def setGraphicsEffect(self, effect): 6986 '''void QGraphicsItem.setGraphicsEffect(QGraphicsEffect effect)''' 6987 def graphicsEffect(self): 6988 '''QGraphicsEffect QGraphicsItem.graphicsEffect()''' 6989 return QGraphicsEffect() 6990 def isBlockedByModalPanel(self, blockingPanel): 6991 '''bool QGraphicsItem.isBlockedByModalPanel(QGraphicsItem blockingPanel)''' 6992 return bool() 6993 def setPanelModality(self, panelModality): 6994 '''void QGraphicsItem.setPanelModality(QGraphicsItem.PanelModality panelModality)''' 6995 def panelModality(self): 6996 '''QGraphicsItem.PanelModality QGraphicsItem.panelModality()''' 6997 return QGraphicsItem.PanelModality() 6998 def toGraphicsObject(self): 6999 '''QGraphicsObject QGraphicsItem.toGraphicsObject()''' 7000 return QGraphicsObject() 7001 def isPanel(self): 7002 '''bool QGraphicsItem.isPanel()''' 7003 return bool() 7004 def panel(self): 7005 '''QGraphicsItem QGraphicsItem.panel()''' 7006 return QGraphicsItem() 7007 def parentObject(self): 7008 '''QGraphicsObject QGraphicsItem.parentObject()''' 7009 return QGraphicsObject() 7010 def mapRectFromScene(self, rect): 7011 '''QRectF QGraphicsItem.mapRectFromScene(QRectF rect)''' 7012 return QRectF() 7013 def mapRectFromScene(self, ax, ay, w, h): 7014 '''QRectF QGraphicsItem.mapRectFromScene(float ax, float ay, float w, float h)''' 7015 return QRectF() 7016 def mapRectFromParent(self, rect): 7017 '''QRectF QGraphicsItem.mapRectFromParent(QRectF rect)''' 7018 return QRectF() 7019 def mapRectFromParent(self, ax, ay, w, h): 7020 '''QRectF QGraphicsItem.mapRectFromParent(float ax, float ay, float w, float h)''' 7021 return QRectF() 7022 def mapRectFromItem(self, item, rect): 7023 '''QRectF QGraphicsItem.mapRectFromItem(QGraphicsItem item, QRectF rect)''' 7024 return QRectF() 7025 def mapRectFromItem(self, item, ax, ay, w, h): 7026 '''QRectF QGraphicsItem.mapRectFromItem(QGraphicsItem item, float ax, float ay, float w, float h)''' 7027 return QRectF() 7028 def mapRectToScene(self, rect): 7029 '''QRectF QGraphicsItem.mapRectToScene(QRectF rect)''' 7030 return QRectF() 7031 def mapRectToScene(self, ax, ay, w, h): 7032 '''QRectF QGraphicsItem.mapRectToScene(float ax, float ay, float w, float h)''' 7033 return QRectF() 7034 def mapRectToParent(self, rect): 7035 '''QRectF QGraphicsItem.mapRectToParent(QRectF rect)''' 7036 return QRectF() 7037 def mapRectToParent(self, ax, ay, w, h): 7038 '''QRectF QGraphicsItem.mapRectToParent(float ax, float ay, float w, float h)''' 7039 return QRectF() 7040 def mapRectToItem(self, item, rect): 7041 '''QRectF QGraphicsItem.mapRectToItem(QGraphicsItem item, QRectF rect)''' 7042 return QRectF() 7043 def mapRectToItem(self, item, ax, ay, w, h): 7044 '''QRectF QGraphicsItem.mapRectToItem(QGraphicsItem item, float ax, float ay, float w, float h)''' 7045 return QRectF() 7046 def clipPath(self): 7047 '''QPainterPath QGraphicsItem.clipPath()''' 7048 return QPainterPath() 7049 def isClipped(self): 7050 '''bool QGraphicsItem.isClipped()''' 7051 return bool() 7052 def itemTransform(self, other, ok): 7053 '''QTransform QGraphicsItem.itemTransform(QGraphicsItem other, bool ok)''' 7054 return QTransform() 7055 def setOpacity(self, opacity): 7056 '''void QGraphicsItem.setOpacity(float opacity)''' 7057 def effectiveOpacity(self): 7058 '''float QGraphicsItem.effectiveOpacity()''' 7059 return float() 7060 def opacity(self): 7061 '''float QGraphicsItem.opacity()''' 7062 return float() 7063 def isUnderMouse(self): 7064 '''bool QGraphicsItem.isUnderMouse()''' 7065 return bool() 7066 def commonAncestorItem(self, other): 7067 '''QGraphicsItem QGraphicsItem.commonAncestorItem(QGraphicsItem other)''' 7068 return QGraphicsItem() 7069 def scroll(self, dx, dy, rect = QRectF()): 7070 '''void QGraphicsItem.scroll(float dx, float dy, QRectF rect = QRectF())''' 7071 def setBoundingRegionGranularity(self, granularity): 7072 '''void QGraphicsItem.setBoundingRegionGranularity(float granularity)''' 7073 def boundingRegionGranularity(self): 7074 '''float QGraphicsItem.boundingRegionGranularity()''' 7075 return float() 7076 def boundingRegion(self, itemToDeviceTransform): 7077 '''QRegion QGraphicsItem.boundingRegion(QTransform itemToDeviceTransform)''' 7078 return QRegion() 7079 def ungrabKeyboard(self): 7080 '''void QGraphicsItem.ungrabKeyboard()''' 7081 def grabKeyboard(self): 7082 '''void QGraphicsItem.grabKeyboard()''' 7083 def ungrabMouse(self): 7084 '''void QGraphicsItem.ungrabMouse()''' 7085 def grabMouse(self): 7086 '''void QGraphicsItem.grabMouse()''' 7087 def setAcceptHoverEvents(self, enabled): 7088 '''void QGraphicsItem.setAcceptHoverEvents(bool enabled)''' 7089 def acceptHoverEvents(self): 7090 '''bool QGraphicsItem.acceptHoverEvents()''' 7091 return bool() 7092 def isVisibleTo(self, parent): 7093 '''bool QGraphicsItem.isVisibleTo(QGraphicsItem parent)''' 7094 return bool() 7095 def setCacheMode(self, mode, logicalCacheSize = QSize()): 7096 '''void QGraphicsItem.setCacheMode(QGraphicsItem.CacheMode mode, QSize logicalCacheSize = QSize())''' 7097 def cacheMode(self): 7098 '''QGraphicsItem.CacheMode QGraphicsItem.cacheMode()''' 7099 return QGraphicsItem.CacheMode() 7100 def isWindow(self): 7101 '''bool QGraphicsItem.isWindow()''' 7102 return bool() 7103 def isWidget(self): 7104 '''bool QGraphicsItem.isWidget()''' 7105 return bool() 7106 def childItems(self): 7107 '''list-of-QGraphicsItem QGraphicsItem.childItems()''' 7108 return [QGraphicsItem()] 7109 def window(self): 7110 '''QGraphicsWidget QGraphicsItem.window()''' 7111 return QGraphicsWidget() 7112 def topLevelWidget(self): 7113 '''QGraphicsWidget QGraphicsItem.topLevelWidget()''' 7114 return QGraphicsWidget() 7115 def parentWidget(self): 7116 '''QGraphicsWidget QGraphicsItem.parentWidget()''' 7117 return QGraphicsWidget() 7118 def isObscured(self, rect = QRectF()): 7119 '''bool QGraphicsItem.isObscured(QRectF rect = QRectF())''' 7120 return bool() 7121 def isObscured(self, ax, ay, w, h): 7122 '''bool QGraphicsItem.isObscured(float ax, float ay, float w, float h)''' 7123 return bool() 7124 def resetTransform(self): 7125 '''void QGraphicsItem.resetTransform()''' 7126 def setTransform(self, matrix, combine = False): 7127 '''void QGraphicsItem.setTransform(QTransform matrix, bool combine = False)''' 7128 def deviceTransform(self, viewportTransform): 7129 '''QTransform QGraphicsItem.deviceTransform(QTransform viewportTransform)''' 7130 return QTransform() 7131 def sceneTransform(self): 7132 '''QTransform QGraphicsItem.sceneTransform()''' 7133 return QTransform() 7134 def transform(self): 7135 '''QTransform QGraphicsItem.transform()''' 7136 return QTransform() 7137 def wheelEvent(self, event): 7138 '''void QGraphicsItem.wheelEvent(QGraphicsSceneWheelEvent event)''' 7139 def sceneEventFilter(self, watched, event): 7140 '''bool QGraphicsItem.sceneEventFilter(QGraphicsItem watched, QEvent event)''' 7141 return bool() 7142 def sceneEvent(self, event): 7143 '''bool QGraphicsItem.sceneEvent(QEvent event)''' 7144 return bool() 7145 def prepareGeometryChange(self): 7146 '''void QGraphicsItem.prepareGeometryChange()''' 7147 def mouseReleaseEvent(self, event): 7148 '''void QGraphicsItem.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 7149 def mousePressEvent(self, event): 7150 '''void QGraphicsItem.mousePressEvent(QGraphicsSceneMouseEvent event)''' 7151 def mouseMoveEvent(self, event): 7152 '''void QGraphicsItem.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 7153 def mouseDoubleClickEvent(self, event): 7154 '''void QGraphicsItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent event)''' 7155 def keyReleaseEvent(self, event): 7156 '''void QGraphicsItem.keyReleaseEvent(QKeyEvent event)''' 7157 def keyPressEvent(self, event): 7158 '''void QGraphicsItem.keyPressEvent(QKeyEvent event)''' 7159 def itemChange(self, change, value): 7160 '''QVariant QGraphicsItem.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 7161 return QVariant() 7162 def inputMethodQuery(self, query): 7163 '''QVariant QGraphicsItem.inputMethodQuery(Qt.InputMethodQuery query)''' 7164 return QVariant() 7165 def inputMethodEvent(self, event): 7166 '''void QGraphicsItem.inputMethodEvent(QInputMethodEvent event)''' 7167 def hoverMoveEvent(self, event): 7168 '''void QGraphicsItem.hoverMoveEvent(QGraphicsSceneHoverEvent event)''' 7169 def hoverLeaveEvent(self, event): 7170 '''void QGraphicsItem.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 7171 def hoverEnterEvent(self, event): 7172 '''void QGraphicsItem.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 7173 def focusOutEvent(self, event): 7174 '''void QGraphicsItem.focusOutEvent(QFocusEvent event)''' 7175 def focusInEvent(self, event): 7176 '''void QGraphicsItem.focusInEvent(QFocusEvent event)''' 7177 def dropEvent(self, event): 7178 '''void QGraphicsItem.dropEvent(QGraphicsSceneDragDropEvent event)''' 7179 def dragMoveEvent(self, event): 7180 '''void QGraphicsItem.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 7181 def dragLeaveEvent(self, event): 7182 '''void QGraphicsItem.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 7183 def dragEnterEvent(self, event): 7184 '''void QGraphicsItem.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 7185 def contextMenuEvent(self, event): 7186 '''void QGraphicsItem.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 7187 def removeSceneEventFilter(self, filterItem): 7188 '''void QGraphicsItem.removeSceneEventFilter(QGraphicsItem filterItem)''' 7189 def installSceneEventFilter(self, filterItem): 7190 '''void QGraphicsItem.installSceneEventFilter(QGraphicsItem filterItem)''' 7191 def type(self): 7192 '''int QGraphicsItem.type()''' 7193 return int() 7194 def setData(self, key, value): 7195 '''void QGraphicsItem.setData(int key, QVariant value)''' 7196 def data(self, key): 7197 '''QVariant QGraphicsItem.data(int key)''' 7198 return QVariant() 7199 def isAncestorOf(self, child): 7200 '''bool QGraphicsItem.isAncestorOf(QGraphicsItem child)''' 7201 return bool() 7202 def mapFromScene(self, point): 7203 '''QPointF QGraphicsItem.mapFromScene(QPointF point)''' 7204 return QPointF() 7205 def mapFromScene(self, rect): 7206 '''QPolygonF QGraphicsItem.mapFromScene(QRectF rect)''' 7207 return QPolygonF() 7208 def mapFromScene(self, polygon): 7209 '''QPolygonF QGraphicsItem.mapFromScene(QPolygonF polygon)''' 7210 return QPolygonF() 7211 def mapFromScene(self, path): 7212 '''QPainterPath QGraphicsItem.mapFromScene(QPainterPath path)''' 7213 return QPainterPath() 7214 def mapFromScene(self, ax, ay): 7215 '''QPointF QGraphicsItem.mapFromScene(float ax, float ay)''' 7216 return QPointF() 7217 def mapFromScene(self, ax, ay, w, h): 7218 '''QPolygonF QGraphicsItem.mapFromScene(float ax, float ay, float w, float h)''' 7219 return QPolygonF() 7220 def mapFromParent(self, point): 7221 '''QPointF QGraphicsItem.mapFromParent(QPointF point)''' 7222 return QPointF() 7223 def mapFromParent(self, rect): 7224 '''QPolygonF QGraphicsItem.mapFromParent(QRectF rect)''' 7225 return QPolygonF() 7226 def mapFromParent(self, polygon): 7227 '''QPolygonF QGraphicsItem.mapFromParent(QPolygonF polygon)''' 7228 return QPolygonF() 7229 def mapFromParent(self, path): 7230 '''QPainterPath QGraphicsItem.mapFromParent(QPainterPath path)''' 7231 return QPainterPath() 7232 def mapFromParent(self, ax, ay): 7233 '''QPointF QGraphicsItem.mapFromParent(float ax, float ay)''' 7234 return QPointF() 7235 def mapFromParent(self, ax, ay, w, h): 7236 '''QPolygonF QGraphicsItem.mapFromParent(float ax, float ay, float w, float h)''' 7237 return QPolygonF() 7238 def mapFromItem(self, item, point): 7239 '''QPointF QGraphicsItem.mapFromItem(QGraphicsItem item, QPointF point)''' 7240 return QPointF() 7241 def mapFromItem(self, item, rect): 7242 '''QPolygonF QGraphicsItem.mapFromItem(QGraphicsItem item, QRectF rect)''' 7243 return QPolygonF() 7244 def mapFromItem(self, item, polygon): 7245 '''QPolygonF QGraphicsItem.mapFromItem(QGraphicsItem item, QPolygonF polygon)''' 7246 return QPolygonF() 7247 def mapFromItem(self, item, path): 7248 '''QPainterPath QGraphicsItem.mapFromItem(QGraphicsItem item, QPainterPath path)''' 7249 return QPainterPath() 7250 def mapFromItem(self, item, ax, ay): 7251 '''QPointF QGraphicsItem.mapFromItem(QGraphicsItem item, float ax, float ay)''' 7252 return QPointF() 7253 def mapFromItem(self, item, ax, ay, w, h): 7254 '''QPolygonF QGraphicsItem.mapFromItem(QGraphicsItem item, float ax, float ay, float w, float h)''' 7255 return QPolygonF() 7256 def mapToScene(self, point): 7257 '''QPointF QGraphicsItem.mapToScene(QPointF point)''' 7258 return QPointF() 7259 def mapToScene(self, rect): 7260 '''QPolygonF QGraphicsItem.mapToScene(QRectF rect)''' 7261 return QPolygonF() 7262 def mapToScene(self, polygon): 7263 '''QPolygonF QGraphicsItem.mapToScene(QPolygonF polygon)''' 7264 return QPolygonF() 7265 def mapToScene(self, path): 7266 '''QPainterPath QGraphicsItem.mapToScene(QPainterPath path)''' 7267 return QPainterPath() 7268 def mapToScene(self, ax, ay): 7269 '''QPointF QGraphicsItem.mapToScene(float ax, float ay)''' 7270 return QPointF() 7271 def mapToScene(self, ax, ay, w, h): 7272 '''QPolygonF QGraphicsItem.mapToScene(float ax, float ay, float w, float h)''' 7273 return QPolygonF() 7274 def mapToParent(self, point): 7275 '''QPointF QGraphicsItem.mapToParent(QPointF point)''' 7276 return QPointF() 7277 def mapToParent(self, rect): 7278 '''QPolygonF QGraphicsItem.mapToParent(QRectF rect)''' 7279 return QPolygonF() 7280 def mapToParent(self, polygon): 7281 '''QPolygonF QGraphicsItem.mapToParent(QPolygonF polygon)''' 7282 return QPolygonF() 7283 def mapToParent(self, path): 7284 '''QPainterPath QGraphicsItem.mapToParent(QPainterPath path)''' 7285 return QPainterPath() 7286 def mapToParent(self, ax, ay): 7287 '''QPointF QGraphicsItem.mapToParent(float ax, float ay)''' 7288 return QPointF() 7289 def mapToParent(self, ax, ay, w, h): 7290 '''QPolygonF QGraphicsItem.mapToParent(float ax, float ay, float w, float h)''' 7291 return QPolygonF() 7292 def mapToItem(self, item, point): 7293 '''QPointF QGraphicsItem.mapToItem(QGraphicsItem item, QPointF point)''' 7294 return QPointF() 7295 def mapToItem(self, item, rect): 7296 '''QPolygonF QGraphicsItem.mapToItem(QGraphicsItem item, QRectF rect)''' 7297 return QPolygonF() 7298 def mapToItem(self, item, polygon): 7299 '''QPolygonF QGraphicsItem.mapToItem(QGraphicsItem item, QPolygonF polygon)''' 7300 return QPolygonF() 7301 def mapToItem(self, item, path): 7302 '''QPainterPath QGraphicsItem.mapToItem(QGraphicsItem item, QPainterPath path)''' 7303 return QPainterPath() 7304 def mapToItem(self, item, ax, ay): 7305 '''QPointF QGraphicsItem.mapToItem(QGraphicsItem item, float ax, float ay)''' 7306 return QPointF() 7307 def mapToItem(self, item, ax, ay, w, h): 7308 '''QPolygonF QGraphicsItem.mapToItem(QGraphicsItem item, float ax, float ay, float w, float h)''' 7309 return QPolygonF() 7310 def update(self, rect = QRectF()): 7311 '''void QGraphicsItem.update(QRectF rect = QRectF())''' 7312 def update(self, ax, ay, width, height): 7313 '''void QGraphicsItem.update(float ax, float ay, float width, float height)''' 7314 def paint(self, painter, option, widget = None): 7315 '''abstract void QGraphicsItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 7316 def opaqueArea(self): 7317 '''QPainterPath QGraphicsItem.opaqueArea()''' 7318 return QPainterPath() 7319 def isObscuredBy(self, item): 7320 '''bool QGraphicsItem.isObscuredBy(QGraphicsItem item)''' 7321 return bool() 7322 def collidingItems(self, mode = None): 7323 '''list-of-QGraphicsItem QGraphicsItem.collidingItems(Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 7324 return [QGraphicsItem()] 7325 def collidesWithPath(self, path, mode = None): 7326 '''bool QGraphicsItem.collidesWithPath(QPainterPath path, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 7327 return bool() 7328 def collidesWithItem(self, other, mode = None): 7329 '''bool QGraphicsItem.collidesWithItem(QGraphicsItem other, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 7330 return bool() 7331 def contains(self, point): 7332 '''bool QGraphicsItem.contains(QPointF point)''' 7333 return bool() 7334 def shape(self): 7335 '''QPainterPath QGraphicsItem.shape()''' 7336 return QPainterPath() 7337 def sceneBoundingRect(self): 7338 '''QRectF QGraphicsItem.sceneBoundingRect()''' 7339 return QRectF() 7340 def childrenBoundingRect(self): 7341 '''QRectF QGraphicsItem.childrenBoundingRect()''' 7342 return QRectF() 7343 def boundingRect(self): 7344 '''abstract QRectF QGraphicsItem.boundingRect()''' 7345 return QRectF() 7346 def setZValue(self, z): 7347 '''void QGraphicsItem.setZValue(float z)''' 7348 def zValue(self): 7349 '''float QGraphicsItem.zValue()''' 7350 return float() 7351 def advance(self, phase): 7352 '''void QGraphicsItem.advance(int phase)''' 7353 def ensureVisible(self, rect = QRectF(), xMargin = 50, yMargin = 50): 7354 '''void QGraphicsItem.ensureVisible(QRectF rect = QRectF(), int xMargin = 50, int yMargin = 50)''' 7355 def ensureVisible(self, x, y, w, h, xMargin = 50, yMargin = 50): 7356 '''void QGraphicsItem.ensureVisible(float x, float y, float w, float h, int xMargin = 50, int yMargin = 50)''' 7357 def moveBy(self, dx, dy): 7358 '''void QGraphicsItem.moveBy(float dx, float dy)''' 7359 def setPos(self, pos): 7360 '''void QGraphicsItem.setPos(QPointF pos)''' 7361 def setPos(self, ax, ay): 7362 '''void QGraphicsItem.setPos(float ax, float ay)''' 7363 def scenePos(self): 7364 '''QPointF QGraphicsItem.scenePos()''' 7365 return QPointF() 7366 def y(self): 7367 '''float QGraphicsItem.y()''' 7368 return float() 7369 def x(self): 7370 '''float QGraphicsItem.x()''' 7371 return float() 7372 def pos(self): 7373 '''QPointF QGraphicsItem.pos()''' 7374 return QPointF() 7375 def clearFocus(self): 7376 '''void QGraphicsItem.clearFocus()''' 7377 def setFocus(self, focusReason = None): 7378 '''void QGraphicsItem.setFocus(Qt.FocusReason focusReason = Qt.OtherFocusReason)''' 7379 def hasFocus(self): 7380 '''bool QGraphicsItem.hasFocus()''' 7381 return bool() 7382 def setAcceptedMouseButtons(self, buttons): 7383 '''void QGraphicsItem.setAcceptedMouseButtons(Qt.MouseButtons buttons)''' 7384 def acceptedMouseButtons(self): 7385 '''Qt.MouseButtons QGraphicsItem.acceptedMouseButtons()''' 7386 return Qt.MouseButtons() 7387 def setAcceptDrops(self, on): 7388 '''void QGraphicsItem.setAcceptDrops(bool on)''' 7389 def acceptDrops(self): 7390 '''bool QGraphicsItem.acceptDrops()''' 7391 return bool() 7392 def setSelected(self, selected): 7393 '''void QGraphicsItem.setSelected(bool selected)''' 7394 def isSelected(self): 7395 '''bool QGraphicsItem.isSelected()''' 7396 return bool() 7397 def setEnabled(self, enabled): 7398 '''void QGraphicsItem.setEnabled(bool enabled)''' 7399 def isEnabled(self): 7400 '''bool QGraphicsItem.isEnabled()''' 7401 return bool() 7402 def show(self): 7403 '''void QGraphicsItem.show()''' 7404 def hide(self): 7405 '''void QGraphicsItem.hide()''' 7406 def setVisible(self, visible): 7407 '''void QGraphicsItem.setVisible(bool visible)''' 7408 def isVisible(self): 7409 '''bool QGraphicsItem.isVisible()''' 7410 return bool() 7411 def unsetCursor(self): 7412 '''void QGraphicsItem.unsetCursor()''' 7413 def hasCursor(self): 7414 '''bool QGraphicsItem.hasCursor()''' 7415 return bool() 7416 def setCursor(self, cursor): 7417 '''void QGraphicsItem.setCursor(QCursor cursor)''' 7418 def cursor(self): 7419 '''QCursor QGraphicsItem.cursor()''' 7420 return QCursor() 7421 def setToolTip(self, toolTip): 7422 '''void QGraphicsItem.setToolTip(str toolTip)''' 7423 def toolTip(self): 7424 '''str QGraphicsItem.toolTip()''' 7425 return str() 7426 def setFlags(self, flags): 7427 '''void QGraphicsItem.setFlags(QGraphicsItem.GraphicsItemFlags flags)''' 7428 def setFlag(self, flag, enabled = True): 7429 '''void QGraphicsItem.setFlag(QGraphicsItem.GraphicsItemFlag flag, bool enabled = True)''' 7430 def flags(self): 7431 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.flags()''' 7432 return QGraphicsItem.GraphicsItemFlags() 7433 def setGroup(self, group): 7434 '''void QGraphicsItem.setGroup(QGraphicsItemGroup group)''' 7435 def group(self): 7436 '''QGraphicsItemGroup QGraphicsItem.group()''' 7437 return QGraphicsItemGroup() 7438 def setParentItem(self, parent): 7439 '''void QGraphicsItem.setParentItem(QGraphicsItem parent)''' 7440 def topLevelItem(self): 7441 '''QGraphicsItem QGraphicsItem.topLevelItem()''' 7442 return QGraphicsItem() 7443 def parentItem(self): 7444 '''QGraphicsItem QGraphicsItem.parentItem()''' 7445 return QGraphicsItem() 7446 def scene(self): 7447 '''QGraphicsScene QGraphicsItem.scene()''' 7448 return QGraphicsScene() 7449 class GraphicsItemFlags(): 7450 """""" 7451 def __init__(self): 7452 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__init__()''' 7453 return QGraphicsItem.GraphicsItemFlags() 7454 def __init__(self): 7455 '''int QGraphicsItem.GraphicsItemFlags.__init__()''' 7456 return int() 7457 def __init__(self): 7458 '''void QGraphicsItem.GraphicsItemFlags.__init__()''' 7459 def __bool__(self): 7460 '''int QGraphicsItem.GraphicsItemFlags.__bool__()''' 7461 return int() 7462 def __ne__(self, f): 7463 '''bool QGraphicsItem.GraphicsItemFlags.__ne__(QGraphicsItem.GraphicsItemFlags f)''' 7464 return bool() 7465 def __eq__(self, f): 7466 '''bool QGraphicsItem.GraphicsItemFlags.__eq__(QGraphicsItem.GraphicsItemFlags f)''' 7467 return bool() 7468 def __invert__(self): 7469 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__invert__()''' 7470 return QGraphicsItem.GraphicsItemFlags() 7471 def __and__(self, mask): 7472 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__and__(int mask)''' 7473 return QGraphicsItem.GraphicsItemFlags() 7474 def __xor__(self, f): 7475 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__xor__(QGraphicsItem.GraphicsItemFlags f)''' 7476 return QGraphicsItem.GraphicsItemFlags() 7477 def __xor__(self, f): 7478 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__xor__(int f)''' 7479 return QGraphicsItem.GraphicsItemFlags() 7480 def __or__(self, f): 7481 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__or__(QGraphicsItem.GraphicsItemFlags f)''' 7482 return QGraphicsItem.GraphicsItemFlags() 7483 def __or__(self, f): 7484 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__or__(int f)''' 7485 return QGraphicsItem.GraphicsItemFlags() 7486 def __int__(self): 7487 '''int QGraphicsItem.GraphicsItemFlags.__int__()''' 7488 return int() 7489 def __ixor__(self, f): 7490 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__ixor__(QGraphicsItem.GraphicsItemFlags f)''' 7491 return QGraphicsItem.GraphicsItemFlags() 7492 def __ior__(self, f): 7493 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__ior__(QGraphicsItem.GraphicsItemFlags f)''' 7494 return QGraphicsItem.GraphicsItemFlags() 7495 def __iand__(self, mask): 7496 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__iand__(int mask)''' 7497 return QGraphicsItem.GraphicsItemFlags() 7498 7499 7500 class QAbstractGraphicsShapeItem(QGraphicsItem): 7501 """""" 7502 def __init__(self, parent = None): 7503 '''void QAbstractGraphicsShapeItem.__init__(QGraphicsItem parent = None)''' 7504 def opaqueArea(self): 7505 '''QPainterPath QAbstractGraphicsShapeItem.opaqueArea()''' 7506 return QPainterPath() 7507 def isObscuredBy(self, item): 7508 '''bool QAbstractGraphicsShapeItem.isObscuredBy(QGraphicsItem item)''' 7509 return bool() 7510 def setBrush(self, brush): 7511 '''void QAbstractGraphicsShapeItem.setBrush(QBrush brush)''' 7512 def brush(self): 7513 '''QBrush QAbstractGraphicsShapeItem.brush()''' 7514 return QBrush() 7515 def setPen(self, pen): 7516 '''void QAbstractGraphicsShapeItem.setPen(QPen pen)''' 7517 def pen(self): 7518 '''QPen QAbstractGraphicsShapeItem.pen()''' 7519 return QPen() 7520 7521 7522 class QGraphicsPathItem(QAbstractGraphicsShapeItem): 7523 """""" 7524 def __init__(self, parent = None): 7525 '''void QGraphicsPathItem.__init__(QGraphicsItem parent = None)''' 7526 def __init__(self, path, parent = None): 7527 '''void QGraphicsPathItem.__init__(QPainterPath path, QGraphicsItem parent = None)''' 7528 def type(self): 7529 '''int QGraphicsPathItem.type()''' 7530 return int() 7531 def opaqueArea(self): 7532 '''QPainterPath QGraphicsPathItem.opaqueArea()''' 7533 return QPainterPath() 7534 def isObscuredBy(self, item): 7535 '''bool QGraphicsPathItem.isObscuredBy(QGraphicsItem item)''' 7536 return bool() 7537 def paint(self, painter, option, widget = None): 7538 '''void QGraphicsPathItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 7539 def contains(self, point): 7540 '''bool QGraphicsPathItem.contains(QPointF point)''' 7541 return bool() 7542 def shape(self): 7543 '''QPainterPath QGraphicsPathItem.shape()''' 7544 return QPainterPath() 7545 def boundingRect(self): 7546 '''QRectF QGraphicsPathItem.boundingRect()''' 7547 return QRectF() 7548 def setPath(self, path): 7549 '''void QGraphicsPathItem.setPath(QPainterPath path)''' 7550 def path(self): 7551 '''QPainterPath QGraphicsPathItem.path()''' 7552 return QPainterPath() 7553 7554 7555 class QGraphicsRectItem(QAbstractGraphicsShapeItem): 7556 """""" 7557 def __init__(self, parent = None): 7558 '''void QGraphicsRectItem.__init__(QGraphicsItem parent = None)''' 7559 def __init__(self, rect, parent = None): 7560 '''void QGraphicsRectItem.__init__(QRectF rect, QGraphicsItem parent = None)''' 7561 def __init__(self, x, y, w, h, parent = None): 7562 '''void QGraphicsRectItem.__init__(float x, float y, float w, float h, QGraphicsItem parent = None)''' 7563 def type(self): 7564 '''int QGraphicsRectItem.type()''' 7565 return int() 7566 def opaqueArea(self): 7567 '''QPainterPath QGraphicsRectItem.opaqueArea()''' 7568 return QPainterPath() 7569 def isObscuredBy(self, item): 7570 '''bool QGraphicsRectItem.isObscuredBy(QGraphicsItem item)''' 7571 return bool() 7572 def paint(self, painter, option, widget = None): 7573 '''void QGraphicsRectItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 7574 def contains(self, point): 7575 '''bool QGraphicsRectItem.contains(QPointF point)''' 7576 return bool() 7577 def shape(self): 7578 '''QPainterPath QGraphicsRectItem.shape()''' 7579 return QPainterPath() 7580 def boundingRect(self): 7581 '''QRectF QGraphicsRectItem.boundingRect()''' 7582 return QRectF() 7583 def setRect(self, rect): 7584 '''void QGraphicsRectItem.setRect(QRectF rect)''' 7585 def setRect(self, ax, ay, w, h): 7586 '''void QGraphicsRectItem.setRect(float ax, float ay, float w, float h)''' 7587 def rect(self): 7588 '''QRectF QGraphicsRectItem.rect()''' 7589 return QRectF() 7590 7591 7592 class QGraphicsEllipseItem(QAbstractGraphicsShapeItem): 7593 """""" 7594 def __init__(self, parent = None): 7595 '''void QGraphicsEllipseItem.__init__(QGraphicsItem parent = None)''' 7596 def __init__(self, rect, parent = None): 7597 '''void QGraphicsEllipseItem.__init__(QRectF rect, QGraphicsItem parent = None)''' 7598 def __init__(self, x, y, w, h, parent = None): 7599 '''void QGraphicsEllipseItem.__init__(float x, float y, float w, float h, QGraphicsItem parent = None)''' 7600 def type(self): 7601 '''int QGraphicsEllipseItem.type()''' 7602 return int() 7603 def opaqueArea(self): 7604 '''QPainterPath QGraphicsEllipseItem.opaqueArea()''' 7605 return QPainterPath() 7606 def isObscuredBy(self, item): 7607 '''bool QGraphicsEllipseItem.isObscuredBy(QGraphicsItem item)''' 7608 return bool() 7609 def paint(self, painter, option, widget = None): 7610 '''void QGraphicsEllipseItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 7611 def contains(self, point): 7612 '''bool QGraphicsEllipseItem.contains(QPointF point)''' 7613 return bool() 7614 def shape(self): 7615 '''QPainterPath QGraphicsEllipseItem.shape()''' 7616 return QPainterPath() 7617 def boundingRect(self): 7618 '''QRectF QGraphicsEllipseItem.boundingRect()''' 7619 return QRectF() 7620 def setSpanAngle(self, angle): 7621 '''void QGraphicsEllipseItem.setSpanAngle(int angle)''' 7622 def spanAngle(self): 7623 '''int QGraphicsEllipseItem.spanAngle()''' 7624 return int() 7625 def setStartAngle(self, angle): 7626 '''void QGraphicsEllipseItem.setStartAngle(int angle)''' 7627 def startAngle(self): 7628 '''int QGraphicsEllipseItem.startAngle()''' 7629 return int() 7630 def setRect(self, rect): 7631 '''void QGraphicsEllipseItem.setRect(QRectF rect)''' 7632 def setRect(self, ax, ay, w, h): 7633 '''void QGraphicsEllipseItem.setRect(float ax, float ay, float w, float h)''' 7634 def rect(self): 7635 '''QRectF QGraphicsEllipseItem.rect()''' 7636 return QRectF() 7637 7638 7639 class QGraphicsPolygonItem(QAbstractGraphicsShapeItem): 7640 """""" 7641 def __init__(self, parent = None): 7642 '''void QGraphicsPolygonItem.__init__(QGraphicsItem parent = None)''' 7643 def __init__(self, polygon, parent = None): 7644 '''void QGraphicsPolygonItem.__init__(QPolygonF polygon, QGraphicsItem parent = None)''' 7645 def type(self): 7646 '''int QGraphicsPolygonItem.type()''' 7647 return int() 7648 def opaqueArea(self): 7649 '''QPainterPath QGraphicsPolygonItem.opaqueArea()''' 7650 return QPainterPath() 7651 def isObscuredBy(self, item): 7652 '''bool QGraphicsPolygonItem.isObscuredBy(QGraphicsItem item)''' 7653 return bool() 7654 def paint(self, painter, option, widget = None): 7655 '''void QGraphicsPolygonItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 7656 def contains(self, point): 7657 '''bool QGraphicsPolygonItem.contains(QPointF point)''' 7658 return bool() 7659 def shape(self): 7660 '''QPainterPath QGraphicsPolygonItem.shape()''' 7661 return QPainterPath() 7662 def boundingRect(self): 7663 '''QRectF QGraphicsPolygonItem.boundingRect()''' 7664 return QRectF() 7665 def setFillRule(self, rule): 7666 '''void QGraphicsPolygonItem.setFillRule(Qt.FillRule rule)''' 7667 def fillRule(self): 7668 '''Qt.FillRule QGraphicsPolygonItem.fillRule()''' 7669 return Qt.FillRule() 7670 def setPolygon(self, polygon): 7671 '''void QGraphicsPolygonItem.setPolygon(QPolygonF polygon)''' 7672 def polygon(self): 7673 '''QPolygonF QGraphicsPolygonItem.polygon()''' 7674 return QPolygonF() 7675 7676 7677 class QGraphicsLineItem(QGraphicsItem): 7678 """""" 7679 def __init__(self, parent = None): 7680 '''void QGraphicsLineItem.__init__(QGraphicsItem parent = None)''' 7681 def __init__(self, line, parent = None): 7682 '''void QGraphicsLineItem.__init__(QLineF line, QGraphicsItem parent = None)''' 7683 def __init__(self, x1, y1, x2, y2, parent = None): 7684 '''void QGraphicsLineItem.__init__(float x1, float y1, float x2, float y2, QGraphicsItem parent = None)''' 7685 def type(self): 7686 '''int QGraphicsLineItem.type()''' 7687 return int() 7688 def opaqueArea(self): 7689 '''QPainterPath QGraphicsLineItem.opaqueArea()''' 7690 return QPainterPath() 7691 def isObscuredBy(self, item): 7692 '''bool QGraphicsLineItem.isObscuredBy(QGraphicsItem item)''' 7693 return bool() 7694 def paint(self, painter, option, widget = None): 7695 '''void QGraphicsLineItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 7696 def contains(self, point): 7697 '''bool QGraphicsLineItem.contains(QPointF point)''' 7698 return bool() 7699 def shape(self): 7700 '''QPainterPath QGraphicsLineItem.shape()''' 7701 return QPainterPath() 7702 def boundingRect(self): 7703 '''QRectF QGraphicsLineItem.boundingRect()''' 7704 return QRectF() 7705 def setLine(self, line): 7706 '''void QGraphicsLineItem.setLine(QLineF line)''' 7707 def setLine(self, x1, y1, x2, y2): 7708 '''void QGraphicsLineItem.setLine(float x1, float y1, float x2, float y2)''' 7709 def line(self): 7710 '''QLineF QGraphicsLineItem.line()''' 7711 return QLineF() 7712 def setPen(self, pen): 7713 '''void QGraphicsLineItem.setPen(QPen pen)''' 7714 def pen(self): 7715 '''QPen QGraphicsLineItem.pen()''' 7716 return QPen() 7717 7718 7719 class QGraphicsPixmapItem(QGraphicsItem): 7720 """""" 7721 # Enum QGraphicsPixmapItem.ShapeMode 7722 MaskShape = 0 7723 BoundingRectShape = 0 7724 HeuristicMaskShape = 0 7725 7726 def __init__(self, parent = None): 7727 '''void QGraphicsPixmapItem.__init__(QGraphicsItem parent = None)''' 7728 def __init__(self, pixmap, parent = None): 7729 '''void QGraphicsPixmapItem.__init__(QPixmap pixmap, QGraphicsItem parent = None)''' 7730 def setShapeMode(self, mode): 7731 '''void QGraphicsPixmapItem.setShapeMode(QGraphicsPixmapItem.ShapeMode mode)''' 7732 def shapeMode(self): 7733 '''QGraphicsPixmapItem.ShapeMode QGraphicsPixmapItem.shapeMode()''' 7734 return QGraphicsPixmapItem.ShapeMode() 7735 def type(self): 7736 '''int QGraphicsPixmapItem.type()''' 7737 return int() 7738 def opaqueArea(self): 7739 '''QPainterPath QGraphicsPixmapItem.opaqueArea()''' 7740 return QPainterPath() 7741 def isObscuredBy(self, item): 7742 '''bool QGraphicsPixmapItem.isObscuredBy(QGraphicsItem item)''' 7743 return bool() 7744 def paint(self, painter, option, widget): 7745 '''void QGraphicsPixmapItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 7746 def contains(self, point): 7747 '''bool QGraphicsPixmapItem.contains(QPointF point)''' 7748 return bool() 7749 def shape(self): 7750 '''QPainterPath QGraphicsPixmapItem.shape()''' 7751 return QPainterPath() 7752 def boundingRect(self): 7753 '''QRectF QGraphicsPixmapItem.boundingRect()''' 7754 return QRectF() 7755 def setOffset(self, offset): 7756 '''void QGraphicsPixmapItem.setOffset(QPointF offset)''' 7757 def setOffset(self, ax, ay): 7758 '''void QGraphicsPixmapItem.setOffset(float ax, float ay)''' 7759 def offset(self): 7760 '''QPointF QGraphicsPixmapItem.offset()''' 7761 return QPointF() 7762 def setTransformationMode(self, mode): 7763 '''void QGraphicsPixmapItem.setTransformationMode(Qt.TransformationMode mode)''' 7764 def transformationMode(self): 7765 '''Qt.TransformationMode QGraphicsPixmapItem.transformationMode()''' 7766 return Qt.TransformationMode() 7767 def setPixmap(self, pixmap): 7768 '''void QGraphicsPixmapItem.setPixmap(QPixmap pixmap)''' 7769 def pixmap(self): 7770 '''QPixmap QGraphicsPixmapItem.pixmap()''' 7771 return QPixmap() 7772 7773 7774 class QGraphicsSimpleTextItem(QAbstractGraphicsShapeItem): 7775 """""" 7776 def __init__(self, parent = None): 7777 '''void QGraphicsSimpleTextItem.__init__(QGraphicsItem parent = None)''' 7778 def __init__(self, text, parent = None): 7779 '''void QGraphicsSimpleTextItem.__init__(str text, QGraphicsItem parent = None)''' 7780 def type(self): 7781 '''int QGraphicsSimpleTextItem.type()''' 7782 return int() 7783 def opaqueArea(self): 7784 '''QPainterPath QGraphicsSimpleTextItem.opaqueArea()''' 7785 return QPainterPath() 7786 def isObscuredBy(self, item): 7787 '''bool QGraphicsSimpleTextItem.isObscuredBy(QGraphicsItem item)''' 7788 return bool() 7789 def paint(self, painter, option, widget): 7790 '''void QGraphicsSimpleTextItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 7791 def contains(self, point): 7792 '''bool QGraphicsSimpleTextItem.contains(QPointF point)''' 7793 return bool() 7794 def shape(self): 7795 '''QPainterPath QGraphicsSimpleTextItem.shape()''' 7796 return QPainterPath() 7797 def boundingRect(self): 7798 '''QRectF QGraphicsSimpleTextItem.boundingRect()''' 7799 return QRectF() 7800 def font(self): 7801 '''QFont QGraphicsSimpleTextItem.font()''' 7802 return QFont() 7803 def setFont(self, font): 7804 '''void QGraphicsSimpleTextItem.setFont(QFont font)''' 7805 def text(self): 7806 '''str QGraphicsSimpleTextItem.text()''' 7807 return str() 7808 def setText(self, text): 7809 '''void QGraphicsSimpleTextItem.setText(str text)''' 7810 7811 7812 class QGraphicsItemGroup(QGraphicsItem): 7813 """""" 7814 def __init__(self, parent = None): 7815 '''void QGraphicsItemGroup.__init__(QGraphicsItem parent = None)''' 7816 def type(self): 7817 '''int QGraphicsItemGroup.type()''' 7818 return int() 7819 def opaqueArea(self): 7820 '''QPainterPath QGraphicsItemGroup.opaqueArea()''' 7821 return QPainterPath() 7822 def isObscuredBy(self, item): 7823 '''bool QGraphicsItemGroup.isObscuredBy(QGraphicsItem item)''' 7824 return bool() 7825 def paint(self, painter, option, widget = None): 7826 '''void QGraphicsItemGroup.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 7827 def boundingRect(self): 7828 '''QRectF QGraphicsItemGroup.boundingRect()''' 7829 return QRectF() 7830 def removeFromGroup(self, item): 7831 '''void QGraphicsItemGroup.removeFromGroup(QGraphicsItem item)''' 7832 def addToGroup(self, item): 7833 '''void QGraphicsItemGroup.addToGroup(QGraphicsItem item)''' 7834 7835 7836 class QGraphicsObject(QObject, QGraphicsItem): 7837 """""" 7838 def __init__(self, parent = None): 7839 '''void QGraphicsObject.__init__(QGraphicsItem parent = None)''' 7840 def event(self, ev): 7841 '''bool QGraphicsObject.event(QEvent ev)''' 7842 return bool() 7843 def updateMicroFocus(self): 7844 '''void QGraphicsObject.updateMicroFocus()''' 7845 scaleChanged = pyqtSignal() # void scaleChanged() - signal 7846 rotationChanged = pyqtSignal() # void rotationChanged() - signal 7847 zChanged = pyqtSignal() # void zChanged() - signal 7848 yChanged = pyqtSignal() # void yChanged() - signal 7849 xChanged = pyqtSignal() # void xChanged() - signal 7850 enabledChanged = pyqtSignal() # void enabledChanged() - signal 7851 visibleChanged = pyqtSignal() # void visibleChanged() - signal 7852 opacityChanged = pyqtSignal() # void opacityChanged() - signal 7853 parentChanged = pyqtSignal() # void parentChanged() - signal 7854 def ungrabGesture(self, type): 7855 '''void QGraphicsObject.ungrabGesture(Qt.GestureType type)''' 7856 def grabGesture(self, type, flags = None): 7857 '''void QGraphicsObject.grabGesture(Qt.GestureType type, Qt.GestureFlags flags = Qt.GestureFlags(0))''' 7858 7859 7860 class QGraphicsTextItem(QGraphicsObject): 7861 """""" 7862 def __init__(self, parent = None): 7863 '''void QGraphicsTextItem.__init__(QGraphicsItem parent = None)''' 7864 def __init__(self, text, parent = None): 7865 '''void QGraphicsTextItem.__init__(str text, QGraphicsItem parent = None)''' 7866 def inputMethodQuery(self, query): 7867 '''QVariant QGraphicsTextItem.inputMethodQuery(Qt.InputMethodQuery query)''' 7868 return QVariant() 7869 def hoverLeaveEvent(self, event): 7870 '''void QGraphicsTextItem.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 7871 def hoverMoveEvent(self, event): 7872 '''void QGraphicsTextItem.hoverMoveEvent(QGraphicsSceneHoverEvent event)''' 7873 def hoverEnterEvent(self, event): 7874 '''void QGraphicsTextItem.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 7875 def inputMethodEvent(self, event): 7876 '''void QGraphicsTextItem.inputMethodEvent(QInputMethodEvent event)''' 7877 def dropEvent(self, event): 7878 '''void QGraphicsTextItem.dropEvent(QGraphicsSceneDragDropEvent event)''' 7879 def dragMoveEvent(self, event): 7880 '''void QGraphicsTextItem.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 7881 def dragLeaveEvent(self, event): 7882 '''void QGraphicsTextItem.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 7883 def dragEnterEvent(self, event): 7884 '''void QGraphicsTextItem.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 7885 def focusOutEvent(self, event): 7886 '''void QGraphicsTextItem.focusOutEvent(QFocusEvent event)''' 7887 def focusInEvent(self, event): 7888 '''void QGraphicsTextItem.focusInEvent(QFocusEvent event)''' 7889 def keyReleaseEvent(self, event): 7890 '''void QGraphicsTextItem.keyReleaseEvent(QKeyEvent event)''' 7891 def keyPressEvent(self, event): 7892 '''void QGraphicsTextItem.keyPressEvent(QKeyEvent event)''' 7893 def contextMenuEvent(self, event): 7894 '''void QGraphicsTextItem.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 7895 def mouseDoubleClickEvent(self, event): 7896 '''void QGraphicsTextItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent event)''' 7897 def mouseReleaseEvent(self, event): 7898 '''void QGraphicsTextItem.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 7899 def mouseMoveEvent(self, event): 7900 '''void QGraphicsTextItem.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 7901 def mousePressEvent(self, event): 7902 '''void QGraphicsTextItem.mousePressEvent(QGraphicsSceneMouseEvent event)''' 7903 def sceneEvent(self, event): 7904 '''bool QGraphicsTextItem.sceneEvent(QEvent event)''' 7905 return bool() 7906 linkHovered = pyqtSignal() # void linkHovered(const QStringamp;) - signal 7907 linkActivated = pyqtSignal() # void linkActivated(const QStringamp;) - signal 7908 def textCursor(self): 7909 '''QTextCursor QGraphicsTextItem.textCursor()''' 7910 return QTextCursor() 7911 def setTextCursor(self, cursor): 7912 '''void QGraphicsTextItem.setTextCursor(QTextCursor cursor)''' 7913 def openExternalLinks(self): 7914 '''bool QGraphicsTextItem.openExternalLinks()''' 7915 return bool() 7916 def setOpenExternalLinks(self, open): 7917 '''void QGraphicsTextItem.setOpenExternalLinks(bool open)''' 7918 def tabChangesFocus(self): 7919 '''bool QGraphicsTextItem.tabChangesFocus()''' 7920 return bool() 7921 def setTabChangesFocus(self, b): 7922 '''void QGraphicsTextItem.setTabChangesFocus(bool b)''' 7923 def textInteractionFlags(self): 7924 '''Qt.TextInteractionFlags QGraphicsTextItem.textInteractionFlags()''' 7925 return Qt.TextInteractionFlags() 7926 def setTextInteractionFlags(self, flags): 7927 '''void QGraphicsTextItem.setTextInteractionFlags(Qt.TextInteractionFlags flags)''' 7928 def document(self): 7929 '''QTextDocument QGraphicsTextItem.document()''' 7930 return QTextDocument() 7931 def setDocument(self, document): 7932 '''void QGraphicsTextItem.setDocument(QTextDocument document)''' 7933 def adjustSize(self): 7934 '''void QGraphicsTextItem.adjustSize()''' 7935 def textWidth(self): 7936 '''float QGraphicsTextItem.textWidth()''' 7937 return float() 7938 def setTextWidth(self, width): 7939 '''void QGraphicsTextItem.setTextWidth(float width)''' 7940 def type(self): 7941 '''int QGraphicsTextItem.type()''' 7942 return int() 7943 def opaqueArea(self): 7944 '''QPainterPath QGraphicsTextItem.opaqueArea()''' 7945 return QPainterPath() 7946 def isObscuredBy(self, item): 7947 '''bool QGraphicsTextItem.isObscuredBy(QGraphicsItem item)''' 7948 return bool() 7949 def paint(self, painter, option, widget): 7950 '''void QGraphicsTextItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 7951 def contains(self, point): 7952 '''bool QGraphicsTextItem.contains(QPointF point)''' 7953 return bool() 7954 def shape(self): 7955 '''QPainterPath QGraphicsTextItem.shape()''' 7956 return QPainterPath() 7957 def boundingRect(self): 7958 '''QRectF QGraphicsTextItem.boundingRect()''' 7959 return QRectF() 7960 def defaultTextColor(self): 7961 '''QColor QGraphicsTextItem.defaultTextColor()''' 7962 return QColor() 7963 def setDefaultTextColor(self, c): 7964 '''void QGraphicsTextItem.setDefaultTextColor(QColor c)''' 7965 def setFont(self, font): 7966 '''void QGraphicsTextItem.setFont(QFont font)''' 7967 def font(self): 7968 '''QFont QGraphicsTextItem.font()''' 7969 return QFont() 7970 def setPlainText(self, text): 7971 '''void QGraphicsTextItem.setPlainText(str text)''' 7972 def toPlainText(self): 7973 '''str QGraphicsTextItem.toPlainText()''' 7974 return str() 7975 def setHtml(self, html): 7976 '''void QGraphicsTextItem.setHtml(str html)''' 7977 def toHtml(self): 7978 '''str QGraphicsTextItem.toHtml()''' 7979 return str() 7980 7981 7982 class QGraphicsLinearLayout(QGraphicsLayout): 7983 """""" 7984 def __init__(self, parent = None): 7985 '''void QGraphicsLinearLayout.__init__(QGraphicsLayoutItem parent = None)''' 7986 def __init__(self, orientation, parent = None): 7987 '''void QGraphicsLinearLayout.__init__(Qt.Orientation orientation, QGraphicsLayoutItem parent = None)''' 7988 def sizeHint(self, which, constraint = QSizeF()): 7989 '''QSizeF QGraphicsLinearLayout.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 7990 return QSizeF() 7991 def invalidate(self): 7992 '''void QGraphicsLinearLayout.invalidate()''' 7993 def itemAt(self, index): 7994 '''QGraphicsLayoutItem QGraphicsLinearLayout.itemAt(int index)''' 7995 return QGraphicsLayoutItem() 7996 def count(self): 7997 '''int QGraphicsLinearLayout.count()''' 7998 return int() 7999 def setGeometry(self, rect): 8000 '''void QGraphicsLinearLayout.setGeometry(QRectF rect)''' 8001 def alignment(self, item): 8002 '''Qt.Alignment QGraphicsLinearLayout.alignment(QGraphicsLayoutItem item)''' 8003 return Qt.Alignment() 8004 def setAlignment(self, item, alignment): 8005 '''void QGraphicsLinearLayout.setAlignment(QGraphicsLayoutItem item, Qt.Alignment alignment)''' 8006 def stretchFactor(self, item): 8007 '''int QGraphicsLinearLayout.stretchFactor(QGraphicsLayoutItem item)''' 8008 return int() 8009 def setStretchFactor(self, item, stretch): 8010 '''void QGraphicsLinearLayout.setStretchFactor(QGraphicsLayoutItem item, int stretch)''' 8011 def itemSpacing(self, index): 8012 '''float QGraphicsLinearLayout.itemSpacing(int index)''' 8013 return float() 8014 def setItemSpacing(self, index, spacing): 8015 '''void QGraphicsLinearLayout.setItemSpacing(int index, float spacing)''' 8016 def spacing(self): 8017 '''float QGraphicsLinearLayout.spacing()''' 8018 return float() 8019 def setSpacing(self, spacing): 8020 '''void QGraphicsLinearLayout.setSpacing(float spacing)''' 8021 def removeAt(self, index): 8022 '''void QGraphicsLinearLayout.removeAt(int index)''' 8023 def removeItem(self, item): 8024 '''void QGraphicsLinearLayout.removeItem(QGraphicsLayoutItem item)''' 8025 def insertStretch(self, index, stretch = 1): 8026 '''void QGraphicsLinearLayout.insertStretch(int index, int stretch = 1)''' 8027 def insertItem(self, index, item): 8028 '''void QGraphicsLinearLayout.insertItem(int index, QGraphicsLayoutItem item)''' 8029 def addStretch(self, stretch = 1): 8030 '''void QGraphicsLinearLayout.addStretch(int stretch = 1)''' 8031 def addItem(self, item): 8032 '''void QGraphicsLinearLayout.addItem(QGraphicsLayoutItem item)''' 8033 def orientation(self): 8034 '''Qt.Orientation QGraphicsLinearLayout.orientation()''' 8035 return Qt.Orientation() 8036 def setOrientation(self, orientation): 8037 '''void QGraphicsLinearLayout.setOrientation(Qt.Orientation orientation)''' 8038 8039 8040 class QGraphicsWidget(QGraphicsObject, QGraphicsLayoutItem): 8041 """""" 8042 def __init__(self, parent = None, flags = 0): 8043 '''void QGraphicsWidget.__init__(QGraphicsItem parent = None, Qt.WindowFlags flags = 0)''' 8044 geometryChanged = pyqtSignal() # void geometryChanged() - signal 8045 def setAutoFillBackground(self, enabled): 8046 '''void QGraphicsWidget.setAutoFillBackground(bool enabled)''' 8047 def autoFillBackground(self): 8048 '''bool QGraphicsWidget.autoFillBackground()''' 8049 return bool() 8050 def ungrabKeyboardEvent(self, event): 8051 '''void QGraphicsWidget.ungrabKeyboardEvent(QEvent event)''' 8052 def grabKeyboardEvent(self, event): 8053 '''void QGraphicsWidget.grabKeyboardEvent(QEvent event)''' 8054 def ungrabMouseEvent(self, event): 8055 '''void QGraphicsWidget.ungrabMouseEvent(QEvent event)''' 8056 def grabMouseEvent(self, event): 8057 '''void QGraphicsWidget.grabMouseEvent(QEvent event)''' 8058 def hoverLeaveEvent(self, event): 8059 '''void QGraphicsWidget.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 8060 def hoverMoveEvent(self, event): 8061 '''void QGraphicsWidget.hoverMoveEvent(QGraphicsSceneHoverEvent event)''' 8062 def showEvent(self, event): 8063 '''void QGraphicsWidget.showEvent(QShowEvent event)''' 8064 def resizeEvent(self, event): 8065 '''void QGraphicsWidget.resizeEvent(QGraphicsSceneResizeEvent event)''' 8066 def polishEvent(self): 8067 '''void QGraphicsWidget.polishEvent()''' 8068 def moveEvent(self, event): 8069 '''void QGraphicsWidget.moveEvent(QGraphicsSceneMoveEvent event)''' 8070 def hideEvent(self, event): 8071 '''void QGraphicsWidget.hideEvent(QHideEvent event)''' 8072 def focusOutEvent(self, event): 8073 '''void QGraphicsWidget.focusOutEvent(QFocusEvent event)''' 8074 def focusNextPrevChild(self, next): 8075 '''bool QGraphicsWidget.focusNextPrevChild(bool next)''' 8076 return bool() 8077 def focusInEvent(self, event): 8078 '''void QGraphicsWidget.focusInEvent(QFocusEvent event)''' 8079 def closeEvent(self, event): 8080 '''void QGraphicsWidget.closeEvent(QCloseEvent event)''' 8081 def changeEvent(self, event): 8082 '''void QGraphicsWidget.changeEvent(QEvent event)''' 8083 def event(self, event): 8084 '''bool QGraphicsWidget.event(QEvent event)''' 8085 return bool() 8086 def windowFrameSectionAt(self, pos): 8087 '''Qt.WindowFrameSection QGraphicsWidget.windowFrameSectionAt(QPointF pos)''' 8088 return Qt.WindowFrameSection() 8089 def windowFrameEvent(self, e): 8090 '''bool QGraphicsWidget.windowFrameEvent(QEvent e)''' 8091 return bool() 8092 def sceneEvent(self, event): 8093 '''bool QGraphicsWidget.sceneEvent(QEvent event)''' 8094 return bool() 8095 def itemChange(self, change, value): 8096 '''QVariant QGraphicsWidget.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 8097 return QVariant() 8098 def updateGeometry(self): 8099 '''void QGraphicsWidget.updateGeometry()''' 8100 def sizeHint(self, which, constraint = QSizeF()): 8101 '''QSizeF QGraphicsWidget.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 8102 return QSizeF() 8103 def initStyleOption(self, option): 8104 '''void QGraphicsWidget.initStyleOption(QStyleOption option)''' 8105 def close(self): 8106 '''bool QGraphicsWidget.close()''' 8107 return bool() 8108 def shape(self): 8109 '''QPainterPath QGraphicsWidget.shape()''' 8110 return QPainterPath() 8111 def boundingRect(self): 8112 '''QRectF QGraphicsWidget.boundingRect()''' 8113 return QRectF() 8114 def paintWindowFrame(self, painter, option, widget = None): 8115 '''void QGraphicsWidget.paintWindowFrame(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 8116 def paint(self, painter, option, widget = None): 8117 '''void QGraphicsWidget.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 8118 def type(self): 8119 '''int QGraphicsWidget.type()''' 8120 return int() 8121 def testAttribute(self, attribute): 8122 '''bool QGraphicsWidget.testAttribute(Qt.WidgetAttribute attribute)''' 8123 return bool() 8124 def setAttribute(self, attribute, on = True): 8125 '''void QGraphicsWidget.setAttribute(Qt.WidgetAttribute attribute, bool on = True)''' 8126 def actions(self): 8127 '''list-of-QAction QGraphicsWidget.actions()''' 8128 return [QAction()] 8129 def removeAction(self, action): 8130 '''void QGraphicsWidget.removeAction(QAction action)''' 8131 def insertActions(self, before, actions): 8132 '''void QGraphicsWidget.insertActions(QAction before, list-of-QAction actions)''' 8133 def insertAction(self, before, action): 8134 '''void QGraphicsWidget.insertAction(QAction before, QAction action)''' 8135 def addActions(self, actions): 8136 '''void QGraphicsWidget.addActions(list-of-QAction actions)''' 8137 def addAction(self, action): 8138 '''void QGraphicsWidget.addAction(QAction action)''' 8139 def setShortcutAutoRepeat(self, id, enabled = True): 8140 '''void QGraphicsWidget.setShortcutAutoRepeat(int id, bool enabled = True)''' 8141 def setShortcutEnabled(self, id, enabled = True): 8142 '''void QGraphicsWidget.setShortcutEnabled(int id, bool enabled = True)''' 8143 def releaseShortcut(self, id): 8144 '''void QGraphicsWidget.releaseShortcut(int id)''' 8145 def grabShortcut(self, sequence, context = None): 8146 '''int QGraphicsWidget.grabShortcut(QKeySequence sequence, Qt.ShortcutContext context = Qt.WindowShortcut)''' 8147 return int() 8148 def focusWidget(self): 8149 '''QGraphicsWidget QGraphicsWidget.focusWidget()''' 8150 return QGraphicsWidget() 8151 def setTabOrder(self, first, second): 8152 '''static void QGraphicsWidget.setTabOrder(QGraphicsWidget first, QGraphicsWidget second)''' 8153 def setFocusPolicy(self, policy): 8154 '''void QGraphicsWidget.setFocusPolicy(Qt.FocusPolicy policy)''' 8155 def focusPolicy(self): 8156 '''Qt.FocusPolicy QGraphicsWidget.focusPolicy()''' 8157 return Qt.FocusPolicy() 8158 def windowTitle(self): 8159 '''str QGraphicsWidget.windowTitle()''' 8160 return str() 8161 def setWindowTitle(self, title): 8162 '''void QGraphicsWidget.setWindowTitle(str title)''' 8163 def isActiveWindow(self): 8164 '''bool QGraphicsWidget.isActiveWindow()''' 8165 return bool() 8166 def setWindowFlags(self, wFlags): 8167 '''void QGraphicsWidget.setWindowFlags(Qt.WindowFlags wFlags)''' 8168 def windowType(self): 8169 '''Qt.WindowType QGraphicsWidget.windowType()''' 8170 return Qt.WindowType() 8171 def windowFlags(self): 8172 '''Qt.WindowFlags QGraphicsWidget.windowFlags()''' 8173 return Qt.WindowFlags() 8174 def windowFrameRect(self): 8175 '''QRectF QGraphicsWidget.windowFrameRect()''' 8176 return QRectF() 8177 def windowFrameGeometry(self): 8178 '''QRectF QGraphicsWidget.windowFrameGeometry()''' 8179 return QRectF() 8180 def unsetWindowFrameMargins(self): 8181 '''void QGraphicsWidget.unsetWindowFrameMargins()''' 8182 def getWindowFrameMargins(self, left, top, right, bottom): 8183 '''void QGraphicsWidget.getWindowFrameMargins(float left, float top, float right, float bottom)''' 8184 def setWindowFrameMargins(self, left, top, right, bottom): 8185 '''void QGraphicsWidget.setWindowFrameMargins(float left, float top, float right, float bottom)''' 8186 def getContentsMargins(self, left, top, right, bottom): 8187 '''void QGraphicsWidget.getContentsMargins(float left, float top, float right, float bottom)''' 8188 def setContentsMargins(self, left, top, right, bottom): 8189 '''void QGraphicsWidget.setContentsMargins(float left, float top, float right, float bottom)''' 8190 def rect(self): 8191 '''QRectF QGraphicsWidget.rect()''' 8192 return QRectF() 8193 def setGeometry(self, rect): 8194 '''void QGraphicsWidget.setGeometry(QRectF rect)''' 8195 def setGeometry(self, ax, ay, aw, ah): 8196 '''void QGraphicsWidget.setGeometry(float ax, float ay, float aw, float ah)''' 8197 def size(self): 8198 '''QSizeF QGraphicsWidget.size()''' 8199 return QSizeF() 8200 def resize(self, size): 8201 '''void QGraphicsWidget.resize(QSizeF size)''' 8202 def resize(self, w, h): 8203 '''void QGraphicsWidget.resize(float w, float h)''' 8204 def setPalette(self, palette): 8205 '''void QGraphicsWidget.setPalette(QPalette palette)''' 8206 def palette(self): 8207 '''QPalette QGraphicsWidget.palette()''' 8208 return QPalette() 8209 def setFont(self, font): 8210 '''void QGraphicsWidget.setFont(QFont font)''' 8211 def font(self): 8212 '''QFont QGraphicsWidget.font()''' 8213 return QFont() 8214 def setStyle(self, style): 8215 '''void QGraphicsWidget.setStyle(QStyle style)''' 8216 def style(self): 8217 '''QStyle QGraphicsWidget.style()''' 8218 return QStyle() 8219 def unsetLayoutDirection(self): 8220 '''void QGraphicsWidget.unsetLayoutDirection()''' 8221 def setLayoutDirection(self, direction): 8222 '''void QGraphicsWidget.setLayoutDirection(Qt.LayoutDirection direction)''' 8223 def layoutDirection(self): 8224 '''Qt.LayoutDirection QGraphicsWidget.layoutDirection()''' 8225 return Qt.LayoutDirection() 8226 def adjustSize(self): 8227 '''void QGraphicsWidget.adjustSize()''' 8228 def setLayout(self, layout): 8229 '''void QGraphicsWidget.setLayout(QGraphicsLayout layout)''' 8230 def layout(self): 8231 '''QGraphicsLayout QGraphicsWidget.layout()''' 8232 return QGraphicsLayout() 8233 8234 8235 class QGraphicsProxyWidget(QGraphicsWidget): 8236 """""" 8237 def __init__(self, parent = None, flags = 0): 8238 '''void QGraphicsProxyWidget.__init__(QGraphicsItem parent = None, Qt.WindowFlags flags = 0)''' 8239 def inputMethodEvent(self, event): 8240 '''void QGraphicsProxyWidget.inputMethodEvent(QInputMethodEvent event)''' 8241 def inputMethodQuery(self, query): 8242 '''QVariant QGraphicsProxyWidget.inputMethodQuery(Qt.InputMethodQuery query)''' 8243 return QVariant() 8244 def newProxyWidget(self): 8245 '''QWidget QGraphicsProxyWidget.newProxyWidget()''' 8246 return QWidget() 8247 def dropEvent(self, event): 8248 '''void QGraphicsProxyWidget.dropEvent(QGraphicsSceneDragDropEvent event)''' 8249 def dragMoveEvent(self, event): 8250 '''void QGraphicsProxyWidget.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 8251 def dragLeaveEvent(self, event): 8252 '''void QGraphicsProxyWidget.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 8253 def dragEnterEvent(self, event): 8254 '''void QGraphicsProxyWidget.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 8255 def resizeEvent(self, event): 8256 '''void QGraphicsProxyWidget.resizeEvent(QGraphicsSceneResizeEvent event)''' 8257 def sizeHint(self, which, constraint = QSizeF()): 8258 '''QSizeF QGraphicsProxyWidget.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 8259 return QSizeF() 8260 def focusNextPrevChild(self, next): 8261 '''bool QGraphicsProxyWidget.focusNextPrevChild(bool next)''' 8262 return bool() 8263 def focusOutEvent(self, event): 8264 '''void QGraphicsProxyWidget.focusOutEvent(QFocusEvent event)''' 8265 def focusInEvent(self, event): 8266 '''void QGraphicsProxyWidget.focusInEvent(QFocusEvent event)''' 8267 def keyReleaseEvent(self, event): 8268 '''void QGraphicsProxyWidget.keyReleaseEvent(QKeyEvent event)''' 8269 def keyPressEvent(self, event): 8270 '''void QGraphicsProxyWidget.keyPressEvent(QKeyEvent event)''' 8271 def wheelEvent(self, event): 8272 '''void QGraphicsProxyWidget.wheelEvent(QGraphicsSceneWheelEvent event)''' 8273 def mouseDoubleClickEvent(self, event): 8274 '''void QGraphicsProxyWidget.mouseDoubleClickEvent(QGraphicsSceneMouseEvent event)''' 8275 def mouseReleaseEvent(self, event): 8276 '''void QGraphicsProxyWidget.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 8277 def mousePressEvent(self, event): 8278 '''void QGraphicsProxyWidget.mousePressEvent(QGraphicsSceneMouseEvent event)''' 8279 def mouseMoveEvent(self, event): 8280 '''void QGraphicsProxyWidget.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 8281 def ungrabMouseEvent(self, event): 8282 '''void QGraphicsProxyWidget.ungrabMouseEvent(QEvent event)''' 8283 def grabMouseEvent(self, event): 8284 '''void QGraphicsProxyWidget.grabMouseEvent(QEvent event)''' 8285 def hoverMoveEvent(self, event): 8286 '''void QGraphicsProxyWidget.hoverMoveEvent(QGraphicsSceneHoverEvent event)''' 8287 def hoverLeaveEvent(self, event): 8288 '''void QGraphicsProxyWidget.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 8289 def hoverEnterEvent(self, event): 8290 '''void QGraphicsProxyWidget.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 8291 def contextMenuEvent(self, event): 8292 '''void QGraphicsProxyWidget.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 8293 def hideEvent(self, event): 8294 '''void QGraphicsProxyWidget.hideEvent(QHideEvent event)''' 8295 def showEvent(self, event): 8296 '''void QGraphicsProxyWidget.showEvent(QShowEvent event)''' 8297 def eventFilter(self, object, event): 8298 '''bool QGraphicsProxyWidget.eventFilter(QObject object, QEvent event)''' 8299 return bool() 8300 def event(self, event): 8301 '''bool QGraphicsProxyWidget.event(QEvent event)''' 8302 return bool() 8303 def itemChange(self, change, value): 8304 '''QVariant QGraphicsProxyWidget.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 8305 return QVariant() 8306 def createProxyForChildWidget(self, child): 8307 '''QGraphicsProxyWidget QGraphicsProxyWidget.createProxyForChildWidget(QWidget child)''' 8308 return QGraphicsProxyWidget() 8309 def type(self): 8310 '''int QGraphicsProxyWidget.type()''' 8311 return int() 8312 def paint(self, painter, option, widget): 8313 '''void QGraphicsProxyWidget.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 8314 def setGeometry(self, rect): 8315 '''void QGraphicsProxyWidget.setGeometry(QRectF rect)''' 8316 def subWidgetRect(self, widget): 8317 '''QRectF QGraphicsProxyWidget.subWidgetRect(QWidget widget)''' 8318 return QRectF() 8319 def widget(self): 8320 '''QWidget QGraphicsProxyWidget.widget()''' 8321 return QWidget() 8322 def setWidget(self, widget): 8323 '''void QGraphicsProxyWidget.setWidget(QWidget widget)''' 8324 8325 8326 class QGraphicsScene(QObject): 8327 """""" 8328 # Enum QGraphicsScene.SceneLayer 8329 ItemLayer = 0 8330 BackgroundLayer = 0 8331 ForegroundLayer = 0 8332 AllLayers = 0 8333 8334 # Enum QGraphicsScene.ItemIndexMethod 8335 BspTreeIndex = 0 8336 NoIndex = 0 8337 8338 def __init__(self, parent = None): 8339 '''void QGraphicsScene.__init__(QObject parent = None)''' 8340 def __init__(self, sceneRect, parent = None): 8341 '''void QGraphicsScene.__init__(QRectF sceneRect, QObject parent = None)''' 8342 def __init__(self, x, y, width, height, parent = None): 8343 '''void QGraphicsScene.__init__(float x, float y, float width, float height, QObject parent = None)''' 8344 focusItemChanged = pyqtSignal() # void focusItemChanged(QGraphicsItem*,QGraphicsItem*,Qt::FocusReason) - signal 8345 def setMinimumRenderSize(self, minSize): 8346 '''void QGraphicsScene.setMinimumRenderSize(float minSize)''' 8347 def minimumRenderSize(self): 8348 '''float QGraphicsScene.minimumRenderSize()''' 8349 return float() 8350 def sendEvent(self, item, event): 8351 '''bool QGraphicsScene.sendEvent(QGraphicsItem item, QEvent event)''' 8352 return bool() 8353 def setActivePanel(self, item): 8354 '''void QGraphicsScene.setActivePanel(QGraphicsItem item)''' 8355 def activePanel(self): 8356 '''QGraphicsItem QGraphicsScene.activePanel()''' 8357 return QGraphicsItem() 8358 def isActive(self): 8359 '''bool QGraphicsScene.isActive()''' 8360 return bool() 8361 def itemAt(self, pos, deviceTransform): 8362 '''QGraphicsItem QGraphicsScene.itemAt(QPointF pos, QTransform deviceTransform)''' 8363 return QGraphicsItem() 8364 def itemAt(self, x, y, deviceTransform): 8365 '''QGraphicsItem QGraphicsScene.itemAt(float x, float y, QTransform deviceTransform)''' 8366 return QGraphicsItem() 8367 def stickyFocus(self): 8368 '''bool QGraphicsScene.stickyFocus()''' 8369 return bool() 8370 def setStickyFocus(self, enabled): 8371 '''void QGraphicsScene.setStickyFocus(bool enabled)''' 8372 def focusNextPrevChild(self, next): 8373 '''bool QGraphicsScene.focusNextPrevChild(bool next)''' 8374 return bool() 8375 def eventFilter(self, watched, event): 8376 '''bool QGraphicsScene.eventFilter(QObject watched, QEvent event)''' 8377 return bool() 8378 def setActiveWindow(self, widget): 8379 '''void QGraphicsScene.setActiveWindow(QGraphicsWidget widget)''' 8380 def activeWindow(self): 8381 '''QGraphicsWidget QGraphicsScene.activeWindow()''' 8382 return QGraphicsWidget() 8383 def setPalette(self, palette): 8384 '''void QGraphicsScene.setPalette(QPalette palette)''' 8385 def palette(self): 8386 '''QPalette QGraphicsScene.palette()''' 8387 return QPalette() 8388 def setFont(self, font): 8389 '''void QGraphicsScene.setFont(QFont font)''' 8390 def font(self): 8391 '''QFont QGraphicsScene.font()''' 8392 return QFont() 8393 def setStyle(self, style): 8394 '''void QGraphicsScene.setStyle(QStyle style)''' 8395 def style(self): 8396 '''QStyle QGraphicsScene.style()''' 8397 return QStyle() 8398 def addWidget(self, widget, flags = 0): 8399 '''QGraphicsProxyWidget QGraphicsScene.addWidget(QWidget widget, Qt.WindowFlags flags = 0)''' 8400 return QGraphicsProxyWidget() 8401 def selectionArea(self): 8402 '''QPainterPath QGraphicsScene.selectionArea()''' 8403 return QPainterPath() 8404 def setBspTreeDepth(self, depth): 8405 '''void QGraphicsScene.setBspTreeDepth(int depth)''' 8406 def bspTreeDepth(self): 8407 '''int QGraphicsScene.bspTreeDepth()''' 8408 return int() 8409 def drawForeground(self, painter, rect): 8410 '''void QGraphicsScene.drawForeground(QPainter painter, QRectF rect)''' 8411 def drawBackground(self, painter, rect): 8412 '''void QGraphicsScene.drawBackground(QPainter painter, QRectF rect)''' 8413 def inputMethodEvent(self, event): 8414 '''void QGraphicsScene.inputMethodEvent(QInputMethodEvent event)''' 8415 def wheelEvent(self, event): 8416 '''void QGraphicsScene.wheelEvent(QGraphicsSceneWheelEvent event)''' 8417 def mouseDoubleClickEvent(self, event): 8418 '''void QGraphicsScene.mouseDoubleClickEvent(QGraphicsSceneMouseEvent event)''' 8419 def mouseReleaseEvent(self, event): 8420 '''void QGraphicsScene.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 8421 def mouseMoveEvent(self, event): 8422 '''void QGraphicsScene.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 8423 def mousePressEvent(self, event): 8424 '''void QGraphicsScene.mousePressEvent(QGraphicsSceneMouseEvent event)''' 8425 def keyReleaseEvent(self, event): 8426 '''void QGraphicsScene.keyReleaseEvent(QKeyEvent event)''' 8427 def keyPressEvent(self, event): 8428 '''void QGraphicsScene.keyPressEvent(QKeyEvent event)''' 8429 def helpEvent(self, event): 8430 '''void QGraphicsScene.helpEvent(QGraphicsSceneHelpEvent event)''' 8431 def focusOutEvent(self, event): 8432 '''void QGraphicsScene.focusOutEvent(QFocusEvent event)''' 8433 def focusInEvent(self, event): 8434 '''void QGraphicsScene.focusInEvent(QFocusEvent event)''' 8435 def dropEvent(self, event): 8436 '''void QGraphicsScene.dropEvent(QGraphicsSceneDragDropEvent event)''' 8437 def dragLeaveEvent(self, event): 8438 '''void QGraphicsScene.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 8439 def dragMoveEvent(self, event): 8440 '''void QGraphicsScene.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 8441 def dragEnterEvent(self, event): 8442 '''void QGraphicsScene.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 8443 def contextMenuEvent(self, event): 8444 '''void QGraphicsScene.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 8445 def event(self, event): 8446 '''bool QGraphicsScene.event(QEvent event)''' 8447 return bool() 8448 selectionChanged = pyqtSignal() # void selectionChanged() - signal 8449 sceneRectChanged = pyqtSignal() # void sceneRectChanged(const QRectFamp;) - signal 8450 changed = pyqtSignal() # void changed(const QListlt;QRectFgt;amp;) - signal 8451 def clear(self): 8452 '''void QGraphicsScene.clear()''' 8453 def invalidate(self, rect = QRectF(), layers = None): 8454 '''void QGraphicsScene.invalidate(QRectF rect = QRectF(), QGraphicsScene.SceneLayers layers = QGraphicsScene.AllLayers)''' 8455 def invalidate(self, x, y, w, h, layers = None): 8456 '''void QGraphicsScene.invalidate(float x, float y, float w, float h, QGraphicsScene.SceneLayers layers = QGraphicsScene.AllLayers)''' 8457 def update(self, rect = QRectF()): 8458 '''void QGraphicsScene.update(QRectF rect = QRectF())''' 8459 def update(self, x, y, w, h): 8460 '''void QGraphicsScene.update(float x, float y, float w, float h)''' 8461 def advance(self): 8462 '''void QGraphicsScene.advance()''' 8463 def views(self): 8464 '''list-of-QGraphicsView QGraphicsScene.views()''' 8465 return [QGraphicsView()] 8466 def inputMethodQuery(self, query): 8467 '''QVariant QGraphicsScene.inputMethodQuery(Qt.InputMethodQuery query)''' 8468 return QVariant() 8469 def setForegroundBrush(self, brush): 8470 '''void QGraphicsScene.setForegroundBrush(QBrush brush)''' 8471 def foregroundBrush(self): 8472 '''QBrush QGraphicsScene.foregroundBrush()''' 8473 return QBrush() 8474 def setBackgroundBrush(self, brush): 8475 '''void QGraphicsScene.setBackgroundBrush(QBrush brush)''' 8476 def backgroundBrush(self): 8477 '''QBrush QGraphicsScene.backgroundBrush()''' 8478 return QBrush() 8479 def mouseGrabberItem(self): 8480 '''QGraphicsItem QGraphicsScene.mouseGrabberItem()''' 8481 return QGraphicsItem() 8482 def clearFocus(self): 8483 '''void QGraphicsScene.clearFocus()''' 8484 def setFocus(self, focusReason = None): 8485 '''void QGraphicsScene.setFocus(Qt.FocusReason focusReason = Qt.OtherFocusReason)''' 8486 def hasFocus(self): 8487 '''bool QGraphicsScene.hasFocus()''' 8488 return bool() 8489 def setFocusItem(self, item, focusReason = None): 8490 '''void QGraphicsScene.setFocusItem(QGraphicsItem item, Qt.FocusReason focusReason = Qt.OtherFocusReason)''' 8491 def focusItem(self): 8492 '''QGraphicsItem QGraphicsScene.focusItem()''' 8493 return QGraphicsItem() 8494 def removeItem(self, item): 8495 '''void QGraphicsScene.removeItem(QGraphicsItem item)''' 8496 def addText(self, text, font = QFont()): 8497 '''QGraphicsTextItem QGraphicsScene.addText(str text, QFont font = QFont())''' 8498 return QGraphicsTextItem() 8499 def addSimpleText(self, text, font = QFont()): 8500 '''QGraphicsSimpleTextItem QGraphicsScene.addSimpleText(str text, QFont font = QFont())''' 8501 return QGraphicsSimpleTextItem() 8502 def addRect(self, rect, pen = QPen(), brush = QBrush()): 8503 '''QGraphicsRectItem QGraphicsScene.addRect(QRectF rect, QPen pen = QPen(), QBrush brush = QBrush())''' 8504 return QGraphicsRectItem() 8505 def addRect(self, x, y, w, h, pen = QPen(), brush = QBrush()): 8506 '''QGraphicsRectItem QGraphicsScene.addRect(float x, float y, float w, float h, QPen pen = QPen(), QBrush brush = QBrush())''' 8507 return QGraphicsRectItem() 8508 def addPolygon(self, polygon, pen = QPen(), brush = QBrush()): 8509 '''QGraphicsPolygonItem QGraphicsScene.addPolygon(QPolygonF polygon, QPen pen = QPen(), QBrush brush = QBrush())''' 8510 return QGraphicsPolygonItem() 8511 def addPixmap(self, pixmap): 8512 '''QGraphicsPixmapItem QGraphicsScene.addPixmap(QPixmap pixmap)''' 8513 return QGraphicsPixmapItem() 8514 def addPath(self, path, pen = QPen(), brush = QBrush()): 8515 '''QGraphicsPathItem QGraphicsScene.addPath(QPainterPath path, QPen pen = QPen(), QBrush brush = QBrush())''' 8516 return QGraphicsPathItem() 8517 def addLine(self, line, pen = QPen()): 8518 '''QGraphicsLineItem QGraphicsScene.addLine(QLineF line, QPen pen = QPen())''' 8519 return QGraphicsLineItem() 8520 def addLine(self, x1, y1, x2, y2, pen = QPen()): 8521 '''QGraphicsLineItem QGraphicsScene.addLine(float x1, float y1, float x2, float y2, QPen pen = QPen())''' 8522 return QGraphicsLineItem() 8523 def addEllipse(self, rect, pen = QPen(), brush = QBrush()): 8524 '''QGraphicsEllipseItem QGraphicsScene.addEllipse(QRectF rect, QPen pen = QPen(), QBrush brush = QBrush())''' 8525 return QGraphicsEllipseItem() 8526 def addEllipse(self, x, y, w, h, pen = QPen(), brush = QBrush()): 8527 '''QGraphicsEllipseItem QGraphicsScene.addEllipse(float x, float y, float w, float h, QPen pen = QPen(), QBrush brush = QBrush())''' 8528 return QGraphicsEllipseItem() 8529 def addItem(self, item): 8530 '''void QGraphicsScene.addItem(QGraphicsItem item)''' 8531 def destroyItemGroup(self, group): 8532 '''void QGraphicsScene.destroyItemGroup(QGraphicsItemGroup group)''' 8533 def createItemGroup(self, items): 8534 '''QGraphicsItemGroup QGraphicsScene.createItemGroup(list-of-QGraphicsItem items)''' 8535 return QGraphicsItemGroup() 8536 def clearSelection(self): 8537 '''void QGraphicsScene.clearSelection()''' 8538 def setSelectionArea(self, path, deviceTransform): 8539 '''void QGraphicsScene.setSelectionArea(QPainterPath path, QTransform deviceTransform)''' 8540 def setSelectionArea(self, path, mode = None, deviceTransform = QTransform()): 8541 '''void QGraphicsScene.setSelectionArea(QPainterPath path, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape, QTransform deviceTransform = QTransform())''' 8542 def setSelectionArea(self, path, selectionOperation, mode = None, deviceTransform = QTransform()): 8543 '''void QGraphicsScene.setSelectionArea(QPainterPath path, Qt.ItemSelectionOperation selectionOperation, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape, QTransform deviceTransform = QTransform())''' 8544 def selectedItems(self): 8545 '''list-of-QGraphicsItem QGraphicsScene.selectedItems()''' 8546 return [QGraphicsItem()] 8547 def collidingItems(self, item, mode = None): 8548 '''list-of-QGraphicsItem QGraphicsScene.collidingItems(QGraphicsItem item, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 8549 return [QGraphicsItem()] 8550 def items(self, order = None): 8551 '''list-of-QGraphicsItem QGraphicsScene.items(Qt.SortOrder order = Qt.DescendingOrder)''' 8552 return [QGraphicsItem()] 8553 def items(self, pos, mode = None, order = None, deviceTransform = QTransform()): 8554 '''list-of-QGraphicsItem QGraphicsScene.items(QPointF pos, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape, Qt.SortOrder order = Qt.DescendingOrder, QTransform deviceTransform = QTransform())''' 8555 return [QGraphicsItem()] 8556 def items(self, rect, mode = None, order = None, deviceTransform = QTransform()): 8557 '''list-of-QGraphicsItem QGraphicsScene.items(QRectF rect, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape, Qt.SortOrder order = Qt.DescendingOrder, QTransform deviceTransform = QTransform())''' 8558 return [QGraphicsItem()] 8559 def items(self, polygon, mode = None, order = None, deviceTransform = QTransform()): 8560 '''list-of-QGraphicsItem QGraphicsScene.items(QPolygonF polygon, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape, Qt.SortOrder order = Qt.DescendingOrder, QTransform deviceTransform = QTransform())''' 8561 return [QGraphicsItem()] 8562 def items(self, path, mode = None, order = None, deviceTransform = QTransform()): 8563 '''list-of-QGraphicsItem QGraphicsScene.items(QPainterPath path, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape, Qt.SortOrder order = Qt.DescendingOrder, QTransform deviceTransform = QTransform())''' 8564 return [QGraphicsItem()] 8565 def items(self, x, y, w, h, mode, order, deviceTransform = QTransform()): 8566 '''list-of-QGraphicsItem QGraphicsScene.items(float x, float y, float w, float h, Qt.ItemSelectionMode mode, Qt.SortOrder order, QTransform deviceTransform = QTransform())''' 8567 return [QGraphicsItem()] 8568 def itemsBoundingRect(self): 8569 '''QRectF QGraphicsScene.itemsBoundingRect()''' 8570 return QRectF() 8571 def setItemIndexMethod(self, method): 8572 '''void QGraphicsScene.setItemIndexMethod(QGraphicsScene.ItemIndexMethod method)''' 8573 def itemIndexMethod(self): 8574 '''QGraphicsScene.ItemIndexMethod QGraphicsScene.itemIndexMethod()''' 8575 return QGraphicsScene.ItemIndexMethod() 8576 def render(self, painter, target = QRectF(), source = QRectF(), mode = None): 8577 '''void QGraphicsScene.render(QPainter painter, QRectF target = QRectF(), QRectF source = QRectF(), Qt.AspectRatioMode mode = Qt.KeepAspectRatio)''' 8578 def setSceneRect(self, rect): 8579 '''void QGraphicsScene.setSceneRect(QRectF rect)''' 8580 def setSceneRect(self, x, y, w, h): 8581 '''void QGraphicsScene.setSceneRect(float x, float y, float w, float h)''' 8582 def height(self): 8583 '''float QGraphicsScene.height()''' 8584 return float() 8585 def width(self): 8586 '''float QGraphicsScene.width()''' 8587 return float() 8588 def sceneRect(self): 8589 '''QRectF QGraphicsScene.sceneRect()''' 8590 return QRectF() 8591 class SceneLayers(): 8592 """""" 8593 def __init__(self): 8594 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__init__()''' 8595 return QGraphicsScene.SceneLayers() 8596 def __init__(self): 8597 '''int QGraphicsScene.SceneLayers.__init__()''' 8598 return int() 8599 def __init__(self): 8600 '''void QGraphicsScene.SceneLayers.__init__()''' 8601 def __bool__(self): 8602 '''int QGraphicsScene.SceneLayers.__bool__()''' 8603 return int() 8604 def __ne__(self, f): 8605 '''bool QGraphicsScene.SceneLayers.__ne__(QGraphicsScene.SceneLayers f)''' 8606 return bool() 8607 def __eq__(self, f): 8608 '''bool QGraphicsScene.SceneLayers.__eq__(QGraphicsScene.SceneLayers f)''' 8609 return bool() 8610 def __invert__(self): 8611 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__invert__()''' 8612 return QGraphicsScene.SceneLayers() 8613 def __and__(self, mask): 8614 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__and__(int mask)''' 8615 return QGraphicsScene.SceneLayers() 8616 def __xor__(self, f): 8617 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__xor__(QGraphicsScene.SceneLayers f)''' 8618 return QGraphicsScene.SceneLayers() 8619 def __xor__(self, f): 8620 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__xor__(int f)''' 8621 return QGraphicsScene.SceneLayers() 8622 def __or__(self, f): 8623 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__or__(QGraphicsScene.SceneLayers f)''' 8624 return QGraphicsScene.SceneLayers() 8625 def __or__(self, f): 8626 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__or__(int f)''' 8627 return QGraphicsScene.SceneLayers() 8628 def __int__(self): 8629 '''int QGraphicsScene.SceneLayers.__int__()''' 8630 return int() 8631 def __ixor__(self, f): 8632 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__ixor__(QGraphicsScene.SceneLayers f)''' 8633 return QGraphicsScene.SceneLayers() 8634 def __ior__(self, f): 8635 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__ior__(QGraphicsScene.SceneLayers f)''' 8636 return QGraphicsScene.SceneLayers() 8637 def __iand__(self, mask): 8638 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__iand__(int mask)''' 8639 return QGraphicsScene.SceneLayers() 8640 8641 8642 class QGraphicsSceneEvent(QEvent): 8643 """""" 8644 def widget(self): 8645 '''QWidget QGraphicsSceneEvent.widget()''' 8646 return QWidget() 8647 8648 8649 class QGraphicsSceneMouseEvent(QGraphicsSceneEvent): 8650 """""" 8651 def flags(self): 8652 '''Qt.MouseEventFlags QGraphicsSceneMouseEvent.flags()''' 8653 return Qt.MouseEventFlags() 8654 def source(self): 8655 '''Qt.MouseEventSource QGraphicsSceneMouseEvent.source()''' 8656 return Qt.MouseEventSource() 8657 def modifiers(self): 8658 '''Qt.KeyboardModifiers QGraphicsSceneMouseEvent.modifiers()''' 8659 return Qt.KeyboardModifiers() 8660 def button(self): 8661 '''Qt.MouseButton QGraphicsSceneMouseEvent.button()''' 8662 return Qt.MouseButton() 8663 def buttons(self): 8664 '''Qt.MouseButtons QGraphicsSceneMouseEvent.buttons()''' 8665 return Qt.MouseButtons() 8666 def lastScreenPos(self): 8667 '''QPoint QGraphicsSceneMouseEvent.lastScreenPos()''' 8668 return QPoint() 8669 def lastScenePos(self): 8670 '''QPointF QGraphicsSceneMouseEvent.lastScenePos()''' 8671 return QPointF() 8672 def lastPos(self): 8673 '''QPointF QGraphicsSceneMouseEvent.lastPos()''' 8674 return QPointF() 8675 def buttonDownScreenPos(self, button): 8676 '''QPoint QGraphicsSceneMouseEvent.buttonDownScreenPos(Qt.MouseButton button)''' 8677 return QPoint() 8678 def buttonDownScenePos(self, button): 8679 '''QPointF QGraphicsSceneMouseEvent.buttonDownScenePos(Qt.MouseButton button)''' 8680 return QPointF() 8681 def buttonDownPos(self, button): 8682 '''QPointF QGraphicsSceneMouseEvent.buttonDownPos(Qt.MouseButton button)''' 8683 return QPointF() 8684 def screenPos(self): 8685 '''QPoint QGraphicsSceneMouseEvent.screenPos()''' 8686 return QPoint() 8687 def scenePos(self): 8688 '''QPointF QGraphicsSceneMouseEvent.scenePos()''' 8689 return QPointF() 8690 def pos(self): 8691 '''QPointF QGraphicsSceneMouseEvent.pos()''' 8692 return QPointF() 8693 8694 8695 class QGraphicsSceneWheelEvent(QGraphicsSceneEvent): 8696 """""" 8697 def orientation(self): 8698 '''Qt.Orientation QGraphicsSceneWheelEvent.orientation()''' 8699 return Qt.Orientation() 8700 def delta(self): 8701 '''int QGraphicsSceneWheelEvent.delta()''' 8702 return int() 8703 def modifiers(self): 8704 '''Qt.KeyboardModifiers QGraphicsSceneWheelEvent.modifiers()''' 8705 return Qt.KeyboardModifiers() 8706 def buttons(self): 8707 '''Qt.MouseButtons QGraphicsSceneWheelEvent.buttons()''' 8708 return Qt.MouseButtons() 8709 def screenPos(self): 8710 '''QPoint QGraphicsSceneWheelEvent.screenPos()''' 8711 return QPoint() 8712 def scenePos(self): 8713 '''QPointF QGraphicsSceneWheelEvent.scenePos()''' 8714 return QPointF() 8715 def pos(self): 8716 '''QPointF QGraphicsSceneWheelEvent.pos()''' 8717 return QPointF() 8718 8719 8720 class QGraphicsSceneContextMenuEvent(QGraphicsSceneEvent): 8721 """""" 8722 # Enum QGraphicsSceneContextMenuEvent.Reason 8723 Mouse = 0 8724 Keyboard = 0 8725 Other = 0 8726 8727 def reason(self): 8728 '''QGraphicsSceneContextMenuEvent.Reason QGraphicsSceneContextMenuEvent.reason()''' 8729 return QGraphicsSceneContextMenuEvent.Reason() 8730 def modifiers(self): 8731 '''Qt.KeyboardModifiers QGraphicsSceneContextMenuEvent.modifiers()''' 8732 return Qt.KeyboardModifiers() 8733 def screenPos(self): 8734 '''QPoint QGraphicsSceneContextMenuEvent.screenPos()''' 8735 return QPoint() 8736 def scenePos(self): 8737 '''QPointF QGraphicsSceneContextMenuEvent.scenePos()''' 8738 return QPointF() 8739 def pos(self): 8740 '''QPointF QGraphicsSceneContextMenuEvent.pos()''' 8741 return QPointF() 8742 8743 8744 class QGraphicsSceneHoverEvent(QGraphicsSceneEvent): 8745 """""" 8746 def modifiers(self): 8747 '''Qt.KeyboardModifiers QGraphicsSceneHoverEvent.modifiers()''' 8748 return Qt.KeyboardModifiers() 8749 def lastScreenPos(self): 8750 '''QPoint QGraphicsSceneHoverEvent.lastScreenPos()''' 8751 return QPoint() 8752 def lastScenePos(self): 8753 '''QPointF QGraphicsSceneHoverEvent.lastScenePos()''' 8754 return QPointF() 8755 def lastPos(self): 8756 '''QPointF QGraphicsSceneHoverEvent.lastPos()''' 8757 return QPointF() 8758 def screenPos(self): 8759 '''QPoint QGraphicsSceneHoverEvent.screenPos()''' 8760 return QPoint() 8761 def scenePos(self): 8762 '''QPointF QGraphicsSceneHoverEvent.scenePos()''' 8763 return QPointF() 8764 def pos(self): 8765 '''QPointF QGraphicsSceneHoverEvent.pos()''' 8766 return QPointF() 8767 8768 8769 class QGraphicsSceneHelpEvent(QGraphicsSceneEvent): 8770 """""" 8771 def screenPos(self): 8772 '''QPoint QGraphicsSceneHelpEvent.screenPos()''' 8773 return QPoint() 8774 def scenePos(self): 8775 '''QPointF QGraphicsSceneHelpEvent.scenePos()''' 8776 return QPointF() 8777 8778 8779 class QGraphicsSceneDragDropEvent(QGraphicsSceneEvent): 8780 """""" 8781 def mimeData(self): 8782 '''QMimeData QGraphicsSceneDragDropEvent.mimeData()''' 8783 return QMimeData() 8784 def source(self): 8785 '''QWidget QGraphicsSceneDragDropEvent.source()''' 8786 return QWidget() 8787 def setDropAction(self, action): 8788 '''void QGraphicsSceneDragDropEvent.setDropAction(Qt.DropAction action)''' 8789 def dropAction(self): 8790 '''Qt.DropAction QGraphicsSceneDragDropEvent.dropAction()''' 8791 return Qt.DropAction() 8792 def acceptProposedAction(self): 8793 '''void QGraphicsSceneDragDropEvent.acceptProposedAction()''' 8794 def proposedAction(self): 8795 '''Qt.DropAction QGraphicsSceneDragDropEvent.proposedAction()''' 8796 return Qt.DropAction() 8797 def possibleActions(self): 8798 '''Qt.DropActions QGraphicsSceneDragDropEvent.possibleActions()''' 8799 return Qt.DropActions() 8800 def modifiers(self): 8801 '''Qt.KeyboardModifiers QGraphicsSceneDragDropEvent.modifiers()''' 8802 return Qt.KeyboardModifiers() 8803 def buttons(self): 8804 '''Qt.MouseButtons QGraphicsSceneDragDropEvent.buttons()''' 8805 return Qt.MouseButtons() 8806 def screenPos(self): 8807 '''QPoint QGraphicsSceneDragDropEvent.screenPos()''' 8808 return QPoint() 8809 def scenePos(self): 8810 '''QPointF QGraphicsSceneDragDropEvent.scenePos()''' 8811 return QPointF() 8812 def pos(self): 8813 '''QPointF QGraphicsSceneDragDropEvent.pos()''' 8814 return QPointF() 8815 8816 8817 class QGraphicsSceneResizeEvent(QGraphicsSceneEvent): 8818 """""" 8819 def __init__(self): 8820 '''void QGraphicsSceneResizeEvent.__init__()''' 8821 def newSize(self): 8822 '''QSizeF QGraphicsSceneResizeEvent.newSize()''' 8823 return QSizeF() 8824 def oldSize(self): 8825 '''QSizeF QGraphicsSceneResizeEvent.oldSize()''' 8826 return QSizeF() 8827 8828 8829 class QGraphicsSceneMoveEvent(QGraphicsSceneEvent): 8830 """""" 8831 def __init__(self): 8832 '''void QGraphicsSceneMoveEvent.__init__()''' 8833 def newPos(self): 8834 '''QPointF QGraphicsSceneMoveEvent.newPos()''' 8835 return QPointF() 8836 def oldPos(self): 8837 '''QPointF QGraphicsSceneMoveEvent.oldPos()''' 8838 return QPointF() 8839 8840 8841 class QGraphicsTransform(QObject): 8842 """""" 8843 def __init__(self, parent = None): 8844 '''void QGraphicsTransform.__init__(QObject parent = None)''' 8845 def update(self): 8846 '''void QGraphicsTransform.update()''' 8847 def applyTo(self, matrix): 8848 '''abstract void QGraphicsTransform.applyTo(QMatrix4x4 matrix)''' 8849 8850 8851 class QGraphicsScale(QGraphicsTransform): 8852 """""" 8853 def __init__(self, parent = None): 8854 '''void QGraphicsScale.__init__(QObject parent = None)''' 8855 zScaleChanged = pyqtSignal() # void zScaleChanged() - signal 8856 yScaleChanged = pyqtSignal() # void yScaleChanged() - signal 8857 xScaleChanged = pyqtSignal() # void xScaleChanged() - signal 8858 scaleChanged = pyqtSignal() # void scaleChanged() - signal 8859 originChanged = pyqtSignal() # void originChanged() - signal 8860 def applyTo(self, matrix): 8861 '''void QGraphicsScale.applyTo(QMatrix4x4 matrix)''' 8862 def setZScale(self): 8863 '''float QGraphicsScale.setZScale()''' 8864 return float() 8865 def zScale(self): 8866 '''float QGraphicsScale.zScale()''' 8867 return float() 8868 def setYScale(self): 8869 '''float QGraphicsScale.setYScale()''' 8870 return float() 8871 def yScale(self): 8872 '''float QGraphicsScale.yScale()''' 8873 return float() 8874 def setXScale(self): 8875 '''float QGraphicsScale.setXScale()''' 8876 return float() 8877 def xScale(self): 8878 '''float QGraphicsScale.xScale()''' 8879 return float() 8880 def setOrigin(self, point): 8881 '''void QGraphicsScale.setOrigin(QVector3D point)''' 8882 def origin(self): 8883 '''QVector3D QGraphicsScale.origin()''' 8884 return QVector3D() 8885 8886 8887 class QGraphicsRotation(QGraphicsTransform): 8888 """""" 8889 def __init__(self, parent = None): 8890 '''void QGraphicsRotation.__init__(QObject parent = None)''' 8891 axisChanged = pyqtSignal() # void axisChanged() - signal 8892 angleChanged = pyqtSignal() # void angleChanged() - signal 8893 originChanged = pyqtSignal() # void originChanged() - signal 8894 def applyTo(self, matrix): 8895 '''void QGraphicsRotation.applyTo(QMatrix4x4 matrix)''' 8896 def setAxis(self, axis): 8897 '''void QGraphicsRotation.setAxis(QVector3D axis)''' 8898 def setAxis(self, axis): 8899 '''void QGraphicsRotation.setAxis(Qt.Axis axis)''' 8900 def axis(self): 8901 '''QVector3D QGraphicsRotation.axis()''' 8902 return QVector3D() 8903 def setAngle(self): 8904 '''float QGraphicsRotation.setAngle()''' 8905 return float() 8906 def angle(self): 8907 '''float QGraphicsRotation.angle()''' 8908 return float() 8909 def setOrigin(self, point): 8910 '''void QGraphicsRotation.setOrigin(QVector3D point)''' 8911 def origin(self): 8912 '''QVector3D QGraphicsRotation.origin()''' 8913 return QVector3D() 8914 8915 8916 class QGraphicsView(QAbstractScrollArea): 8917 """""" 8918 # Enum QGraphicsView.OptimizationFlag 8919 DontClipPainter = 0 8920 DontSavePainterState = 0 8921 DontAdjustForAntialiasing = 0 8922 8923 # Enum QGraphicsView.ViewportUpdateMode 8924 FullViewportUpdate = 0 8925 MinimalViewportUpdate = 0 8926 SmartViewportUpdate = 0 8927 BoundingRectViewportUpdate = 0 8928 NoViewportUpdate = 0 8929 8930 # Enum QGraphicsView.ViewportAnchor 8931 NoAnchor = 0 8932 AnchorViewCenter = 0 8933 AnchorUnderMouse = 0 8934 8935 # Enum QGraphicsView.DragMode 8936 NoDrag = 0 8937 ScrollHandDrag = 0 8938 RubberBandDrag = 0 8939 8940 # Enum QGraphicsView.CacheModeFlag 8941 CacheNone = 0 8942 CacheBackground = 0 8943 8944 def __init__(self, parent = None): 8945 '''void QGraphicsView.__init__(QWidget parent = None)''' 8946 def __init__(self, scene, parent = None): 8947 '''void QGraphicsView.__init__(QGraphicsScene scene, QWidget parent = None)''' 8948 rubberBandChanged = pyqtSignal() # void rubberBandChanged(QRect,QPointF,QPointF) - signal 8949 def rubberBandRect(self): 8950 '''QRect QGraphicsView.rubberBandRect()''' 8951 return QRect() 8952 def isTransformed(self): 8953 '''bool QGraphicsView.isTransformed()''' 8954 return bool() 8955 def resetTransform(self): 8956 '''void QGraphicsView.resetTransform()''' 8957 def setTransform(self, matrix, combine = False): 8958 '''void QGraphicsView.setTransform(QTransform matrix, bool combine = False)''' 8959 def viewportTransform(self): 8960 '''QTransform QGraphicsView.viewportTransform()''' 8961 return QTransform() 8962 def transform(self): 8963 '''QTransform QGraphicsView.transform()''' 8964 return QTransform() 8965 def setRubberBandSelectionMode(self, mode): 8966 '''void QGraphicsView.setRubberBandSelectionMode(Qt.ItemSelectionMode mode)''' 8967 def rubberBandSelectionMode(self): 8968 '''Qt.ItemSelectionMode QGraphicsView.rubberBandSelectionMode()''' 8969 return Qt.ItemSelectionMode() 8970 def setOptimizationFlags(self, flags): 8971 '''void QGraphicsView.setOptimizationFlags(QGraphicsView.OptimizationFlags flags)''' 8972 def setOptimizationFlag(self, flag, enabled = True): 8973 '''void QGraphicsView.setOptimizationFlag(QGraphicsView.OptimizationFlag flag, bool enabled = True)''' 8974 def optimizationFlags(self): 8975 '''QGraphicsView.OptimizationFlags QGraphicsView.optimizationFlags()''' 8976 return QGraphicsView.OptimizationFlags() 8977 def setViewportUpdateMode(self, mode): 8978 '''void QGraphicsView.setViewportUpdateMode(QGraphicsView.ViewportUpdateMode mode)''' 8979 def viewportUpdateMode(self): 8980 '''QGraphicsView.ViewportUpdateMode QGraphicsView.viewportUpdateMode()''' 8981 return QGraphicsView.ViewportUpdateMode() 8982 def drawForeground(self, painter, rect): 8983 '''void QGraphicsView.drawForeground(QPainter painter, QRectF rect)''' 8984 def drawBackground(self, painter, rect): 8985 '''void QGraphicsView.drawBackground(QPainter painter, QRectF rect)''' 8986 def inputMethodEvent(self, event): 8987 '''void QGraphicsView.inputMethodEvent(QInputMethodEvent event)''' 8988 def showEvent(self, event): 8989 '''void QGraphicsView.showEvent(QShowEvent event)''' 8990 def scrollContentsBy(self, dx, dy): 8991 '''void QGraphicsView.scrollContentsBy(int dx, int dy)''' 8992 def resizeEvent(self, event): 8993 '''void QGraphicsView.resizeEvent(QResizeEvent event)''' 8994 def paintEvent(self, event): 8995 '''void QGraphicsView.paintEvent(QPaintEvent event)''' 8996 def wheelEvent(self, event): 8997 '''void QGraphicsView.wheelEvent(QWheelEvent event)''' 8998 def mouseReleaseEvent(self, event): 8999 '''void QGraphicsView.mouseReleaseEvent(QMouseEvent event)''' 9000 def mouseMoveEvent(self, event): 9001 '''void QGraphicsView.mouseMoveEvent(QMouseEvent event)''' 9002 def mousePressEvent(self, event): 9003 '''void QGraphicsView.mousePressEvent(QMouseEvent event)''' 9004 def mouseDoubleClickEvent(self, event): 9005 '''void QGraphicsView.mouseDoubleClickEvent(QMouseEvent event)''' 9006 def keyReleaseEvent(self, event): 9007 '''void QGraphicsView.keyReleaseEvent(QKeyEvent event)''' 9008 def keyPressEvent(self, event): 9009 '''void QGraphicsView.keyPressEvent(QKeyEvent event)''' 9010 def focusNextPrevChild(self, next): 9011 '''bool QGraphicsView.focusNextPrevChild(bool next)''' 9012 return bool() 9013 def focusOutEvent(self, event): 9014 '''void QGraphicsView.focusOutEvent(QFocusEvent event)''' 9015 def focusInEvent(self, event): 9016 '''void QGraphicsView.focusInEvent(QFocusEvent event)''' 9017 def dropEvent(self, event): 9018 '''void QGraphicsView.dropEvent(QDropEvent event)''' 9019 def dragMoveEvent(self, event): 9020 '''void QGraphicsView.dragMoveEvent(QDragMoveEvent event)''' 9021 def dragLeaveEvent(self, event): 9022 '''void QGraphicsView.dragLeaveEvent(QDragLeaveEvent event)''' 9023 def dragEnterEvent(self, event): 9024 '''void QGraphicsView.dragEnterEvent(QDragEnterEvent event)''' 9025 def contextMenuEvent(self, event): 9026 '''void QGraphicsView.contextMenuEvent(QContextMenuEvent event)''' 9027 def viewportEvent(self, event): 9028 '''bool QGraphicsView.viewportEvent(QEvent event)''' 9029 return bool() 9030 def event(self, event): 9031 '''bool QGraphicsView.event(QEvent event)''' 9032 return bool() 9033 def setupViewport(self, widget): 9034 '''void QGraphicsView.setupViewport(QWidget widget)''' 9035 def updateSceneRect(self, rect): 9036 '''void QGraphicsView.updateSceneRect(QRectF rect)''' 9037 def updateScene(self, rects): 9038 '''void QGraphicsView.updateScene(list-of-QRectF rects)''' 9039 def invalidateScene(self, rect = QRectF(), layers = None): 9040 '''void QGraphicsView.invalidateScene(QRectF rect = QRectF(), QGraphicsScene.SceneLayers layers = QGraphicsScene.AllLayers)''' 9041 def setForegroundBrush(self, brush): 9042 '''void QGraphicsView.setForegroundBrush(QBrush brush)''' 9043 def foregroundBrush(self): 9044 '''QBrush QGraphicsView.foregroundBrush()''' 9045 return QBrush() 9046 def setBackgroundBrush(self, brush): 9047 '''void QGraphicsView.setBackgroundBrush(QBrush brush)''' 9048 def backgroundBrush(self): 9049 '''QBrush QGraphicsView.backgroundBrush()''' 9050 return QBrush() 9051 def inputMethodQuery(self, query): 9052 '''QVariant QGraphicsView.inputMethodQuery(Qt.InputMethodQuery query)''' 9053 return QVariant() 9054 def mapFromScene(self, point): 9055 '''QPoint QGraphicsView.mapFromScene(QPointF point)''' 9056 return QPoint() 9057 def mapFromScene(self, rect): 9058 '''QPolygon QGraphicsView.mapFromScene(QRectF rect)''' 9059 return QPolygon() 9060 def mapFromScene(self, polygon): 9061 '''QPolygon QGraphicsView.mapFromScene(QPolygonF polygon)''' 9062 return QPolygon() 9063 def mapFromScene(self, path): 9064 '''QPainterPath QGraphicsView.mapFromScene(QPainterPath path)''' 9065 return QPainterPath() 9066 def mapFromScene(self, ax, ay): 9067 '''QPoint QGraphicsView.mapFromScene(float ax, float ay)''' 9068 return QPoint() 9069 def mapFromScene(self, ax, ay, w, h): 9070 '''QPolygon QGraphicsView.mapFromScene(float ax, float ay, float w, float h)''' 9071 return QPolygon() 9072 def mapToScene(self, point): 9073 '''QPointF QGraphicsView.mapToScene(QPoint point)''' 9074 return QPointF() 9075 def mapToScene(self, rect): 9076 '''QPolygonF QGraphicsView.mapToScene(QRect rect)''' 9077 return QPolygonF() 9078 def mapToScene(self, polygon): 9079 '''QPolygonF QGraphicsView.mapToScene(QPolygon polygon)''' 9080 return QPolygonF() 9081 def mapToScene(self, path): 9082 '''QPainterPath QGraphicsView.mapToScene(QPainterPath path)''' 9083 return QPainterPath() 9084 def mapToScene(self, ax, ay): 9085 '''QPointF QGraphicsView.mapToScene(int ax, int ay)''' 9086 return QPointF() 9087 def mapToScene(self, ax, ay, w, h): 9088 '''QPolygonF QGraphicsView.mapToScene(int ax, int ay, int w, int h)''' 9089 return QPolygonF() 9090 def itemAt(self, pos): 9091 '''QGraphicsItem QGraphicsView.itemAt(QPoint pos)''' 9092 return QGraphicsItem() 9093 def itemAt(self, ax, ay): 9094 '''QGraphicsItem QGraphicsView.itemAt(int ax, int ay)''' 9095 return QGraphicsItem() 9096 def items(self): 9097 '''list-of-QGraphicsItem QGraphicsView.items()''' 9098 return [QGraphicsItem()] 9099 def items(self, pos): 9100 '''list-of-QGraphicsItem QGraphicsView.items(QPoint pos)''' 9101 return [QGraphicsItem()] 9102 def items(self, ax, ay): 9103 '''list-of-QGraphicsItem QGraphicsView.items(int ax, int ay)''' 9104 return [QGraphicsItem()] 9105 def items(self, x, y, w, h, mode = None): 9106 '''list-of-QGraphicsItem QGraphicsView.items(int x, int y, int w, int h, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 9107 return [QGraphicsItem()] 9108 def items(self, rect, mode = None): 9109 '''list-of-QGraphicsItem QGraphicsView.items(QRect rect, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 9110 return [QGraphicsItem()] 9111 def items(self, polygon, mode = None): 9112 '''list-of-QGraphicsItem QGraphicsView.items(QPolygon polygon, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 9113 return [QGraphicsItem()] 9114 def items(self, path, mode = None): 9115 '''list-of-QGraphicsItem QGraphicsView.items(QPainterPath path, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 9116 return [QGraphicsItem()] 9117 def render(self, painter, target = QRectF(), source = QRect(), mode = None): 9118 '''void QGraphicsView.render(QPainter painter, QRectF target = QRectF(), QRect source = QRect(), Qt.AspectRatioMode mode = Qt.KeepAspectRatio)''' 9119 def fitInView(self, rect, mode = None): 9120 '''void QGraphicsView.fitInView(QRectF rect, Qt.AspectRatioMode mode = Qt.IgnoreAspectRatio)''' 9121 def fitInView(self, item, mode = None): 9122 '''void QGraphicsView.fitInView(QGraphicsItem item, Qt.AspectRatioMode mode = Qt.IgnoreAspectRatio)''' 9123 def fitInView(self, x, y, w, h, mode = None): 9124 '''void QGraphicsView.fitInView(float x, float y, float w, float h, Qt.AspectRatioMode mode = Qt.IgnoreAspectRatio)''' 9125 def ensureVisible(self, rect, xMargin = 50, yMargin = 50): 9126 '''void QGraphicsView.ensureVisible(QRectF rect, int xMargin = 50, int yMargin = 50)''' 9127 def ensureVisible(self, item, xMargin = 50, yMargin = 50): 9128 '''void QGraphicsView.ensureVisible(QGraphicsItem item, int xMargin = 50, int yMargin = 50)''' 9129 def ensureVisible(self, x, y, w, h, xMargin = 50, yMargin = 50): 9130 '''void QGraphicsView.ensureVisible(float x, float y, float w, float h, int xMargin = 50, int yMargin = 50)''' 9131 def centerOn(self, pos): 9132 '''void QGraphicsView.centerOn(QPointF pos)''' 9133 def centerOn(self, item): 9134 '''void QGraphicsView.centerOn(QGraphicsItem item)''' 9135 def centerOn(self, ax, ay): 9136 '''void QGraphicsView.centerOn(float ax, float ay)''' 9137 def translate(self, dx, dy): 9138 '''void QGraphicsView.translate(float dx, float dy)''' 9139 def shear(self, sh, sv): 9140 '''void QGraphicsView.shear(float sh, float sv)''' 9141 def scale(self, sx, sy): 9142 '''void QGraphicsView.scale(float sx, float sy)''' 9143 def rotate(self, angle): 9144 '''void QGraphicsView.rotate(float angle)''' 9145 def setSceneRect(self, rect): 9146 '''void QGraphicsView.setSceneRect(QRectF rect)''' 9147 def setSceneRect(self, ax, ay, aw, ah): 9148 '''void QGraphicsView.setSceneRect(float ax, float ay, float aw, float ah)''' 9149 def sceneRect(self): 9150 '''QRectF QGraphicsView.sceneRect()''' 9151 return QRectF() 9152 def setScene(self, scene): 9153 '''void QGraphicsView.setScene(QGraphicsScene scene)''' 9154 def scene(self): 9155 '''QGraphicsScene QGraphicsView.scene()''' 9156 return QGraphicsScene() 9157 def setInteractive(self, allowed): 9158 '''void QGraphicsView.setInteractive(bool allowed)''' 9159 def isInteractive(self): 9160 '''bool QGraphicsView.isInteractive()''' 9161 return bool() 9162 def resetCachedContent(self): 9163 '''void QGraphicsView.resetCachedContent()''' 9164 def setCacheMode(self, mode): 9165 '''void QGraphicsView.setCacheMode(QGraphicsView.CacheMode mode)''' 9166 def cacheMode(self): 9167 '''QGraphicsView.CacheMode QGraphicsView.cacheMode()''' 9168 return QGraphicsView.CacheMode() 9169 def setDragMode(self, mode): 9170 '''void QGraphicsView.setDragMode(QGraphicsView.DragMode mode)''' 9171 def dragMode(self): 9172 '''QGraphicsView.DragMode QGraphicsView.dragMode()''' 9173 return QGraphicsView.DragMode() 9174 def setResizeAnchor(self, anchor): 9175 '''void QGraphicsView.setResizeAnchor(QGraphicsView.ViewportAnchor anchor)''' 9176 def resizeAnchor(self): 9177 '''QGraphicsView.ViewportAnchor QGraphicsView.resizeAnchor()''' 9178 return QGraphicsView.ViewportAnchor() 9179 def setTransformationAnchor(self, anchor): 9180 '''void QGraphicsView.setTransformationAnchor(QGraphicsView.ViewportAnchor anchor)''' 9181 def transformationAnchor(self): 9182 '''QGraphicsView.ViewportAnchor QGraphicsView.transformationAnchor()''' 9183 return QGraphicsView.ViewportAnchor() 9184 def setAlignment(self, alignment): 9185 '''void QGraphicsView.setAlignment(Qt.Alignment alignment)''' 9186 def alignment(self): 9187 '''Qt.Alignment QGraphicsView.alignment()''' 9188 return Qt.Alignment() 9189 def setRenderHints(self, hints): 9190 '''void QGraphicsView.setRenderHints(QPainter.RenderHints hints)''' 9191 def setRenderHint(self, hint, on = True): 9192 '''void QGraphicsView.setRenderHint(QPainter.RenderHint hint, bool on = True)''' 9193 def renderHints(self): 9194 '''QPainter.RenderHints QGraphicsView.renderHints()''' 9195 return QPainter.RenderHints() 9196 def sizeHint(self): 9197 '''QSize QGraphicsView.sizeHint()''' 9198 return QSize() 9199 class CacheMode(): 9200 """""" 9201 def __init__(self): 9202 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__init__()''' 9203 return QGraphicsView.CacheMode() 9204 def __init__(self): 9205 '''int QGraphicsView.CacheMode.__init__()''' 9206 return int() 9207 def __init__(self): 9208 '''void QGraphicsView.CacheMode.__init__()''' 9209 def __bool__(self): 9210 '''int QGraphicsView.CacheMode.__bool__()''' 9211 return int() 9212 def __ne__(self, f): 9213 '''bool QGraphicsView.CacheMode.__ne__(QGraphicsView.CacheMode f)''' 9214 return bool() 9215 def __eq__(self, f): 9216 '''bool QGraphicsView.CacheMode.__eq__(QGraphicsView.CacheMode f)''' 9217 return bool() 9218 def __invert__(self): 9219 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__invert__()''' 9220 return QGraphicsView.CacheMode() 9221 def __and__(self, mask): 9222 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__and__(int mask)''' 9223 return QGraphicsView.CacheMode() 9224 def __xor__(self, f): 9225 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__xor__(QGraphicsView.CacheMode f)''' 9226 return QGraphicsView.CacheMode() 9227 def __xor__(self, f): 9228 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__xor__(int f)''' 9229 return QGraphicsView.CacheMode() 9230 def __or__(self, f): 9231 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__or__(QGraphicsView.CacheMode f)''' 9232 return QGraphicsView.CacheMode() 9233 def __or__(self, f): 9234 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__or__(int f)''' 9235 return QGraphicsView.CacheMode() 9236 def __int__(self): 9237 '''int QGraphicsView.CacheMode.__int__()''' 9238 return int() 9239 def __ixor__(self, f): 9240 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__ixor__(QGraphicsView.CacheMode f)''' 9241 return QGraphicsView.CacheMode() 9242 def __ior__(self, f): 9243 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__ior__(QGraphicsView.CacheMode f)''' 9244 return QGraphicsView.CacheMode() 9245 def __iand__(self, mask): 9246 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__iand__(int mask)''' 9247 return QGraphicsView.CacheMode() 9248 class OptimizationFlags(): 9249 """""" 9250 def __init__(self): 9251 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__init__()''' 9252 return QGraphicsView.OptimizationFlags() 9253 def __init__(self): 9254 '''int QGraphicsView.OptimizationFlags.__init__()''' 9255 return int() 9256 def __init__(self): 9257 '''void QGraphicsView.OptimizationFlags.__init__()''' 9258 def __bool__(self): 9259 '''int QGraphicsView.OptimizationFlags.__bool__()''' 9260 return int() 9261 def __ne__(self, f): 9262 '''bool QGraphicsView.OptimizationFlags.__ne__(QGraphicsView.OptimizationFlags f)''' 9263 return bool() 9264 def __eq__(self, f): 9265 '''bool QGraphicsView.OptimizationFlags.__eq__(QGraphicsView.OptimizationFlags f)''' 9266 return bool() 9267 def __invert__(self): 9268 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__invert__()''' 9269 return QGraphicsView.OptimizationFlags() 9270 def __and__(self, mask): 9271 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__and__(int mask)''' 9272 return QGraphicsView.OptimizationFlags() 9273 def __xor__(self, f): 9274 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__xor__(QGraphicsView.OptimizationFlags f)''' 9275 return QGraphicsView.OptimizationFlags() 9276 def __xor__(self, f): 9277 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__xor__(int f)''' 9278 return QGraphicsView.OptimizationFlags() 9279 def __or__(self, f): 9280 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__or__(QGraphicsView.OptimizationFlags f)''' 9281 return QGraphicsView.OptimizationFlags() 9282 def __or__(self, f): 9283 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__or__(int f)''' 9284 return QGraphicsView.OptimizationFlags() 9285 def __int__(self): 9286 '''int QGraphicsView.OptimizationFlags.__int__()''' 9287 return int() 9288 def __ixor__(self, f): 9289 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__ixor__(QGraphicsView.OptimizationFlags f)''' 9290 return QGraphicsView.OptimizationFlags() 9291 def __ior__(self, f): 9292 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__ior__(QGraphicsView.OptimizationFlags f)''' 9293 return QGraphicsView.OptimizationFlags() 9294 def __iand__(self, mask): 9295 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__iand__(int mask)''' 9296 return QGraphicsView.OptimizationFlags() 9297 9298 9299 class QGridLayout(QLayout): 9300 """""" 9301 def __init__(self, parent): 9302 '''void QGridLayout.__init__(QWidget parent)''' 9303 def __init__(self): 9304 '''void QGridLayout.__init__()''' 9305 def itemAtPosition(self, row, column): 9306 '''QLayoutItem QGridLayout.itemAtPosition(int row, int column)''' 9307 return QLayoutItem() 9308 def spacing(self): 9309 '''int QGridLayout.spacing()''' 9310 return int() 9311 def setSpacing(self, spacing): 9312 '''void QGridLayout.setSpacing(int spacing)''' 9313 def verticalSpacing(self): 9314 '''int QGridLayout.verticalSpacing()''' 9315 return int() 9316 def setVerticalSpacing(self, spacing): 9317 '''void QGridLayout.setVerticalSpacing(int spacing)''' 9318 def horizontalSpacing(self): 9319 '''int QGridLayout.horizontalSpacing()''' 9320 return int() 9321 def setHorizontalSpacing(self, spacing): 9322 '''void QGridLayout.setHorizontalSpacing(int spacing)''' 9323 def getItemPosition(self, idx, row, column, rowSpan, columnSpan): 9324 '''void QGridLayout.getItemPosition(int idx, int row, int column, int rowSpan, int columnSpan)''' 9325 def setDefaultPositioning(self, n, orient): 9326 '''void QGridLayout.setDefaultPositioning(int n, Qt.Orientation orient)''' 9327 def addItem(self, item, row, column, rowSpan = 1, columnSpan = 1, alignment = 0): 9328 '''void QGridLayout.addItem(QLayoutItem item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt.Alignment alignment = 0)''' 9329 def addItem(self): 9330 '''QLayoutItem QGridLayout.addItem()''' 9331 return QLayoutItem() 9332 def setGeometry(self): 9333 '''QRect QGridLayout.setGeometry()''' 9334 return QRect() 9335 def count(self): 9336 '''int QGridLayout.count()''' 9337 return int() 9338 def takeAt(self): 9339 '''int QGridLayout.takeAt()''' 9340 return int() 9341 def itemAt(self): 9342 '''int QGridLayout.itemAt()''' 9343 return int() 9344 def originCorner(self): 9345 '''Qt.Corner QGridLayout.originCorner()''' 9346 return Qt.Corner() 9347 def setOriginCorner(self): 9348 '''Qt.Corner QGridLayout.setOriginCorner()''' 9349 return Qt.Corner() 9350 def addLayout(self, row, column, alignment = 0): 9351 '''QLayout QGridLayout.addLayout(int row, int column, Qt.Alignment alignment = 0)''' 9352 return QLayout() 9353 def addLayout(self, row, column, rowSpan, columnSpan, alignment = 0): 9354 '''QLayout QGridLayout.addLayout(int row, int column, int rowSpan, int columnSpan, Qt.Alignment alignment = 0)''' 9355 return QLayout() 9356 def addWidget(self, w): 9357 '''void QGridLayout.addWidget(QWidget w)''' 9358 def addWidget(self, row, column, alignment = 0): 9359 '''QWidget QGridLayout.addWidget(int row, int column, Qt.Alignment alignment = 0)''' 9360 return QWidget() 9361 def addWidget(self, row, column, rowSpan, columnSpan, alignment = 0): 9362 '''QWidget QGridLayout.addWidget(int row, int column, int rowSpan, int columnSpan, Qt.Alignment alignment = 0)''' 9363 return QWidget() 9364 def invalidate(self): 9365 '''void QGridLayout.invalidate()''' 9366 def expandingDirections(self): 9367 '''Qt.Orientations QGridLayout.expandingDirections()''' 9368 return Qt.Orientations() 9369 def minimumHeightForWidth(self): 9370 '''int QGridLayout.minimumHeightForWidth()''' 9371 return int() 9372 def heightForWidth(self): 9373 '''int QGridLayout.heightForWidth()''' 9374 return int() 9375 def hasHeightForWidth(self): 9376 '''bool QGridLayout.hasHeightForWidth()''' 9377 return bool() 9378 def cellRect(self, row, column): 9379 '''QRect QGridLayout.cellRect(int row, int column)''' 9380 return QRect() 9381 def rowCount(self): 9382 '''int QGridLayout.rowCount()''' 9383 return int() 9384 def columnCount(self): 9385 '''int QGridLayout.columnCount()''' 9386 return int() 9387 def columnMinimumWidth(self, column): 9388 '''int QGridLayout.columnMinimumWidth(int column)''' 9389 return int() 9390 def rowMinimumHeight(self, row): 9391 '''int QGridLayout.rowMinimumHeight(int row)''' 9392 return int() 9393 def setColumnMinimumWidth(self, column, minSize): 9394 '''void QGridLayout.setColumnMinimumWidth(int column, int minSize)''' 9395 def setRowMinimumHeight(self, row, minSize): 9396 '''void QGridLayout.setRowMinimumHeight(int row, int minSize)''' 9397 def columnStretch(self, column): 9398 '''int QGridLayout.columnStretch(int column)''' 9399 return int() 9400 def rowStretch(self, row): 9401 '''int QGridLayout.rowStretch(int row)''' 9402 return int() 9403 def setColumnStretch(self, column, stretch): 9404 '''void QGridLayout.setColumnStretch(int column, int stretch)''' 9405 def setRowStretch(self, row, stretch): 9406 '''void QGridLayout.setRowStretch(int row, int stretch)''' 9407 def maximumSize(self): 9408 '''QSize QGridLayout.maximumSize()''' 9409 return QSize() 9410 def minimumSize(self): 9411 '''QSize QGridLayout.minimumSize()''' 9412 return QSize() 9413 def sizeHint(self): 9414 '''QSize QGridLayout.sizeHint()''' 9415 return QSize() 9416 9417 9418 class QGroupBox(QWidget): 9419 """""" 9420 def __init__(self, parent = None): 9421 '''void QGroupBox.__init__(QWidget parent = None)''' 9422 def __init__(self, title, parent = None): 9423 '''void QGroupBox.__init__(str title, QWidget parent = None)''' 9424 def mouseReleaseEvent(self, event): 9425 '''void QGroupBox.mouseReleaseEvent(QMouseEvent event)''' 9426 def mouseMoveEvent(self, event): 9427 '''void QGroupBox.mouseMoveEvent(QMouseEvent event)''' 9428 def mousePressEvent(self, event): 9429 '''void QGroupBox.mousePressEvent(QMouseEvent event)''' 9430 def changeEvent(self): 9431 '''QEvent QGroupBox.changeEvent()''' 9432 return QEvent() 9433 def focusInEvent(self): 9434 '''QFocusEvent QGroupBox.focusInEvent()''' 9435 return QFocusEvent() 9436 def paintEvent(self): 9437 '''QPaintEvent QGroupBox.paintEvent()''' 9438 return QPaintEvent() 9439 def resizeEvent(self): 9440 '''QResizeEvent QGroupBox.resizeEvent()''' 9441 return QResizeEvent() 9442 def childEvent(self): 9443 '''QChildEvent QGroupBox.childEvent()''' 9444 return QChildEvent() 9445 def event(self): 9446 '''QEvent QGroupBox.event()''' 9447 return QEvent() 9448 def initStyleOption(self, option): 9449 '''void QGroupBox.initStyleOption(QStyleOptionGroupBox option)''' 9450 toggled = pyqtSignal() # void toggled(bool) - signal 9451 clicked = pyqtSignal() # void clicked(bool = 0) - signal 9452 def setChecked(self, b): 9453 '''void QGroupBox.setChecked(bool b)''' 9454 def isChecked(self): 9455 '''bool QGroupBox.isChecked()''' 9456 return bool() 9457 def setCheckable(self, b): 9458 '''void QGroupBox.setCheckable(bool b)''' 9459 def isCheckable(self): 9460 '''bool QGroupBox.isCheckable()''' 9461 return bool() 9462 def setFlat(self, b): 9463 '''void QGroupBox.setFlat(bool b)''' 9464 def isFlat(self): 9465 '''bool QGroupBox.isFlat()''' 9466 return bool() 9467 def minimumSizeHint(self): 9468 '''QSize QGroupBox.minimumSizeHint()''' 9469 return QSize() 9470 def setAlignment(self): 9471 '''int QGroupBox.setAlignment()''' 9472 return int() 9473 def alignment(self): 9474 '''Qt.Alignment QGroupBox.alignment()''' 9475 return Qt.Alignment() 9476 def setTitle(self): 9477 '''str QGroupBox.setTitle()''' 9478 return str() 9479 def title(self): 9480 '''str QGroupBox.title()''' 9481 return str() 9482 9483 9484 class QHeaderView(QAbstractItemView): 9485 """""" 9486 # Enum QHeaderView.ResizeMode 9487 Interactive = 0 9488 Fixed = 0 9489 Stretch = 0 9490 ResizeToContents = 0 9491 Custom = 0 9492 9493 def __init__(self, orientation, parent = None): 9494 '''void QHeaderView.__init__(Qt.Orientation orientation, QWidget parent = None)''' 9495 def resetDefaultSectionSize(self): 9496 '''void QHeaderView.resetDefaultSectionSize()''' 9497 def setMaximumSectionSize(self, size): 9498 '''void QHeaderView.setMaximumSectionSize(int size)''' 9499 def maximumSectionSize(self): 9500 '''int QHeaderView.maximumSectionSize()''' 9501 return int() 9502 def resizeContentsPrecision(self): 9503 '''int QHeaderView.resizeContentsPrecision()''' 9504 return int() 9505 def setResizeContentsPrecision(self, precision): 9506 '''void QHeaderView.setResizeContentsPrecision(int precision)''' 9507 def setVisible(self, v): 9508 '''void QHeaderView.setVisible(bool v)''' 9509 def setSectionResizeMode(self, logicalIndex, mode): 9510 '''void QHeaderView.setSectionResizeMode(int logicalIndex, QHeaderView.ResizeMode mode)''' 9511 def setSectionResizeMode(self, mode): 9512 '''void QHeaderView.setSectionResizeMode(QHeaderView.ResizeMode mode)''' 9513 def sectionResizeMode(self, logicalIndex): 9514 '''QHeaderView.ResizeMode QHeaderView.sectionResizeMode(int logicalIndex)''' 9515 return QHeaderView.ResizeMode() 9516 def sectionsClickable(self): 9517 '''bool QHeaderView.sectionsClickable()''' 9518 return bool() 9519 def setSectionsClickable(self, clickable): 9520 '''void QHeaderView.setSectionsClickable(bool clickable)''' 9521 def sectionsMovable(self): 9522 '''bool QHeaderView.sectionsMovable()''' 9523 return bool() 9524 def setSectionsMovable(self, movable): 9525 '''void QHeaderView.setSectionsMovable(bool movable)''' 9526 def initStyleOption(self, option): 9527 '''void QHeaderView.initStyleOption(QStyleOptionHeader option)''' 9528 sortIndicatorChanged = pyqtSignal() # void sortIndicatorChanged(int,Qt::SortOrder) - signal 9529 sectionEntered = pyqtSignal() # void sectionEntered(int) - signal 9530 def setOffsetToLastSection(self): 9531 '''void QHeaderView.setOffsetToLastSection()''' 9532 def reset(self): 9533 '''void QHeaderView.reset()''' 9534 def restoreState(self, state): 9535 '''bool QHeaderView.restoreState(QByteArray state)''' 9536 return bool() 9537 def saveState(self): 9538 '''QByteArray QHeaderView.saveState()''' 9539 return QByteArray() 9540 def setMinimumSectionSize(self, size): 9541 '''void QHeaderView.setMinimumSectionSize(int size)''' 9542 def minimumSectionSize(self): 9543 '''int QHeaderView.minimumSectionSize()''' 9544 return int() 9545 def setCascadingSectionResizes(self, enable): 9546 '''void QHeaderView.setCascadingSectionResizes(bool enable)''' 9547 def cascadingSectionResizes(self): 9548 '''bool QHeaderView.cascadingSectionResizes()''' 9549 return bool() 9550 def swapSections(self, first, second): 9551 '''void QHeaderView.swapSections(int first, int second)''' 9552 def sectionsHidden(self): 9553 '''bool QHeaderView.sectionsHidden()''' 9554 return bool() 9555 def setDefaultAlignment(self, alignment): 9556 '''void QHeaderView.setDefaultAlignment(Qt.Alignment alignment)''' 9557 def defaultAlignment(self): 9558 '''Qt.Alignment QHeaderView.defaultAlignment()''' 9559 return Qt.Alignment() 9560 def setDefaultSectionSize(self, size): 9561 '''void QHeaderView.setDefaultSectionSize(int size)''' 9562 def defaultSectionSize(self): 9563 '''int QHeaderView.defaultSectionSize()''' 9564 return int() 9565 def hiddenSectionCount(self): 9566 '''int QHeaderView.hiddenSectionCount()''' 9567 return int() 9568 def showSection(self, alogicalIndex): 9569 '''void QHeaderView.showSection(int alogicalIndex)''' 9570 def hideSection(self, alogicalIndex): 9571 '''void QHeaderView.hideSection(int alogicalIndex)''' 9572 def visualRegionForSelection(self, selection): 9573 '''QRegion QHeaderView.visualRegionForSelection(QItemSelection selection)''' 9574 return QRegion() 9575 def setSelection(self): 9576 '''QItemSelectionModel.SelectionFlags QHeaderView.setSelection()''' 9577 return QItemSelectionModel.SelectionFlags() 9578 def moveCursor(self): 9579 '''Qt.KeyboardModifiers QHeaderView.moveCursor()''' 9580 return Qt.KeyboardModifiers() 9581 def isIndexHidden(self, index): 9582 '''bool QHeaderView.isIndexHidden(QModelIndex index)''' 9583 return bool() 9584 def indexAt(self, p): 9585 '''QModelIndex QHeaderView.indexAt(QPoint p)''' 9586 return QModelIndex() 9587 def scrollTo(self, index, hint): 9588 '''void QHeaderView.scrollTo(QModelIndex index, QAbstractItemView.ScrollHint hint)''' 9589 def visualRect(self, index): 9590 '''QRect QHeaderView.visualRect(QModelIndex index)''' 9591 return QRect() 9592 def rowsInserted(self, parent, start, end): 9593 '''void QHeaderView.rowsInserted(QModelIndex parent, int start, int end)''' 9594 def dataChanged(self, topLeft, bottomRight, roles = None): 9595 '''void QHeaderView.dataChanged(QModelIndex topLeft, QModelIndex bottomRight, list-of-int roles = [])''' 9596 def scrollContentsBy(self, dx, dy): 9597 '''void QHeaderView.scrollContentsBy(int dx, int dy)''' 9598 def updateGeometries(self): 9599 '''void QHeaderView.updateGeometries()''' 9600 def verticalOffset(self): 9601 '''int QHeaderView.verticalOffset()''' 9602 return int() 9603 def horizontalOffset(self): 9604 '''int QHeaderView.horizontalOffset()''' 9605 return int() 9606 def sectionSizeFromContents(self, logicalIndex): 9607 '''QSize QHeaderView.sectionSizeFromContents(int logicalIndex)''' 9608 return QSize() 9609 def paintSection(self, painter, rect, logicalIndex): 9610 '''void QHeaderView.paintSection(QPainter painter, QRect rect, int logicalIndex)''' 9611 def mouseDoubleClickEvent(self, e): 9612 '''void QHeaderView.mouseDoubleClickEvent(QMouseEvent e)''' 9613 def mouseReleaseEvent(self, e): 9614 '''void QHeaderView.mouseReleaseEvent(QMouseEvent e)''' 9615 def mouseMoveEvent(self, e): 9616 '''void QHeaderView.mouseMoveEvent(QMouseEvent e)''' 9617 def mousePressEvent(self, e): 9618 '''void QHeaderView.mousePressEvent(QMouseEvent e)''' 9619 def paintEvent(self, e): 9620 '''void QHeaderView.paintEvent(QPaintEvent e)''' 9621 def viewportEvent(self, e): 9622 '''bool QHeaderView.viewportEvent(QEvent e)''' 9623 return bool() 9624 def event(self, e): 9625 '''bool QHeaderView.event(QEvent e)''' 9626 return bool() 9627 def currentChanged(self, current, old): 9628 '''void QHeaderView.currentChanged(QModelIndex current, QModelIndex old)''' 9629 def initializeSections(self): 9630 '''void QHeaderView.initializeSections()''' 9631 def initializeSections(self, start, end): 9632 '''void QHeaderView.initializeSections(int start, int end)''' 9633 def initialize(self): 9634 '''void QHeaderView.initialize()''' 9635 def sectionsAboutToBeRemoved(self, parent, logicalFirst, logicalLast): 9636 '''void QHeaderView.sectionsAboutToBeRemoved(QModelIndex parent, int logicalFirst, int logicalLast)''' 9637 def sectionsInserted(self, parent, logicalFirst, logicalLast): 9638 '''void QHeaderView.sectionsInserted(QModelIndex parent, int logicalFirst, int logicalLast)''' 9639 def resizeSections(self): 9640 '''void QHeaderView.resizeSections()''' 9641 def resizeSections(self, mode): 9642 '''void QHeaderView.resizeSections(QHeaderView.ResizeMode mode)''' 9643 def updateSection(self, logicalIndex): 9644 '''void QHeaderView.updateSection(int logicalIndex)''' 9645 sectionHandleDoubleClicked = pyqtSignal() # void sectionHandleDoubleClicked(int) - signal 9646 sectionCountChanged = pyqtSignal() # void sectionCountChanged(int,int) - signal 9647 sectionDoubleClicked = pyqtSignal() # void sectionDoubleClicked(int) - signal 9648 sectionClicked = pyqtSignal() # void sectionClicked(int) - signal 9649 sectionPressed = pyqtSignal() # void sectionPressed(int) - signal 9650 sectionResized = pyqtSignal() # void sectionResized(int,int,int) - signal 9651 sectionMoved = pyqtSignal() # void sectionMoved(int,int,int) - signal 9652 geometriesChanged = pyqtSignal() # void geometriesChanged() - signal 9653 def setOffsetToSectionPosition(self, visualIndex): 9654 '''void QHeaderView.setOffsetToSectionPosition(int visualIndex)''' 9655 def headerDataChanged(self, orientation, logicalFirst, logicalLast): 9656 '''void QHeaderView.headerDataChanged(Qt.Orientation orientation, int logicalFirst, int logicalLast)''' 9657 def setOffset(self, offset): 9658 '''void QHeaderView.setOffset(int offset)''' 9659 def sectionsMoved(self): 9660 '''bool QHeaderView.sectionsMoved()''' 9661 return bool() 9662 def setStretchLastSection(self, stretch): 9663 '''void QHeaderView.setStretchLastSection(bool stretch)''' 9664 def stretchLastSection(self): 9665 '''bool QHeaderView.stretchLastSection()''' 9666 return bool() 9667 def sortIndicatorOrder(self): 9668 '''Qt.SortOrder QHeaderView.sortIndicatorOrder()''' 9669 return Qt.SortOrder() 9670 def sortIndicatorSection(self): 9671 '''int QHeaderView.sortIndicatorSection()''' 9672 return int() 9673 def setSortIndicator(self, logicalIndex, order): 9674 '''void QHeaderView.setSortIndicator(int logicalIndex, Qt.SortOrder order)''' 9675 def isSortIndicatorShown(self): 9676 '''bool QHeaderView.isSortIndicatorShown()''' 9677 return bool() 9678 def setSortIndicatorShown(self, show): 9679 '''void QHeaderView.setSortIndicatorShown(bool show)''' 9680 def stretchSectionCount(self): 9681 '''int QHeaderView.stretchSectionCount()''' 9682 return int() 9683 def highlightSections(self): 9684 '''bool QHeaderView.highlightSections()''' 9685 return bool() 9686 def setHighlightSections(self, highlight): 9687 '''void QHeaderView.setHighlightSections(bool highlight)''' 9688 def logicalIndex(self, visualIndex): 9689 '''int QHeaderView.logicalIndex(int visualIndex)''' 9690 return int() 9691 def visualIndex(self, logicalIndex): 9692 '''int QHeaderView.visualIndex(int logicalIndex)''' 9693 return int() 9694 def __len__(self): 9695 ''' QHeaderView.__len__()''' 9696 return () 9697 def count(self): 9698 '''int QHeaderView.count()''' 9699 return int() 9700 def setSectionHidden(self, logicalIndex, hide): 9701 '''void QHeaderView.setSectionHidden(int logicalIndex, bool hide)''' 9702 def isSectionHidden(self, logicalIndex): 9703 '''bool QHeaderView.isSectionHidden(int logicalIndex)''' 9704 return bool() 9705 def resizeSection(self, logicalIndex, size): 9706 '''void QHeaderView.resizeSection(int logicalIndex, int size)''' 9707 def moveSection(self, from_, to): 9708 '''void QHeaderView.moveSection(int from, int to)''' 9709 def sectionViewportPosition(self, logicalIndex): 9710 '''int QHeaderView.sectionViewportPosition(int logicalIndex)''' 9711 return int() 9712 def sectionPosition(self, logicalIndex): 9713 '''int QHeaderView.sectionPosition(int logicalIndex)''' 9714 return int() 9715 def sectionSize(self, logicalIndex): 9716 '''int QHeaderView.sectionSize(int logicalIndex)''' 9717 return int() 9718 def logicalIndexAt(self, position): 9719 '''int QHeaderView.logicalIndexAt(int position)''' 9720 return int() 9721 def logicalIndexAt(self, ax, ay): 9722 '''int QHeaderView.logicalIndexAt(int ax, int ay)''' 9723 return int() 9724 def logicalIndexAt(self, apos): 9725 '''int QHeaderView.logicalIndexAt(QPoint apos)''' 9726 return int() 9727 def visualIndexAt(self, position): 9728 '''int QHeaderView.visualIndexAt(int position)''' 9729 return int() 9730 def sectionSizeHint(self, logicalIndex): 9731 '''int QHeaderView.sectionSizeHint(int logicalIndex)''' 9732 return int() 9733 def sizeHint(self): 9734 '''QSize QHeaderView.sizeHint()''' 9735 return QSize() 9736 def length(self): 9737 '''int QHeaderView.length()''' 9738 return int() 9739 def offset(self): 9740 '''int QHeaderView.offset()''' 9741 return int() 9742 def orientation(self): 9743 '''Qt.Orientation QHeaderView.orientation()''' 9744 return Qt.Orientation() 9745 def setModel(self, model): 9746 '''void QHeaderView.setModel(QAbstractItemModel model)''' 9747 9748 9749 class QInputDialog(QDialog): 9750 """""" 9751 # Enum QInputDialog.InputMode 9752 TextInput = 0 9753 IntInput = 0 9754 DoubleInput = 0 9755 9756 # Enum QInputDialog.InputDialogOption 9757 NoButtons = 0 9758 UseListViewForComboBoxItems = 0 9759 UsePlainTextEditForTextInput = 0 9760 9761 def __init__(self, parent = None, flags = 0): 9762 '''void QInputDialog.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 9763 doubleValueSelected = pyqtSignal() # void doubleValueSelected(double) - signal 9764 doubleValueChanged = pyqtSignal() # void doubleValueChanged(double) - signal 9765 intValueSelected = pyqtSignal() # void intValueSelected(int) - signal 9766 intValueChanged = pyqtSignal() # void intValueChanged(int) - signal 9767 textValueSelected = pyqtSignal() # void textValueSelected(const QStringamp;) - signal 9768 textValueChanged = pyqtSignal() # void textValueChanged(const QStringamp;) - signal 9769 def done(self, result): 9770 '''void QInputDialog.done(int result)''' 9771 def setVisible(self, visible): 9772 '''void QInputDialog.setVisible(bool visible)''' 9773 def sizeHint(self): 9774 '''QSize QInputDialog.sizeHint()''' 9775 return QSize() 9776 def minimumSizeHint(self): 9777 '''QSize QInputDialog.minimumSizeHint()''' 9778 return QSize() 9779 def open(self): 9780 '''void QInputDialog.open()''' 9781 def open(self, slot): 9782 '''void QInputDialog.open(slot slot)''' 9783 def cancelButtonText(self): 9784 '''str QInputDialog.cancelButtonText()''' 9785 return str() 9786 def setCancelButtonText(self, text): 9787 '''void QInputDialog.setCancelButtonText(str text)''' 9788 def okButtonText(self): 9789 '''str QInputDialog.okButtonText()''' 9790 return str() 9791 def setOkButtonText(self, text): 9792 '''void QInputDialog.setOkButtonText(str text)''' 9793 def doubleDecimals(self): 9794 '''int QInputDialog.doubleDecimals()''' 9795 return int() 9796 def setDoubleDecimals(self, decimals): 9797 '''void QInputDialog.setDoubleDecimals(int decimals)''' 9798 def setDoubleRange(self, min, max): 9799 '''void QInputDialog.setDoubleRange(float min, float max)''' 9800 def doubleMaximum(self): 9801 '''float QInputDialog.doubleMaximum()''' 9802 return float() 9803 def setDoubleMaximum(self, max): 9804 '''void QInputDialog.setDoubleMaximum(float max)''' 9805 def doubleMinimum(self): 9806 '''float QInputDialog.doubleMinimum()''' 9807 return float() 9808 def setDoubleMinimum(self, min): 9809 '''void QInputDialog.setDoubleMinimum(float min)''' 9810 def doubleValue(self): 9811 '''float QInputDialog.doubleValue()''' 9812 return float() 9813 def setDoubleValue(self, value): 9814 '''void QInputDialog.setDoubleValue(float value)''' 9815 def intStep(self): 9816 '''int QInputDialog.intStep()''' 9817 return int() 9818 def setIntStep(self, step): 9819 '''void QInputDialog.setIntStep(int step)''' 9820 def setIntRange(self, min, max): 9821 '''void QInputDialog.setIntRange(int min, int max)''' 9822 def intMaximum(self): 9823 '''int QInputDialog.intMaximum()''' 9824 return int() 9825 def setIntMaximum(self, max): 9826 '''void QInputDialog.setIntMaximum(int max)''' 9827 def intMinimum(self): 9828 '''int QInputDialog.intMinimum()''' 9829 return int() 9830 def setIntMinimum(self, min): 9831 '''void QInputDialog.setIntMinimum(int min)''' 9832 def intValue(self): 9833 '''int QInputDialog.intValue()''' 9834 return int() 9835 def setIntValue(self, value): 9836 '''void QInputDialog.setIntValue(int value)''' 9837 def comboBoxItems(self): 9838 '''list-of-str QInputDialog.comboBoxItems()''' 9839 return [str()] 9840 def setComboBoxItems(self, items): 9841 '''void QInputDialog.setComboBoxItems(list-of-str items)''' 9842 def isComboBoxEditable(self): 9843 '''bool QInputDialog.isComboBoxEditable()''' 9844 return bool() 9845 def setComboBoxEditable(self, editable): 9846 '''void QInputDialog.setComboBoxEditable(bool editable)''' 9847 def textEchoMode(self): 9848 '''QLineEdit.EchoMode QInputDialog.textEchoMode()''' 9849 return QLineEdit.EchoMode() 9850 def setTextEchoMode(self, mode): 9851 '''void QInputDialog.setTextEchoMode(QLineEdit.EchoMode mode)''' 9852 def textValue(self): 9853 '''str QInputDialog.textValue()''' 9854 return str() 9855 def setTextValue(self, text): 9856 '''void QInputDialog.setTextValue(str text)''' 9857 def options(self): 9858 '''QInputDialog.InputDialogOptions QInputDialog.options()''' 9859 return QInputDialog.InputDialogOptions() 9860 def setOptions(self, options): 9861 '''void QInputDialog.setOptions(QInputDialog.InputDialogOptions options)''' 9862 def testOption(self, option): 9863 '''bool QInputDialog.testOption(QInputDialog.InputDialogOption option)''' 9864 return bool() 9865 def setOption(self, option, on = True): 9866 '''void QInputDialog.setOption(QInputDialog.InputDialogOption option, bool on = True)''' 9867 def labelText(self): 9868 '''str QInputDialog.labelText()''' 9869 return str() 9870 def setLabelText(self, text): 9871 '''void QInputDialog.setLabelText(str text)''' 9872 def inputMode(self): 9873 '''QInputDialog.InputMode QInputDialog.inputMode()''' 9874 return QInputDialog.InputMode() 9875 def setInputMode(self, mode): 9876 '''void QInputDialog.setInputMode(QInputDialog.InputMode mode)''' 9877 def getMultiLineText(self, parent, title, label, text = None, ok = None, flags = 0, inputMethodHints = None): 9878 '''static str QInputDialog.getMultiLineText(QWidget parent, str title, str label, str text = '', bool ok, Qt.WindowFlags flags = 0, Qt.InputMethodHints inputMethodHints = Qt.ImhNone)''' 9879 return str() 9880 def getItem(self, parent, title, label, items, current = 0, editable = True, ok = None, flags = 0, inputMethodHints = None): 9881 '''static str QInputDialog.getItem(QWidget parent, str title, str label, list-of-str items, int current = 0, bool editable = True, bool ok, Qt.WindowFlags flags = 0, Qt.InputMethodHints inputMethodHints = Qt.ImhNone)''' 9882 return str() 9883 def getDouble(self, parent, title, label, value = 0, min = None, max = 2147483647, decimals = 1, ok = None, flags = 0): 9884 '''static float QInputDialog.getDouble(QWidget parent, str title, str label, float value = 0, float min = -2147483647, float max = 2147483647, int decimals = 1, bool ok, Qt.WindowFlags flags = 0)''' 9885 return float() 9886 def getInt(self, parent, title, label, value = 0, min = None, max = 2147483647, step = 1, ok = None, flags = 0): 9887 '''static int QInputDialog.getInt(QWidget parent, str title, str label, int value = 0, int min = -2147483647, int max = 2147483647, int step = 1, bool ok, Qt.WindowFlags flags = 0)''' 9888 return int() 9889 def getText(self, parent, title, label, echo = None, text = str(), ok = None, flags = 0, inputMethodHints = None): 9890 '''static str QInputDialog.getText(QWidget parent, str title, str label, QLineEdit.EchoMode echo = QLineEdit.Normal, str text = str(), bool ok, Qt.WindowFlags flags = 0, Qt.InputMethodHints inputMethodHints = Qt.ImhNone)''' 9891 return str() 9892 class InputDialogOptions(): 9893 """""" 9894 def __init__(self): 9895 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__init__()''' 9896 return QInputDialog.InputDialogOptions() 9897 def __init__(self): 9898 '''int QInputDialog.InputDialogOptions.__init__()''' 9899 return int() 9900 def __init__(self): 9901 '''void QInputDialog.InputDialogOptions.__init__()''' 9902 def __bool__(self): 9903 '''int QInputDialog.InputDialogOptions.__bool__()''' 9904 return int() 9905 def __ne__(self, f): 9906 '''bool QInputDialog.InputDialogOptions.__ne__(QInputDialog.InputDialogOptions f)''' 9907 return bool() 9908 def __eq__(self, f): 9909 '''bool QInputDialog.InputDialogOptions.__eq__(QInputDialog.InputDialogOptions f)''' 9910 return bool() 9911 def __invert__(self): 9912 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__invert__()''' 9913 return QInputDialog.InputDialogOptions() 9914 def __and__(self, mask): 9915 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__and__(int mask)''' 9916 return QInputDialog.InputDialogOptions() 9917 def __xor__(self, f): 9918 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__xor__(QInputDialog.InputDialogOptions f)''' 9919 return QInputDialog.InputDialogOptions() 9920 def __xor__(self, f): 9921 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__xor__(int f)''' 9922 return QInputDialog.InputDialogOptions() 9923 def __or__(self, f): 9924 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__or__(QInputDialog.InputDialogOptions f)''' 9925 return QInputDialog.InputDialogOptions() 9926 def __or__(self, f): 9927 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__or__(int f)''' 9928 return QInputDialog.InputDialogOptions() 9929 def __int__(self): 9930 '''int QInputDialog.InputDialogOptions.__int__()''' 9931 return int() 9932 def __ixor__(self, f): 9933 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__ixor__(QInputDialog.InputDialogOptions f)''' 9934 return QInputDialog.InputDialogOptions() 9935 def __ior__(self, f): 9936 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__ior__(QInputDialog.InputDialogOptions f)''' 9937 return QInputDialog.InputDialogOptions() 9938 def __iand__(self, mask): 9939 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__iand__(int mask)''' 9940 return QInputDialog.InputDialogOptions() 9941 9942 9943 class QItemDelegate(QAbstractItemDelegate): 9944 """""" 9945 def __init__(self, parent = None): 9946 '''void QItemDelegate.__init__(QObject parent = None)''' 9947 def editorEvent(self, event, model, option, index): 9948 '''bool QItemDelegate.editorEvent(QEvent event, QAbstractItemModel model, QStyleOptionViewItem option, QModelIndex index)''' 9949 return bool() 9950 def eventFilter(self, object, event): 9951 '''bool QItemDelegate.eventFilter(QObject object, QEvent event)''' 9952 return bool() 9953 def drawFocus(self, painter, option, rect): 9954 '''void QItemDelegate.drawFocus(QPainter painter, QStyleOptionViewItem option, QRect rect)''' 9955 def drawDisplay(self, painter, option, rect, text): 9956 '''void QItemDelegate.drawDisplay(QPainter painter, QStyleOptionViewItem option, QRect rect, str text)''' 9957 def drawDecoration(self, painter, option, rect, pixmap): 9958 '''void QItemDelegate.drawDecoration(QPainter painter, QStyleOptionViewItem option, QRect rect, QPixmap pixmap)''' 9959 def drawCheck(self, painter, option, rect, state): 9960 '''void QItemDelegate.drawCheck(QPainter painter, QStyleOptionViewItem option, QRect rect, Qt.CheckState state)''' 9961 def drawBackground(self, painter, option, index): 9962 '''void QItemDelegate.drawBackground(QPainter painter, QStyleOptionViewItem option, QModelIndex index)''' 9963 def setClipping(self, clip): 9964 '''void QItemDelegate.setClipping(bool clip)''' 9965 def hasClipping(self): 9966 '''bool QItemDelegate.hasClipping()''' 9967 return bool() 9968 def setItemEditorFactory(self, factory): 9969 '''void QItemDelegate.setItemEditorFactory(QItemEditorFactory factory)''' 9970 def itemEditorFactory(self): 9971 '''QItemEditorFactory QItemDelegate.itemEditorFactory()''' 9972 return QItemEditorFactory() 9973 def updateEditorGeometry(self, editor, option, index): 9974 '''void QItemDelegate.updateEditorGeometry(QWidget editor, QStyleOptionViewItem option, QModelIndex index)''' 9975 def setModelData(self, editor, model, index): 9976 '''void QItemDelegate.setModelData(QWidget editor, QAbstractItemModel model, QModelIndex index)''' 9977 def setEditorData(self, editor, index): 9978 '''void QItemDelegate.setEditorData(QWidget editor, QModelIndex index)''' 9979 def createEditor(self, parent, option, index): 9980 '''QWidget QItemDelegate.createEditor(QWidget parent, QStyleOptionViewItem option, QModelIndex index)''' 9981 return QWidget() 9982 def sizeHint(self, option, index): 9983 '''QSize QItemDelegate.sizeHint(QStyleOptionViewItem option, QModelIndex index)''' 9984 return QSize() 9985 def paint(self, painter, option, index): 9986 '''void QItemDelegate.paint(QPainter painter, QStyleOptionViewItem option, QModelIndex index)''' 9987 9988 9989 class QItemEditorCreatorBase(): 9990 """""" 9991 def __init__(self): 9992 '''void QItemEditorCreatorBase.__init__()''' 9993 def __init__(self): 9994 '''QItemEditorCreatorBase QItemEditorCreatorBase.__init__()''' 9995 return QItemEditorCreatorBase() 9996 def valuePropertyName(self): 9997 '''abstract QByteArray QItemEditorCreatorBase.valuePropertyName()''' 9998 return QByteArray() 9999 def createWidget(self, parent): 10000 '''abstract QWidget QItemEditorCreatorBase.createWidget(QWidget parent)''' 10001 return QWidget() 10002 10003 10004 class QItemEditorFactory(): 10005 """""" 10006 def __init__(self): 10007 '''void QItemEditorFactory.__init__()''' 10008 def __init__(self): 10009 '''QItemEditorFactory QItemEditorFactory.__init__()''' 10010 return QItemEditorFactory() 10011 def setDefaultFactory(self, factory): 10012 '''static void QItemEditorFactory.setDefaultFactory(QItemEditorFactory factory)''' 10013 def defaultFactory(self): 10014 '''static QItemEditorFactory QItemEditorFactory.defaultFactory()''' 10015 return QItemEditorFactory() 10016 def registerEditor(self, userType, creator): 10017 '''void QItemEditorFactory.registerEditor(int userType, QItemEditorCreatorBase creator)''' 10018 def valuePropertyName(self, userType): 10019 '''QByteArray QItemEditorFactory.valuePropertyName(int userType)''' 10020 return QByteArray() 10021 def createEditor(self, userType, parent): 10022 '''QWidget QItemEditorFactory.createEditor(int userType, QWidget parent)''' 10023 return QWidget() 10024 10025 10026 class QKeyEventTransition(QEventTransition): 10027 """""" 10028 def __init__(self, sourceState = None): 10029 '''void QKeyEventTransition.__init__(QState sourceState = None)''' 10030 def __init__(self, object, type, key, sourceState = None): 10031 '''void QKeyEventTransition.__init__(QObject object, QEvent.Type type, int key, QState sourceState = None)''' 10032 def eventTest(self, event): 10033 '''bool QKeyEventTransition.eventTest(QEvent event)''' 10034 return bool() 10035 def onTransition(self, event): 10036 '''void QKeyEventTransition.onTransition(QEvent event)''' 10037 def setModifierMask(self, modifiers): 10038 '''void QKeyEventTransition.setModifierMask(Qt.KeyboardModifiers modifiers)''' 10039 def modifierMask(self): 10040 '''Qt.KeyboardModifiers QKeyEventTransition.modifierMask()''' 10041 return Qt.KeyboardModifiers() 10042 def setKey(self, key): 10043 '''void QKeyEventTransition.setKey(int key)''' 10044 def key(self): 10045 '''int QKeyEventTransition.key()''' 10046 return int() 10047 10048 10049 class QKeySequenceEdit(QWidget): 10050 """""" 10051 def __init__(self, parent = None): 10052 '''void QKeySequenceEdit.__init__(QWidget parent = None)''' 10053 def __init__(self, keySequence, parent = None): 10054 '''void QKeySequenceEdit.__init__(QKeySequence keySequence, QWidget parent = None)''' 10055 def timerEvent(self): 10056 '''QTimerEvent QKeySequenceEdit.timerEvent()''' 10057 return QTimerEvent() 10058 def keyReleaseEvent(self): 10059 '''QKeyEvent QKeySequenceEdit.keyReleaseEvent()''' 10060 return QKeyEvent() 10061 def keyPressEvent(self): 10062 '''QKeyEvent QKeySequenceEdit.keyPressEvent()''' 10063 return QKeyEvent() 10064 def event(self): 10065 '''QEvent QKeySequenceEdit.event()''' 10066 return QEvent() 10067 keySequenceChanged = pyqtSignal() # void keySequenceChanged(const QKeySequenceamp;) - signal 10068 editingFinished = pyqtSignal() # void editingFinished() - signal 10069 def clear(self): 10070 '''void QKeySequenceEdit.clear()''' 10071 def setKeySequence(self, keySequence): 10072 '''void QKeySequenceEdit.setKeySequence(QKeySequence keySequence)''' 10073 def keySequence(self): 10074 '''QKeySequence QKeySequenceEdit.keySequence()''' 10075 return QKeySequence() 10076 10077 10078 class QLabel(QFrame): 10079 """""" 10080 def __init__(self, parent = None, flags = 0): 10081 '''void QLabel.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 10082 def __init__(self, text, parent = None, flags = 0): 10083 '''void QLabel.__init__(str text, QWidget parent = None, Qt.WindowFlags flags = 0)''' 10084 def selectionStart(self): 10085 '''int QLabel.selectionStart()''' 10086 return int() 10087 def selectedText(self): 10088 '''str QLabel.selectedText()''' 10089 return str() 10090 def hasSelectedText(self): 10091 '''bool QLabel.hasSelectedText()''' 10092 return bool() 10093 def setSelection(self): 10094 '''int QLabel.setSelection()''' 10095 return int() 10096 def focusNextPrevChild(self, next): 10097 '''bool QLabel.focusNextPrevChild(bool next)''' 10098 return bool() 10099 def focusOutEvent(self, ev): 10100 '''void QLabel.focusOutEvent(QFocusEvent ev)''' 10101 def focusInEvent(self, ev): 10102 '''void QLabel.focusInEvent(QFocusEvent ev)''' 10103 def contextMenuEvent(self, ev): 10104 '''void QLabel.contextMenuEvent(QContextMenuEvent ev)''' 10105 def mouseReleaseEvent(self, ev): 10106 '''void QLabel.mouseReleaseEvent(QMouseEvent ev)''' 10107 def mouseMoveEvent(self, ev): 10108 '''void QLabel.mouseMoveEvent(QMouseEvent ev)''' 10109 def mousePressEvent(self, ev): 10110 '''void QLabel.mousePressEvent(QMouseEvent ev)''' 10111 def keyPressEvent(self, ev): 10112 '''void QLabel.keyPressEvent(QKeyEvent ev)''' 10113 def changeEvent(self): 10114 '''QEvent QLabel.changeEvent()''' 10115 return QEvent() 10116 def paintEvent(self): 10117 '''QPaintEvent QLabel.paintEvent()''' 10118 return QPaintEvent() 10119 def event(self, e): 10120 '''bool QLabel.event(QEvent e)''' 10121 return bool() 10122 linkHovered = pyqtSignal() # void linkHovered(const QStringamp;) - signal 10123 linkActivated = pyqtSignal() # void linkActivated(const QStringamp;) - signal 10124 def setText(self): 10125 '''str QLabel.setText()''' 10126 return str() 10127 def setPixmap(self): 10128 '''QPixmap QLabel.setPixmap()''' 10129 return QPixmap() 10130 def setPicture(self): 10131 '''QPicture QLabel.setPicture()''' 10132 return QPicture() 10133 def setNum(self): 10134 '''float QLabel.setNum()''' 10135 return float() 10136 def setNum(self): 10137 '''int QLabel.setNum()''' 10138 return int() 10139 def setMovie(self, movie): 10140 '''void QLabel.setMovie(QMovie movie)''' 10141 def clear(self): 10142 '''void QLabel.clear()''' 10143 def setOpenExternalLinks(self, open): 10144 '''void QLabel.setOpenExternalLinks(bool open)''' 10145 def textInteractionFlags(self): 10146 '''Qt.TextInteractionFlags QLabel.textInteractionFlags()''' 10147 return Qt.TextInteractionFlags() 10148 def setTextInteractionFlags(self, flags): 10149 '''void QLabel.setTextInteractionFlags(Qt.TextInteractionFlags flags)''' 10150 def openExternalLinks(self): 10151 '''bool QLabel.openExternalLinks()''' 10152 return bool() 10153 def heightForWidth(self): 10154 '''int QLabel.heightForWidth()''' 10155 return int() 10156 def buddy(self): 10157 '''QWidget QLabel.buddy()''' 10158 return QWidget() 10159 def setBuddy(self): 10160 '''QWidget QLabel.setBuddy()''' 10161 return QWidget() 10162 def minimumSizeHint(self): 10163 '''QSize QLabel.minimumSizeHint()''' 10164 return QSize() 10165 def sizeHint(self): 10166 '''QSize QLabel.sizeHint()''' 10167 return QSize() 10168 def setScaledContents(self): 10169 '''bool QLabel.setScaledContents()''' 10170 return bool() 10171 def hasScaledContents(self): 10172 '''bool QLabel.hasScaledContents()''' 10173 return bool() 10174 def setMargin(self): 10175 '''int QLabel.setMargin()''' 10176 return int() 10177 def margin(self): 10178 '''int QLabel.margin()''' 10179 return int() 10180 def setIndent(self): 10181 '''int QLabel.setIndent()''' 10182 return int() 10183 def indent(self): 10184 '''int QLabel.indent()''' 10185 return int() 10186 def wordWrap(self): 10187 '''bool QLabel.wordWrap()''' 10188 return bool() 10189 def setWordWrap(self, on): 10190 '''void QLabel.setWordWrap(bool on)''' 10191 def setAlignment(self): 10192 '''Qt.Alignment QLabel.setAlignment()''' 10193 return Qt.Alignment() 10194 def alignment(self): 10195 '''Qt.Alignment QLabel.alignment()''' 10196 return Qt.Alignment() 10197 def setTextFormat(self): 10198 '''Qt.TextFormat QLabel.setTextFormat()''' 10199 return Qt.TextFormat() 10200 def textFormat(self): 10201 '''Qt.TextFormat QLabel.textFormat()''' 10202 return Qt.TextFormat() 10203 def movie(self): 10204 '''QMovie QLabel.movie()''' 10205 return QMovie() 10206 def picture(self): 10207 '''QPicture QLabel.picture()''' 10208 return QPicture() 10209 def pixmap(self): 10210 '''QPixmap QLabel.pixmap()''' 10211 return QPixmap() 10212 def text(self): 10213 '''str QLabel.text()''' 10214 return str() 10215 10216 10217 class QSpacerItem(QLayoutItem): 10218 """""" 10219 def __init__(self, w, h, hPolicy = None, vPolicy = None): 10220 '''void QSpacerItem.__init__(int w, int h, QSizePolicy.Policy hPolicy = QSizePolicy.Minimum, QSizePolicy.Policy vPolicy = QSizePolicy.Minimum)''' 10221 def __init__(self): 10222 '''QSpacerItem QSpacerItem.__init__()''' 10223 return QSpacerItem() 10224 def sizePolicy(self): 10225 '''QSizePolicy QSpacerItem.sizePolicy()''' 10226 return QSizePolicy() 10227 def spacerItem(self): 10228 '''QSpacerItem QSpacerItem.spacerItem()''' 10229 return QSpacerItem() 10230 def geometry(self): 10231 '''QRect QSpacerItem.geometry()''' 10232 return QRect() 10233 def setGeometry(self): 10234 '''QRect QSpacerItem.setGeometry()''' 10235 return QRect() 10236 def isEmpty(self): 10237 '''bool QSpacerItem.isEmpty()''' 10238 return bool() 10239 def expandingDirections(self): 10240 '''Qt.Orientations QSpacerItem.expandingDirections()''' 10241 return Qt.Orientations() 10242 def maximumSize(self): 10243 '''QSize QSpacerItem.maximumSize()''' 10244 return QSize() 10245 def minimumSize(self): 10246 '''QSize QSpacerItem.minimumSize()''' 10247 return QSize() 10248 def sizeHint(self): 10249 '''QSize QSpacerItem.sizeHint()''' 10250 return QSize() 10251 def changeSize(self, w, h, hPolicy = None, vPolicy = None): 10252 '''void QSpacerItem.changeSize(int w, int h, QSizePolicy.Policy hPolicy = QSizePolicy.Minimum, QSizePolicy.Policy vPolicy = QSizePolicy.Minimum)''' 10253 10254 10255 class QWidgetItem(QLayoutItem): 10256 """""" 10257 def __init__(self, w): 10258 '''void QWidgetItem.__init__(QWidget w)''' 10259 def controlTypes(self): 10260 '''QSizePolicy.ControlTypes QWidgetItem.controlTypes()''' 10261 return QSizePolicy.ControlTypes() 10262 def heightForWidth(self): 10263 '''int QWidgetItem.heightForWidth()''' 10264 return int() 10265 def hasHeightForWidth(self): 10266 '''bool QWidgetItem.hasHeightForWidth()''' 10267 return bool() 10268 def widget(self): 10269 '''QWidget QWidgetItem.widget()''' 10270 return QWidget() 10271 def geometry(self): 10272 '''QRect QWidgetItem.geometry()''' 10273 return QRect() 10274 def setGeometry(self): 10275 '''QRect QWidgetItem.setGeometry()''' 10276 return QRect() 10277 def isEmpty(self): 10278 '''bool QWidgetItem.isEmpty()''' 10279 return bool() 10280 def expandingDirections(self): 10281 '''Qt.Orientations QWidgetItem.expandingDirections()''' 10282 return Qt.Orientations() 10283 def maximumSize(self): 10284 '''QSize QWidgetItem.maximumSize()''' 10285 return QSize() 10286 def minimumSize(self): 10287 '''QSize QWidgetItem.minimumSize()''' 10288 return QSize() 10289 def sizeHint(self): 10290 '''QSize QWidgetItem.sizeHint()''' 10291 return QSize() 10292 10293 10294 class QLCDNumber(QFrame): 10295 """""" 10296 # Enum QLCDNumber.SegmentStyle 10297 Outline = 0 10298 Filled = 0 10299 Flat = 0 10300 10301 # Enum QLCDNumber.Mode 10302 Hex = 0 10303 Dec = 0 10304 Oct = 0 10305 Bin = 0 10306 10307 def __init__(self, parent = None): 10308 '''void QLCDNumber.__init__(QWidget parent = None)''' 10309 def __init__(self, numDigits, parent = None): 10310 '''void QLCDNumber.__init__(int numDigits, QWidget parent = None)''' 10311 def paintEvent(self): 10312 '''QPaintEvent QLCDNumber.paintEvent()''' 10313 return QPaintEvent() 10314 def event(self, e): 10315 '''bool QLCDNumber.event(QEvent e)''' 10316 return bool() 10317 overflow = pyqtSignal() # void overflow() - signal 10318 def setSmallDecimalPoint(self): 10319 '''bool QLCDNumber.setSmallDecimalPoint()''' 10320 return bool() 10321 def setBinMode(self): 10322 '''void QLCDNumber.setBinMode()''' 10323 def setOctMode(self): 10324 '''void QLCDNumber.setOctMode()''' 10325 def setDecMode(self): 10326 '''void QLCDNumber.setDecMode()''' 10327 def setHexMode(self): 10328 '''void QLCDNumber.setHexMode()''' 10329 def display(self, str): 10330 '''void QLCDNumber.display(str str)''' 10331 def display(self, num): 10332 '''void QLCDNumber.display(float num)''' 10333 def display(self, num): 10334 '''void QLCDNumber.display(int num)''' 10335 def sizeHint(self): 10336 '''QSize QLCDNumber.sizeHint()''' 10337 return QSize() 10338 def intValue(self): 10339 '''int QLCDNumber.intValue()''' 10340 return int() 10341 def value(self): 10342 '''float QLCDNumber.value()''' 10343 return float() 10344 def setSegmentStyle(self): 10345 '''QLCDNumber.SegmentStyle QLCDNumber.setSegmentStyle()''' 10346 return QLCDNumber.SegmentStyle() 10347 def segmentStyle(self): 10348 '''QLCDNumber.SegmentStyle QLCDNumber.segmentStyle()''' 10349 return QLCDNumber.SegmentStyle() 10350 def setMode(self): 10351 '''QLCDNumber.Mode QLCDNumber.setMode()''' 10352 return QLCDNumber.Mode() 10353 def mode(self): 10354 '''QLCDNumber.Mode QLCDNumber.mode()''' 10355 return QLCDNumber.Mode() 10356 def checkOverflow(self, num): 10357 '''bool QLCDNumber.checkOverflow(float num)''' 10358 return bool() 10359 def checkOverflow(self, num): 10360 '''bool QLCDNumber.checkOverflow(int num)''' 10361 return bool() 10362 def setNumDigits(self, nDigits): 10363 '''void QLCDNumber.setNumDigits(int nDigits)''' 10364 def setDigitCount(self, nDigits): 10365 '''void QLCDNumber.setDigitCount(int nDigits)''' 10366 def digitCount(self): 10367 '''int QLCDNumber.digitCount()''' 10368 return int() 10369 def smallDecimalPoint(self): 10370 '''bool QLCDNumber.smallDecimalPoint()''' 10371 return bool() 10372 10373 10374 class QLineEdit(QWidget): 10375 """""" 10376 # Enum QLineEdit.ActionPosition 10377 LeadingPosition = 0 10378 TrailingPosition = 0 10379 10380 # Enum QLineEdit.EchoMode 10381 Normal = 0 10382 NoEcho = 0 10383 Password = 0 10384 PasswordEchoOnEdit = 0 10385 10386 def __init__(self, parent = None): 10387 '''void QLineEdit.__init__(QWidget parent = None)''' 10388 def __init__(self, contents, parent = None): 10389 '''void QLineEdit.__init__(str contents, QWidget parent = None)''' 10390 def addAction(self, action): 10391 '''void QLineEdit.addAction(QAction action)''' 10392 def addAction(self, action, position): 10393 '''void QLineEdit.addAction(QAction action, QLineEdit.ActionPosition position)''' 10394 def addAction(self, icon, position): 10395 '''QAction QLineEdit.addAction(QIcon icon, QLineEdit.ActionPosition position)''' 10396 return QAction() 10397 def isClearButtonEnabled(self): 10398 '''bool QLineEdit.isClearButtonEnabled()''' 10399 return bool() 10400 def setClearButtonEnabled(self, enable): 10401 '''void QLineEdit.setClearButtonEnabled(bool enable)''' 10402 def cursorMoveStyle(self): 10403 '''Qt.CursorMoveStyle QLineEdit.cursorMoveStyle()''' 10404 return Qt.CursorMoveStyle() 10405 def setCursorMoveStyle(self, style): 10406 '''void QLineEdit.setCursorMoveStyle(Qt.CursorMoveStyle style)''' 10407 def setPlaceholderText(self): 10408 '''str QLineEdit.setPlaceholderText()''' 10409 return str() 10410 def placeholderText(self): 10411 '''str QLineEdit.placeholderText()''' 10412 return str() 10413 def textMargins(self): 10414 '''QMargins QLineEdit.textMargins()''' 10415 return QMargins() 10416 def getTextMargins(self, left, top, right, bottom): 10417 '''void QLineEdit.getTextMargins(int left, int top, int right, int bottom)''' 10418 def setTextMargins(self, left, top, right, bottom): 10419 '''void QLineEdit.setTextMargins(int left, int top, int right, int bottom)''' 10420 def setTextMargins(self, margins): 10421 '''void QLineEdit.setTextMargins(QMargins margins)''' 10422 def completer(self): 10423 '''QCompleter QLineEdit.completer()''' 10424 return QCompleter() 10425 def setCompleter(self, completer): 10426 '''void QLineEdit.setCompleter(QCompleter completer)''' 10427 def event(self): 10428 '''QEvent QLineEdit.event()''' 10429 return QEvent() 10430 def inputMethodQuery(self): 10431 '''Qt.InputMethodQuery QLineEdit.inputMethodQuery()''' 10432 return Qt.InputMethodQuery() 10433 def cursorRect(self): 10434 '''QRect QLineEdit.cursorRect()''' 10435 return QRect() 10436 def inputMethodEvent(self): 10437 '''QInputMethodEvent QLineEdit.inputMethodEvent()''' 10438 return QInputMethodEvent() 10439 def contextMenuEvent(self): 10440 '''QContextMenuEvent QLineEdit.contextMenuEvent()''' 10441 return QContextMenuEvent() 10442 def changeEvent(self): 10443 '''QEvent QLineEdit.changeEvent()''' 10444 return QEvent() 10445 def dropEvent(self): 10446 '''QDropEvent QLineEdit.dropEvent()''' 10447 return QDropEvent() 10448 def dragLeaveEvent(self, e): 10449 '''void QLineEdit.dragLeaveEvent(QDragLeaveEvent e)''' 10450 def dragMoveEvent(self, e): 10451 '''void QLineEdit.dragMoveEvent(QDragMoveEvent e)''' 10452 def dragEnterEvent(self): 10453 '''QDragEnterEvent QLineEdit.dragEnterEvent()''' 10454 return QDragEnterEvent() 10455 def paintEvent(self): 10456 '''QPaintEvent QLineEdit.paintEvent()''' 10457 return QPaintEvent() 10458 def focusOutEvent(self): 10459 '''QFocusEvent QLineEdit.focusOutEvent()''' 10460 return QFocusEvent() 10461 def focusInEvent(self): 10462 '''QFocusEvent QLineEdit.focusInEvent()''' 10463 return QFocusEvent() 10464 def keyPressEvent(self): 10465 '''QKeyEvent QLineEdit.keyPressEvent()''' 10466 return QKeyEvent() 10467 def mouseDoubleClickEvent(self): 10468 '''QMouseEvent QLineEdit.mouseDoubleClickEvent()''' 10469 return QMouseEvent() 10470 def mouseReleaseEvent(self): 10471 '''QMouseEvent QLineEdit.mouseReleaseEvent()''' 10472 return QMouseEvent() 10473 def mouseMoveEvent(self): 10474 '''QMouseEvent QLineEdit.mouseMoveEvent()''' 10475 return QMouseEvent() 10476 def mousePressEvent(self): 10477 '''QMouseEvent QLineEdit.mousePressEvent()''' 10478 return QMouseEvent() 10479 def initStyleOption(self, option): 10480 '''void QLineEdit.initStyleOption(QStyleOptionFrame option)''' 10481 selectionChanged = pyqtSignal() # void selectionChanged() - signal 10482 editingFinished = pyqtSignal() # void editingFinished() - signal 10483 returnPressed = pyqtSignal() # void returnPressed() - signal 10484 cursorPositionChanged = pyqtSignal() # void cursorPositionChanged(int,int) - signal 10485 textEdited = pyqtSignal() # void textEdited(const QStringamp;) - signal 10486 textChanged = pyqtSignal() # void textChanged(const QStringamp;) - signal 10487 def createStandardContextMenu(self): 10488 '''QMenu QLineEdit.createStandardContextMenu()''' 10489 return QMenu() 10490 def insert(self): 10491 '''str QLineEdit.insert()''' 10492 return str() 10493 def deselect(self): 10494 '''void QLineEdit.deselect()''' 10495 def paste(self): 10496 '''void QLineEdit.paste()''' 10497 def copy(self): 10498 '''void QLineEdit.copy()''' 10499 def cut(self): 10500 '''void QLineEdit.cut()''' 10501 def redo(self): 10502 '''void QLineEdit.redo()''' 10503 def undo(self): 10504 '''void QLineEdit.undo()''' 10505 def selectAll(self): 10506 '''void QLineEdit.selectAll()''' 10507 def clear(self): 10508 '''void QLineEdit.clear()''' 10509 def setText(self): 10510 '''str QLineEdit.setText()''' 10511 return str() 10512 def hasAcceptableInput(self): 10513 '''bool QLineEdit.hasAcceptableInput()''' 10514 return bool() 10515 def setInputMask(self, inputMask): 10516 '''void QLineEdit.setInputMask(str inputMask)''' 10517 def inputMask(self): 10518 '''str QLineEdit.inputMask()''' 10519 return str() 10520 def dragEnabled(self): 10521 '''bool QLineEdit.dragEnabled()''' 10522 return bool() 10523 def setDragEnabled(self, b): 10524 '''void QLineEdit.setDragEnabled(bool b)''' 10525 def isRedoAvailable(self): 10526 '''bool QLineEdit.isRedoAvailable()''' 10527 return bool() 10528 def isUndoAvailable(self): 10529 '''bool QLineEdit.isUndoAvailable()''' 10530 return bool() 10531 def selectionStart(self): 10532 '''int QLineEdit.selectionStart()''' 10533 return int() 10534 def selectedText(self): 10535 '''str QLineEdit.selectedText()''' 10536 return str() 10537 def hasSelectedText(self): 10538 '''bool QLineEdit.hasSelectedText()''' 10539 return bool() 10540 def setSelection(self): 10541 '''int QLineEdit.setSelection()''' 10542 return int() 10543 def setModified(self): 10544 '''bool QLineEdit.setModified()''' 10545 return bool() 10546 def isModified(self): 10547 '''bool QLineEdit.isModified()''' 10548 return bool() 10549 def end(self, mark): 10550 '''void QLineEdit.end(bool mark)''' 10551 def home(self, mark): 10552 '''void QLineEdit.home(bool mark)''' 10553 def del_(self): 10554 '''void QLineEdit.del_()''' 10555 def backspace(self): 10556 '''void QLineEdit.backspace()''' 10557 def cursorWordBackward(self, mark): 10558 '''void QLineEdit.cursorWordBackward(bool mark)''' 10559 def cursorWordForward(self, mark): 10560 '''void QLineEdit.cursorWordForward(bool mark)''' 10561 def cursorBackward(self, mark, steps = 1): 10562 '''void QLineEdit.cursorBackward(bool mark, int steps = 1)''' 10563 def cursorForward(self, mark, steps = 1): 10564 '''void QLineEdit.cursorForward(bool mark, int steps = 1)''' 10565 def alignment(self): 10566 '''Qt.Alignment QLineEdit.alignment()''' 10567 return Qt.Alignment() 10568 def setAlignment(self, flag): 10569 '''void QLineEdit.setAlignment(Qt.Alignment flag)''' 10570 def cursorPositionAt(self, pos): 10571 '''int QLineEdit.cursorPositionAt(QPoint pos)''' 10572 return int() 10573 def setCursorPosition(self): 10574 '''int QLineEdit.setCursorPosition()''' 10575 return int() 10576 def cursorPosition(self): 10577 '''int QLineEdit.cursorPosition()''' 10578 return int() 10579 def minimumSizeHint(self): 10580 '''QSize QLineEdit.minimumSizeHint()''' 10581 return QSize() 10582 def sizeHint(self): 10583 '''QSize QLineEdit.sizeHint()''' 10584 return QSize() 10585 def validator(self): 10586 '''QValidator QLineEdit.validator()''' 10587 return QValidator() 10588 def setValidator(self): 10589 '''QValidator QLineEdit.setValidator()''' 10590 return QValidator() 10591 def setReadOnly(self): 10592 '''bool QLineEdit.setReadOnly()''' 10593 return bool() 10594 def isReadOnly(self): 10595 '''bool QLineEdit.isReadOnly()''' 10596 return bool() 10597 def setEchoMode(self): 10598 '''QLineEdit.EchoMode QLineEdit.setEchoMode()''' 10599 return QLineEdit.EchoMode() 10600 def echoMode(self): 10601 '''QLineEdit.EchoMode QLineEdit.echoMode()''' 10602 return QLineEdit.EchoMode() 10603 def hasFrame(self): 10604 '''bool QLineEdit.hasFrame()''' 10605 return bool() 10606 def setFrame(self): 10607 '''bool QLineEdit.setFrame()''' 10608 return bool() 10609 def setMaxLength(self): 10610 '''int QLineEdit.setMaxLength()''' 10611 return int() 10612 def maxLength(self): 10613 '''int QLineEdit.maxLength()''' 10614 return int() 10615 def displayText(self): 10616 '''str QLineEdit.displayText()''' 10617 return str() 10618 def text(self): 10619 '''str QLineEdit.text()''' 10620 return str() 10621 10622 10623 class QListView(QAbstractItemView): 10624 """""" 10625 # Enum QListView.ViewMode 10626 ListMode = 0 10627 IconMode = 0 10628 10629 # Enum QListView.LayoutMode 10630 SinglePass = 0 10631 Batched = 0 10632 10633 # Enum QListView.ResizeMode 10634 Fixed = 0 10635 Adjust = 0 10636 10637 # Enum QListView.Flow 10638 LeftToRight = 0 10639 TopToBottom = 0 10640 10641 # Enum QListView.Movement 10642 Static = 0 10643 Free = 0 10644 Snap = 0 10645 10646 def __init__(self, parent = None): 10647 '''void QListView.__init__(QWidget parent = None)''' 10648 def currentChanged(self, current, previous): 10649 '''void QListView.currentChanged(QModelIndex current, QModelIndex previous)''' 10650 def selectionChanged(self, selected, deselected): 10651 '''void QListView.selectionChanged(QItemSelection selected, QItemSelection deselected)''' 10652 def isSelectionRectVisible(self): 10653 '''bool QListView.isSelectionRectVisible()''' 10654 return bool() 10655 def setSelectionRectVisible(self, show): 10656 '''void QListView.setSelectionRectVisible(bool show)''' 10657 def wordWrap(self): 10658 '''bool QListView.wordWrap()''' 10659 return bool() 10660 def setWordWrap(self, on): 10661 '''void QListView.setWordWrap(bool on)''' 10662 def batchSize(self): 10663 '''int QListView.batchSize()''' 10664 return int() 10665 def setBatchSize(self, batchSize): 10666 '''void QListView.setBatchSize(int batchSize)''' 10667 def viewportSizeHint(self): 10668 '''QSize QListView.viewportSizeHint()''' 10669 return QSize() 10670 def isIndexHidden(self, index): 10671 '''bool QListView.isIndexHidden(QModelIndex index)''' 10672 return bool() 10673 def updateGeometries(self): 10674 '''void QListView.updateGeometries()''' 10675 def selectedIndexes(self): 10676 '''list-of-QModelIndex QListView.selectedIndexes()''' 10677 return [QModelIndex()] 10678 def visualRegionForSelection(self, selection): 10679 '''QRegion QListView.visualRegionForSelection(QItemSelection selection)''' 10680 return QRegion() 10681 def setSelection(self, rect, command): 10682 '''void QListView.setSelection(QRect rect, QItemSelectionModel.SelectionFlags command)''' 10683 def setPositionForIndex(self, position, index): 10684 '''void QListView.setPositionForIndex(QPoint position, QModelIndex index)''' 10685 def rectForIndex(self, index): 10686 '''QRect QListView.rectForIndex(QModelIndex index)''' 10687 return QRect() 10688 def moveCursor(self, cursorAction, modifiers): 10689 '''QModelIndex QListView.moveCursor(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers)''' 10690 return QModelIndex() 10691 def verticalOffset(self): 10692 '''int QListView.verticalOffset()''' 10693 return int() 10694 def horizontalOffset(self): 10695 '''int QListView.horizontalOffset()''' 10696 return int() 10697 def paintEvent(self, e): 10698 '''void QListView.paintEvent(QPaintEvent e)''' 10699 def viewOptions(self): 10700 '''QStyleOptionViewItem QListView.viewOptions()''' 10701 return QStyleOptionViewItem() 10702 def startDrag(self, supportedActions): 10703 '''void QListView.startDrag(Qt.DropActions supportedActions)''' 10704 def dropEvent(self, e): 10705 '''void QListView.dropEvent(QDropEvent e)''' 10706 def dragLeaveEvent(self, e): 10707 '''void QListView.dragLeaveEvent(QDragLeaveEvent e)''' 10708 def dragMoveEvent(self, e): 10709 '''void QListView.dragMoveEvent(QDragMoveEvent e)''' 10710 def resizeEvent(self, e): 10711 '''void QListView.resizeEvent(QResizeEvent e)''' 10712 def timerEvent(self, e): 10713 '''void QListView.timerEvent(QTimerEvent e)''' 10714 def mouseReleaseEvent(self, e): 10715 '''void QListView.mouseReleaseEvent(QMouseEvent e)''' 10716 def mouseMoveEvent(self, e): 10717 '''void QListView.mouseMoveEvent(QMouseEvent e)''' 10718 def event(self, e): 10719 '''bool QListView.event(QEvent e)''' 10720 return bool() 10721 def rowsAboutToBeRemoved(self, parent, start, end): 10722 '''void QListView.rowsAboutToBeRemoved(QModelIndex parent, int start, int end)''' 10723 def rowsInserted(self, parent, start, end): 10724 '''void QListView.rowsInserted(QModelIndex parent, int start, int end)''' 10725 def dataChanged(self, topLeft, bottomRight, roles = None): 10726 '''void QListView.dataChanged(QModelIndex topLeft, QModelIndex bottomRight, list-of-int roles = [])''' 10727 def scrollContentsBy(self, dx, dy): 10728 '''void QListView.scrollContentsBy(int dx, int dy)''' 10729 indexesMoved = pyqtSignal() # void indexesMoved(const QModelIndexListamp;) - signal 10730 def setRootIndex(self, index): 10731 '''void QListView.setRootIndex(QModelIndex index)''' 10732 def reset(self): 10733 '''void QListView.reset()''' 10734 def indexAt(self, p): 10735 '''QModelIndex QListView.indexAt(QPoint p)''' 10736 return QModelIndex() 10737 def scrollTo(self, index, hint = None): 10738 '''void QListView.scrollTo(QModelIndex index, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 10739 def visualRect(self, index): 10740 '''QRect QListView.visualRect(QModelIndex index)''' 10741 return QRect() 10742 def uniformItemSizes(self): 10743 '''bool QListView.uniformItemSizes()''' 10744 return bool() 10745 def setUniformItemSizes(self, enable): 10746 '''void QListView.setUniformItemSizes(bool enable)''' 10747 def modelColumn(self): 10748 '''int QListView.modelColumn()''' 10749 return int() 10750 def setModelColumn(self, column): 10751 '''void QListView.setModelColumn(int column)''' 10752 def setRowHidden(self, row, hide): 10753 '''void QListView.setRowHidden(int row, bool hide)''' 10754 def isRowHidden(self, row): 10755 '''bool QListView.isRowHidden(int row)''' 10756 return bool() 10757 def clearPropertyFlags(self): 10758 '''void QListView.clearPropertyFlags()''' 10759 def viewMode(self): 10760 '''QListView.ViewMode QListView.viewMode()''' 10761 return QListView.ViewMode() 10762 def setViewMode(self, mode): 10763 '''void QListView.setViewMode(QListView.ViewMode mode)''' 10764 def gridSize(self): 10765 '''QSize QListView.gridSize()''' 10766 return QSize() 10767 def setGridSize(self, size): 10768 '''void QListView.setGridSize(QSize size)''' 10769 def spacing(self): 10770 '''int QListView.spacing()''' 10771 return int() 10772 def setSpacing(self, space): 10773 '''void QListView.setSpacing(int space)''' 10774 def layoutMode(self): 10775 '''QListView.LayoutMode QListView.layoutMode()''' 10776 return QListView.LayoutMode() 10777 def setLayoutMode(self, mode): 10778 '''void QListView.setLayoutMode(QListView.LayoutMode mode)''' 10779 def resizeMode(self): 10780 '''QListView.ResizeMode QListView.resizeMode()''' 10781 return QListView.ResizeMode() 10782 def setResizeMode(self, mode): 10783 '''void QListView.setResizeMode(QListView.ResizeMode mode)''' 10784 def isWrapping(self): 10785 '''bool QListView.isWrapping()''' 10786 return bool() 10787 def setWrapping(self, enable): 10788 '''void QListView.setWrapping(bool enable)''' 10789 def flow(self): 10790 '''QListView.Flow QListView.flow()''' 10791 return QListView.Flow() 10792 def setFlow(self, flow): 10793 '''void QListView.setFlow(QListView.Flow flow)''' 10794 def movement(self): 10795 '''QListView.Movement QListView.movement()''' 10796 return QListView.Movement() 10797 def setMovement(self, movement): 10798 '''void QListView.setMovement(QListView.Movement movement)''' 10799 10800 10801 class QListWidgetItem(): 10802 """""" 10803 # Enum QListWidgetItem.ItemType 10804 Type = 0 10805 UserType = 0 10806 10807 def __init__(self, parent = None, type = None): 10808 '''void QListWidgetItem.__init__(QListWidget parent = None, int type = QListWidgetItem.Type)''' 10809 def __init__(self, text, parent = None, type = None): 10810 '''void QListWidgetItem.__init__(str text, QListWidget parent = None, int type = QListWidgetItem.Type)''' 10811 def __init__(self, icon, text, parent = None, type = None): 10812 '''void QListWidgetItem.__init__(QIcon icon, str text, QListWidget parent = None, int type = QListWidgetItem.Type)''' 10813 def __init__(self, other): 10814 '''void QListWidgetItem.__init__(QListWidgetItem other)''' 10815 def __ge__(self, other): 10816 '''bool QListWidgetItem.__ge__(QListWidgetItem other)''' 10817 return bool() 10818 def isHidden(self): 10819 '''bool QListWidgetItem.isHidden()''' 10820 return bool() 10821 def setHidden(self, ahide): 10822 '''void QListWidgetItem.setHidden(bool ahide)''' 10823 def isSelected(self): 10824 '''bool QListWidgetItem.isSelected()''' 10825 return bool() 10826 def setSelected(self, aselect): 10827 '''void QListWidgetItem.setSelected(bool aselect)''' 10828 def setForeground(self, brush): 10829 '''void QListWidgetItem.setForeground(QBrush brush)''' 10830 def foreground(self): 10831 '''QBrush QListWidgetItem.foreground()''' 10832 return QBrush() 10833 def setBackground(self, brush): 10834 '''void QListWidgetItem.setBackground(QBrush brush)''' 10835 def background(self): 10836 '''QBrush QListWidgetItem.background()''' 10837 return QBrush() 10838 def setFont(self, afont): 10839 '''void QListWidgetItem.setFont(QFont afont)''' 10840 def setWhatsThis(self, awhatsThis): 10841 '''void QListWidgetItem.setWhatsThis(str awhatsThis)''' 10842 def setToolTip(self, atoolTip): 10843 '''void QListWidgetItem.setToolTip(str atoolTip)''' 10844 def setStatusTip(self, astatusTip): 10845 '''void QListWidgetItem.setStatusTip(str astatusTip)''' 10846 def setIcon(self, aicon): 10847 '''void QListWidgetItem.setIcon(QIcon aicon)''' 10848 def setText(self, atext): 10849 '''void QListWidgetItem.setText(str atext)''' 10850 def setFlags(self, aflags): 10851 '''void QListWidgetItem.setFlags(Qt.ItemFlags aflags)''' 10852 def type(self): 10853 '''int QListWidgetItem.type()''' 10854 return int() 10855 def write(self, out): 10856 '''void QListWidgetItem.write(QDataStream out)''' 10857 def read(self, in_): 10858 '''void QListWidgetItem.read(QDataStream in)''' 10859 def __lt__(self, other): 10860 '''bool QListWidgetItem.__lt__(QListWidgetItem other)''' 10861 return bool() 10862 def setData(self, role, value): 10863 '''void QListWidgetItem.setData(int role, QVariant value)''' 10864 def data(self, role): 10865 '''QVariant QListWidgetItem.data(int role)''' 10866 return QVariant() 10867 def setSizeHint(self, size): 10868 '''void QListWidgetItem.setSizeHint(QSize size)''' 10869 def sizeHint(self): 10870 '''QSize QListWidgetItem.sizeHint()''' 10871 return QSize() 10872 def setCheckState(self, state): 10873 '''void QListWidgetItem.setCheckState(Qt.CheckState state)''' 10874 def checkState(self): 10875 '''Qt.CheckState QListWidgetItem.checkState()''' 10876 return Qt.CheckState() 10877 def setTextAlignment(self, alignment): 10878 '''void QListWidgetItem.setTextAlignment(int alignment)''' 10879 def textAlignment(self): 10880 '''int QListWidgetItem.textAlignment()''' 10881 return int() 10882 def font(self): 10883 '''QFont QListWidgetItem.font()''' 10884 return QFont() 10885 def whatsThis(self): 10886 '''str QListWidgetItem.whatsThis()''' 10887 return str() 10888 def toolTip(self): 10889 '''str QListWidgetItem.toolTip()''' 10890 return str() 10891 def statusTip(self): 10892 '''str QListWidgetItem.statusTip()''' 10893 return str() 10894 def icon(self): 10895 '''QIcon QListWidgetItem.icon()''' 10896 return QIcon() 10897 def text(self): 10898 '''str QListWidgetItem.text()''' 10899 return str() 10900 def flags(self): 10901 '''Qt.ItemFlags QListWidgetItem.flags()''' 10902 return Qt.ItemFlags() 10903 def listWidget(self): 10904 '''QListWidget QListWidgetItem.listWidget()''' 10905 return QListWidget() 10906 def clone(self): 10907 '''QListWidgetItem QListWidgetItem.clone()''' 10908 return QListWidgetItem() 10909 10910 10911 class QListWidget(QListView): 10912 """""" 10913 def __init__(self, parent = None): 10914 '''void QListWidget.__init__(QWidget parent = None)''' 10915 def removeItemWidget(self, aItem): 10916 '''void QListWidget.removeItemWidget(QListWidgetItem aItem)''' 10917 def dropEvent(self, event): 10918 '''void QListWidget.dropEvent(QDropEvent event)''' 10919 def isSortingEnabled(self): 10920 '''bool QListWidget.isSortingEnabled()''' 10921 return bool() 10922 def setSortingEnabled(self, enable): 10923 '''void QListWidget.setSortingEnabled(bool enable)''' 10924 def event(self, e): 10925 '''bool QListWidget.event(QEvent e)''' 10926 return bool() 10927 def itemFromIndex(self, index): 10928 '''QListWidgetItem QListWidget.itemFromIndex(QModelIndex index)''' 10929 return QListWidgetItem() 10930 def indexFromItem(self, item): 10931 '''QModelIndex QListWidget.indexFromItem(QListWidgetItem item)''' 10932 return QModelIndex() 10933 def items(self, data): 10934 '''list-of-QListWidgetItem QListWidget.items(QMimeData data)''' 10935 return [QListWidgetItem()] 10936 def supportedDropActions(self): 10937 '''Qt.DropActions QListWidget.supportedDropActions()''' 10938 return Qt.DropActions() 10939 def dropMimeData(self, index, data, action): 10940 '''bool QListWidget.dropMimeData(int index, QMimeData data, Qt.DropAction action)''' 10941 return bool() 10942 def mimeData(self, items): 10943 '''QMimeData QListWidget.mimeData(list-of-QListWidgetItem items)''' 10944 return QMimeData() 10945 def mimeTypes(self): 10946 '''list-of-str QListWidget.mimeTypes()''' 10947 return [str()] 10948 itemSelectionChanged = pyqtSignal() # void itemSelectionChanged() - signal 10949 currentRowChanged = pyqtSignal() # void currentRowChanged(int) - signal 10950 currentTextChanged = pyqtSignal() # void currentTextChanged(const QStringamp;) - signal 10951 currentItemChanged = pyqtSignal() # void currentItemChanged(QListWidgetItem*,QListWidgetItem*) - signal 10952 itemChanged = pyqtSignal() # void itemChanged(QListWidgetItem*) - signal 10953 itemEntered = pyqtSignal() # void itemEntered(QListWidgetItem*) - signal 10954 itemActivated = pyqtSignal() # void itemActivated(QListWidgetItem*) - signal 10955 itemDoubleClicked = pyqtSignal() # void itemDoubleClicked(QListWidgetItem*) - signal 10956 itemClicked = pyqtSignal() # void itemClicked(QListWidgetItem*) - signal 10957 itemPressed = pyqtSignal() # void itemPressed(QListWidgetItem*) - signal 10958 def scrollToItem(self, item, hint = None): 10959 '''void QListWidget.scrollToItem(QListWidgetItem item, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 10960 def clear(self): 10961 '''void QListWidget.clear()''' 10962 def findItems(self, text, flags): 10963 '''list-of-QListWidgetItem QListWidget.findItems(str text, Qt.MatchFlags flags)''' 10964 return [QListWidgetItem()] 10965 def selectedItems(self): 10966 '''list-of-QListWidgetItem QListWidget.selectedItems()''' 10967 return [QListWidgetItem()] 10968 def closePersistentEditor(self, item): 10969 '''void QListWidget.closePersistentEditor(QListWidgetItem item)''' 10970 def openPersistentEditor(self, item): 10971 '''void QListWidget.openPersistentEditor(QListWidgetItem item)''' 10972 def editItem(self, item): 10973 '''void QListWidget.editItem(QListWidgetItem item)''' 10974 def sortItems(self, order = None): 10975 '''void QListWidget.sortItems(Qt.SortOrder order = Qt.AscendingOrder)''' 10976 def visualItemRect(self, item): 10977 '''QRect QListWidget.visualItemRect(QListWidgetItem item)''' 10978 return QRect() 10979 def setItemWidget(self, item, widget): 10980 '''void QListWidget.setItemWidget(QListWidgetItem item, QWidget widget)''' 10981 def itemWidget(self, item): 10982 '''QWidget QListWidget.itemWidget(QListWidgetItem item)''' 10983 return QWidget() 10984 def itemAt(self, p): 10985 '''QListWidgetItem QListWidget.itemAt(QPoint p)''' 10986 return QListWidgetItem() 10987 def itemAt(self, ax, ay): 10988 '''QListWidgetItem QListWidget.itemAt(int ax, int ay)''' 10989 return QListWidgetItem() 10990 def setCurrentRow(self, row): 10991 '''void QListWidget.setCurrentRow(int row)''' 10992 def setCurrentRow(self, row, command): 10993 '''void QListWidget.setCurrentRow(int row, QItemSelectionModel.SelectionFlags command)''' 10994 def currentRow(self): 10995 '''int QListWidget.currentRow()''' 10996 return int() 10997 def setCurrentItem(self, item): 10998 '''void QListWidget.setCurrentItem(QListWidgetItem item)''' 10999 def setCurrentItem(self, item, command): 11000 '''void QListWidget.setCurrentItem(QListWidgetItem item, QItemSelectionModel.SelectionFlags command)''' 11001 def currentItem(self): 11002 '''QListWidgetItem QListWidget.currentItem()''' 11003 return QListWidgetItem() 11004 def __len__(self): 11005 ''' QListWidget.__len__()''' 11006 return () 11007 def count(self): 11008 '''int QListWidget.count()''' 11009 return int() 11010 def takeItem(self, row): 11011 '''QListWidgetItem QListWidget.takeItem(int row)''' 11012 return QListWidgetItem() 11013 def addItems(self, labels): 11014 '''void QListWidget.addItems(list-of-str labels)''' 11015 def addItem(self, aitem): 11016 '''void QListWidget.addItem(QListWidgetItem aitem)''' 11017 def addItem(self, label): 11018 '''void QListWidget.addItem(str label)''' 11019 def insertItems(self, row, labels): 11020 '''void QListWidget.insertItems(int row, list-of-str labels)''' 11021 def insertItem(self, row, item): 11022 '''void QListWidget.insertItem(int row, QListWidgetItem item)''' 11023 def insertItem(self, row, label): 11024 '''void QListWidget.insertItem(int row, str label)''' 11025 def row(self, item): 11026 '''int QListWidget.row(QListWidgetItem item)''' 11027 return int() 11028 def item(self, row): 11029 '''QListWidgetItem QListWidget.item(int row)''' 11030 return QListWidgetItem() 11031 11032 11033 class QMainWindow(QWidget): 11034 """""" 11035 # Enum QMainWindow.DockOption 11036 AnimatedDocks = 0 11037 AllowNestedDocks = 0 11038 AllowTabbedDocks = 0 11039 ForceTabbedDocks = 0 11040 VerticalTabs = 0 11041 11042 def __init__(self, parent = None, flags = 0): 11043 '''void QMainWindow.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 11044 def takeCentralWidget(self): 11045 '''QWidget QMainWindow.takeCentralWidget()''' 11046 return QWidget() 11047 def tabifiedDockWidgets(self, dockwidget): 11048 '''list-of-QDockWidget QMainWindow.tabifiedDockWidgets(QDockWidget dockwidget)''' 11049 return [QDockWidget()] 11050 def setTabPosition(self, areas, tabPosition): 11051 '''void QMainWindow.setTabPosition(Qt.DockWidgetAreas areas, QTabWidget.TabPosition tabPosition)''' 11052 def tabPosition(self, area): 11053 '''QTabWidget.TabPosition QMainWindow.tabPosition(Qt.DockWidgetArea area)''' 11054 return QTabWidget.TabPosition() 11055 def setTabShape(self, tabShape): 11056 '''void QMainWindow.setTabShape(QTabWidget.TabShape tabShape)''' 11057 def tabShape(self): 11058 '''QTabWidget.TabShape QMainWindow.tabShape()''' 11059 return QTabWidget.TabShape() 11060 def setDocumentMode(self, enabled): 11061 '''void QMainWindow.setDocumentMode(bool enabled)''' 11062 def documentMode(self): 11063 '''bool QMainWindow.documentMode()''' 11064 return bool() 11065 def restoreDockWidget(self, dockwidget): 11066 '''bool QMainWindow.restoreDockWidget(QDockWidget dockwidget)''' 11067 return bool() 11068 def unifiedTitleAndToolBarOnMac(self): 11069 '''bool QMainWindow.unifiedTitleAndToolBarOnMac()''' 11070 return bool() 11071 def setUnifiedTitleAndToolBarOnMac(self, set): 11072 '''void QMainWindow.setUnifiedTitleAndToolBarOnMac(bool set)''' 11073 def toolBarBreak(self, toolbar): 11074 '''bool QMainWindow.toolBarBreak(QToolBar toolbar)''' 11075 return bool() 11076 def removeToolBarBreak(self, before): 11077 '''void QMainWindow.removeToolBarBreak(QToolBar before)''' 11078 def dockOptions(self): 11079 '''QMainWindow.DockOptions QMainWindow.dockOptions()''' 11080 return QMainWindow.DockOptions() 11081 def setDockOptions(self, options): 11082 '''void QMainWindow.setDockOptions(QMainWindow.DockOptions options)''' 11083 def tabifyDockWidget(self, first, second): 11084 '''void QMainWindow.tabifyDockWidget(QDockWidget first, QDockWidget second)''' 11085 def setMenuWidget(self, menubar): 11086 '''void QMainWindow.setMenuWidget(QWidget menubar)''' 11087 def menuWidget(self): 11088 '''QWidget QMainWindow.menuWidget()''' 11089 return QWidget() 11090 def isSeparator(self, pos): 11091 '''bool QMainWindow.isSeparator(QPoint pos)''' 11092 return bool() 11093 def isDockNestingEnabled(self): 11094 '''bool QMainWindow.isDockNestingEnabled()''' 11095 return bool() 11096 def isAnimated(self): 11097 '''bool QMainWindow.isAnimated()''' 11098 return bool() 11099 def event(self, event): 11100 '''bool QMainWindow.event(QEvent event)''' 11101 return bool() 11102 def contextMenuEvent(self, event): 11103 '''void QMainWindow.contextMenuEvent(QContextMenuEvent event)''' 11104 toolButtonStyleChanged = pyqtSignal() # void toolButtonStyleChanged(Qt::ToolButtonStyle) - signal 11105 iconSizeChanged = pyqtSignal() # void iconSizeChanged(const QSizeamp;) - signal 11106 def setDockNestingEnabled(self, enabled): 11107 '''void QMainWindow.setDockNestingEnabled(bool enabled)''' 11108 def setAnimated(self, enabled): 11109 '''void QMainWindow.setAnimated(bool enabled)''' 11110 def createPopupMenu(self): 11111 '''QMenu QMainWindow.createPopupMenu()''' 11112 return QMenu() 11113 def restoreState(self, state, version = 0): 11114 '''bool QMainWindow.restoreState(QByteArray state, int version = 0)''' 11115 return bool() 11116 def saveState(self, version = 0): 11117 '''QByteArray QMainWindow.saveState(int version = 0)''' 11118 return QByteArray() 11119 def dockWidgetArea(self, dockwidget): 11120 '''Qt.DockWidgetArea QMainWindow.dockWidgetArea(QDockWidget dockwidget)''' 11121 return Qt.DockWidgetArea() 11122 def removeDockWidget(self, dockwidget): 11123 '''void QMainWindow.removeDockWidget(QDockWidget dockwidget)''' 11124 def splitDockWidget(self, after, dockwidget, orientation): 11125 '''void QMainWindow.splitDockWidget(QDockWidget after, QDockWidget dockwidget, Qt.Orientation orientation)''' 11126 def addDockWidget(self, area, dockwidget): 11127 '''void QMainWindow.addDockWidget(Qt.DockWidgetArea area, QDockWidget dockwidget)''' 11128 def addDockWidget(self, area, dockwidget, orientation): 11129 '''void QMainWindow.addDockWidget(Qt.DockWidgetArea area, QDockWidget dockwidget, Qt.Orientation orientation)''' 11130 def toolBarArea(self, toolbar): 11131 '''Qt.ToolBarArea QMainWindow.toolBarArea(QToolBar toolbar)''' 11132 return Qt.ToolBarArea() 11133 def removeToolBar(self, toolbar): 11134 '''void QMainWindow.removeToolBar(QToolBar toolbar)''' 11135 def insertToolBar(self, before, toolbar): 11136 '''void QMainWindow.insertToolBar(QToolBar before, QToolBar toolbar)''' 11137 def addToolBar(self, area, toolbar): 11138 '''void QMainWindow.addToolBar(Qt.ToolBarArea area, QToolBar toolbar)''' 11139 def addToolBar(self, toolbar): 11140 '''void QMainWindow.addToolBar(QToolBar toolbar)''' 11141 def addToolBar(self, title): 11142 '''QToolBar QMainWindow.addToolBar(str title)''' 11143 return QToolBar() 11144 def insertToolBarBreak(self, before): 11145 '''void QMainWindow.insertToolBarBreak(QToolBar before)''' 11146 def addToolBarBreak(self, area = None): 11147 '''void QMainWindow.addToolBarBreak(Qt.ToolBarArea area = Qt.TopToolBarArea)''' 11148 def corner(self, corner): 11149 '''Qt.DockWidgetArea QMainWindow.corner(Qt.Corner corner)''' 11150 return Qt.DockWidgetArea() 11151 def setCorner(self, corner, area): 11152 '''void QMainWindow.setCorner(Qt.Corner corner, Qt.DockWidgetArea area)''' 11153 def setCentralWidget(self, widget): 11154 '''void QMainWindow.setCentralWidget(QWidget widget)''' 11155 def centralWidget(self): 11156 '''QWidget QMainWindow.centralWidget()''' 11157 return QWidget() 11158 def setStatusBar(self, statusbar): 11159 '''void QMainWindow.setStatusBar(QStatusBar statusbar)''' 11160 def statusBar(self): 11161 '''QStatusBar QMainWindow.statusBar()''' 11162 return QStatusBar() 11163 def setMenuBar(self, menubar): 11164 '''void QMainWindow.setMenuBar(QMenuBar menubar)''' 11165 def menuBar(self): 11166 '''QMenuBar QMainWindow.menuBar()''' 11167 return QMenuBar() 11168 def setToolButtonStyle(self, toolButtonStyle): 11169 '''void QMainWindow.setToolButtonStyle(Qt.ToolButtonStyle toolButtonStyle)''' 11170 def toolButtonStyle(self): 11171 '''Qt.ToolButtonStyle QMainWindow.toolButtonStyle()''' 11172 return Qt.ToolButtonStyle() 11173 def setIconSize(self, iconSize): 11174 '''void QMainWindow.setIconSize(QSize iconSize)''' 11175 def iconSize(self): 11176 '''QSize QMainWindow.iconSize()''' 11177 return QSize() 11178 class DockOptions(): 11179 """""" 11180 def __init__(self): 11181 '''QMainWindow.DockOptions QMainWindow.DockOptions.__init__()''' 11182 return QMainWindow.DockOptions() 11183 def __init__(self): 11184 '''int QMainWindow.DockOptions.__init__()''' 11185 return int() 11186 def __init__(self): 11187 '''void QMainWindow.DockOptions.__init__()''' 11188 def __bool__(self): 11189 '''int QMainWindow.DockOptions.__bool__()''' 11190 return int() 11191 def __ne__(self, f): 11192 '''bool QMainWindow.DockOptions.__ne__(QMainWindow.DockOptions f)''' 11193 return bool() 11194 def __eq__(self, f): 11195 '''bool QMainWindow.DockOptions.__eq__(QMainWindow.DockOptions f)''' 11196 return bool() 11197 def __invert__(self): 11198 '''QMainWindow.DockOptions QMainWindow.DockOptions.__invert__()''' 11199 return QMainWindow.DockOptions() 11200 def __and__(self, mask): 11201 '''QMainWindow.DockOptions QMainWindow.DockOptions.__and__(int mask)''' 11202 return QMainWindow.DockOptions() 11203 def __xor__(self, f): 11204 '''QMainWindow.DockOptions QMainWindow.DockOptions.__xor__(QMainWindow.DockOptions f)''' 11205 return QMainWindow.DockOptions() 11206 def __xor__(self, f): 11207 '''QMainWindow.DockOptions QMainWindow.DockOptions.__xor__(int f)''' 11208 return QMainWindow.DockOptions() 11209 def __or__(self, f): 11210 '''QMainWindow.DockOptions QMainWindow.DockOptions.__or__(QMainWindow.DockOptions f)''' 11211 return QMainWindow.DockOptions() 11212 def __or__(self, f): 11213 '''QMainWindow.DockOptions QMainWindow.DockOptions.__or__(int f)''' 11214 return QMainWindow.DockOptions() 11215 def __int__(self): 11216 '''int QMainWindow.DockOptions.__int__()''' 11217 return int() 11218 def __ixor__(self, f): 11219 '''QMainWindow.DockOptions QMainWindow.DockOptions.__ixor__(QMainWindow.DockOptions f)''' 11220 return QMainWindow.DockOptions() 11221 def __ior__(self, f): 11222 '''QMainWindow.DockOptions QMainWindow.DockOptions.__ior__(QMainWindow.DockOptions f)''' 11223 return QMainWindow.DockOptions() 11224 def __iand__(self, mask): 11225 '''QMainWindow.DockOptions QMainWindow.DockOptions.__iand__(int mask)''' 11226 return QMainWindow.DockOptions() 11227 11228 11229 class QMdiArea(QAbstractScrollArea): 11230 """""" 11231 # Enum QMdiArea.WindowOrder 11232 CreationOrder = 0 11233 StackingOrder = 0 11234 ActivationHistoryOrder = 0 11235 11236 # Enum QMdiArea.ViewMode 11237 SubWindowView = 0 11238 TabbedView = 0 11239 11240 # Enum QMdiArea.AreaOption 11241 DontMaximizeSubWindowOnActivation = 0 11242 11243 def __init__(self, parent = None): 11244 '''void QMdiArea.__init__(QWidget parent = None)''' 11245 def tabsMovable(self): 11246 '''bool QMdiArea.tabsMovable()''' 11247 return bool() 11248 def setTabsMovable(self, movable): 11249 '''void QMdiArea.setTabsMovable(bool movable)''' 11250 def tabsClosable(self): 11251 '''bool QMdiArea.tabsClosable()''' 11252 return bool() 11253 def setTabsClosable(self, closable): 11254 '''void QMdiArea.setTabsClosable(bool closable)''' 11255 def setDocumentMode(self, enabled): 11256 '''void QMdiArea.setDocumentMode(bool enabled)''' 11257 def documentMode(self): 11258 '''bool QMdiArea.documentMode()''' 11259 return bool() 11260 def tabPosition(self): 11261 '''QTabWidget.TabPosition QMdiArea.tabPosition()''' 11262 return QTabWidget.TabPosition() 11263 def setTabPosition(self, position): 11264 '''void QMdiArea.setTabPosition(QTabWidget.TabPosition position)''' 11265 def tabShape(self): 11266 '''QTabWidget.TabShape QMdiArea.tabShape()''' 11267 return QTabWidget.TabShape() 11268 def setTabShape(self, shape): 11269 '''void QMdiArea.setTabShape(QTabWidget.TabShape shape)''' 11270 def viewMode(self): 11271 '''QMdiArea.ViewMode QMdiArea.viewMode()''' 11272 return QMdiArea.ViewMode() 11273 def setViewMode(self, mode): 11274 '''void QMdiArea.setViewMode(QMdiArea.ViewMode mode)''' 11275 def setActivationOrder(self, order): 11276 '''void QMdiArea.setActivationOrder(QMdiArea.WindowOrder order)''' 11277 def activationOrder(self): 11278 '''QMdiArea.WindowOrder QMdiArea.activationOrder()''' 11279 return QMdiArea.WindowOrder() 11280 def scrollContentsBy(self, dx, dy): 11281 '''void QMdiArea.scrollContentsBy(int dx, int dy)''' 11282 def viewportEvent(self, event): 11283 '''bool QMdiArea.viewportEvent(QEvent event)''' 11284 return bool() 11285 def showEvent(self, showEvent): 11286 '''void QMdiArea.showEvent(QShowEvent showEvent)''' 11287 def timerEvent(self, timerEvent): 11288 '''void QMdiArea.timerEvent(QTimerEvent timerEvent)''' 11289 def resizeEvent(self, resizeEvent): 11290 '''void QMdiArea.resizeEvent(QResizeEvent resizeEvent)''' 11291 def childEvent(self, childEvent): 11292 '''void QMdiArea.childEvent(QChildEvent childEvent)''' 11293 def paintEvent(self, paintEvent): 11294 '''void QMdiArea.paintEvent(QPaintEvent paintEvent)''' 11295 def eventFilter(self, object, event): 11296 '''bool QMdiArea.eventFilter(QObject object, QEvent event)''' 11297 return bool() 11298 def event(self, event): 11299 '''bool QMdiArea.event(QEvent event)''' 11300 return bool() 11301 def setupViewport(self, viewport): 11302 '''void QMdiArea.setupViewport(QWidget viewport)''' 11303 def activatePreviousSubWindow(self): 11304 '''void QMdiArea.activatePreviousSubWindow()''' 11305 def activateNextSubWindow(self): 11306 '''void QMdiArea.activateNextSubWindow()''' 11307 def closeAllSubWindows(self): 11308 '''void QMdiArea.closeAllSubWindows()''' 11309 def closeActiveSubWindow(self): 11310 '''void QMdiArea.closeActiveSubWindow()''' 11311 def cascadeSubWindows(self): 11312 '''void QMdiArea.cascadeSubWindows()''' 11313 def tileSubWindows(self): 11314 '''void QMdiArea.tileSubWindows()''' 11315 def setActiveSubWindow(self, window): 11316 '''void QMdiArea.setActiveSubWindow(QMdiSubWindow window)''' 11317 subWindowActivated = pyqtSignal() # void subWindowActivated(QMdiSubWindow*) - signal 11318 def testOption(self, opton): 11319 '''bool QMdiArea.testOption(QMdiArea.AreaOption opton)''' 11320 return bool() 11321 def setOption(self, option, on = True): 11322 '''void QMdiArea.setOption(QMdiArea.AreaOption option, bool on = True)''' 11323 def setBackground(self, background): 11324 '''void QMdiArea.setBackground(QBrush background)''' 11325 def background(self): 11326 '''QBrush QMdiArea.background()''' 11327 return QBrush() 11328 def removeSubWindow(self, widget): 11329 '''void QMdiArea.removeSubWindow(QWidget widget)''' 11330 def currentSubWindow(self): 11331 '''QMdiSubWindow QMdiArea.currentSubWindow()''' 11332 return QMdiSubWindow() 11333 def subWindowList(self, order = None): 11334 '''list-of-QMdiSubWindow QMdiArea.subWindowList(QMdiArea.WindowOrder order = QMdiArea.CreationOrder)''' 11335 return [QMdiSubWindow()] 11336 def addSubWindow(self, widget, flags = 0): 11337 '''QMdiSubWindow QMdiArea.addSubWindow(QWidget widget, Qt.WindowFlags flags = 0)''' 11338 return QMdiSubWindow() 11339 def activeSubWindow(self): 11340 '''QMdiSubWindow QMdiArea.activeSubWindow()''' 11341 return QMdiSubWindow() 11342 def minimumSizeHint(self): 11343 '''QSize QMdiArea.minimumSizeHint()''' 11344 return QSize() 11345 def sizeHint(self): 11346 '''QSize QMdiArea.sizeHint()''' 11347 return QSize() 11348 class AreaOptions(): 11349 """""" 11350 def __init__(self): 11351 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__init__()''' 11352 return QMdiArea.AreaOptions() 11353 def __init__(self): 11354 '''int QMdiArea.AreaOptions.__init__()''' 11355 return int() 11356 def __init__(self): 11357 '''void QMdiArea.AreaOptions.__init__()''' 11358 def __bool__(self): 11359 '''int QMdiArea.AreaOptions.__bool__()''' 11360 return int() 11361 def __ne__(self, f): 11362 '''bool QMdiArea.AreaOptions.__ne__(QMdiArea.AreaOptions f)''' 11363 return bool() 11364 def __eq__(self, f): 11365 '''bool QMdiArea.AreaOptions.__eq__(QMdiArea.AreaOptions f)''' 11366 return bool() 11367 def __invert__(self): 11368 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__invert__()''' 11369 return QMdiArea.AreaOptions() 11370 def __and__(self, mask): 11371 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__and__(int mask)''' 11372 return QMdiArea.AreaOptions() 11373 def __xor__(self, f): 11374 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__xor__(QMdiArea.AreaOptions f)''' 11375 return QMdiArea.AreaOptions() 11376 def __xor__(self, f): 11377 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__xor__(int f)''' 11378 return QMdiArea.AreaOptions() 11379 def __or__(self, f): 11380 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__or__(QMdiArea.AreaOptions f)''' 11381 return QMdiArea.AreaOptions() 11382 def __or__(self, f): 11383 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__or__(int f)''' 11384 return QMdiArea.AreaOptions() 11385 def __int__(self): 11386 '''int QMdiArea.AreaOptions.__int__()''' 11387 return int() 11388 def __ixor__(self, f): 11389 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__ixor__(QMdiArea.AreaOptions f)''' 11390 return QMdiArea.AreaOptions() 11391 def __ior__(self, f): 11392 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__ior__(QMdiArea.AreaOptions f)''' 11393 return QMdiArea.AreaOptions() 11394 def __iand__(self, mask): 11395 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__iand__(int mask)''' 11396 return QMdiArea.AreaOptions() 11397 11398 11399 class QMdiSubWindow(QWidget): 11400 """""" 11401 # Enum QMdiSubWindow.SubWindowOption 11402 RubberBandResize = 0 11403 RubberBandMove = 0 11404 11405 def __init__(self, parent = None, flags = 0): 11406 '''void QMdiSubWindow.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 11407 def childEvent(self, childEvent): 11408 '''void QMdiSubWindow.childEvent(QChildEvent childEvent)''' 11409 def focusOutEvent(self, focusOutEvent): 11410 '''void QMdiSubWindow.focusOutEvent(QFocusEvent focusOutEvent)''' 11411 def focusInEvent(self, focusInEvent): 11412 '''void QMdiSubWindow.focusInEvent(QFocusEvent focusInEvent)''' 11413 def contextMenuEvent(self, contextMenuEvent): 11414 '''void QMdiSubWindow.contextMenuEvent(QContextMenuEvent contextMenuEvent)''' 11415 def keyPressEvent(self, keyEvent): 11416 '''void QMdiSubWindow.keyPressEvent(QKeyEvent keyEvent)''' 11417 def mouseMoveEvent(self, mouseEvent): 11418 '''void QMdiSubWindow.mouseMoveEvent(QMouseEvent mouseEvent)''' 11419 def mouseReleaseEvent(self, mouseEvent): 11420 '''void QMdiSubWindow.mouseReleaseEvent(QMouseEvent mouseEvent)''' 11421 def mouseDoubleClickEvent(self, mouseEvent): 11422 '''void QMdiSubWindow.mouseDoubleClickEvent(QMouseEvent mouseEvent)''' 11423 def mousePressEvent(self, mouseEvent): 11424 '''void QMdiSubWindow.mousePressEvent(QMouseEvent mouseEvent)''' 11425 def paintEvent(self, paintEvent): 11426 '''void QMdiSubWindow.paintEvent(QPaintEvent paintEvent)''' 11427 def moveEvent(self, moveEvent): 11428 '''void QMdiSubWindow.moveEvent(QMoveEvent moveEvent)''' 11429 def timerEvent(self, timerEvent): 11430 '''void QMdiSubWindow.timerEvent(QTimerEvent timerEvent)''' 11431 def resizeEvent(self, resizeEvent): 11432 '''void QMdiSubWindow.resizeEvent(QResizeEvent resizeEvent)''' 11433 def leaveEvent(self, leaveEvent): 11434 '''void QMdiSubWindow.leaveEvent(QEvent leaveEvent)''' 11435 def closeEvent(self, closeEvent): 11436 '''void QMdiSubWindow.closeEvent(QCloseEvent closeEvent)''' 11437 def changeEvent(self, changeEvent): 11438 '''void QMdiSubWindow.changeEvent(QEvent changeEvent)''' 11439 def hideEvent(self, hideEvent): 11440 '''void QMdiSubWindow.hideEvent(QHideEvent hideEvent)''' 11441 def showEvent(self, showEvent): 11442 '''void QMdiSubWindow.showEvent(QShowEvent showEvent)''' 11443 def event(self, event): 11444 '''bool QMdiSubWindow.event(QEvent event)''' 11445 return bool() 11446 def eventFilter(self, object, event): 11447 '''bool QMdiSubWindow.eventFilter(QObject object, QEvent event)''' 11448 return bool() 11449 def showShaded(self): 11450 '''void QMdiSubWindow.showShaded()''' 11451 def showSystemMenu(self): 11452 '''void QMdiSubWindow.showSystemMenu()''' 11453 aboutToActivate = pyqtSignal() # void aboutToActivate() - signal 11454 windowStateChanged = pyqtSignal() # void windowStateChanged(Qt::WindowStates,Qt::WindowStates) - signal 11455 def mdiArea(self): 11456 '''QMdiArea QMdiSubWindow.mdiArea()''' 11457 return QMdiArea() 11458 def systemMenu(self): 11459 '''QMenu QMdiSubWindow.systemMenu()''' 11460 return QMenu() 11461 def setSystemMenu(self, systemMenu): 11462 '''void QMdiSubWindow.setSystemMenu(QMenu systemMenu)''' 11463 def keyboardPageStep(self): 11464 '''int QMdiSubWindow.keyboardPageStep()''' 11465 return int() 11466 def setKeyboardPageStep(self, step): 11467 '''void QMdiSubWindow.setKeyboardPageStep(int step)''' 11468 def keyboardSingleStep(self): 11469 '''int QMdiSubWindow.keyboardSingleStep()''' 11470 return int() 11471 def setKeyboardSingleStep(self, step): 11472 '''void QMdiSubWindow.setKeyboardSingleStep(int step)''' 11473 def testOption(self): 11474 '''QMdiSubWindow.SubWindowOption QMdiSubWindow.testOption()''' 11475 return QMdiSubWindow.SubWindowOption() 11476 def setOption(self, option, on = True): 11477 '''void QMdiSubWindow.setOption(QMdiSubWindow.SubWindowOption option, bool on = True)''' 11478 def isShaded(self): 11479 '''bool QMdiSubWindow.isShaded()''' 11480 return bool() 11481 def widget(self): 11482 '''QWidget QMdiSubWindow.widget()''' 11483 return QWidget() 11484 def setWidget(self, widget): 11485 '''void QMdiSubWindow.setWidget(QWidget widget)''' 11486 def minimumSizeHint(self): 11487 '''QSize QMdiSubWindow.minimumSizeHint()''' 11488 return QSize() 11489 def sizeHint(self): 11490 '''QSize QMdiSubWindow.sizeHint()''' 11491 return QSize() 11492 class SubWindowOptions(): 11493 """""" 11494 def __init__(self): 11495 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__init__()''' 11496 return QMdiSubWindow.SubWindowOptions() 11497 def __init__(self): 11498 '''int QMdiSubWindow.SubWindowOptions.__init__()''' 11499 return int() 11500 def __init__(self): 11501 '''void QMdiSubWindow.SubWindowOptions.__init__()''' 11502 def __bool__(self): 11503 '''int QMdiSubWindow.SubWindowOptions.__bool__()''' 11504 return int() 11505 def __ne__(self, f): 11506 '''bool QMdiSubWindow.SubWindowOptions.__ne__(QMdiSubWindow.SubWindowOptions f)''' 11507 return bool() 11508 def __eq__(self, f): 11509 '''bool QMdiSubWindow.SubWindowOptions.__eq__(QMdiSubWindow.SubWindowOptions f)''' 11510 return bool() 11511 def __invert__(self): 11512 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__invert__()''' 11513 return QMdiSubWindow.SubWindowOptions() 11514 def __and__(self, mask): 11515 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__and__(int mask)''' 11516 return QMdiSubWindow.SubWindowOptions() 11517 def __xor__(self, f): 11518 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__xor__(QMdiSubWindow.SubWindowOptions f)''' 11519 return QMdiSubWindow.SubWindowOptions() 11520 def __xor__(self, f): 11521 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__xor__(int f)''' 11522 return QMdiSubWindow.SubWindowOptions() 11523 def __or__(self, f): 11524 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__or__(QMdiSubWindow.SubWindowOptions f)''' 11525 return QMdiSubWindow.SubWindowOptions() 11526 def __or__(self, f): 11527 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__or__(int f)''' 11528 return QMdiSubWindow.SubWindowOptions() 11529 def __int__(self): 11530 '''int QMdiSubWindow.SubWindowOptions.__int__()''' 11531 return int() 11532 def __ixor__(self, f): 11533 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__ixor__(QMdiSubWindow.SubWindowOptions f)''' 11534 return QMdiSubWindow.SubWindowOptions() 11535 def __ior__(self, f): 11536 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__ior__(QMdiSubWindow.SubWindowOptions f)''' 11537 return QMdiSubWindow.SubWindowOptions() 11538 def __iand__(self, mask): 11539 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__iand__(int mask)''' 11540 return QMdiSubWindow.SubWindowOptions() 11541 11542 11543 class QMenu(QWidget): 11544 """""" 11545 def __init__(self, parent = None): 11546 '''void QMenu.__init__(QWidget parent = None)''' 11547 def __init__(self, title, parent = None): 11548 '''void QMenu.__init__(str title, QWidget parent = None)''' 11549 def setToolTipsVisible(self, visible): 11550 '''void QMenu.setToolTipsVisible(bool visible)''' 11551 def toolTipsVisible(self): 11552 '''bool QMenu.toolTipsVisible()''' 11553 return bool() 11554 def insertSection(self, before, text): 11555 '''QAction QMenu.insertSection(QAction before, str text)''' 11556 return QAction() 11557 def insertSection(self, before, icon, text): 11558 '''QAction QMenu.insertSection(QAction before, QIcon icon, str text)''' 11559 return QAction() 11560 def addSection(self, text): 11561 '''QAction QMenu.addSection(str text)''' 11562 return QAction() 11563 def addSection(self, icon, text): 11564 '''QAction QMenu.addSection(QIcon icon, str text)''' 11565 return QAction() 11566 def setSeparatorsCollapsible(self, collapse): 11567 '''void QMenu.setSeparatorsCollapsible(bool collapse)''' 11568 def separatorsCollapsible(self): 11569 '''bool QMenu.separatorsCollapsible()''' 11570 return bool() 11571 def isEmpty(self): 11572 '''bool QMenu.isEmpty()''' 11573 return bool() 11574 def focusNextPrevChild(self, next): 11575 '''bool QMenu.focusNextPrevChild(bool next)''' 11576 return bool() 11577 def event(self): 11578 '''QEvent QMenu.event()''' 11579 return QEvent() 11580 def timerEvent(self): 11581 '''QTimerEvent QMenu.timerEvent()''' 11582 return QTimerEvent() 11583 def actionEvent(self): 11584 '''QActionEvent QMenu.actionEvent()''' 11585 return QActionEvent() 11586 def paintEvent(self): 11587 '''QPaintEvent QMenu.paintEvent()''' 11588 return QPaintEvent() 11589 def hideEvent(self): 11590 '''QHideEvent QMenu.hideEvent()''' 11591 return QHideEvent() 11592 def leaveEvent(self): 11593 '''QEvent QMenu.leaveEvent()''' 11594 return QEvent() 11595 def enterEvent(self): 11596 '''QEvent QMenu.enterEvent()''' 11597 return QEvent() 11598 def wheelEvent(self): 11599 '''QWheelEvent QMenu.wheelEvent()''' 11600 return QWheelEvent() 11601 def mouseMoveEvent(self): 11602 '''QMouseEvent QMenu.mouseMoveEvent()''' 11603 return QMouseEvent() 11604 def mousePressEvent(self): 11605 '''QMouseEvent QMenu.mousePressEvent()''' 11606 return QMouseEvent() 11607 def mouseReleaseEvent(self): 11608 '''QMouseEvent QMenu.mouseReleaseEvent()''' 11609 return QMouseEvent() 11610 def keyPressEvent(self): 11611 '''QKeyEvent QMenu.keyPressEvent()''' 11612 return QKeyEvent() 11613 def changeEvent(self): 11614 '''QEvent QMenu.changeEvent()''' 11615 return QEvent() 11616 def initStyleOption(self, option, action): 11617 '''void QMenu.initStyleOption(QStyleOptionMenuItem option, QAction action)''' 11618 def columnCount(self): 11619 '''int QMenu.columnCount()''' 11620 return int() 11621 triggered = pyqtSignal() # void triggered(QAction*) - signal 11622 hovered = pyqtSignal() # void hovered(QAction*) - signal 11623 aboutToShow = pyqtSignal() # void aboutToShow() - signal 11624 aboutToHide = pyqtSignal() # void aboutToHide() - signal 11625 def setNoReplayFor(self, widget): 11626 '''void QMenu.setNoReplayFor(QWidget widget)''' 11627 def setIcon(self, icon): 11628 '''void QMenu.setIcon(QIcon icon)''' 11629 def icon(self): 11630 '''QIcon QMenu.icon()''' 11631 return QIcon() 11632 def setTitle(self, title): 11633 '''void QMenu.setTitle(str title)''' 11634 def title(self): 11635 '''str QMenu.title()''' 11636 return str() 11637 def menuAction(self): 11638 '''QAction QMenu.menuAction()''' 11639 return QAction() 11640 def actionAt(self): 11641 '''QPoint QMenu.actionAt()''' 11642 return QPoint() 11643 def actionGeometry(self): 11644 '''QAction QMenu.actionGeometry()''' 11645 return QAction() 11646 def sizeHint(self): 11647 '''QSize QMenu.sizeHint()''' 11648 return QSize() 11649 def exec_(self): 11650 '''QAction QMenu.exec_()''' 11651 return QAction() 11652 def exec_(self, p, action = None): 11653 '''QAction QMenu.exec_(QPoint p, QAction action = None)''' 11654 return QAction() 11655 def exec_(self, actions, pos, at = None, parent = None): 11656 '''static QAction QMenu.exec_(list-of-QAction actions, QPoint pos, QAction at = None, QWidget parent = None)''' 11657 return QAction() 11658 def popup(self, p, action = None): 11659 '''void QMenu.popup(QPoint p, QAction action = None)''' 11660 def activeAction(self): 11661 '''QAction QMenu.activeAction()''' 11662 return QAction() 11663 def setActiveAction(self, act): 11664 '''void QMenu.setActiveAction(QAction act)''' 11665 def defaultAction(self): 11666 '''QAction QMenu.defaultAction()''' 11667 return QAction() 11668 def setDefaultAction(self): 11669 '''QAction QMenu.setDefaultAction()''' 11670 return QAction() 11671 def hideTearOffMenu(self): 11672 '''void QMenu.hideTearOffMenu()''' 11673 def isTearOffMenuVisible(self): 11674 '''bool QMenu.isTearOffMenuVisible()''' 11675 return bool() 11676 def isTearOffEnabled(self): 11677 '''bool QMenu.isTearOffEnabled()''' 11678 return bool() 11679 def setTearOffEnabled(self): 11680 '''bool QMenu.setTearOffEnabled()''' 11681 return bool() 11682 def clear(self): 11683 '''void QMenu.clear()''' 11684 def insertSeparator(self, before): 11685 '''QAction QMenu.insertSeparator(QAction before)''' 11686 return QAction() 11687 def insertMenu(self, before, menu): 11688 '''QAction QMenu.insertMenu(QAction before, QMenu menu)''' 11689 return QAction() 11690 def addSeparator(self): 11691 '''QAction QMenu.addSeparator()''' 11692 return QAction() 11693 def addMenu(self, menu): 11694 '''QAction QMenu.addMenu(QMenu menu)''' 11695 return QAction() 11696 def addMenu(self, title): 11697 '''QMenu QMenu.addMenu(str title)''' 11698 return QMenu() 11699 def addMenu(self, icon, title): 11700 '''QMenu QMenu.addMenu(QIcon icon, str title)''' 11701 return QMenu() 11702 def addAction(self, action): 11703 '''void QMenu.addAction(QAction action)''' 11704 def addAction(self, text): 11705 '''QAction QMenu.addAction(str text)''' 11706 return QAction() 11707 def addAction(self, icon, text): 11708 '''QAction QMenu.addAction(QIcon icon, str text)''' 11709 return QAction() 11710 def addAction(self, text, slot, shortcut = 0): 11711 '''QAction QMenu.addAction(str text, slot slot, QKeySequence shortcut = 0)''' 11712 return QAction() 11713 def addAction(self, icon, text, slot, shortcut = 0): 11714 '''QAction QMenu.addAction(QIcon icon, str text, slot slot, QKeySequence shortcut = 0)''' 11715 return QAction() 11716 11717 11718 class QMenuBar(QWidget): 11719 """""" 11720 def __init__(self, parent = None): 11721 '''void QMenuBar.__init__(QWidget parent = None)''' 11722 def setNativeMenuBar(self, nativeMenuBar): 11723 '''void QMenuBar.setNativeMenuBar(bool nativeMenuBar)''' 11724 def isNativeMenuBar(self): 11725 '''bool QMenuBar.isNativeMenuBar()''' 11726 return bool() 11727 def timerEvent(self): 11728 '''QTimerEvent QMenuBar.timerEvent()''' 11729 return QTimerEvent() 11730 def event(self): 11731 '''QEvent QMenuBar.event()''' 11732 return QEvent() 11733 def eventFilter(self): 11734 '''QEvent QMenuBar.eventFilter()''' 11735 return QEvent() 11736 def focusInEvent(self): 11737 '''QFocusEvent QMenuBar.focusInEvent()''' 11738 return QFocusEvent() 11739 def focusOutEvent(self): 11740 '''QFocusEvent QMenuBar.focusOutEvent()''' 11741 return QFocusEvent() 11742 def actionEvent(self): 11743 '''QActionEvent QMenuBar.actionEvent()''' 11744 return QActionEvent() 11745 def resizeEvent(self): 11746 '''QResizeEvent QMenuBar.resizeEvent()''' 11747 return QResizeEvent() 11748 def paintEvent(self): 11749 '''QPaintEvent QMenuBar.paintEvent()''' 11750 return QPaintEvent() 11751 def leaveEvent(self): 11752 '''QEvent QMenuBar.leaveEvent()''' 11753 return QEvent() 11754 def mouseMoveEvent(self): 11755 '''QMouseEvent QMenuBar.mouseMoveEvent()''' 11756 return QMouseEvent() 11757 def mousePressEvent(self): 11758 '''QMouseEvent QMenuBar.mousePressEvent()''' 11759 return QMouseEvent() 11760 def mouseReleaseEvent(self): 11761 '''QMouseEvent QMenuBar.mouseReleaseEvent()''' 11762 return QMouseEvent() 11763 def keyPressEvent(self): 11764 '''QKeyEvent QMenuBar.keyPressEvent()''' 11765 return QKeyEvent() 11766 def changeEvent(self): 11767 '''QEvent QMenuBar.changeEvent()''' 11768 return QEvent() 11769 def initStyleOption(self, option, action): 11770 '''void QMenuBar.initStyleOption(QStyleOptionMenuItem option, QAction action)''' 11771 hovered = pyqtSignal() # void hovered(QAction*) - signal 11772 triggered = pyqtSignal() # void triggered(QAction*) - signal 11773 def setVisible(self, visible): 11774 '''void QMenuBar.setVisible(bool visible)''' 11775 def cornerWidget(self, corner = None): 11776 '''QWidget QMenuBar.cornerWidget(Qt.Corner corner = Qt.TopRightCorner)''' 11777 return QWidget() 11778 def setCornerWidget(self, widget, corner = None): 11779 '''void QMenuBar.setCornerWidget(QWidget widget, Qt.Corner corner = Qt.TopRightCorner)''' 11780 def actionAt(self): 11781 '''QPoint QMenuBar.actionAt()''' 11782 return QPoint() 11783 def actionGeometry(self): 11784 '''QAction QMenuBar.actionGeometry()''' 11785 return QAction() 11786 def heightForWidth(self): 11787 '''int QMenuBar.heightForWidth()''' 11788 return int() 11789 def minimumSizeHint(self): 11790 '''QSize QMenuBar.minimumSizeHint()''' 11791 return QSize() 11792 def sizeHint(self): 11793 '''QSize QMenuBar.sizeHint()''' 11794 return QSize() 11795 def isDefaultUp(self): 11796 '''bool QMenuBar.isDefaultUp()''' 11797 return bool() 11798 def setDefaultUp(self): 11799 '''bool QMenuBar.setDefaultUp()''' 11800 return bool() 11801 def setActiveAction(self, action): 11802 '''void QMenuBar.setActiveAction(QAction action)''' 11803 def activeAction(self): 11804 '''QAction QMenuBar.activeAction()''' 11805 return QAction() 11806 def clear(self): 11807 '''void QMenuBar.clear()''' 11808 def insertSeparator(self, before): 11809 '''QAction QMenuBar.insertSeparator(QAction before)''' 11810 return QAction() 11811 def insertMenu(self, before, menu): 11812 '''QAction QMenuBar.insertMenu(QAction before, QMenu menu)''' 11813 return QAction() 11814 def addSeparator(self): 11815 '''QAction QMenuBar.addSeparator()''' 11816 return QAction() 11817 def addMenu(self, menu): 11818 '''QAction QMenuBar.addMenu(QMenu menu)''' 11819 return QAction() 11820 def addMenu(self, title): 11821 '''QMenu QMenuBar.addMenu(str title)''' 11822 return QMenu() 11823 def addMenu(self, icon, title): 11824 '''QMenu QMenuBar.addMenu(QIcon icon, str title)''' 11825 return QMenu() 11826 def addAction(self, action): 11827 '''void QMenuBar.addAction(QAction action)''' 11828 def addAction(self, text): 11829 '''QAction QMenuBar.addAction(str text)''' 11830 return QAction() 11831 def addAction(self, text, slot): 11832 '''QAction QMenuBar.addAction(str text, slot slot)''' 11833 return QAction() 11834 11835 11836 class QMessageBox(QDialog): 11837 """""" 11838 # Enum QMessageBox.StandardButton 11839 NoButton = 0 11840 Ok = 0 11841 Save = 0 11842 SaveAll = 0 11843 Open = 0 11844 Yes = 0 11845 YesToAll = 0 11846 No = 0 11847 NoToAll = 0 11848 Abort = 0 11849 Retry = 0 11850 Ignore = 0 11851 Close = 0 11852 Cancel = 0 11853 Discard = 0 11854 Help = 0 11855 Apply = 0 11856 Reset = 0 11857 RestoreDefaults = 0 11858 FirstButton = 0 11859 LastButton = 0 11860 YesAll = 0 11861 NoAll = 0 11862 Default = 0 11863 Escape = 0 11864 FlagMask = 0 11865 ButtonMask = 0 11866 11867 # Enum QMessageBox.Icon 11868 NoIcon = 0 11869 Information = 0 11870 Warning = 0 11871 Critical = 0 11872 Question = 0 11873 11874 # Enum QMessageBox.ButtonRole 11875 InvalidRole = 0 11876 AcceptRole = 0 11877 RejectRole = 0 11878 DestructiveRole = 0 11879 ActionRole = 0 11880 HelpRole = 0 11881 YesRole = 0 11882 NoRole = 0 11883 ResetRole = 0 11884 ApplyRole = 0 11885 11886 def __init__(self, parent = None): 11887 '''void QMessageBox.__init__(QWidget parent = None)''' 11888 def __init__(self, icon, title, text, buttons = None, parent = None, flags = None): 11889 '''void QMessageBox.__init__(QMessageBox.Icon icon, str title, str text, QMessageBox.StandardButtons buttons = QMessageBox.NoButton, QWidget parent = None, Qt.WindowFlags flags = Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint)''' 11890 def checkBox(self): 11891 '''QCheckBox QMessageBox.checkBox()''' 11892 return QCheckBox() 11893 def setCheckBox(self, cb): 11894 '''void QMessageBox.setCheckBox(QCheckBox cb)''' 11895 def textInteractionFlags(self): 11896 '''Qt.TextInteractionFlags QMessageBox.textInteractionFlags()''' 11897 return Qt.TextInteractionFlags() 11898 def setTextInteractionFlags(self, flags): 11899 '''void QMessageBox.setTextInteractionFlags(Qt.TextInteractionFlags flags)''' 11900 buttonClicked = pyqtSignal() # void buttonClicked(QAbstractButton*) - signal 11901 def buttonRole(self, button): 11902 '''QMessageBox.ButtonRole QMessageBox.buttonRole(QAbstractButton button)''' 11903 return QMessageBox.ButtonRole() 11904 def buttons(self): 11905 '''list-of-QAbstractButton QMessageBox.buttons()''' 11906 return [QAbstractButton()] 11907 def open(self): 11908 '''void QMessageBox.open()''' 11909 def open(self, slot): 11910 '''void QMessageBox.open(slot slot)''' 11911 def setWindowModality(self, windowModality): 11912 '''void QMessageBox.setWindowModality(Qt.WindowModality windowModality)''' 11913 def setWindowTitle(self, title): 11914 '''void QMessageBox.setWindowTitle(str title)''' 11915 def setDetailedText(self, text): 11916 '''void QMessageBox.setDetailedText(str text)''' 11917 def detailedText(self): 11918 '''str QMessageBox.detailedText()''' 11919 return str() 11920 def setInformativeText(self, text): 11921 '''void QMessageBox.setInformativeText(str text)''' 11922 def informativeText(self): 11923 '''str QMessageBox.informativeText()''' 11924 return str() 11925 def clickedButton(self): 11926 '''QAbstractButton QMessageBox.clickedButton()''' 11927 return QAbstractButton() 11928 def setEscapeButton(self, button): 11929 '''void QMessageBox.setEscapeButton(QAbstractButton button)''' 11930 def setEscapeButton(self, button): 11931 '''void QMessageBox.setEscapeButton(QMessageBox.StandardButton button)''' 11932 def escapeButton(self): 11933 '''QAbstractButton QMessageBox.escapeButton()''' 11934 return QAbstractButton() 11935 def setDefaultButton(self, button): 11936 '''void QMessageBox.setDefaultButton(QPushButton button)''' 11937 def setDefaultButton(self, button): 11938 '''void QMessageBox.setDefaultButton(QMessageBox.StandardButton button)''' 11939 def defaultButton(self): 11940 '''QPushButton QMessageBox.defaultButton()''' 11941 return QPushButton() 11942 def button(self, which): 11943 '''QAbstractButton QMessageBox.button(QMessageBox.StandardButton which)''' 11944 return QAbstractButton() 11945 def standardButton(self, button): 11946 '''QMessageBox.StandardButton QMessageBox.standardButton(QAbstractButton button)''' 11947 return QMessageBox.StandardButton() 11948 def standardButtons(self): 11949 '''QMessageBox.StandardButtons QMessageBox.standardButtons()''' 11950 return QMessageBox.StandardButtons() 11951 def setStandardButtons(self, buttons): 11952 '''void QMessageBox.setStandardButtons(QMessageBox.StandardButtons buttons)''' 11953 def removeButton(self, button): 11954 '''void QMessageBox.removeButton(QAbstractButton button)''' 11955 def addButton(self, button, role): 11956 '''void QMessageBox.addButton(QAbstractButton button, QMessageBox.ButtonRole role)''' 11957 def addButton(self, text, role): 11958 '''QPushButton QMessageBox.addButton(str text, QMessageBox.ButtonRole role)''' 11959 return QPushButton() 11960 def addButton(self, button): 11961 '''QPushButton QMessageBox.addButton(QMessageBox.StandardButton button)''' 11962 return QPushButton() 11963 def changeEvent(self): 11964 '''QEvent QMessageBox.changeEvent()''' 11965 return QEvent() 11966 def keyPressEvent(self): 11967 '''QKeyEvent QMessageBox.keyPressEvent()''' 11968 return QKeyEvent() 11969 def closeEvent(self): 11970 '''QCloseEvent QMessageBox.closeEvent()''' 11971 return QCloseEvent() 11972 def showEvent(self): 11973 '''QShowEvent QMessageBox.showEvent()''' 11974 return QShowEvent() 11975 def resizeEvent(self): 11976 '''QResizeEvent QMessageBox.resizeEvent()''' 11977 return QResizeEvent() 11978 def event(self, e): 11979 '''bool QMessageBox.event(QEvent e)''' 11980 return bool() 11981 def standardIcon(self, icon): 11982 '''static QPixmap QMessageBox.standardIcon(QMessageBox.Icon icon)''' 11983 return QPixmap() 11984 def aboutQt(self, parent, title = None): 11985 '''static void QMessageBox.aboutQt(QWidget parent, str title = '')''' 11986 def about(self, parent, caption, text): 11987 '''static void QMessageBox.about(QWidget parent, str caption, str text)''' 11988 def critical(self, parent, title, text, buttons = None, defaultButton = None): 11989 '''static QMessageBox.StandardButton QMessageBox.critical(QWidget parent, str title, str text, QMessageBox.StandardButtons buttons = QMessageBox.Ok, QMessageBox.StandardButton defaultButton = QMessageBox.NoButton)''' 11990 return QMessageBox.StandardButton() 11991 def warning(self, parent, title, text, buttons = None, defaultButton = None): 11992 '''static QMessageBox.StandardButton QMessageBox.warning(QWidget parent, str title, str text, QMessageBox.StandardButtons buttons = QMessageBox.Ok, QMessageBox.StandardButton defaultButton = QMessageBox.NoButton)''' 11993 return QMessageBox.StandardButton() 11994 def question(self, parent, title, text, buttons = None, defaultButton = None): 11995 '''static QMessageBox.StandardButton QMessageBox.question(QWidget parent, str title, str text, QMessageBox.StandardButtons buttons = QFlagslt;QMessageBox.StandardButtongt;(QFlag(81920)), QMessageBox.StandardButton defaultButton = QMessageBox.NoButton)''' 11996 return QMessageBox.StandardButton() 11997 def information(self, parent, title, text, buttons = None, defaultButton = None): 11998 '''static QMessageBox.StandardButton QMessageBox.information(QWidget parent, str title, str text, QMessageBox.StandardButtons buttons = QMessageBox.Ok, QMessageBox.StandardButton defaultButton = QMessageBox.NoButton)''' 11999 return QMessageBox.StandardButton() 12000 def setTextFormat(self): 12001 '''Qt.TextFormat QMessageBox.setTextFormat()''' 12002 return Qt.TextFormat() 12003 def textFormat(self): 12004 '''Qt.TextFormat QMessageBox.textFormat()''' 12005 return Qt.TextFormat() 12006 def setIconPixmap(self): 12007 '''QPixmap QMessageBox.setIconPixmap()''' 12008 return QPixmap() 12009 def iconPixmap(self): 12010 '''QPixmap QMessageBox.iconPixmap()''' 12011 return QPixmap() 12012 def setIcon(self): 12013 '''QMessageBox.Icon QMessageBox.setIcon()''' 12014 return QMessageBox.Icon() 12015 def icon(self): 12016 '''QMessageBox.Icon QMessageBox.icon()''' 12017 return QMessageBox.Icon() 12018 def setText(self): 12019 '''str QMessageBox.setText()''' 12020 return str() 12021 def text(self): 12022 '''str QMessageBox.text()''' 12023 return str() 12024 class StandardButtons(): 12025 """""" 12026 def __init__(self): 12027 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__init__()''' 12028 return QMessageBox.StandardButtons() 12029 def __init__(self): 12030 '''int QMessageBox.StandardButtons.__init__()''' 12031 return int() 12032 def __init__(self): 12033 '''void QMessageBox.StandardButtons.__init__()''' 12034 def __bool__(self): 12035 '''int QMessageBox.StandardButtons.__bool__()''' 12036 return int() 12037 def __ne__(self, f): 12038 '''bool QMessageBox.StandardButtons.__ne__(QMessageBox.StandardButtons f)''' 12039 return bool() 12040 def __eq__(self, f): 12041 '''bool QMessageBox.StandardButtons.__eq__(QMessageBox.StandardButtons f)''' 12042 return bool() 12043 def __invert__(self): 12044 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__invert__()''' 12045 return QMessageBox.StandardButtons() 12046 def __and__(self, mask): 12047 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__and__(int mask)''' 12048 return QMessageBox.StandardButtons() 12049 def __xor__(self, f): 12050 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__xor__(QMessageBox.StandardButtons f)''' 12051 return QMessageBox.StandardButtons() 12052 def __xor__(self, f): 12053 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__xor__(int f)''' 12054 return QMessageBox.StandardButtons() 12055 def __or__(self, f): 12056 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__or__(QMessageBox.StandardButtons f)''' 12057 return QMessageBox.StandardButtons() 12058 def __or__(self, f): 12059 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__or__(int f)''' 12060 return QMessageBox.StandardButtons() 12061 def __int__(self): 12062 '''int QMessageBox.StandardButtons.__int__()''' 12063 return int() 12064 def __ixor__(self, f): 12065 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__ixor__(QMessageBox.StandardButtons f)''' 12066 return QMessageBox.StandardButtons() 12067 def __ior__(self, f): 12068 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__ior__(QMessageBox.StandardButtons f)''' 12069 return QMessageBox.StandardButtons() 12070 def __iand__(self, mask): 12071 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__iand__(int mask)''' 12072 return QMessageBox.StandardButtons() 12073 12074 12075 class QMouseEventTransition(QEventTransition): 12076 """""" 12077 def __init__(self, sourceState = None): 12078 '''void QMouseEventTransition.__init__(QState sourceState = None)''' 12079 def __init__(self, object, type, button, sourceState = None): 12080 '''void QMouseEventTransition.__init__(QObject object, QEvent.Type type, Qt.MouseButton button, QState sourceState = None)''' 12081 def eventTest(self, event): 12082 '''bool QMouseEventTransition.eventTest(QEvent event)''' 12083 return bool() 12084 def onTransition(self, event): 12085 '''void QMouseEventTransition.onTransition(QEvent event)''' 12086 def setHitTestPath(self, path): 12087 '''void QMouseEventTransition.setHitTestPath(QPainterPath path)''' 12088 def hitTestPath(self): 12089 '''QPainterPath QMouseEventTransition.hitTestPath()''' 12090 return QPainterPath() 12091 def setModifierMask(self, modifiers): 12092 '''void QMouseEventTransition.setModifierMask(Qt.KeyboardModifiers modifiers)''' 12093 def modifierMask(self): 12094 '''Qt.KeyboardModifiers QMouseEventTransition.modifierMask()''' 12095 return Qt.KeyboardModifiers() 12096 def setButton(self, button): 12097 '''void QMouseEventTransition.setButton(Qt.MouseButton button)''' 12098 def button(self): 12099 '''Qt.MouseButton QMouseEventTransition.button()''' 12100 return Qt.MouseButton() 12101 12102 12103 class QOpenGLWidget(QWidget): 12104 """""" 12105 # Enum QOpenGLWidget.UpdateBehavior 12106 NoPartialUpdate = 0 12107 PartialUpdate = 0 12108 12109 def __init__(self, parent = None, flags = 0): 12110 '''void QOpenGLWidget.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 12111 def updateBehavior(self): 12112 '''QOpenGLWidget.UpdateBehavior QOpenGLWidget.updateBehavior()''' 12113 return QOpenGLWidget.UpdateBehavior() 12114 def setUpdateBehavior(self, updateBehavior): 12115 '''void QOpenGLWidget.setUpdateBehavior(QOpenGLWidget.UpdateBehavior updateBehavior)''' 12116 def paintEngine(self): 12117 '''QPaintEngine QOpenGLWidget.paintEngine()''' 12118 return QPaintEngine() 12119 def metric(self, metric): 12120 '''int QOpenGLWidget.metric(QPaintDevice.PaintDeviceMetric metric)''' 12121 return int() 12122 def event(self, e): 12123 '''bool QOpenGLWidget.event(QEvent e)''' 12124 return bool() 12125 def resizeEvent(self, e): 12126 '''void QOpenGLWidget.resizeEvent(QResizeEvent e)''' 12127 def paintEvent(self, e): 12128 '''void QOpenGLWidget.paintEvent(QPaintEvent e)''' 12129 def paintGL(self): 12130 '''void QOpenGLWidget.paintGL()''' 12131 def resizeGL(self, w, h): 12132 '''void QOpenGLWidget.resizeGL(int w, int h)''' 12133 def initializeGL(self): 12134 '''void QOpenGLWidget.initializeGL()''' 12135 resized = pyqtSignal() # void resized() - signal 12136 aboutToResize = pyqtSignal() # void aboutToResize() - signal 12137 frameSwapped = pyqtSignal() # void frameSwapped() - signal 12138 aboutToCompose = pyqtSignal() # void aboutToCompose() - signal 12139 def grabFramebuffer(self): 12140 '''QImage QOpenGLWidget.grabFramebuffer()''' 12141 return QImage() 12142 def defaultFramebufferObject(self): 12143 '''int QOpenGLWidget.defaultFramebufferObject()''' 12144 return int() 12145 def context(self): 12146 '''QOpenGLContext QOpenGLWidget.context()''' 12147 return QOpenGLContext() 12148 def doneCurrent(self): 12149 '''void QOpenGLWidget.doneCurrent()''' 12150 def makeCurrent(self): 12151 '''void QOpenGLWidget.makeCurrent()''' 12152 def isValid(self): 12153 '''bool QOpenGLWidget.isValid()''' 12154 return bool() 12155 def format(self): 12156 '''QSurfaceFormat QOpenGLWidget.format()''' 12157 return QSurfaceFormat() 12158 def setFormat(self, format): 12159 '''void QOpenGLWidget.setFormat(QSurfaceFormat format)''' 12160 12161 12162 class QPlainTextEdit(QAbstractScrollArea): 12163 """""" 12164 # Enum QPlainTextEdit.LineWrapMode 12165 NoWrap = 0 12166 WidgetWidth = 0 12167 12168 def __init__(self, parent = None): 12169 '''void QPlainTextEdit.__init__(QWidget parent = None)''' 12170 def __init__(self, text, parent = None): 12171 '''void QPlainTextEdit.__init__(str text, QWidget parent = None)''' 12172 def placeholderText(self): 12173 '''str QPlainTextEdit.placeholderText()''' 12174 return str() 12175 def setPlaceholderText(self, placeholderText): 12176 '''void QPlainTextEdit.setPlaceholderText(str placeholderText)''' 12177 def zoomOut(self, range = 1): 12178 '''void QPlainTextEdit.zoomOut(int range = 1)''' 12179 def zoomIn(self, range = 1): 12180 '''void QPlainTextEdit.zoomIn(int range = 1)''' 12181 def anchorAt(self, pos): 12182 '''str QPlainTextEdit.anchorAt(QPoint pos)''' 12183 return str() 12184 def getPaintContext(self): 12185 '''QAbstractTextDocumentLayout.PaintContext QPlainTextEdit.getPaintContext()''' 12186 return QAbstractTextDocumentLayout.PaintContext() 12187 def blockBoundingGeometry(self, block): 12188 '''QRectF QPlainTextEdit.blockBoundingGeometry(QTextBlock block)''' 12189 return QRectF() 12190 def blockBoundingRect(self, block): 12191 '''QRectF QPlainTextEdit.blockBoundingRect(QTextBlock block)''' 12192 return QRectF() 12193 def contentOffset(self): 12194 '''QPointF QPlainTextEdit.contentOffset()''' 12195 return QPointF() 12196 def firstVisibleBlock(self): 12197 '''QTextBlock QPlainTextEdit.firstVisibleBlock()''' 12198 return QTextBlock() 12199 def scrollContentsBy(self, dx, dy): 12200 '''void QPlainTextEdit.scrollContentsBy(int dx, int dy)''' 12201 def insertFromMimeData(self, source): 12202 '''void QPlainTextEdit.insertFromMimeData(QMimeData source)''' 12203 def canInsertFromMimeData(self, source): 12204 '''bool QPlainTextEdit.canInsertFromMimeData(QMimeData source)''' 12205 return bool() 12206 def createMimeDataFromSelection(self): 12207 '''QMimeData QPlainTextEdit.createMimeDataFromSelection()''' 12208 return QMimeData() 12209 def inputMethodQuery(self, property): 12210 '''QVariant QPlainTextEdit.inputMethodQuery(Qt.InputMethodQuery property)''' 12211 return QVariant() 12212 def inputMethodQuery(self, query, argument): 12213 '''QVariant QPlainTextEdit.inputMethodQuery(Qt.InputMethodQuery query, QVariant argument)''' 12214 return QVariant() 12215 def inputMethodEvent(self): 12216 '''QInputMethodEvent QPlainTextEdit.inputMethodEvent()''' 12217 return QInputMethodEvent() 12218 def wheelEvent(self, e): 12219 '''void QPlainTextEdit.wheelEvent(QWheelEvent e)''' 12220 def changeEvent(self, e): 12221 '''void QPlainTextEdit.changeEvent(QEvent e)''' 12222 def showEvent(self): 12223 '''QShowEvent QPlainTextEdit.showEvent()''' 12224 return QShowEvent() 12225 def focusOutEvent(self, e): 12226 '''void QPlainTextEdit.focusOutEvent(QFocusEvent e)''' 12227 def focusInEvent(self, e): 12228 '''void QPlainTextEdit.focusInEvent(QFocusEvent e)''' 12229 def dropEvent(self, e): 12230 '''void QPlainTextEdit.dropEvent(QDropEvent e)''' 12231 def dragMoveEvent(self, e): 12232 '''void QPlainTextEdit.dragMoveEvent(QDragMoveEvent e)''' 12233 def dragLeaveEvent(self, e): 12234 '''void QPlainTextEdit.dragLeaveEvent(QDragLeaveEvent e)''' 12235 def dragEnterEvent(self, e): 12236 '''void QPlainTextEdit.dragEnterEvent(QDragEnterEvent e)''' 12237 def contextMenuEvent(self, e): 12238 '''void QPlainTextEdit.contextMenuEvent(QContextMenuEvent e)''' 12239 def focusNextPrevChild(self, next): 12240 '''bool QPlainTextEdit.focusNextPrevChild(bool next)''' 12241 return bool() 12242 def mouseDoubleClickEvent(self, e): 12243 '''void QPlainTextEdit.mouseDoubleClickEvent(QMouseEvent e)''' 12244 def mouseReleaseEvent(self, e): 12245 '''void QPlainTextEdit.mouseReleaseEvent(QMouseEvent e)''' 12246 def mouseMoveEvent(self, e): 12247 '''void QPlainTextEdit.mouseMoveEvent(QMouseEvent e)''' 12248 def mousePressEvent(self, e): 12249 '''void QPlainTextEdit.mousePressEvent(QMouseEvent e)''' 12250 def paintEvent(self, e): 12251 '''void QPlainTextEdit.paintEvent(QPaintEvent e)''' 12252 def resizeEvent(self, e): 12253 '''void QPlainTextEdit.resizeEvent(QResizeEvent e)''' 12254 def keyReleaseEvent(self, e): 12255 '''void QPlainTextEdit.keyReleaseEvent(QKeyEvent e)''' 12256 def keyPressEvent(self, e): 12257 '''void QPlainTextEdit.keyPressEvent(QKeyEvent e)''' 12258 def timerEvent(self, e): 12259 '''void QPlainTextEdit.timerEvent(QTimerEvent e)''' 12260 def event(self, e): 12261 '''bool QPlainTextEdit.event(QEvent e)''' 12262 return bool() 12263 modificationChanged = pyqtSignal() # void modificationChanged(bool) - signal 12264 blockCountChanged = pyqtSignal() # void blockCountChanged(int) - signal 12265 updateRequest = pyqtSignal() # void updateRequest(const QRectamp;,int) - signal 12266 cursorPositionChanged = pyqtSignal() # void cursorPositionChanged() - signal 12267 selectionChanged = pyqtSignal() # void selectionChanged() - signal 12268 copyAvailable = pyqtSignal() # void copyAvailable(bool) - signal 12269 redoAvailable = pyqtSignal() # void redoAvailable(bool) - signal 12270 undoAvailable = pyqtSignal() # void undoAvailable(bool) - signal 12271 textChanged = pyqtSignal() # void textChanged() - signal 12272 def centerCursor(self): 12273 '''void QPlainTextEdit.centerCursor()''' 12274 def appendHtml(self, html): 12275 '''void QPlainTextEdit.appendHtml(str html)''' 12276 def appendPlainText(self, text): 12277 '''void QPlainTextEdit.appendPlainText(str text)''' 12278 def insertPlainText(self, text): 12279 '''void QPlainTextEdit.insertPlainText(str text)''' 12280 def selectAll(self): 12281 '''void QPlainTextEdit.selectAll()''' 12282 def clear(self): 12283 '''void QPlainTextEdit.clear()''' 12284 def redo(self): 12285 '''void QPlainTextEdit.redo()''' 12286 def undo(self): 12287 '''void QPlainTextEdit.undo()''' 12288 def paste(self): 12289 '''void QPlainTextEdit.paste()''' 12290 def copy(self): 12291 '''void QPlainTextEdit.copy()''' 12292 def cut(self): 12293 '''void QPlainTextEdit.cut()''' 12294 def setPlainText(self, text): 12295 '''void QPlainTextEdit.setPlainText(str text)''' 12296 def blockCount(self): 12297 '''int QPlainTextEdit.blockCount()''' 12298 return int() 12299 def print_(self, printer): 12300 '''void QPlainTextEdit.print_(QPagedPaintDevice printer)''' 12301 def canPaste(self): 12302 '''bool QPlainTextEdit.canPaste()''' 12303 return bool() 12304 def moveCursor(self, operation, mode = None): 12305 '''void QPlainTextEdit.moveCursor(QTextCursor.MoveOperation operation, QTextCursor.MoveMode mode = QTextCursor.MoveAnchor)''' 12306 def extraSelections(self): 12307 '''list-of-QTextEdit.ExtraSelection QPlainTextEdit.extraSelections()''' 12308 return [QTextEdit.ExtraSelection()] 12309 def setExtraSelections(self, selections): 12310 '''void QPlainTextEdit.setExtraSelections(list-of-QTextEdit.ExtraSelection selections)''' 12311 def setCursorWidth(self, width): 12312 '''void QPlainTextEdit.setCursorWidth(int width)''' 12313 def cursorWidth(self): 12314 '''int QPlainTextEdit.cursorWidth()''' 12315 return int() 12316 def setTabStopWidth(self, width): 12317 '''void QPlainTextEdit.setTabStopWidth(int width)''' 12318 def tabStopWidth(self): 12319 '''int QPlainTextEdit.tabStopWidth()''' 12320 return int() 12321 def setOverwriteMode(self, overwrite): 12322 '''void QPlainTextEdit.setOverwriteMode(bool overwrite)''' 12323 def overwriteMode(self): 12324 '''bool QPlainTextEdit.overwriteMode()''' 12325 return bool() 12326 def cursorRect(self, cursor): 12327 '''QRect QPlainTextEdit.cursorRect(QTextCursor cursor)''' 12328 return QRect() 12329 def cursorRect(self): 12330 '''QRect QPlainTextEdit.cursorRect()''' 12331 return QRect() 12332 def cursorForPosition(self, pos): 12333 '''QTextCursor QPlainTextEdit.cursorForPosition(QPoint pos)''' 12334 return QTextCursor() 12335 def createStandardContextMenu(self): 12336 '''QMenu QPlainTextEdit.createStandardContextMenu()''' 12337 return QMenu() 12338 def createStandardContextMenu(self, position): 12339 '''QMenu QPlainTextEdit.createStandardContextMenu(QPoint position)''' 12340 return QMenu() 12341 def loadResource(self, type, name): 12342 '''QVariant QPlainTextEdit.loadResource(int type, QUrl name)''' 12343 return QVariant() 12344 def ensureCursorVisible(self): 12345 '''void QPlainTextEdit.ensureCursorVisible()''' 12346 def toPlainText(self): 12347 '''str QPlainTextEdit.toPlainText()''' 12348 return str() 12349 def find(self, exp, options = 0): 12350 '''bool QPlainTextEdit.find(str exp, QTextDocument.FindFlags options = 0)''' 12351 return bool() 12352 def find(self, exp, options = 0): 12353 '''bool QPlainTextEdit.find(QRegExp exp, QTextDocument.FindFlags options = 0)''' 12354 return bool() 12355 def centerOnScroll(self): 12356 '''bool QPlainTextEdit.centerOnScroll()''' 12357 return bool() 12358 def setCenterOnScroll(self, enabled): 12359 '''void QPlainTextEdit.setCenterOnScroll(bool enabled)''' 12360 def backgroundVisible(self): 12361 '''bool QPlainTextEdit.backgroundVisible()''' 12362 return bool() 12363 def setBackgroundVisible(self, visible): 12364 '''void QPlainTextEdit.setBackgroundVisible(bool visible)''' 12365 def setWordWrapMode(self, policy): 12366 '''void QPlainTextEdit.setWordWrapMode(QTextOption.WrapMode policy)''' 12367 def wordWrapMode(self): 12368 '''QTextOption.WrapMode QPlainTextEdit.wordWrapMode()''' 12369 return QTextOption.WrapMode() 12370 def setLineWrapMode(self, mode): 12371 '''void QPlainTextEdit.setLineWrapMode(QPlainTextEdit.LineWrapMode mode)''' 12372 def lineWrapMode(self): 12373 '''QPlainTextEdit.LineWrapMode QPlainTextEdit.lineWrapMode()''' 12374 return QPlainTextEdit.LineWrapMode() 12375 def maximumBlockCount(self): 12376 '''int QPlainTextEdit.maximumBlockCount()''' 12377 return int() 12378 def setMaximumBlockCount(self, maximum): 12379 '''void QPlainTextEdit.setMaximumBlockCount(int maximum)''' 12380 def setUndoRedoEnabled(self, enable): 12381 '''void QPlainTextEdit.setUndoRedoEnabled(bool enable)''' 12382 def isUndoRedoEnabled(self): 12383 '''bool QPlainTextEdit.isUndoRedoEnabled()''' 12384 return bool() 12385 def documentTitle(self): 12386 '''str QPlainTextEdit.documentTitle()''' 12387 return str() 12388 def setDocumentTitle(self, title): 12389 '''void QPlainTextEdit.setDocumentTitle(str title)''' 12390 def setTabChangesFocus(self, b): 12391 '''void QPlainTextEdit.setTabChangesFocus(bool b)''' 12392 def tabChangesFocus(self): 12393 '''bool QPlainTextEdit.tabChangesFocus()''' 12394 return bool() 12395 def currentCharFormat(self): 12396 '''QTextCharFormat QPlainTextEdit.currentCharFormat()''' 12397 return QTextCharFormat() 12398 def setCurrentCharFormat(self, format): 12399 '''void QPlainTextEdit.setCurrentCharFormat(QTextCharFormat format)''' 12400 def mergeCurrentCharFormat(self, modifier): 12401 '''void QPlainTextEdit.mergeCurrentCharFormat(QTextCharFormat modifier)''' 12402 def textInteractionFlags(self): 12403 '''Qt.TextInteractionFlags QPlainTextEdit.textInteractionFlags()''' 12404 return Qt.TextInteractionFlags() 12405 def setTextInteractionFlags(self, flags): 12406 '''void QPlainTextEdit.setTextInteractionFlags(Qt.TextInteractionFlags flags)''' 12407 def setReadOnly(self, ro): 12408 '''void QPlainTextEdit.setReadOnly(bool ro)''' 12409 def isReadOnly(self): 12410 '''bool QPlainTextEdit.isReadOnly()''' 12411 return bool() 12412 def textCursor(self): 12413 '''QTextCursor QPlainTextEdit.textCursor()''' 12414 return QTextCursor() 12415 def setTextCursor(self, cursor): 12416 '''void QPlainTextEdit.setTextCursor(QTextCursor cursor)''' 12417 def document(self): 12418 '''QTextDocument QPlainTextEdit.document()''' 12419 return QTextDocument() 12420 def setDocument(self, document): 12421 '''void QPlainTextEdit.setDocument(QTextDocument document)''' 12422 12423 12424 class QPlainTextDocumentLayout(QAbstractTextDocumentLayout): 12425 """""" 12426 def __init__(self, document): 12427 '''void QPlainTextDocumentLayout.__init__(QTextDocument document)''' 12428 def documentChanged(self, from_, charsAdded): 12429 '''int QPlainTextDocumentLayout.documentChanged(int from, int charsAdded)''' 12430 return int() 12431 def requestUpdate(self): 12432 '''void QPlainTextDocumentLayout.requestUpdate()''' 12433 def cursorWidth(self): 12434 '''int QPlainTextDocumentLayout.cursorWidth()''' 12435 return int() 12436 def setCursorWidth(self, width): 12437 '''void QPlainTextDocumentLayout.setCursorWidth(int width)''' 12438 def ensureBlockLayout(self, block): 12439 '''void QPlainTextDocumentLayout.ensureBlockLayout(QTextBlock block)''' 12440 def blockBoundingRect(self, block): 12441 '''QRectF QPlainTextDocumentLayout.blockBoundingRect(QTextBlock block)''' 12442 return QRectF() 12443 def frameBoundingRect(self): 12444 '''QTextFrame QPlainTextDocumentLayout.frameBoundingRect()''' 12445 return QTextFrame() 12446 def documentSize(self): 12447 '''QSizeF QPlainTextDocumentLayout.documentSize()''' 12448 return QSizeF() 12449 def pageCount(self): 12450 '''int QPlainTextDocumentLayout.pageCount()''' 12451 return int() 12452 def hitTest(self): 12453 '''Qt.HitTestAccuracy QPlainTextDocumentLayout.hitTest()''' 12454 return Qt.HitTestAccuracy() 12455 def draw(self): 12456 '''QAbstractTextDocumentLayout.PaintContext QPlainTextDocumentLayout.draw()''' 12457 return QAbstractTextDocumentLayout.PaintContext() 12458 12459 12460 class QProgressBar(QWidget): 12461 """""" 12462 # Enum QProgressBar.Direction 12463 TopToBottom = 0 12464 BottomToTop = 0 12465 12466 def __init__(self, parent = None): 12467 '''void QProgressBar.__init__(QWidget parent = None)''' 12468 def paintEvent(self): 12469 '''QPaintEvent QProgressBar.paintEvent()''' 12470 return QPaintEvent() 12471 def event(self, e): 12472 '''bool QProgressBar.event(QEvent e)''' 12473 return bool() 12474 def initStyleOption(self, option): 12475 '''void QProgressBar.initStyleOption(QStyleOptionProgressBar option)''' 12476 valueChanged = pyqtSignal() # void valueChanged(int) - signal 12477 def setOrientation(self): 12478 '''Qt.Orientation QProgressBar.setOrientation()''' 12479 return Qt.Orientation() 12480 def setValue(self, value): 12481 '''void QProgressBar.setValue(int value)''' 12482 def setMaximum(self, maximum): 12483 '''void QProgressBar.setMaximum(int maximum)''' 12484 def setMinimum(self, minimum): 12485 '''void QProgressBar.setMinimum(int minimum)''' 12486 def reset(self): 12487 '''void QProgressBar.reset()''' 12488 def resetFormat(self): 12489 '''void QProgressBar.resetFormat()''' 12490 def format(self): 12491 '''str QProgressBar.format()''' 12492 return str() 12493 def setFormat(self, format): 12494 '''void QProgressBar.setFormat(str format)''' 12495 def setTextDirection(self, textDirection): 12496 '''void QProgressBar.setTextDirection(QProgressBar.Direction textDirection)''' 12497 def setInvertedAppearance(self, invert): 12498 '''void QProgressBar.setInvertedAppearance(bool invert)''' 12499 def orientation(self): 12500 '''Qt.Orientation QProgressBar.orientation()''' 12501 return Qt.Orientation() 12502 def minimumSizeHint(self): 12503 '''QSize QProgressBar.minimumSizeHint()''' 12504 return QSize() 12505 def sizeHint(self): 12506 '''QSize QProgressBar.sizeHint()''' 12507 return QSize() 12508 def setAlignment(self, alignment): 12509 '''void QProgressBar.setAlignment(Qt.Alignment alignment)''' 12510 def alignment(self): 12511 '''Qt.Alignment QProgressBar.alignment()''' 12512 return Qt.Alignment() 12513 def isTextVisible(self): 12514 '''bool QProgressBar.isTextVisible()''' 12515 return bool() 12516 def setTextVisible(self, visible): 12517 '''void QProgressBar.setTextVisible(bool visible)''' 12518 def text(self): 12519 '''str QProgressBar.text()''' 12520 return str() 12521 def value(self): 12522 '''int QProgressBar.value()''' 12523 return int() 12524 def setRange(self, minimum, maximum): 12525 '''void QProgressBar.setRange(int minimum, int maximum)''' 12526 def maximum(self): 12527 '''int QProgressBar.maximum()''' 12528 return int() 12529 def minimum(self): 12530 '''int QProgressBar.minimum()''' 12531 return int() 12532 12533 12534 class QProgressDialog(QDialog): 12535 """""" 12536 def __init__(self, parent = None, flags = 0): 12537 '''void QProgressDialog.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 12538 def __init__(self, labelText, cancelButtonText, minimum, maximum, parent = None, flags = 0): 12539 '''void QProgressDialog.__init__(str labelText, str cancelButtonText, int minimum, int maximum, QWidget parent = None, Qt.WindowFlags flags = 0)''' 12540 def open(self): 12541 '''void QProgressDialog.open()''' 12542 def open(self, slot): 12543 '''void QProgressDialog.open(slot slot)''' 12544 def forceShow(self): 12545 '''void QProgressDialog.forceShow()''' 12546 def showEvent(self, e): 12547 '''void QProgressDialog.showEvent(QShowEvent e)''' 12548 def changeEvent(self): 12549 '''QEvent QProgressDialog.changeEvent()''' 12550 return QEvent() 12551 def closeEvent(self): 12552 '''QCloseEvent QProgressDialog.closeEvent()''' 12553 return QCloseEvent() 12554 def resizeEvent(self): 12555 '''QResizeEvent QProgressDialog.resizeEvent()''' 12556 return QResizeEvent() 12557 canceled = pyqtSignal() # void canceled() - signal 12558 def setMinimumDuration(self, ms): 12559 '''void QProgressDialog.setMinimumDuration(int ms)''' 12560 def setCancelButtonText(self): 12561 '''str QProgressDialog.setCancelButtonText()''' 12562 return str() 12563 def setLabelText(self): 12564 '''str QProgressDialog.setLabelText()''' 12565 return str() 12566 def setValue(self, progress): 12567 '''void QProgressDialog.setValue(int progress)''' 12568 def setMinimum(self, minimum): 12569 '''void QProgressDialog.setMinimum(int minimum)''' 12570 def setMaximum(self, maximum): 12571 '''void QProgressDialog.setMaximum(int maximum)''' 12572 def reset(self): 12573 '''void QProgressDialog.reset()''' 12574 def cancel(self): 12575 '''void QProgressDialog.cancel()''' 12576 def autoClose(self): 12577 '''bool QProgressDialog.autoClose()''' 12578 return bool() 12579 def setAutoClose(self, b): 12580 '''void QProgressDialog.setAutoClose(bool b)''' 12581 def autoReset(self): 12582 '''bool QProgressDialog.autoReset()''' 12583 return bool() 12584 def setAutoReset(self, b): 12585 '''void QProgressDialog.setAutoReset(bool b)''' 12586 def minimumDuration(self): 12587 '''int QProgressDialog.minimumDuration()''' 12588 return int() 12589 def labelText(self): 12590 '''str QProgressDialog.labelText()''' 12591 return str() 12592 def sizeHint(self): 12593 '''QSize QProgressDialog.sizeHint()''' 12594 return QSize() 12595 def value(self): 12596 '''int QProgressDialog.value()''' 12597 return int() 12598 def setRange(self, minimum, maximum): 12599 '''void QProgressDialog.setRange(int minimum, int maximum)''' 12600 def maximum(self): 12601 '''int QProgressDialog.maximum()''' 12602 return int() 12603 def minimum(self): 12604 '''int QProgressDialog.minimum()''' 12605 return int() 12606 def wasCanceled(self): 12607 '''bool QProgressDialog.wasCanceled()''' 12608 return bool() 12609 def setBar(self, bar): 12610 '''void QProgressDialog.setBar(QProgressBar bar)''' 12611 def setCancelButton(self, button): 12612 '''void QProgressDialog.setCancelButton(QPushButton button)''' 12613 def setLabel(self, label): 12614 '''void QProgressDialog.setLabel(QLabel label)''' 12615 12616 12617 class QProxyStyle(QCommonStyle): 12618 """""" 12619 def __init__(self, style = None): 12620 '''void QProxyStyle.__init__(QStyle style = None)''' 12621 def __init__(self, key): 12622 '''void QProxyStyle.__init__(str key)''' 12623 def event(self, e): 12624 '''bool QProxyStyle.event(QEvent e)''' 12625 return bool() 12626 def unpolish(self, widget): 12627 '''void QProxyStyle.unpolish(QWidget widget)''' 12628 def unpolish(self, app): 12629 '''void QProxyStyle.unpolish(QApplication app)''' 12630 def polish(self, widget): 12631 '''void QProxyStyle.polish(QWidget widget)''' 12632 def polish(self, pal): 12633 '''void QProxyStyle.polish(QPalette pal)''' 12634 def polish(self, app): 12635 '''void QProxyStyle.polish(QApplication app)''' 12636 def standardPalette(self): 12637 '''QPalette QProxyStyle.standardPalette()''' 12638 return QPalette() 12639 def generatedIconPixmap(self, iconMode, pixmap, opt): 12640 '''QPixmap QProxyStyle.generatedIconPixmap(QIcon.Mode iconMode, QPixmap pixmap, QStyleOption opt)''' 12641 return QPixmap() 12642 def standardPixmap(self, standardPixmap, opt, widget = None): 12643 '''QPixmap QProxyStyle.standardPixmap(QStyle.StandardPixmap standardPixmap, QStyleOption opt, QWidget widget = None)''' 12644 return QPixmap() 12645 def standardIcon(self, standardIcon, option = None, widget = None): 12646 '''QIcon QProxyStyle.standardIcon(QStyle.StandardPixmap standardIcon, QStyleOption option = None, QWidget widget = None)''' 12647 return QIcon() 12648 def layoutSpacing(self, control1, control2, orientation, option = None, widget = None): 12649 '''int QProxyStyle.layoutSpacing(QSizePolicy.ControlType control1, QSizePolicy.ControlType control2, Qt.Orientation orientation, QStyleOption option = None, QWidget widget = None)''' 12650 return int() 12651 def pixelMetric(self, metric, option = None, widget = None): 12652 '''int QProxyStyle.pixelMetric(QStyle.PixelMetric metric, QStyleOption option = None, QWidget widget = None)''' 12653 return int() 12654 def styleHint(self, hint, option = None, widget = None, returnData = None): 12655 '''int QProxyStyle.styleHint(QStyle.StyleHint hint, QStyleOption option = None, QWidget widget = None, QStyleHintReturn returnData = None)''' 12656 return int() 12657 def hitTestComplexControl(self, control, option, pos, widget = None): 12658 '''QStyle.SubControl QProxyStyle.hitTestComplexControl(QStyle.ComplexControl control, QStyleOptionComplex option, QPoint pos, QWidget widget = None)''' 12659 return QStyle.SubControl() 12660 def itemPixmapRect(self, r, flags, pixmap): 12661 '''QRect QProxyStyle.itemPixmapRect(QRect r, int flags, QPixmap pixmap)''' 12662 return QRect() 12663 def itemTextRect(self, fm, r, flags, enabled, text): 12664 '''QRect QProxyStyle.itemTextRect(QFontMetrics fm, QRect r, int flags, bool enabled, str text)''' 12665 return QRect() 12666 def subControlRect(self, cc, opt, sc, widget): 12667 '''QRect QProxyStyle.subControlRect(QStyle.ComplexControl cc, QStyleOptionComplex opt, QStyle.SubControl sc, QWidget widget)''' 12668 return QRect() 12669 def subElementRect(self, element, option, widget): 12670 '''QRect QProxyStyle.subElementRect(QStyle.SubElement element, QStyleOption option, QWidget widget)''' 12671 return QRect() 12672 def sizeFromContents(self, type, option, size, widget): 12673 '''QSize QProxyStyle.sizeFromContents(QStyle.ContentsType type, QStyleOption option, QSize size, QWidget widget)''' 12674 return QSize() 12675 def drawItemPixmap(self, painter, rect, alignment, pixmap): 12676 '''void QProxyStyle.drawItemPixmap(QPainter painter, QRect rect, int alignment, QPixmap pixmap)''' 12677 def drawItemText(self, painter, rect, flags, pal, enabled, text, textRole = None): 12678 '''void QProxyStyle.drawItemText(QPainter painter, QRect rect, int flags, QPalette pal, bool enabled, str text, QPalette.ColorRole textRole = QPalette.NoRole)''' 12679 def drawComplexControl(self, control, option, painter, widget = None): 12680 '''void QProxyStyle.drawComplexControl(QStyle.ComplexControl control, QStyleOptionComplex option, QPainter painter, QWidget widget = None)''' 12681 def drawControl(self, element, option, painter, widget = None): 12682 '''void QProxyStyle.drawControl(QStyle.ControlElement element, QStyleOption option, QPainter painter, QWidget widget = None)''' 12683 def drawPrimitive(self, element, option, painter, widget = None): 12684 '''void QProxyStyle.drawPrimitive(QStyle.PrimitiveElement element, QStyleOption option, QPainter painter, QWidget widget = None)''' 12685 def setBaseStyle(self, style): 12686 '''void QProxyStyle.setBaseStyle(QStyle style)''' 12687 def baseStyle(self): 12688 '''QStyle QProxyStyle.baseStyle()''' 12689 return QStyle() 12690 12691 12692 class QRadioButton(QAbstractButton): 12693 """""" 12694 def __init__(self, parent = None): 12695 '''void QRadioButton.__init__(QWidget parent = None)''' 12696 def __init__(self, text, parent = None): 12697 '''void QRadioButton.__init__(str text, QWidget parent = None)''' 12698 def mouseMoveEvent(self): 12699 '''QMouseEvent QRadioButton.mouseMoveEvent()''' 12700 return QMouseEvent() 12701 def paintEvent(self): 12702 '''QPaintEvent QRadioButton.paintEvent()''' 12703 return QPaintEvent() 12704 def event(self, e): 12705 '''bool QRadioButton.event(QEvent e)''' 12706 return bool() 12707 def hitButton(self): 12708 '''QPoint QRadioButton.hitButton()''' 12709 return QPoint() 12710 def initStyleOption(self, button): 12711 '''void QRadioButton.initStyleOption(QStyleOptionButton button)''' 12712 def minimumSizeHint(self): 12713 '''QSize QRadioButton.minimumSizeHint()''' 12714 return QSize() 12715 def sizeHint(self): 12716 '''QSize QRadioButton.sizeHint()''' 12717 return QSize() 12718 12719 12720 class QRubberBand(QWidget): 12721 """""" 12722 # Enum QRubberBand.Shape 12723 Line = 0 12724 Rectangle = 0 12725 12726 def __init__(self, parent = None): 12727 '''QRubberBand.Shape QRubberBand.__init__(QWidget parent = None)''' 12728 return QRubberBand.Shape() 12729 def moveEvent(self): 12730 '''QMoveEvent QRubberBand.moveEvent()''' 12731 return QMoveEvent() 12732 def resizeEvent(self): 12733 '''QResizeEvent QRubberBand.resizeEvent()''' 12734 return QResizeEvent() 12735 def showEvent(self): 12736 '''QShowEvent QRubberBand.showEvent()''' 12737 return QShowEvent() 12738 def changeEvent(self): 12739 '''QEvent QRubberBand.changeEvent()''' 12740 return QEvent() 12741 def paintEvent(self): 12742 '''QPaintEvent QRubberBand.paintEvent()''' 12743 return QPaintEvent() 12744 def event(self, e): 12745 '''bool QRubberBand.event(QEvent e)''' 12746 return bool() 12747 def initStyleOption(self, option): 12748 '''void QRubberBand.initStyleOption(QStyleOptionRubberBand option)''' 12749 def resize(self, w, h): 12750 '''void QRubberBand.resize(int w, int h)''' 12751 def resize(self, s): 12752 '''void QRubberBand.resize(QSize s)''' 12753 def move(self, p): 12754 '''void QRubberBand.move(QPoint p)''' 12755 def move(self, ax, ay): 12756 '''void QRubberBand.move(int ax, int ay)''' 12757 def setGeometry(self, r): 12758 '''void QRubberBand.setGeometry(QRect r)''' 12759 def setGeometry(self, ax, ay, aw, ah): 12760 '''void QRubberBand.setGeometry(int ax, int ay, int aw, int ah)''' 12761 def shape(self): 12762 '''QRubberBand.Shape QRubberBand.shape()''' 12763 return QRubberBand.Shape() 12764 12765 12766 class QScrollArea(QAbstractScrollArea): 12767 """""" 12768 def __init__(self, parent = None): 12769 '''void QScrollArea.__init__(QWidget parent = None)''' 12770 def viewportSizeHint(self): 12771 '''QSize QScrollArea.viewportSizeHint()''' 12772 return QSize() 12773 def scrollContentsBy(self, dx, dy): 12774 '''void QScrollArea.scrollContentsBy(int dx, int dy)''' 12775 def resizeEvent(self): 12776 '''QResizeEvent QScrollArea.resizeEvent()''' 12777 return QResizeEvent() 12778 def eventFilter(self): 12779 '''QEvent QScrollArea.eventFilter()''' 12780 return QEvent() 12781 def event(self): 12782 '''QEvent QScrollArea.event()''' 12783 return QEvent() 12784 def ensureWidgetVisible(self, childWidget, xMargin = 50, yMargin = 50): 12785 '''void QScrollArea.ensureWidgetVisible(QWidget childWidget, int xMargin = 50, int yMargin = 50)''' 12786 def ensureVisible(self, x, y, xMargin = 50, yMargin = 50): 12787 '''void QScrollArea.ensureVisible(int x, int y, int xMargin = 50, int yMargin = 50)''' 12788 def focusNextPrevChild(self, next): 12789 '''bool QScrollArea.focusNextPrevChild(bool next)''' 12790 return bool() 12791 def sizeHint(self): 12792 '''QSize QScrollArea.sizeHint()''' 12793 return QSize() 12794 def setAlignment(self): 12795 '''Qt.Alignment QScrollArea.setAlignment()''' 12796 return Qt.Alignment() 12797 def alignment(self): 12798 '''Qt.Alignment QScrollArea.alignment()''' 12799 return Qt.Alignment() 12800 def setWidgetResizable(self, resizable): 12801 '''void QScrollArea.setWidgetResizable(bool resizable)''' 12802 def widgetResizable(self): 12803 '''bool QScrollArea.widgetResizable()''' 12804 return bool() 12805 def takeWidget(self): 12806 '''QWidget QScrollArea.takeWidget()''' 12807 return QWidget() 12808 def setWidget(self, w): 12809 '''void QScrollArea.setWidget(QWidget w)''' 12810 def widget(self): 12811 '''QWidget QScrollArea.widget()''' 12812 return QWidget() 12813 12814 12815 class QScrollBar(QAbstractSlider): 12816 """""" 12817 def __init__(self, parent = None): 12818 '''void QScrollBar.__init__(QWidget parent = None)''' 12819 def __init__(self, orientation, parent = None): 12820 '''void QScrollBar.__init__(Qt.Orientation orientation, QWidget parent = None)''' 12821 def sliderChange(self, change): 12822 '''void QScrollBar.sliderChange(QAbstractSlider.SliderChange change)''' 12823 def wheelEvent(self): 12824 '''QWheelEvent QScrollBar.wheelEvent()''' 12825 return QWheelEvent() 12826 def contextMenuEvent(self): 12827 '''QContextMenuEvent QScrollBar.contextMenuEvent()''' 12828 return QContextMenuEvent() 12829 def hideEvent(self): 12830 '''QHideEvent QScrollBar.hideEvent()''' 12831 return QHideEvent() 12832 def mouseMoveEvent(self): 12833 '''QMouseEvent QScrollBar.mouseMoveEvent()''' 12834 return QMouseEvent() 12835 def mouseReleaseEvent(self): 12836 '''QMouseEvent QScrollBar.mouseReleaseEvent()''' 12837 return QMouseEvent() 12838 def mousePressEvent(self): 12839 '''QMouseEvent QScrollBar.mousePressEvent()''' 12840 return QMouseEvent() 12841 def paintEvent(self): 12842 '''QPaintEvent QScrollBar.paintEvent()''' 12843 return QPaintEvent() 12844 def initStyleOption(self, option): 12845 '''void QScrollBar.initStyleOption(QStyleOptionSlider option)''' 12846 def event(self, event): 12847 '''bool QScrollBar.event(QEvent event)''' 12848 return bool() 12849 def sizeHint(self): 12850 '''QSize QScrollBar.sizeHint()''' 12851 return QSize() 12852 12853 12854 class QScroller(QObject): 12855 """""" 12856 # Enum QScroller.Input 12857 InputPress = 0 12858 InputMove = 0 12859 InputRelease = 0 12860 12861 # Enum QScroller.ScrollerGestureType 12862 TouchGesture = 0 12863 LeftMouseButtonGesture = 0 12864 RightMouseButtonGesture = 0 12865 MiddleMouseButtonGesture = 0 12866 12867 # Enum QScroller.State 12868 Inactive = 0 12869 Pressed = 0 12870 Dragging = 0 12871 Scrolling = 0 12872 12873 scrollerPropertiesChanged = pyqtSignal() # void scrollerPropertiesChanged(const QScrollerPropertiesamp;) - signal 12874 stateChanged = pyqtSignal() # void stateChanged(QScroller::State) - signal 12875 def resendPrepareEvent(self): 12876 '''void QScroller.resendPrepareEvent()''' 12877 def ensureVisible(self, rect, xmargin, ymargin): 12878 '''void QScroller.ensureVisible(QRectF rect, float xmargin, float ymargin)''' 12879 def ensureVisible(self, rect, xmargin, ymargin, scrollTime): 12880 '''void QScroller.ensureVisible(QRectF rect, float xmargin, float ymargin, int scrollTime)''' 12881 def scrollTo(self, pos): 12882 '''void QScroller.scrollTo(QPointF pos)''' 12883 def scrollTo(self, pos, scrollTime): 12884 '''void QScroller.scrollTo(QPointF pos, int scrollTime)''' 12885 def setScrollerProperties(self, prop): 12886 '''void QScroller.setScrollerProperties(QScrollerProperties prop)''' 12887 def setSnapPositionsY(self, positions): 12888 '''void QScroller.setSnapPositionsY(list-of-float positions)''' 12889 def setSnapPositionsY(self, first, interval): 12890 '''void QScroller.setSnapPositionsY(float first, float interval)''' 12891 def setSnapPositionsX(self, positions): 12892 '''void QScroller.setSnapPositionsX(list-of-float positions)''' 12893 def setSnapPositionsX(self, first, interval): 12894 '''void QScroller.setSnapPositionsX(float first, float interval)''' 12895 def scrollerProperties(self): 12896 '''QScrollerProperties QScroller.scrollerProperties()''' 12897 return QScrollerProperties() 12898 def pixelPerMeter(self): 12899 '''QPointF QScroller.pixelPerMeter()''' 12900 return QPointF() 12901 def finalPosition(self): 12902 '''QPointF QScroller.finalPosition()''' 12903 return QPointF() 12904 def velocity(self): 12905 '''QPointF QScroller.velocity()''' 12906 return QPointF() 12907 def stop(self): 12908 '''void QScroller.stop()''' 12909 def handleInput(self, input, position, timestamp = 0): 12910 '''bool QScroller.handleInput(QScroller.Input input, QPointF position, int timestamp = 0)''' 12911 return bool() 12912 def state(self): 12913 '''QScroller.State QScroller.state()''' 12914 return QScroller.State() 12915 def target(self): 12916 '''QObject QScroller.target()''' 12917 return QObject() 12918 def activeScrollers(self): 12919 '''static list-of-QScroller QScroller.activeScrollers()''' 12920 return [QScroller()] 12921 def ungrabGesture(self, target): 12922 '''static void QScroller.ungrabGesture(QObject target)''' 12923 def grabbedGesture(self, target): 12924 '''static Qt.GestureType QScroller.grabbedGesture(QObject target)''' 12925 return Qt.GestureType() 12926 def grabGesture(self, target, scrollGestureType = None): 12927 '''static Qt.GestureType QScroller.grabGesture(QObject target, QScroller.ScrollerGestureType scrollGestureType = QScroller.TouchGesture)''' 12928 return Qt.GestureType() 12929 def scroller(self, target): 12930 '''static QScroller QScroller.scroller(QObject target)''' 12931 return QScroller() 12932 def hasScroller(self, target): 12933 '''static bool QScroller.hasScroller(QObject target)''' 12934 return bool() 12935 12936 12937 class QScrollerProperties(): 12938 """""" 12939 # Enum QScrollerProperties.ScrollMetric 12940 MousePressEventDelay = 0 12941 DragStartDistance = 0 12942 DragVelocitySmoothingFactor = 0 12943 AxisLockThreshold = 0 12944 ScrollingCurve = 0 12945 DecelerationFactor = 0 12946 MinimumVelocity = 0 12947 MaximumVelocity = 0 12948 MaximumClickThroughVelocity = 0 12949 AcceleratingFlickMaximumTime = 0 12950 AcceleratingFlickSpeedupFactor = 0 12951 SnapPositionRatio = 0 12952 SnapTime = 0 12953 OvershootDragResistanceFactor = 0 12954 OvershootDragDistanceFactor = 0 12955 OvershootScrollDistanceFactor = 0 12956 OvershootScrollTime = 0 12957 HorizontalOvershootPolicy = 0 12958 VerticalOvershootPolicy = 0 12959 FrameRate = 0 12960 ScrollMetricCount = 0 12961 12962 # Enum QScrollerProperties.FrameRates 12963 Standard = 0 12964 Fps60 = 0 12965 Fps30 = 0 12966 Fps20 = 0 12967 12968 # Enum QScrollerProperties.OvershootPolicy 12969 OvershootWhenScrollable = 0 12970 OvershootAlwaysOff = 0 12971 OvershootAlwaysOn = 0 12972 12973 def __init__(self): 12974 '''void QScrollerProperties.__init__()''' 12975 def __init__(self, sp): 12976 '''void QScrollerProperties.__init__(QScrollerProperties sp)''' 12977 def setScrollMetric(self, metric, value): 12978 '''void QScrollerProperties.setScrollMetric(QScrollerProperties.ScrollMetric metric, QVariant value)''' 12979 def scrollMetric(self, metric): 12980 '''QVariant QScrollerProperties.scrollMetric(QScrollerProperties.ScrollMetric metric)''' 12981 return QVariant() 12982 def unsetDefaultScrollerProperties(self): 12983 '''static void QScrollerProperties.unsetDefaultScrollerProperties()''' 12984 def setDefaultScrollerProperties(self, sp): 12985 '''static void QScrollerProperties.setDefaultScrollerProperties(QScrollerProperties sp)''' 12986 def __ne__(self, sp): 12987 '''bool QScrollerProperties.__ne__(QScrollerProperties sp)''' 12988 return bool() 12989 def __eq__(self, sp): 12990 '''bool QScrollerProperties.__eq__(QScrollerProperties sp)''' 12991 return bool() 12992 12993 12994 class QShortcut(QObject): 12995 """""" 12996 def __init__(self, parent): 12997 '''void QShortcut.__init__(QWidget parent)''' 12998 def __init__(self, key, parent, member = 0, ambiguousMember = 0, context = None): 12999 '''void QShortcut.__init__(QKeySequence key, QWidget parent, slot member = 0, slot ambiguousMember = 0, Qt.ShortcutContext context = Qt.WindowShortcut)''' 13000 def event(self, e): 13001 '''bool QShortcut.event(QEvent e)''' 13002 return bool() 13003 activatedAmbiguously = pyqtSignal() # void activatedAmbiguously() - signal 13004 activated = pyqtSignal() # void activated() - signal 13005 def autoRepeat(self): 13006 '''bool QShortcut.autoRepeat()''' 13007 return bool() 13008 def setAutoRepeat(self, on): 13009 '''void QShortcut.setAutoRepeat(bool on)''' 13010 def parentWidget(self): 13011 '''QWidget QShortcut.parentWidget()''' 13012 return QWidget() 13013 def id(self): 13014 '''int QShortcut.id()''' 13015 return int() 13016 def whatsThis(self): 13017 '''str QShortcut.whatsThis()''' 13018 return str() 13019 def setWhatsThis(self, text): 13020 '''void QShortcut.setWhatsThis(str text)''' 13021 def context(self): 13022 '''Qt.ShortcutContext QShortcut.context()''' 13023 return Qt.ShortcutContext() 13024 def setContext(self, context): 13025 '''void QShortcut.setContext(Qt.ShortcutContext context)''' 13026 def isEnabled(self): 13027 '''bool QShortcut.isEnabled()''' 13028 return bool() 13029 def setEnabled(self, enable): 13030 '''void QShortcut.setEnabled(bool enable)''' 13031 def key(self): 13032 '''QKeySequence QShortcut.key()''' 13033 return QKeySequence() 13034 def setKey(self, key): 13035 '''void QShortcut.setKey(QKeySequence key)''' 13036 13037 13038 class QSizeGrip(QWidget): 13039 """""" 13040 def __init__(self, parent): 13041 '''void QSizeGrip.__init__(QWidget parent)''' 13042 def hideEvent(self, hideEvent): 13043 '''void QSizeGrip.hideEvent(QHideEvent hideEvent)''' 13044 def showEvent(self, showEvent): 13045 '''void QSizeGrip.showEvent(QShowEvent showEvent)''' 13046 def moveEvent(self, moveEvent): 13047 '''void QSizeGrip.moveEvent(QMoveEvent moveEvent)''' 13048 def event(self): 13049 '''QEvent QSizeGrip.event()''' 13050 return QEvent() 13051 def eventFilter(self): 13052 '''QEvent QSizeGrip.eventFilter()''' 13053 return QEvent() 13054 def mouseMoveEvent(self): 13055 '''QMouseEvent QSizeGrip.mouseMoveEvent()''' 13056 return QMouseEvent() 13057 def mouseReleaseEvent(self, mouseEvent): 13058 '''void QSizeGrip.mouseReleaseEvent(QMouseEvent mouseEvent)''' 13059 def mousePressEvent(self): 13060 '''QMouseEvent QSizeGrip.mousePressEvent()''' 13061 return QMouseEvent() 13062 def paintEvent(self): 13063 '''QPaintEvent QSizeGrip.paintEvent()''' 13064 return QPaintEvent() 13065 def setVisible(self): 13066 '''bool QSizeGrip.setVisible()''' 13067 return bool() 13068 def sizeHint(self): 13069 '''QSize QSizeGrip.sizeHint()''' 13070 return QSize() 13071 13072 13073 class QSizePolicy(): 13074 """""" 13075 # Enum QSizePolicy.ControlType 13076 DefaultType = 0 13077 ButtonBox = 0 13078 CheckBox = 0 13079 ComboBox = 0 13080 Frame = 0 13081 GroupBox = 0 13082 Label = 0 13083 Line = 0 13084 LineEdit = 0 13085 PushButton = 0 13086 RadioButton = 0 13087 Slider = 0 13088 SpinBox = 0 13089 TabWidget = 0 13090 ToolButton = 0 13091 13092 # Enum QSizePolicy.Policy 13093 Fixed = 0 13094 Minimum = 0 13095 Maximum = 0 13096 Preferred = 0 13097 MinimumExpanding = 0 13098 Expanding = 0 13099 Ignored = 0 13100 13101 # Enum QSizePolicy.PolicyFlag 13102 GrowFlag = 0 13103 ExpandFlag = 0 13104 ShrinkFlag = 0 13105 IgnoreFlag = 0 13106 13107 def __init__(self): 13108 '''void QSizePolicy.__init__()''' 13109 def __init__(self, horizontal, vertical, type = None): 13110 '''void QSizePolicy.__init__(QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical, QSizePolicy.ControlType type = QSizePolicy.DefaultType)''' 13111 def __init__(self, variant): 13112 '''void QSizePolicy.__init__(QVariant variant)''' 13113 def __init__(self): 13114 '''QSizePolicy QSizePolicy.__init__()''' 13115 return QSizePolicy() 13116 def setRetainSizeWhenHidden(self, retainSize): 13117 '''void QSizePolicy.setRetainSizeWhenHidden(bool retainSize)''' 13118 def retainSizeWhenHidden(self): 13119 '''bool QSizePolicy.retainSizeWhenHidden()''' 13120 return bool() 13121 def hasWidthForHeight(self): 13122 '''bool QSizePolicy.hasWidthForHeight()''' 13123 return bool() 13124 def setWidthForHeight(self, b): 13125 '''void QSizePolicy.setWidthForHeight(bool b)''' 13126 def setControlType(self, type): 13127 '''void QSizePolicy.setControlType(QSizePolicy.ControlType type)''' 13128 def controlType(self): 13129 '''QSizePolicy.ControlType QSizePolicy.controlType()''' 13130 return QSizePolicy.ControlType() 13131 def transpose(self): 13132 '''void QSizePolicy.transpose()''' 13133 def setVerticalStretch(self, stretchFactor): 13134 '''void QSizePolicy.setVerticalStretch(int stretchFactor)''' 13135 def setHorizontalStretch(self, stretchFactor): 13136 '''void QSizePolicy.setHorizontalStretch(int stretchFactor)''' 13137 def verticalStretch(self): 13138 '''int QSizePolicy.verticalStretch()''' 13139 return int() 13140 def horizontalStretch(self): 13141 '''int QSizePolicy.horizontalStretch()''' 13142 return int() 13143 def __ne__(self, s): 13144 '''bool QSizePolicy.__ne__(QSizePolicy s)''' 13145 return bool() 13146 def __eq__(self, s): 13147 '''bool QSizePolicy.__eq__(QSizePolicy s)''' 13148 return bool() 13149 def hasHeightForWidth(self): 13150 '''bool QSizePolicy.hasHeightForWidth()''' 13151 return bool() 13152 def setHeightForWidth(self, b): 13153 '''void QSizePolicy.setHeightForWidth(bool b)''' 13154 def expandingDirections(self): 13155 '''Qt.Orientations QSizePolicy.expandingDirections()''' 13156 return Qt.Orientations() 13157 def setVerticalPolicy(self, d): 13158 '''void QSizePolicy.setVerticalPolicy(QSizePolicy.Policy d)''' 13159 def setHorizontalPolicy(self, d): 13160 '''void QSizePolicy.setHorizontalPolicy(QSizePolicy.Policy d)''' 13161 def verticalPolicy(self): 13162 '''QSizePolicy.Policy QSizePolicy.verticalPolicy()''' 13163 return QSizePolicy.Policy() 13164 def horizontalPolicy(self): 13165 '''QSizePolicy.Policy QSizePolicy.horizontalPolicy()''' 13166 return QSizePolicy.Policy() 13167 class ControlTypes(): 13168 """""" 13169 def __init__(self): 13170 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__init__()''' 13171 return QSizePolicy.ControlTypes() 13172 def __init__(self): 13173 '''int QSizePolicy.ControlTypes.__init__()''' 13174 return int() 13175 def __init__(self): 13176 '''void QSizePolicy.ControlTypes.__init__()''' 13177 def __bool__(self): 13178 '''int QSizePolicy.ControlTypes.__bool__()''' 13179 return int() 13180 def __ne__(self, f): 13181 '''bool QSizePolicy.ControlTypes.__ne__(QSizePolicy.ControlTypes f)''' 13182 return bool() 13183 def __eq__(self, f): 13184 '''bool QSizePolicy.ControlTypes.__eq__(QSizePolicy.ControlTypes f)''' 13185 return bool() 13186 def __invert__(self): 13187 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__invert__()''' 13188 return QSizePolicy.ControlTypes() 13189 def __and__(self, mask): 13190 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__and__(int mask)''' 13191 return QSizePolicy.ControlTypes() 13192 def __xor__(self, f): 13193 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__xor__(QSizePolicy.ControlTypes f)''' 13194 return QSizePolicy.ControlTypes() 13195 def __xor__(self, f): 13196 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__xor__(int f)''' 13197 return QSizePolicy.ControlTypes() 13198 def __or__(self, f): 13199 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__or__(QSizePolicy.ControlTypes f)''' 13200 return QSizePolicy.ControlTypes() 13201 def __or__(self, f): 13202 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__or__(int f)''' 13203 return QSizePolicy.ControlTypes() 13204 def __int__(self): 13205 '''int QSizePolicy.ControlTypes.__int__()''' 13206 return int() 13207 def __ixor__(self, f): 13208 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__ixor__(QSizePolicy.ControlTypes f)''' 13209 return QSizePolicy.ControlTypes() 13210 def __ior__(self, f): 13211 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__ior__(QSizePolicy.ControlTypes f)''' 13212 return QSizePolicy.ControlTypes() 13213 def __iand__(self, mask): 13214 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__iand__(int mask)''' 13215 return QSizePolicy.ControlTypes() 13216 13217 13218 class QSlider(QAbstractSlider): 13219 """""" 13220 # Enum QSlider.TickPosition 13221 NoTicks = 0 13222 TicksAbove = 0 13223 TicksLeft = 0 13224 TicksBelow = 0 13225 TicksRight = 0 13226 TicksBothSides = 0 13227 13228 def __init__(self, parent = None): 13229 '''void QSlider.__init__(QWidget parent = None)''' 13230 def __init__(self, orientation, parent = None): 13231 '''void QSlider.__init__(Qt.Orientation orientation, QWidget parent = None)''' 13232 def mouseMoveEvent(self, ev): 13233 '''void QSlider.mouseMoveEvent(QMouseEvent ev)''' 13234 def mouseReleaseEvent(self, ev): 13235 '''void QSlider.mouseReleaseEvent(QMouseEvent ev)''' 13236 def mousePressEvent(self, ev): 13237 '''void QSlider.mousePressEvent(QMouseEvent ev)''' 13238 def paintEvent(self, ev): 13239 '''void QSlider.paintEvent(QPaintEvent ev)''' 13240 def initStyleOption(self, option): 13241 '''void QSlider.initStyleOption(QStyleOptionSlider option)''' 13242 def event(self, event): 13243 '''bool QSlider.event(QEvent event)''' 13244 return bool() 13245 def tickInterval(self): 13246 '''int QSlider.tickInterval()''' 13247 return int() 13248 def setTickInterval(self, ti): 13249 '''void QSlider.setTickInterval(int ti)''' 13250 def tickPosition(self): 13251 '''QSlider.TickPosition QSlider.tickPosition()''' 13252 return QSlider.TickPosition() 13253 def setTickPosition(self, position): 13254 '''void QSlider.setTickPosition(QSlider.TickPosition position)''' 13255 def minimumSizeHint(self): 13256 '''QSize QSlider.minimumSizeHint()''' 13257 return QSize() 13258 def sizeHint(self): 13259 '''QSize QSlider.sizeHint()''' 13260 return QSize() 13261 13262 13263 class QSpinBox(QAbstractSpinBox): 13264 """""" 13265 def __init__(self, parent = None): 13266 '''void QSpinBox.__init__(QWidget parent = None)''' 13267 def setDisplayIntegerBase(self, base): 13268 '''void QSpinBox.setDisplayIntegerBase(int base)''' 13269 def displayIntegerBase(self): 13270 '''int QSpinBox.displayIntegerBase()''' 13271 return int() 13272 valueChanged = pyqtSignal() # void valueChanged(int) - signal 13273 valueChanged = pyqtSignal() # void valueChanged(const QStringamp;) - signal 13274 def setValue(self, val): 13275 '''void QSpinBox.setValue(int val)''' 13276 def event(self, e): 13277 '''bool QSpinBox.event(QEvent e)''' 13278 return bool() 13279 def fixup(self, str): 13280 '''void QSpinBox.fixup(str str)''' 13281 def textFromValue(self, v): 13282 '''str QSpinBox.textFromValue(int v)''' 13283 return str() 13284 def valueFromText(self, text): 13285 '''int QSpinBox.valueFromText(str text)''' 13286 return int() 13287 def validate(self, input, pos): 13288 '''QValidator.State QSpinBox.validate(str input, int pos)''' 13289 return QValidator.State() 13290 def setRange(self, min, max): 13291 '''void QSpinBox.setRange(int min, int max)''' 13292 def setMaximum(self, max): 13293 '''void QSpinBox.setMaximum(int max)''' 13294 def maximum(self): 13295 '''int QSpinBox.maximum()''' 13296 return int() 13297 def setMinimum(self, min): 13298 '''void QSpinBox.setMinimum(int min)''' 13299 def minimum(self): 13300 '''int QSpinBox.minimum()''' 13301 return int() 13302 def setSingleStep(self, val): 13303 '''void QSpinBox.setSingleStep(int val)''' 13304 def singleStep(self): 13305 '''int QSpinBox.singleStep()''' 13306 return int() 13307 def cleanText(self): 13308 '''str QSpinBox.cleanText()''' 13309 return str() 13310 def setSuffix(self, s): 13311 '''void QSpinBox.setSuffix(str s)''' 13312 def suffix(self): 13313 '''str QSpinBox.suffix()''' 13314 return str() 13315 def setPrefix(self, p): 13316 '''void QSpinBox.setPrefix(str p)''' 13317 def prefix(self): 13318 '''str QSpinBox.prefix()''' 13319 return str() 13320 def value(self): 13321 '''int QSpinBox.value()''' 13322 return int() 13323 13324 13325 class QDoubleSpinBox(QAbstractSpinBox): 13326 """""" 13327 def __init__(self, parent = None): 13328 '''void QDoubleSpinBox.__init__(QWidget parent = None)''' 13329 valueChanged = pyqtSignal() # void valueChanged(double) - signal 13330 valueChanged = pyqtSignal() # void valueChanged(const QStringamp;) - signal 13331 def setValue(self, val): 13332 '''void QDoubleSpinBox.setValue(float val)''' 13333 def fixup(self, str): 13334 '''void QDoubleSpinBox.fixup(str str)''' 13335 def textFromValue(self, v): 13336 '''str QDoubleSpinBox.textFromValue(float v)''' 13337 return str() 13338 def valueFromText(self, text): 13339 '''float QDoubleSpinBox.valueFromText(str text)''' 13340 return float() 13341 def validate(self, input, pos): 13342 '''QValidator.State QDoubleSpinBox.validate(str input, int pos)''' 13343 return QValidator.State() 13344 def setDecimals(self, prec): 13345 '''void QDoubleSpinBox.setDecimals(int prec)''' 13346 def decimals(self): 13347 '''int QDoubleSpinBox.decimals()''' 13348 return int() 13349 def setRange(self, min, max): 13350 '''void QDoubleSpinBox.setRange(float min, float max)''' 13351 def setMaximum(self, max): 13352 '''void QDoubleSpinBox.setMaximum(float max)''' 13353 def maximum(self): 13354 '''float QDoubleSpinBox.maximum()''' 13355 return float() 13356 def setMinimum(self, min): 13357 '''void QDoubleSpinBox.setMinimum(float min)''' 13358 def minimum(self): 13359 '''float QDoubleSpinBox.minimum()''' 13360 return float() 13361 def setSingleStep(self, val): 13362 '''void QDoubleSpinBox.setSingleStep(float val)''' 13363 def singleStep(self): 13364 '''float QDoubleSpinBox.singleStep()''' 13365 return float() 13366 def cleanText(self): 13367 '''str QDoubleSpinBox.cleanText()''' 13368 return str() 13369 def setSuffix(self, s): 13370 '''void QDoubleSpinBox.setSuffix(str s)''' 13371 def suffix(self): 13372 '''str QDoubleSpinBox.suffix()''' 13373 return str() 13374 def setPrefix(self, p): 13375 '''void QDoubleSpinBox.setPrefix(str p)''' 13376 def prefix(self): 13377 '''str QDoubleSpinBox.prefix()''' 13378 return str() 13379 def value(self): 13380 '''float QDoubleSpinBox.value()''' 13381 return float() 13382 13383 13384 class QSplashScreen(QWidget): 13385 """""" 13386 def __init__(self, pixmap = QPixmap(), flags = 0): 13387 '''void QSplashScreen.__init__(QPixmap pixmap = QPixmap(), Qt.WindowFlags flags = 0)''' 13388 def __init__(self, parent, pixmap = QPixmap(), flags = 0): 13389 '''void QSplashScreen.__init__(QWidget parent, QPixmap pixmap = QPixmap(), Qt.WindowFlags flags = 0)''' 13390 def mousePressEvent(self): 13391 '''QMouseEvent QSplashScreen.mousePressEvent()''' 13392 return QMouseEvent() 13393 def event(self, e): 13394 '''bool QSplashScreen.event(QEvent e)''' 13395 return bool() 13396 def drawContents(self, painter): 13397 '''void QSplashScreen.drawContents(QPainter painter)''' 13398 messageChanged = pyqtSignal() # void messageChanged(const QStringamp;) - signal 13399 def clearMessage(self): 13400 '''void QSplashScreen.clearMessage()''' 13401 def showMessage(self, message, alignment = None, color = None): 13402 '''void QSplashScreen.showMessage(str message, int alignment = Qt.AlignLeft, QColor color = Qt.black)''' 13403 def message(self): 13404 '''str QSplashScreen.message()''' 13405 return str() 13406 def repaint(self): 13407 '''void QSplashScreen.repaint()''' 13408 def finish(self, w): 13409 '''void QSplashScreen.finish(QWidget w)''' 13410 def pixmap(self): 13411 '''QPixmap QSplashScreen.pixmap()''' 13412 return QPixmap() 13413 def setPixmap(self, pixmap): 13414 '''void QSplashScreen.setPixmap(QPixmap pixmap)''' 13415 13416 13417 class QSplitter(QFrame): 13418 """""" 13419 def __init__(self, parent = None): 13420 '''void QSplitter.__init__(QWidget parent = None)''' 13421 def __init__(self, orientation, parent = None): 13422 '''void QSplitter.__init__(Qt.Orientation orientation, QWidget parent = None)''' 13423 def closestLegalPosition(self): 13424 '''int QSplitter.closestLegalPosition()''' 13425 return int() 13426 def setRubberBand(self, position): 13427 '''void QSplitter.setRubberBand(int position)''' 13428 def moveSplitter(self, pos, index): 13429 '''void QSplitter.moveSplitter(int pos, int index)''' 13430 def changeEvent(self): 13431 '''QEvent QSplitter.changeEvent()''' 13432 return QEvent() 13433 def resizeEvent(self): 13434 '''QResizeEvent QSplitter.resizeEvent()''' 13435 return QResizeEvent() 13436 def event(self): 13437 '''QEvent QSplitter.event()''' 13438 return QEvent() 13439 def childEvent(self): 13440 '''QChildEvent QSplitter.childEvent()''' 13441 return QChildEvent() 13442 def createHandle(self): 13443 '''QSplitterHandle QSplitter.createHandle()''' 13444 return QSplitterHandle() 13445 splitterMoved = pyqtSignal() # void splitterMoved(int,int) - signal 13446 def setStretchFactor(self, index, stretch): 13447 '''void QSplitter.setStretchFactor(int index, int stretch)''' 13448 def handle(self, index): 13449 '''QSplitterHandle QSplitter.handle(int index)''' 13450 return QSplitterHandle() 13451 def getRange(self, index): 13452 '''int QSplitter.getRange(int index)''' 13453 return int() 13454 def __len__(self): 13455 ''' QSplitter.__len__()''' 13456 return () 13457 def count(self): 13458 '''int QSplitter.count()''' 13459 return int() 13460 def widget(self, index): 13461 '''QWidget QSplitter.widget(int index)''' 13462 return QWidget() 13463 def indexOf(self, w): 13464 '''int QSplitter.indexOf(QWidget w)''' 13465 return int() 13466 def setHandleWidth(self): 13467 '''int QSplitter.setHandleWidth()''' 13468 return int() 13469 def handleWidth(self): 13470 '''int QSplitter.handleWidth()''' 13471 return int() 13472 def restoreState(self, state): 13473 '''bool QSplitter.restoreState(QByteArray state)''' 13474 return bool() 13475 def saveState(self): 13476 '''QByteArray QSplitter.saveState()''' 13477 return QByteArray() 13478 def setSizes(self, list): 13479 '''void QSplitter.setSizes(list-of-int list)''' 13480 def sizes(self): 13481 '''list-of-int QSplitter.sizes()''' 13482 return [int()] 13483 def minimumSizeHint(self): 13484 '''QSize QSplitter.minimumSizeHint()''' 13485 return QSize() 13486 def sizeHint(self): 13487 '''QSize QSplitter.sizeHint()''' 13488 return QSize() 13489 def refresh(self): 13490 '''void QSplitter.refresh()''' 13491 def opaqueResize(self): 13492 '''bool QSplitter.opaqueResize()''' 13493 return bool() 13494 def setOpaqueResize(self, opaque = True): 13495 '''void QSplitter.setOpaqueResize(bool opaque = True)''' 13496 def isCollapsible(self, index): 13497 '''bool QSplitter.isCollapsible(int index)''' 13498 return bool() 13499 def setCollapsible(self, index): 13500 '''bool QSplitter.setCollapsible(int index)''' 13501 return bool() 13502 def childrenCollapsible(self): 13503 '''bool QSplitter.childrenCollapsible()''' 13504 return bool() 13505 def setChildrenCollapsible(self): 13506 '''bool QSplitter.setChildrenCollapsible()''' 13507 return bool() 13508 def orientation(self): 13509 '''Qt.Orientation QSplitter.orientation()''' 13510 return Qt.Orientation() 13511 def setOrientation(self): 13512 '''Qt.Orientation QSplitter.setOrientation()''' 13513 return Qt.Orientation() 13514 def insertWidget(self, index, widget): 13515 '''void QSplitter.insertWidget(int index, QWidget widget)''' 13516 def addWidget(self, widget): 13517 '''void QSplitter.addWidget(QWidget widget)''' 13518 13519 13520 class QSplitterHandle(QWidget): 13521 """""" 13522 def __init__(self, o, parent): 13523 '''void QSplitterHandle.__init__(Qt.Orientation o, QSplitter parent)''' 13524 def resizeEvent(self): 13525 '''QResizeEvent QSplitterHandle.resizeEvent()''' 13526 return QResizeEvent() 13527 def closestLegalPosition(self, p): 13528 '''int QSplitterHandle.closestLegalPosition(int p)''' 13529 return int() 13530 def moveSplitter(self, p): 13531 '''void QSplitterHandle.moveSplitter(int p)''' 13532 def event(self): 13533 '''QEvent QSplitterHandle.event()''' 13534 return QEvent() 13535 def mouseReleaseEvent(self): 13536 '''QMouseEvent QSplitterHandle.mouseReleaseEvent()''' 13537 return QMouseEvent() 13538 def mousePressEvent(self): 13539 '''QMouseEvent QSplitterHandle.mousePressEvent()''' 13540 return QMouseEvent() 13541 def mouseMoveEvent(self): 13542 '''QMouseEvent QSplitterHandle.mouseMoveEvent()''' 13543 return QMouseEvent() 13544 def paintEvent(self): 13545 '''QPaintEvent QSplitterHandle.paintEvent()''' 13546 return QPaintEvent() 13547 def sizeHint(self): 13548 '''QSize QSplitterHandle.sizeHint()''' 13549 return QSize() 13550 def splitter(self): 13551 '''QSplitter QSplitterHandle.splitter()''' 13552 return QSplitter() 13553 def opaqueResize(self): 13554 '''bool QSplitterHandle.opaqueResize()''' 13555 return bool() 13556 def orientation(self): 13557 '''Qt.Orientation QSplitterHandle.orientation()''' 13558 return Qt.Orientation() 13559 def setOrientation(self, o): 13560 '''void QSplitterHandle.setOrientation(Qt.Orientation o)''' 13561 13562 13563 class QStackedLayout(QLayout): 13564 """""" 13565 # Enum QStackedLayout.StackingMode 13566 StackOne = 0 13567 StackAll = 0 13568 13569 def __init__(self): 13570 '''void QStackedLayout.__init__()''' 13571 def __init__(self, parent): 13572 '''void QStackedLayout.__init__(QWidget parent)''' 13573 def __init__(self, parentLayout): 13574 '''void QStackedLayout.__init__(QLayout parentLayout)''' 13575 def heightForWidth(self, width): 13576 '''int QStackedLayout.heightForWidth(int width)''' 13577 return int() 13578 def hasHeightForWidth(self): 13579 '''bool QStackedLayout.hasHeightForWidth()''' 13580 return bool() 13581 def setStackingMode(self, stackingMode): 13582 '''void QStackedLayout.setStackingMode(QStackedLayout.StackingMode stackingMode)''' 13583 def stackingMode(self): 13584 '''QStackedLayout.StackingMode QStackedLayout.stackingMode()''' 13585 return QStackedLayout.StackingMode() 13586 def setCurrentWidget(self, w): 13587 '''void QStackedLayout.setCurrentWidget(QWidget w)''' 13588 def setCurrentIndex(self, index): 13589 '''void QStackedLayout.setCurrentIndex(int index)''' 13590 currentChanged = pyqtSignal() # void currentChanged(int) - signal 13591 widgetRemoved = pyqtSignal() # void widgetRemoved(int) - signal 13592 def setGeometry(self, rect): 13593 '''void QStackedLayout.setGeometry(QRect rect)''' 13594 def takeAt(self): 13595 '''int QStackedLayout.takeAt()''' 13596 return int() 13597 def itemAt(self): 13598 '''int QStackedLayout.itemAt()''' 13599 return int() 13600 def minimumSize(self): 13601 '''QSize QStackedLayout.minimumSize()''' 13602 return QSize() 13603 def sizeHint(self): 13604 '''QSize QStackedLayout.sizeHint()''' 13605 return QSize() 13606 def addItem(self, item): 13607 '''void QStackedLayout.addItem(QLayoutItem item)''' 13608 def count(self): 13609 '''int QStackedLayout.count()''' 13610 return int() 13611 def widget(self): 13612 '''int QStackedLayout.widget()''' 13613 return int() 13614 def widget(self): 13615 '''QWidget QStackedLayout.widget()''' 13616 return QWidget() 13617 def currentIndex(self): 13618 '''int QStackedLayout.currentIndex()''' 13619 return int() 13620 def currentWidget(self): 13621 '''QWidget QStackedLayout.currentWidget()''' 13622 return QWidget() 13623 def insertWidget(self, index, w): 13624 '''int QStackedLayout.insertWidget(int index, QWidget w)''' 13625 return int() 13626 def addWidget(self, w): 13627 '''int QStackedLayout.addWidget(QWidget w)''' 13628 return int() 13629 13630 13631 class QStackedWidget(QFrame): 13632 """""" 13633 def __init__(self, parent = None): 13634 '''void QStackedWidget.__init__(QWidget parent = None)''' 13635 def event(self, e): 13636 '''bool QStackedWidget.event(QEvent e)''' 13637 return bool() 13638 widgetRemoved = pyqtSignal() # void widgetRemoved(int) - signal 13639 currentChanged = pyqtSignal() # void currentChanged(int) - signal 13640 def setCurrentWidget(self, w): 13641 '''void QStackedWidget.setCurrentWidget(QWidget w)''' 13642 def setCurrentIndex(self, index): 13643 '''void QStackedWidget.setCurrentIndex(int index)''' 13644 def __len__(self): 13645 ''' QStackedWidget.__len__()''' 13646 return () 13647 def count(self): 13648 '''int QStackedWidget.count()''' 13649 return int() 13650 def widget(self): 13651 '''int QStackedWidget.widget()''' 13652 return int() 13653 def indexOf(self): 13654 '''QWidget QStackedWidget.indexOf()''' 13655 return QWidget() 13656 def currentIndex(self): 13657 '''int QStackedWidget.currentIndex()''' 13658 return int() 13659 def currentWidget(self): 13660 '''QWidget QStackedWidget.currentWidget()''' 13661 return QWidget() 13662 def removeWidget(self, w): 13663 '''void QStackedWidget.removeWidget(QWidget w)''' 13664 def insertWidget(self, index, w): 13665 '''int QStackedWidget.insertWidget(int index, QWidget w)''' 13666 return int() 13667 def addWidget(self, w): 13668 '''int QStackedWidget.addWidget(QWidget w)''' 13669 return int() 13670 13671 13672 class QStatusBar(QWidget): 13673 """""" 13674 def __init__(self, parent = None): 13675 '''void QStatusBar.__init__(QWidget parent = None)''' 13676 def showEvent(self): 13677 '''QShowEvent QStatusBar.showEvent()''' 13678 return QShowEvent() 13679 def event(self): 13680 '''QEvent QStatusBar.event()''' 13681 return QEvent() 13682 def hideOrShow(self): 13683 '''void QStatusBar.hideOrShow()''' 13684 def reformat(self): 13685 '''void QStatusBar.reformat()''' 13686 def resizeEvent(self): 13687 '''QResizeEvent QStatusBar.resizeEvent()''' 13688 return QResizeEvent() 13689 def paintEvent(self): 13690 '''QPaintEvent QStatusBar.paintEvent()''' 13691 return QPaintEvent() 13692 messageChanged = pyqtSignal() # void messageChanged(const QStringamp;) - signal 13693 def clearMessage(self): 13694 '''void QStatusBar.clearMessage()''' 13695 def showMessage(self, message, msecs = 0): 13696 '''void QStatusBar.showMessage(str message, int msecs = 0)''' 13697 def insertPermanentWidget(self, index, widget, stretch = 0): 13698 '''int QStatusBar.insertPermanentWidget(int index, QWidget widget, int stretch = 0)''' 13699 return int() 13700 def insertWidget(self, index, widget, stretch = 0): 13701 '''int QStatusBar.insertWidget(int index, QWidget widget, int stretch = 0)''' 13702 return int() 13703 def currentMessage(self): 13704 '''str QStatusBar.currentMessage()''' 13705 return str() 13706 def isSizeGripEnabled(self): 13707 '''bool QStatusBar.isSizeGripEnabled()''' 13708 return bool() 13709 def setSizeGripEnabled(self): 13710 '''bool QStatusBar.setSizeGripEnabled()''' 13711 return bool() 13712 def removeWidget(self, widget): 13713 '''void QStatusBar.removeWidget(QWidget widget)''' 13714 def addPermanentWidget(self, widget, stretch = 0): 13715 '''void QStatusBar.addPermanentWidget(QWidget widget, int stretch = 0)''' 13716 def addWidget(self, widget, stretch = 0): 13717 '''void QStatusBar.addWidget(QWidget widget, int stretch = 0)''' 13718 13719 13720 class QStyledItemDelegate(QAbstractItemDelegate): 13721 """""" 13722 def __init__(self, parent = None): 13723 '''void QStyledItemDelegate.__init__(QObject parent = None)''' 13724 def editorEvent(self, event, model, option, index): 13725 '''bool QStyledItemDelegate.editorEvent(QEvent event, QAbstractItemModel model, QStyleOptionViewItem option, QModelIndex index)''' 13726 return bool() 13727 def eventFilter(self, object, event): 13728 '''bool QStyledItemDelegate.eventFilter(QObject object, QEvent event)''' 13729 return bool() 13730 def initStyleOption(self, option, index): 13731 '''void QStyledItemDelegate.initStyleOption(QStyleOptionViewItem option, QModelIndex index)''' 13732 def displayText(self, value, locale): 13733 '''str QStyledItemDelegate.displayText(QVariant value, QLocale locale)''' 13734 return str() 13735 def setItemEditorFactory(self, factory): 13736 '''void QStyledItemDelegate.setItemEditorFactory(QItemEditorFactory factory)''' 13737 def itemEditorFactory(self): 13738 '''QItemEditorFactory QStyledItemDelegate.itemEditorFactory()''' 13739 return QItemEditorFactory() 13740 def updateEditorGeometry(self, editor, option, index): 13741 '''void QStyledItemDelegate.updateEditorGeometry(QWidget editor, QStyleOptionViewItem option, QModelIndex index)''' 13742 def setModelData(self, editor, model, index): 13743 '''void QStyledItemDelegate.setModelData(QWidget editor, QAbstractItemModel model, QModelIndex index)''' 13744 def setEditorData(self, editor, index): 13745 '''void QStyledItemDelegate.setEditorData(QWidget editor, QModelIndex index)''' 13746 def createEditor(self, parent, option, index): 13747 '''QWidget QStyledItemDelegate.createEditor(QWidget parent, QStyleOptionViewItem option, QModelIndex index)''' 13748 return QWidget() 13749 def sizeHint(self, option, index): 13750 '''QSize QStyledItemDelegate.sizeHint(QStyleOptionViewItem option, QModelIndex index)''' 13751 return QSize() 13752 def paint(self, painter, option, index): 13753 '''void QStyledItemDelegate.paint(QPainter painter, QStyleOptionViewItem option, QModelIndex index)''' 13754 13755 13756 class QStyleFactory(): 13757 """""" 13758 def __init__(self): 13759 '''void QStyleFactory.__init__()''' 13760 def __init__(self): 13761 '''QStyleFactory QStyleFactory.__init__()''' 13762 return QStyleFactory() 13763 def create(self): 13764 '''static str QStyleFactory.create()''' 13765 return str() 13766 def keys(self): 13767 '''static list-of-str QStyleFactory.keys()''' 13768 return [str()] 13769 13770 13771 class QStyleOption(): 13772 """""" 13773 # Enum QStyleOption.StyleOptionVersion 13774 Version = 0 13775 13776 # Enum QStyleOption.StyleOptionType 13777 Type = 0 13778 13779 # Enum QStyleOption.OptionType 13780 SO_Default = 0 13781 SO_FocusRect = 0 13782 SO_Button = 0 13783 SO_Tab = 0 13784 SO_MenuItem = 0 13785 SO_Frame = 0 13786 SO_ProgressBar = 0 13787 SO_ToolBox = 0 13788 SO_Header = 0 13789 SO_DockWidget = 0 13790 SO_ViewItem = 0 13791 SO_TabWidgetFrame = 0 13792 SO_TabBarBase = 0 13793 SO_RubberBand = 0 13794 SO_ToolBar = 0 13795 SO_Complex = 0 13796 SO_Slider = 0 13797 SO_SpinBox = 0 13798 SO_ToolButton = 0 13799 SO_ComboBox = 0 13800 SO_TitleBar = 0 13801 SO_GroupBox = 0 13802 SO_ComplexCustomBase = 0 13803 SO_GraphicsItem = 0 13804 SO_SizeGrip = 0 13805 SO_CustomBase = 0 13806 13807 direction = None # Qt.LayoutDirection - member 13808 fontMetrics = None # QFontMetrics - member 13809 palette = None # QPalette - member 13810 rect = None # QRect - member 13811 state = None # QStyle.State - member 13812 styleObject = None # QObject - member 13813 type = None # int - member 13814 version = None # int - member 13815 def __init__(self, version = None, type = None): 13816 '''void QStyleOption.__init__(int version = QStyleOption.Version, int type = QStyleOption.SO_Default)''' 13817 def __init__(self, other): 13818 '''void QStyleOption.__init__(QStyleOption other)''' 13819 def initFrom(self, w): 13820 '''void QStyleOption.initFrom(QWidget w)''' 13821 13822 13823 class QStyleOptionFocusRect(QStyleOption): 13824 """""" 13825 # Enum QStyleOptionFocusRect.StyleOptionVersion 13826 Version = 0 13827 13828 # Enum QStyleOptionFocusRect.StyleOptionType 13829 Type = 0 13830 13831 backgroundColor = None # QColor - member 13832 def __init__(self): 13833 '''void QStyleOptionFocusRect.__init__()''' 13834 def __init__(self, other): 13835 '''void QStyleOptionFocusRect.__init__(QStyleOptionFocusRect other)''' 13836 13837 13838 class QStyleOptionFrame(QStyleOption): 13839 """""" 13840 # Enum QStyleOptionFrame.FrameFeature 13841 __kdevpythondocumentation_builtin_None = 0 13842 Flat = 0 13843 Rounded = 0 13844 13845 # Enum QStyleOptionFrame.StyleOptionVersion 13846 Version = 0 13847 13848 # Enum QStyleOptionFrame.StyleOptionType 13849 Type = 0 13850 13851 features = None # QStyleOptionFrame.FrameFeatures - member 13852 frameShape = None # QFrame.Shape - member 13853 lineWidth = None # int - member 13854 midLineWidth = None # int - member 13855 def __init__(self): 13856 '''void QStyleOptionFrame.__init__()''' 13857 def __init__(self, other): 13858 '''void QStyleOptionFrame.__init__(QStyleOptionFrame other)''' 13859 class FrameFeatures(): 13860 """""" 13861 def __init__(self): 13862 '''QStyleOptionFrame.FrameFeatures QStyleOptionFrame.FrameFeatures.__init__()''' 13863 return QStyleOptionFrame.FrameFeatures() 13864 def __init__(self): 13865 '''int QStyleOptionFrame.FrameFeatures.__init__()''' 13866 return int() 13867 def __init__(self): 13868 '''void QStyleOptionFrame.FrameFeatures.__init__()''' 13869 def __bool__(self): 13870 '''int QStyleOptionFrame.FrameFeatures.__bool__()''' 13871 return int() 13872 def __ne__(self, f): 13873 '''bool QStyleOptionFrame.FrameFeatures.__ne__(QStyleOptionFrame.FrameFeatures f)''' 13874 return bool() 13875 def __eq__(self, f): 13876 '''bool QStyleOptionFrame.FrameFeatures.__eq__(QStyleOptionFrame.FrameFeatures f)''' 13877 return bool() 13878 def __invert__(self): 13879 '''QStyleOptionFrame.FrameFeatures QStyleOptionFrame.FrameFeatures.__invert__()''' 13880 return QStyleOptionFrame.FrameFeatures() 13881 def __and__(self, mask): 13882 '''QStyleOptionFrame.FrameFeatures QStyleOptionFrame.FrameFeatures.__and__(int mask)''' 13883 return QStyleOptionFrame.FrameFeatures() 13884 def __xor__(self, f): 13885 '''QStyleOptionFrame.FrameFeatures QStyleOptionFrame.FrameFeatures.__xor__(QStyleOptionFrame.FrameFeatures f)''' 13886 return QStyleOptionFrame.FrameFeatures() 13887 def __xor__(self, f): 13888 '''QStyleOptionFrame.FrameFeatures QStyleOptionFrame.FrameFeatures.__xor__(int f)''' 13889 return QStyleOptionFrame.FrameFeatures() 13890 def __or__(self, f): 13891 '''QStyleOptionFrame.FrameFeatures QStyleOptionFrame.FrameFeatures.__or__(QStyleOptionFrame.FrameFeatures f)''' 13892 return QStyleOptionFrame.FrameFeatures() 13893 def __or__(self, f): 13894 '''QStyleOptionFrame.FrameFeatures QStyleOptionFrame.FrameFeatures.__or__(int f)''' 13895 return QStyleOptionFrame.FrameFeatures() 13896 def __int__(self): 13897 '''int QStyleOptionFrame.FrameFeatures.__int__()''' 13898 return int() 13899 def __ixor__(self, f): 13900 '''QStyleOptionFrame.FrameFeatures QStyleOptionFrame.FrameFeatures.__ixor__(QStyleOptionFrame.FrameFeatures f)''' 13901 return QStyleOptionFrame.FrameFeatures() 13902 def __ior__(self, f): 13903 '''QStyleOptionFrame.FrameFeatures QStyleOptionFrame.FrameFeatures.__ior__(QStyleOptionFrame.FrameFeatures f)''' 13904 return QStyleOptionFrame.FrameFeatures() 13905 def __iand__(self, mask): 13906 '''QStyleOptionFrame.FrameFeatures QStyleOptionFrame.FrameFeatures.__iand__(int mask)''' 13907 return QStyleOptionFrame.FrameFeatures() 13908 13909 13910 class QStyleOptionTabWidgetFrame(QStyleOption): 13911 """""" 13912 # Enum QStyleOptionTabWidgetFrame.StyleOptionVersion 13913 Version = 0 13914 13915 # Enum QStyleOptionTabWidgetFrame.StyleOptionType 13916 Type = 0 13917 13918 leftCornerWidgetSize = None # QSize - member 13919 lineWidth = None # int - member 13920 midLineWidth = None # int - member 13921 rightCornerWidgetSize = None # QSize - member 13922 selectedTabRect = None # QRect - member 13923 shape = None # QTabBar.Shape - member 13924 tabBarRect = None # QRect - member 13925 tabBarSize = None # QSize - member 13926 def __init__(self): 13927 '''void QStyleOptionTabWidgetFrame.__init__()''' 13928 def __init__(self, other): 13929 '''void QStyleOptionTabWidgetFrame.__init__(QStyleOptionTabWidgetFrame other)''' 13930 13931 13932 class QStyleOptionTabBarBase(QStyleOption): 13933 """""" 13934 # Enum QStyleOptionTabBarBase.StyleOptionVersion 13935 Version = 0 13936 13937 # Enum QStyleOptionTabBarBase.StyleOptionType 13938 Type = 0 13939 13940 documentMode = None # bool - member 13941 selectedTabRect = None # QRect - member 13942 shape = None # QTabBar.Shape - member 13943 tabBarRect = None # QRect - member 13944 def __init__(self): 13945 '''void QStyleOptionTabBarBase.__init__()''' 13946 def __init__(self, other): 13947 '''void QStyleOptionTabBarBase.__init__(QStyleOptionTabBarBase other)''' 13948 13949 13950 class QStyleOptionHeader(QStyleOption): 13951 """""" 13952 # Enum QStyleOptionHeader.SortIndicator 13953 __kdevpythondocumentation_builtin_None = 0 13954 SortUp = 0 13955 SortDown = 0 13956 13957 # Enum QStyleOptionHeader.SelectedPosition 13958 NotAdjacent = 0 13959 NextIsSelected = 0 13960 PreviousIsSelected = 0 13961 NextAndPreviousAreSelected = 0 13962 13963 # Enum QStyleOptionHeader.SectionPosition 13964 Beginning = 0 13965 Middle = 0 13966 End = 0 13967 OnlyOneSection = 0 13968 13969 # Enum QStyleOptionHeader.StyleOptionVersion 13970 Version = 0 13971 13972 # Enum QStyleOptionHeader.StyleOptionType 13973 Type = 0 13974 13975 icon = None # QIcon - member 13976 iconAlignment = None # Qt.Alignment - member 13977 orientation = None # Qt.Orientation - member 13978 position = None # QStyleOptionHeader.SectionPosition - member 13979 section = None # int - member 13980 selectedPosition = None # QStyleOptionHeader.SelectedPosition - member 13981 sortIndicator = None # QStyleOptionHeader.SortIndicator - member 13982 text = None # str - member 13983 textAlignment = None # Qt.Alignment - member 13984 def __init__(self): 13985 '''void QStyleOptionHeader.__init__()''' 13986 def __init__(self, other): 13987 '''void QStyleOptionHeader.__init__(QStyleOptionHeader other)''' 13988 13989 13990 class QStyleOptionButton(QStyleOption): 13991 """""" 13992 # Enum QStyleOptionButton.ButtonFeature 13993 __kdevpythondocumentation_builtin_None = 0 13994 Flat = 0 13995 HasMenu = 0 13996 DefaultButton = 0 13997 AutoDefaultButton = 0 13998 CommandLinkButton = 0 13999 14000 # Enum QStyleOptionButton.StyleOptionVersion 14001 Version = 0 14002 14003 # Enum QStyleOptionButton.StyleOptionType 14004 Type = 0 14005 14006 features = None # QStyleOptionButton.ButtonFeatures - member 14007 icon = None # QIcon - member 14008 iconSize = None # QSize - member 14009 text = None # str - member 14010 def __init__(self): 14011 '''void QStyleOptionButton.__init__()''' 14012 def __init__(self, other): 14013 '''void QStyleOptionButton.__init__(QStyleOptionButton other)''' 14014 class ButtonFeatures(): 14015 """""" 14016 def __init__(self): 14017 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__init__()''' 14018 return QStyleOptionButton.ButtonFeatures() 14019 def __init__(self): 14020 '''int QStyleOptionButton.ButtonFeatures.__init__()''' 14021 return int() 14022 def __init__(self): 14023 '''void QStyleOptionButton.ButtonFeatures.__init__()''' 14024 def __bool__(self): 14025 '''int QStyleOptionButton.ButtonFeatures.__bool__()''' 14026 return int() 14027 def __ne__(self, f): 14028 '''bool QStyleOptionButton.ButtonFeatures.__ne__(QStyleOptionButton.ButtonFeatures f)''' 14029 return bool() 14030 def __eq__(self, f): 14031 '''bool QStyleOptionButton.ButtonFeatures.__eq__(QStyleOptionButton.ButtonFeatures f)''' 14032 return bool() 14033 def __invert__(self): 14034 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__invert__()''' 14035 return QStyleOptionButton.ButtonFeatures() 14036 def __and__(self, mask): 14037 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__and__(int mask)''' 14038 return QStyleOptionButton.ButtonFeatures() 14039 def __xor__(self, f): 14040 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__xor__(QStyleOptionButton.ButtonFeatures f)''' 14041 return QStyleOptionButton.ButtonFeatures() 14042 def __xor__(self, f): 14043 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__xor__(int f)''' 14044 return QStyleOptionButton.ButtonFeatures() 14045 def __or__(self, f): 14046 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__or__(QStyleOptionButton.ButtonFeatures f)''' 14047 return QStyleOptionButton.ButtonFeatures() 14048 def __or__(self, f): 14049 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__or__(int f)''' 14050 return QStyleOptionButton.ButtonFeatures() 14051 def __int__(self): 14052 '''int QStyleOptionButton.ButtonFeatures.__int__()''' 14053 return int() 14054 def __ixor__(self, f): 14055 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__ixor__(QStyleOptionButton.ButtonFeatures f)''' 14056 return QStyleOptionButton.ButtonFeatures() 14057 def __ior__(self, f): 14058 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__ior__(QStyleOptionButton.ButtonFeatures f)''' 14059 return QStyleOptionButton.ButtonFeatures() 14060 def __iand__(self, mask): 14061 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__iand__(int mask)''' 14062 return QStyleOptionButton.ButtonFeatures() 14063 14064 14065 class QStyleOptionTab(QStyleOption): 14066 """""" 14067 # Enum QStyleOptionTab.TabFeature 14068 __kdevpythondocumentation_builtin_None = 0 14069 HasFrame = 0 14070 14071 # Enum QStyleOptionTab.CornerWidget 14072 NoCornerWidgets = 0 14073 LeftCornerWidget = 0 14074 RightCornerWidget = 0 14075 14076 # Enum QStyleOptionTab.SelectedPosition 14077 NotAdjacent = 0 14078 NextIsSelected = 0 14079 PreviousIsSelected = 0 14080 14081 # Enum QStyleOptionTab.TabPosition 14082 Beginning = 0 14083 Middle = 0 14084 End = 0 14085 OnlyOneTab = 0 14086 14087 # Enum QStyleOptionTab.StyleOptionVersion 14088 Version = 0 14089 14090 # Enum QStyleOptionTab.StyleOptionType 14091 Type = 0 14092 14093 cornerWidgets = None # QStyleOptionTab.CornerWidgets - member 14094 documentMode = None # bool - member 14095 features = None # QStyleOptionTab.TabFeatures - member 14096 icon = None # QIcon - member 14097 iconSize = None # QSize - member 14098 leftButtonSize = None # QSize - member 14099 position = None # QStyleOptionTab.TabPosition - member 14100 rightButtonSize = None # QSize - member 14101 row = None # int - member 14102 selectedPosition = None # QStyleOptionTab.SelectedPosition - member 14103 shape = None # QTabBar.Shape - member 14104 text = None # str - member 14105 def __init__(self): 14106 '''void QStyleOptionTab.__init__()''' 14107 def __init__(self, other): 14108 '''void QStyleOptionTab.__init__(QStyleOptionTab other)''' 14109 class CornerWidgets(): 14110 """""" 14111 def __init__(self): 14112 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__init__()''' 14113 return QStyleOptionTab.CornerWidgets() 14114 def __init__(self): 14115 '''int QStyleOptionTab.CornerWidgets.__init__()''' 14116 return int() 14117 def __init__(self): 14118 '''void QStyleOptionTab.CornerWidgets.__init__()''' 14119 def __bool__(self): 14120 '''int QStyleOptionTab.CornerWidgets.__bool__()''' 14121 return int() 14122 def __ne__(self, f): 14123 '''bool QStyleOptionTab.CornerWidgets.__ne__(QStyleOptionTab.CornerWidgets f)''' 14124 return bool() 14125 def __eq__(self, f): 14126 '''bool QStyleOptionTab.CornerWidgets.__eq__(QStyleOptionTab.CornerWidgets f)''' 14127 return bool() 14128 def __invert__(self): 14129 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__invert__()''' 14130 return QStyleOptionTab.CornerWidgets() 14131 def __and__(self, mask): 14132 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__and__(int mask)''' 14133 return QStyleOptionTab.CornerWidgets() 14134 def __xor__(self, f): 14135 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__xor__(QStyleOptionTab.CornerWidgets f)''' 14136 return QStyleOptionTab.CornerWidgets() 14137 def __xor__(self, f): 14138 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__xor__(int f)''' 14139 return QStyleOptionTab.CornerWidgets() 14140 def __or__(self, f): 14141 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__or__(QStyleOptionTab.CornerWidgets f)''' 14142 return QStyleOptionTab.CornerWidgets() 14143 def __or__(self, f): 14144 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__or__(int f)''' 14145 return QStyleOptionTab.CornerWidgets() 14146 def __int__(self): 14147 '''int QStyleOptionTab.CornerWidgets.__int__()''' 14148 return int() 14149 def __ixor__(self, f): 14150 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__ixor__(QStyleOptionTab.CornerWidgets f)''' 14151 return QStyleOptionTab.CornerWidgets() 14152 def __ior__(self, f): 14153 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__ior__(QStyleOptionTab.CornerWidgets f)''' 14154 return QStyleOptionTab.CornerWidgets() 14155 def __iand__(self, mask): 14156 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__iand__(int mask)''' 14157 return QStyleOptionTab.CornerWidgets() 14158 class TabFeatures(): 14159 """""" 14160 def __init__(self): 14161 '''QStyleOptionTab.TabFeatures QStyleOptionTab.TabFeatures.__init__()''' 14162 return QStyleOptionTab.TabFeatures() 14163 def __init__(self): 14164 '''int QStyleOptionTab.TabFeatures.__init__()''' 14165 return int() 14166 def __init__(self): 14167 '''void QStyleOptionTab.TabFeatures.__init__()''' 14168 def __bool__(self): 14169 '''int QStyleOptionTab.TabFeatures.__bool__()''' 14170 return int() 14171 def __ne__(self, f): 14172 '''bool QStyleOptionTab.TabFeatures.__ne__(QStyleOptionTab.TabFeatures f)''' 14173 return bool() 14174 def __eq__(self, f): 14175 '''bool QStyleOptionTab.TabFeatures.__eq__(QStyleOptionTab.TabFeatures f)''' 14176 return bool() 14177 def __invert__(self): 14178 '''QStyleOptionTab.TabFeatures QStyleOptionTab.TabFeatures.__invert__()''' 14179 return QStyleOptionTab.TabFeatures() 14180 def __and__(self, mask): 14181 '''QStyleOptionTab.TabFeatures QStyleOptionTab.TabFeatures.__and__(int mask)''' 14182 return QStyleOptionTab.TabFeatures() 14183 def __xor__(self, f): 14184 '''QStyleOptionTab.TabFeatures QStyleOptionTab.TabFeatures.__xor__(QStyleOptionTab.TabFeatures f)''' 14185 return QStyleOptionTab.TabFeatures() 14186 def __xor__(self, f): 14187 '''QStyleOptionTab.TabFeatures QStyleOptionTab.TabFeatures.__xor__(int f)''' 14188 return QStyleOptionTab.TabFeatures() 14189 def __or__(self, f): 14190 '''QStyleOptionTab.TabFeatures QStyleOptionTab.TabFeatures.__or__(QStyleOptionTab.TabFeatures f)''' 14191 return QStyleOptionTab.TabFeatures() 14192 def __or__(self, f): 14193 '''QStyleOptionTab.TabFeatures QStyleOptionTab.TabFeatures.__or__(int f)''' 14194 return QStyleOptionTab.TabFeatures() 14195 def __int__(self): 14196 '''int QStyleOptionTab.TabFeatures.__int__()''' 14197 return int() 14198 def __ixor__(self, f): 14199 '''QStyleOptionTab.TabFeatures QStyleOptionTab.TabFeatures.__ixor__(QStyleOptionTab.TabFeatures f)''' 14200 return QStyleOptionTab.TabFeatures() 14201 def __ior__(self, f): 14202 '''QStyleOptionTab.TabFeatures QStyleOptionTab.TabFeatures.__ior__(QStyleOptionTab.TabFeatures f)''' 14203 return QStyleOptionTab.TabFeatures() 14204 def __iand__(self, mask): 14205 '''QStyleOptionTab.TabFeatures QStyleOptionTab.TabFeatures.__iand__(int mask)''' 14206 return QStyleOptionTab.TabFeatures() 14207 14208 14209 class QStyleOptionProgressBar(QStyleOption): 14210 """""" 14211 # Enum QStyleOptionProgressBar.StyleOptionVersion 14212 Version = 0 14213 14214 # Enum QStyleOptionProgressBar.StyleOptionType 14215 Type = 0 14216 14217 bottomToTop = None # bool - member 14218 invertedAppearance = None # bool - member 14219 maximum = None # int - member 14220 minimum = None # int - member 14221 orientation = None # Qt.Orientation - member 14222 progress = None # int - member 14223 text = None # str - member 14224 textAlignment = None # Qt.Alignment - member 14225 textVisible = None # bool - member 14226 def __init__(self): 14227 '''void QStyleOptionProgressBar.__init__()''' 14228 def __init__(self, other): 14229 '''void QStyleOptionProgressBar.__init__(QStyleOptionProgressBar other)''' 14230 14231 14232 class QStyleOptionMenuItem(QStyleOption): 14233 """""" 14234 # Enum QStyleOptionMenuItem.CheckType 14235 NotCheckable = 0 14236 Exclusive = 0 14237 NonExclusive = 0 14238 14239 # Enum QStyleOptionMenuItem.MenuItemType 14240 Normal = 0 14241 DefaultItem = 0 14242 Separator = 0 14243 SubMenu = 0 14244 Scroller = 0 14245 TearOff = 0 14246 Margin = 0 14247 EmptyArea = 0 14248 14249 # Enum QStyleOptionMenuItem.StyleOptionVersion 14250 Version = 0 14251 14252 # Enum QStyleOptionMenuItem.StyleOptionType 14253 Type = 0 14254 14255 checkType = None # QStyleOptionMenuItem.CheckType - member 14256 checked = None # bool - member 14257 font = None # QFont - member 14258 icon = None # QIcon - member 14259 maxIconWidth = None # int - member 14260 menuHasCheckableItems = None # bool - member 14261 menuItemType = None # QStyleOptionMenuItem.MenuItemType - member 14262 menuRect = None # QRect - member 14263 tabWidth = None # int - member 14264 text = None # str - member 14265 def __init__(self): 14266 '''void QStyleOptionMenuItem.__init__()''' 14267 def __init__(self, other): 14268 '''void QStyleOptionMenuItem.__init__(QStyleOptionMenuItem other)''' 14269 14270 14271 class QStyleOptionDockWidget(QStyleOption): 14272 """""" 14273 # Enum QStyleOptionDockWidget.StyleOptionVersion 14274 Version = 0 14275 14276 # Enum QStyleOptionDockWidget.StyleOptionType 14277 Type = 0 14278 14279 closable = None # bool - member 14280 floatable = None # bool - member 14281 movable = None # bool - member 14282 title = None # str - member 14283 verticalTitleBar = None # bool - member 14284 def __init__(self): 14285 '''void QStyleOptionDockWidget.__init__()''' 14286 def __init__(self, other): 14287 '''void QStyleOptionDockWidget.__init__(QStyleOptionDockWidget other)''' 14288 14289 14290 class QStyleOptionViewItem(QStyleOption): 14291 """""" 14292 # Enum QStyleOptionViewItem.ViewItemPosition 14293 Invalid = 0 14294 Beginning = 0 14295 Middle = 0 14296 End = 0 14297 OnlyOne = 0 14298 14299 # Enum QStyleOptionViewItem.ViewItemFeature 14300 __kdevpythondocumentation_builtin_None = 0 14301 WrapText = 0 14302 Alternate = 0 14303 HasCheckIndicator = 0 14304 HasDisplay = 0 14305 HasDecoration = 0 14306 14307 # Enum QStyleOptionViewItem.Position 14308 Left = 0 14309 Right = 0 14310 Top = 0 14311 Bottom = 0 14312 14313 # Enum QStyleOptionViewItem.StyleOptionVersion 14314 Version = 0 14315 14316 # Enum QStyleOptionViewItem.StyleOptionType 14317 Type = 0 14318 14319 backgroundBrush = None # QBrush - member 14320 checkState = None # Qt.CheckState - member 14321 decorationAlignment = None # Qt.Alignment - member 14322 decorationPosition = None # QStyleOptionViewItem.Position - member 14323 decorationSize = None # QSize - member 14324 displayAlignment = None # Qt.Alignment - member 14325 features = None # QStyleOptionViewItem.ViewItemFeatures - member 14326 font = None # QFont - member 14327 icon = None # QIcon - member 14328 index = None # QModelIndex - member 14329 locale = None # QLocale - member 14330 showDecorationSelected = None # bool - member 14331 text = None # str - member 14332 textElideMode = None # Qt.TextElideMode - member 14333 viewItemPosition = None # QStyleOptionViewItem.ViewItemPosition - member 14334 widget = None # QWidget - member 14335 def __init__(self): 14336 '''void QStyleOptionViewItem.__init__()''' 14337 def __init__(self, other): 14338 '''void QStyleOptionViewItem.__init__(QStyleOptionViewItem other)''' 14339 class ViewItemFeatures(): 14340 """""" 14341 def __init__(self): 14342 '''QStyleOptionViewItem.ViewItemFeatures QStyleOptionViewItem.ViewItemFeatures.__init__()''' 14343 return QStyleOptionViewItem.ViewItemFeatures() 14344 def __init__(self): 14345 '''int QStyleOptionViewItem.ViewItemFeatures.__init__()''' 14346 return int() 14347 def __init__(self): 14348 '''void QStyleOptionViewItem.ViewItemFeatures.__init__()''' 14349 def __bool__(self): 14350 '''int QStyleOptionViewItem.ViewItemFeatures.__bool__()''' 14351 return int() 14352 def __ne__(self, f): 14353 '''bool QStyleOptionViewItem.ViewItemFeatures.__ne__(QStyleOptionViewItem.ViewItemFeatures f)''' 14354 return bool() 14355 def __eq__(self, f): 14356 '''bool QStyleOptionViewItem.ViewItemFeatures.__eq__(QStyleOptionViewItem.ViewItemFeatures f)''' 14357 return bool() 14358 def __invert__(self): 14359 '''QStyleOptionViewItem.ViewItemFeatures QStyleOptionViewItem.ViewItemFeatures.__invert__()''' 14360 return QStyleOptionViewItem.ViewItemFeatures() 14361 def __and__(self, mask): 14362 '''QStyleOptionViewItem.ViewItemFeatures QStyleOptionViewItem.ViewItemFeatures.__and__(int mask)''' 14363 return QStyleOptionViewItem.ViewItemFeatures() 14364 def __xor__(self, f): 14365 '''QStyleOptionViewItem.ViewItemFeatures QStyleOptionViewItem.ViewItemFeatures.__xor__(QStyleOptionViewItem.ViewItemFeatures f)''' 14366 return QStyleOptionViewItem.ViewItemFeatures() 14367 def __xor__(self, f): 14368 '''QStyleOptionViewItem.ViewItemFeatures QStyleOptionViewItem.ViewItemFeatures.__xor__(int f)''' 14369 return QStyleOptionViewItem.ViewItemFeatures() 14370 def __or__(self, f): 14371 '''QStyleOptionViewItem.ViewItemFeatures QStyleOptionViewItem.ViewItemFeatures.__or__(QStyleOptionViewItem.ViewItemFeatures f)''' 14372 return QStyleOptionViewItem.ViewItemFeatures() 14373 def __or__(self, f): 14374 '''QStyleOptionViewItem.ViewItemFeatures QStyleOptionViewItem.ViewItemFeatures.__or__(int f)''' 14375 return QStyleOptionViewItem.ViewItemFeatures() 14376 def __int__(self): 14377 '''int QStyleOptionViewItem.ViewItemFeatures.__int__()''' 14378 return int() 14379 def __ixor__(self, f): 14380 '''QStyleOptionViewItem.ViewItemFeatures QStyleOptionViewItem.ViewItemFeatures.__ixor__(QStyleOptionViewItem.ViewItemFeatures f)''' 14381 return QStyleOptionViewItem.ViewItemFeatures() 14382 def __ior__(self, f): 14383 '''QStyleOptionViewItem.ViewItemFeatures QStyleOptionViewItem.ViewItemFeatures.__ior__(QStyleOptionViewItem.ViewItemFeatures f)''' 14384 return QStyleOptionViewItem.ViewItemFeatures() 14385 def __iand__(self, mask): 14386 '''QStyleOptionViewItem.ViewItemFeatures QStyleOptionViewItem.ViewItemFeatures.__iand__(int mask)''' 14387 return QStyleOptionViewItem.ViewItemFeatures() 14388 14389 14390 class QStyleOptionToolBox(QStyleOption): 14391 """""" 14392 # Enum QStyleOptionToolBox.SelectedPosition 14393 NotAdjacent = 0 14394 NextIsSelected = 0 14395 PreviousIsSelected = 0 14396 14397 # Enum QStyleOptionToolBox.TabPosition 14398 Beginning = 0 14399 Middle = 0 14400 End = 0 14401 OnlyOneTab = 0 14402 14403 # Enum QStyleOptionToolBox.StyleOptionVersion 14404 Version = 0 14405 14406 # Enum QStyleOptionToolBox.StyleOptionType 14407 Type = 0 14408 14409 icon = None # QIcon - member 14410 position = None # QStyleOptionToolBox.TabPosition - member 14411 selectedPosition = None # QStyleOptionToolBox.SelectedPosition - member 14412 text = None # str - member 14413 def __init__(self): 14414 '''void QStyleOptionToolBox.__init__()''' 14415 def __init__(self, other): 14416 '''void QStyleOptionToolBox.__init__(QStyleOptionToolBox other)''' 14417 14418 14419 class QStyleOptionRubberBand(QStyleOption): 14420 """""" 14421 # Enum QStyleOptionRubberBand.StyleOptionVersion 14422 Version = 0 14423 14424 # Enum QStyleOptionRubberBand.StyleOptionType 14425 Type = 0 14426 14427 opaque = None # bool - member 14428 shape = None # QRubberBand.Shape - member 14429 def __init__(self): 14430 '''void QStyleOptionRubberBand.__init__()''' 14431 def __init__(self, other): 14432 '''void QStyleOptionRubberBand.__init__(QStyleOptionRubberBand other)''' 14433 14434 14435 class QStyleOptionComplex(QStyleOption): 14436 """""" 14437 # Enum QStyleOptionComplex.StyleOptionVersion 14438 Version = 0 14439 14440 # Enum QStyleOptionComplex.StyleOptionType 14441 Type = 0 14442 14443 activeSubControls = None # QStyle.SubControls - member 14444 subControls = None # QStyle.SubControls - member 14445 def __init__(self, version = None, type = None): 14446 '''void QStyleOptionComplex.__init__(int version = QStyleOptionComplex.Version, int type = QStyleOption.SO_Complex)''' 14447 def __init__(self, other): 14448 '''void QStyleOptionComplex.__init__(QStyleOptionComplex other)''' 14449 14450 14451 class QStyleOptionSlider(QStyleOptionComplex): 14452 """""" 14453 # Enum QStyleOptionSlider.StyleOptionVersion 14454 Version = 0 14455 14456 # Enum QStyleOptionSlider.StyleOptionType 14457 Type = 0 14458 14459 dialWrapping = None # bool - member 14460 maximum = None # int - member 14461 minimum = None # int - member 14462 notchTarget = None # float - member 14463 orientation = None # Qt.Orientation - member 14464 pageStep = None # int - member 14465 singleStep = None # int - member 14466 sliderPosition = None # int - member 14467 sliderValue = None # int - member 14468 tickInterval = None # int - member 14469 tickPosition = None # QSlider.TickPosition - member 14470 upsideDown = None # bool - member 14471 def __init__(self): 14472 '''void QStyleOptionSlider.__init__()''' 14473 def __init__(self, other): 14474 '''void QStyleOptionSlider.__init__(QStyleOptionSlider other)''' 14475 14476 14477 class QStyleOptionSpinBox(QStyleOptionComplex): 14478 """""" 14479 # Enum QStyleOptionSpinBox.StyleOptionVersion 14480 Version = 0 14481 14482 # Enum QStyleOptionSpinBox.StyleOptionType 14483 Type = 0 14484 14485 buttonSymbols = None # QAbstractSpinBox.ButtonSymbols - member 14486 frame = None # bool - member 14487 stepEnabled = None # QAbstractSpinBox.StepEnabled - member 14488 def __init__(self): 14489 '''void QStyleOptionSpinBox.__init__()''' 14490 def __init__(self, other): 14491 '''void QStyleOptionSpinBox.__init__(QStyleOptionSpinBox other)''' 14492 14493 14494 class QStyleOptionToolButton(QStyleOptionComplex): 14495 """""" 14496 # Enum QStyleOptionToolButton.ToolButtonFeature 14497 __kdevpythondocumentation_builtin_None = 0 14498 Arrow = 0 14499 Menu = 0 14500 PopupDelay = 0 14501 MenuButtonPopup = 0 14502 HasMenu = 0 14503 14504 # Enum QStyleOptionToolButton.StyleOptionVersion 14505 Version = 0 14506 14507 # Enum QStyleOptionToolButton.StyleOptionType 14508 Type = 0 14509 14510 arrowType = None # Qt.ArrowType - member 14511 features = None # QStyleOptionToolButton.ToolButtonFeatures - member 14512 font = None # QFont - member 14513 icon = None # QIcon - member 14514 iconSize = None # QSize - member 14515 pos = None # QPoint - member 14516 text = None # str - member 14517 toolButtonStyle = None # Qt.ToolButtonStyle - member 14518 def __init__(self): 14519 '''void QStyleOptionToolButton.__init__()''' 14520 def __init__(self, other): 14521 '''void QStyleOptionToolButton.__init__(QStyleOptionToolButton other)''' 14522 class ToolButtonFeatures(): 14523 """""" 14524 def __init__(self): 14525 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__init__()''' 14526 return QStyleOptionToolButton.ToolButtonFeatures() 14527 def __init__(self): 14528 '''int QStyleOptionToolButton.ToolButtonFeatures.__init__()''' 14529 return int() 14530 def __init__(self): 14531 '''void QStyleOptionToolButton.ToolButtonFeatures.__init__()''' 14532 def __bool__(self): 14533 '''int QStyleOptionToolButton.ToolButtonFeatures.__bool__()''' 14534 return int() 14535 def __ne__(self, f): 14536 '''bool QStyleOptionToolButton.ToolButtonFeatures.__ne__(QStyleOptionToolButton.ToolButtonFeatures f)''' 14537 return bool() 14538 def __eq__(self, f): 14539 '''bool QStyleOptionToolButton.ToolButtonFeatures.__eq__(QStyleOptionToolButton.ToolButtonFeatures f)''' 14540 return bool() 14541 def __invert__(self): 14542 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__invert__()''' 14543 return QStyleOptionToolButton.ToolButtonFeatures() 14544 def __and__(self, mask): 14545 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__and__(int mask)''' 14546 return QStyleOptionToolButton.ToolButtonFeatures() 14547 def __xor__(self, f): 14548 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__xor__(QStyleOptionToolButton.ToolButtonFeatures f)''' 14549 return QStyleOptionToolButton.ToolButtonFeatures() 14550 def __xor__(self, f): 14551 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__xor__(int f)''' 14552 return QStyleOptionToolButton.ToolButtonFeatures() 14553 def __or__(self, f): 14554 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__or__(QStyleOptionToolButton.ToolButtonFeatures f)''' 14555 return QStyleOptionToolButton.ToolButtonFeatures() 14556 def __or__(self, f): 14557 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__or__(int f)''' 14558 return QStyleOptionToolButton.ToolButtonFeatures() 14559 def __int__(self): 14560 '''int QStyleOptionToolButton.ToolButtonFeatures.__int__()''' 14561 return int() 14562 def __ixor__(self, f): 14563 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__ixor__(QStyleOptionToolButton.ToolButtonFeatures f)''' 14564 return QStyleOptionToolButton.ToolButtonFeatures() 14565 def __ior__(self, f): 14566 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__ior__(QStyleOptionToolButton.ToolButtonFeatures f)''' 14567 return QStyleOptionToolButton.ToolButtonFeatures() 14568 def __iand__(self, mask): 14569 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__iand__(int mask)''' 14570 return QStyleOptionToolButton.ToolButtonFeatures() 14571 14572 14573 class QStyleOptionComboBox(QStyleOptionComplex): 14574 """""" 14575 # Enum QStyleOptionComboBox.StyleOptionVersion 14576 Version = 0 14577 14578 # Enum QStyleOptionComboBox.StyleOptionType 14579 Type = 0 14580 14581 currentIcon = None # QIcon - member 14582 currentText = None # str - member 14583 editable = None # bool - member 14584 frame = None # bool - member 14585 iconSize = None # QSize - member 14586 popupRect = None # QRect - member 14587 def __init__(self): 14588 '''void QStyleOptionComboBox.__init__()''' 14589 def __init__(self, other): 14590 '''void QStyleOptionComboBox.__init__(QStyleOptionComboBox other)''' 14591 14592 14593 class QStyleOptionTitleBar(QStyleOptionComplex): 14594 """""" 14595 # Enum QStyleOptionTitleBar.StyleOptionVersion 14596 Version = 0 14597 14598 # Enum QStyleOptionTitleBar.StyleOptionType 14599 Type = 0 14600 14601 icon = None # QIcon - member 14602 text = None # str - member 14603 titleBarFlags = None # Qt.WindowFlags - member 14604 titleBarState = None # int - member 14605 def __init__(self): 14606 '''void QStyleOptionTitleBar.__init__()''' 14607 def __init__(self, other): 14608 '''void QStyleOptionTitleBar.__init__(QStyleOptionTitleBar other)''' 14609 14610 14611 class QStyleHintReturn(): 14612 """""" 14613 # Enum QStyleHintReturn.StyleOptionVersion 14614 Version = 0 14615 14616 # Enum QStyleHintReturn.StyleOptionType 14617 Type = 0 14618 14619 # Enum QStyleHintReturn.HintReturnType 14620 SH_Default = 0 14621 SH_Mask = 0 14622 SH_Variant = 0 14623 14624 type = None # int - member 14625 version = None # int - member 14626 def __init__(self, version = None, type = None): 14627 '''void QStyleHintReturn.__init__(int version = QStyleOption.Version, int type = QStyleHintReturn.SH_Default)''' 14628 def __init__(self): 14629 '''QStyleHintReturn QStyleHintReturn.__init__()''' 14630 return QStyleHintReturn() 14631 14632 14633 class QStyleHintReturnMask(QStyleHintReturn): 14634 """""" 14635 # Enum QStyleHintReturnMask.StyleOptionVersion 14636 Version = 0 14637 14638 # Enum QStyleHintReturnMask.StyleOptionType 14639 Type = 0 14640 14641 region = None # QRegion - member 14642 def __init__(self): 14643 '''void QStyleHintReturnMask.__init__()''' 14644 def __init__(self): 14645 '''QStyleHintReturnMask QStyleHintReturnMask.__init__()''' 14646 return QStyleHintReturnMask() 14647 14648 14649 class QStyleOptionToolBar(QStyleOption): 14650 """""" 14651 # Enum QStyleOptionToolBar.ToolBarFeature 14652 __kdevpythondocumentation_builtin_None = 0 14653 Movable = 0 14654 14655 # Enum QStyleOptionToolBar.ToolBarPosition 14656 Beginning = 0 14657 Middle = 0 14658 End = 0 14659 OnlyOne = 0 14660 14661 # Enum QStyleOptionToolBar.StyleOptionVersion 14662 Version = 0 14663 14664 # Enum QStyleOptionToolBar.StyleOptionType 14665 Type = 0 14666 14667 features = None # QStyleOptionToolBar.ToolBarFeatures - member 14668 lineWidth = None # int - member 14669 midLineWidth = None # int - member 14670 positionOfLine = None # QStyleOptionToolBar.ToolBarPosition - member 14671 positionWithinLine = None # QStyleOptionToolBar.ToolBarPosition - member 14672 toolBarArea = None # Qt.ToolBarArea - member 14673 def __init__(self): 14674 '''void QStyleOptionToolBar.__init__()''' 14675 def __init__(self, other): 14676 '''void QStyleOptionToolBar.__init__(QStyleOptionToolBar other)''' 14677 class ToolBarFeatures(): 14678 """""" 14679 def __init__(self): 14680 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__init__()''' 14681 return QStyleOptionToolBar.ToolBarFeatures() 14682 def __init__(self): 14683 '''int QStyleOptionToolBar.ToolBarFeatures.__init__()''' 14684 return int() 14685 def __init__(self): 14686 '''void QStyleOptionToolBar.ToolBarFeatures.__init__()''' 14687 def __bool__(self): 14688 '''int QStyleOptionToolBar.ToolBarFeatures.__bool__()''' 14689 return int() 14690 def __ne__(self, f): 14691 '''bool QStyleOptionToolBar.ToolBarFeatures.__ne__(QStyleOptionToolBar.ToolBarFeatures f)''' 14692 return bool() 14693 def __eq__(self, f): 14694 '''bool QStyleOptionToolBar.ToolBarFeatures.__eq__(QStyleOptionToolBar.ToolBarFeatures f)''' 14695 return bool() 14696 def __invert__(self): 14697 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__invert__()''' 14698 return QStyleOptionToolBar.ToolBarFeatures() 14699 def __and__(self, mask): 14700 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__and__(int mask)''' 14701 return QStyleOptionToolBar.ToolBarFeatures() 14702 def __xor__(self, f): 14703 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__xor__(QStyleOptionToolBar.ToolBarFeatures f)''' 14704 return QStyleOptionToolBar.ToolBarFeatures() 14705 def __xor__(self, f): 14706 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__xor__(int f)''' 14707 return QStyleOptionToolBar.ToolBarFeatures() 14708 def __or__(self, f): 14709 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__or__(QStyleOptionToolBar.ToolBarFeatures f)''' 14710 return QStyleOptionToolBar.ToolBarFeatures() 14711 def __or__(self, f): 14712 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__or__(int f)''' 14713 return QStyleOptionToolBar.ToolBarFeatures() 14714 def __int__(self): 14715 '''int QStyleOptionToolBar.ToolBarFeatures.__int__()''' 14716 return int() 14717 def __ixor__(self, f): 14718 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__ixor__(QStyleOptionToolBar.ToolBarFeatures f)''' 14719 return QStyleOptionToolBar.ToolBarFeatures() 14720 def __ior__(self, f): 14721 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__ior__(QStyleOptionToolBar.ToolBarFeatures f)''' 14722 return QStyleOptionToolBar.ToolBarFeatures() 14723 def __iand__(self, mask): 14724 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__iand__(int mask)''' 14725 return QStyleOptionToolBar.ToolBarFeatures() 14726 14727 14728 class QStyleOptionGroupBox(QStyleOptionComplex): 14729 """""" 14730 # Enum QStyleOptionGroupBox.StyleOptionVersion 14731 Version = 0 14732 14733 # Enum QStyleOptionGroupBox.StyleOptionType 14734 Type = 0 14735 14736 features = None # QStyleOptionFrame.FrameFeatures - member 14737 lineWidth = None # int - member 14738 midLineWidth = None # int - member 14739 text = None # str - member 14740 textAlignment = None # Qt.Alignment - member 14741 textColor = None # QColor - member 14742 def __init__(self): 14743 '''void QStyleOptionGroupBox.__init__()''' 14744 def __init__(self, other): 14745 '''void QStyleOptionGroupBox.__init__(QStyleOptionGroupBox other)''' 14746 14747 14748 class QStyleOptionSizeGrip(QStyleOptionComplex): 14749 """""" 14750 # Enum QStyleOptionSizeGrip.StyleOptionVersion 14751 Version = 0 14752 14753 # Enum QStyleOptionSizeGrip.StyleOptionType 14754 Type = 0 14755 14756 corner = None # Qt.Corner - member 14757 def __init__(self): 14758 '''void QStyleOptionSizeGrip.__init__()''' 14759 def __init__(self, other): 14760 '''void QStyleOptionSizeGrip.__init__(QStyleOptionSizeGrip other)''' 14761 14762 14763 class QStyleOptionGraphicsItem(QStyleOption): 14764 """""" 14765 # Enum QStyleOptionGraphicsItem.StyleOptionVersion 14766 Version = 0 14767 14768 # Enum QStyleOptionGraphicsItem.StyleOptionType 14769 Type = 0 14770 14771 exposedRect = None # QRectF - member 14772 def __init__(self): 14773 '''void QStyleOptionGraphicsItem.__init__()''' 14774 def __init__(self, other): 14775 '''void QStyleOptionGraphicsItem.__init__(QStyleOptionGraphicsItem other)''' 14776 def levelOfDetailFromTransform(self, worldTransform): 14777 '''static float QStyleOptionGraphicsItem.levelOfDetailFromTransform(QTransform worldTransform)''' 14778 return float() 14779 14780 14781 class QStyleHintReturnVariant(QStyleHintReturn): 14782 """""" 14783 # Enum QStyleHintReturnVariant.StyleOptionVersion 14784 Version = 0 14785 14786 # Enum QStyleHintReturnVariant.StyleOptionType 14787 Type = 0 14788 14789 variant = None # QVariant - member 14790 def __init__(self): 14791 '''void QStyleHintReturnVariant.__init__()''' 14792 def __init__(self): 14793 '''QStyleHintReturnVariant QStyleHintReturnVariant.__init__()''' 14794 return QStyleHintReturnVariant() 14795 14796 14797 class QStylePainter(QPainter): 14798 """""" 14799 def __init__(self): 14800 '''void QStylePainter.__init__()''' 14801 def __init__(self, w): 14802 '''void QStylePainter.__init__(QWidget w)''' 14803 def __init__(self, pd, w): 14804 '''void QStylePainter.__init__(QPaintDevice pd, QWidget w)''' 14805 def drawItemPixmap(self, r, flags, pixmap): 14806 '''void QStylePainter.drawItemPixmap(QRect r, int flags, QPixmap pixmap)''' 14807 def drawItemText(self, rect, flags, pal, enabled, text, textRole = None): 14808 '''void QStylePainter.drawItemText(QRect rect, int flags, QPalette pal, bool enabled, str text, QPalette.ColorRole textRole = QPalette.NoRole)''' 14809 def drawComplexControl(self, cc, opt): 14810 '''void QStylePainter.drawComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt)''' 14811 def drawControl(self, ce, opt): 14812 '''void QStylePainter.drawControl(QStyle.ControlElement ce, QStyleOption opt)''' 14813 def drawPrimitive(self, pe, opt): 14814 '''void QStylePainter.drawPrimitive(QStyle.PrimitiveElement pe, QStyleOption opt)''' 14815 def style(self): 14816 '''QStyle QStylePainter.style()''' 14817 return QStyle() 14818 def begin(self, w): 14819 '''bool QStylePainter.begin(QWidget w)''' 14820 return bool() 14821 def begin(self, pd, w): 14822 '''bool QStylePainter.begin(QPaintDevice pd, QWidget w)''' 14823 return bool() 14824 14825 14826 class QSystemTrayIcon(QObject): 14827 """""" 14828 # Enum QSystemTrayIcon.MessageIcon 14829 NoIcon = 0 14830 Information = 0 14831 Warning = 0 14832 Critical = 0 14833 14834 # Enum QSystemTrayIcon.ActivationReason 14835 Unknown = 0 14836 Context = 0 14837 DoubleClick = 0 14838 Trigger = 0 14839 MiddleClick = 0 14840 14841 def __init__(self, parent = None): 14842 '''void QSystemTrayIcon.__init__(QObject parent = None)''' 14843 def __init__(self, icon, parent = None): 14844 '''void QSystemTrayIcon.__init__(QIcon icon, QObject parent = None)''' 14845 def event(self, event): 14846 '''bool QSystemTrayIcon.event(QEvent event)''' 14847 return bool() 14848 messageClicked = pyqtSignal() # void messageClicked() - signal 14849 activated = pyqtSignal() # void activated(QSystemTrayIcon::ActivationReason) - signal 14850 def show(self): 14851 '''void QSystemTrayIcon.show()''' 14852 def setVisible(self, visible): 14853 '''void QSystemTrayIcon.setVisible(bool visible)''' 14854 def hide(self): 14855 '''void QSystemTrayIcon.hide()''' 14856 def isVisible(self): 14857 '''bool QSystemTrayIcon.isVisible()''' 14858 return bool() 14859 def showMessage(self, title, msg, icon = None, msecs = 10000): 14860 '''void QSystemTrayIcon.showMessage(str title, str msg, QSystemTrayIcon.MessageIcon icon = QSystemTrayIcon.Information, int msecs = 10000)''' 14861 def supportsMessages(self): 14862 '''static bool QSystemTrayIcon.supportsMessages()''' 14863 return bool() 14864 def isSystemTrayAvailable(self): 14865 '''static bool QSystemTrayIcon.isSystemTrayAvailable()''' 14866 return bool() 14867 def setToolTip(self, tip): 14868 '''void QSystemTrayIcon.setToolTip(str tip)''' 14869 def toolTip(self): 14870 '''str QSystemTrayIcon.toolTip()''' 14871 return str() 14872 def setIcon(self, icon): 14873 '''void QSystemTrayIcon.setIcon(QIcon icon)''' 14874 def icon(self): 14875 '''QIcon QSystemTrayIcon.icon()''' 14876 return QIcon() 14877 def geometry(self): 14878 '''QRect QSystemTrayIcon.geometry()''' 14879 return QRect() 14880 def contextMenu(self): 14881 '''QMenu QSystemTrayIcon.contextMenu()''' 14882 return QMenu() 14883 def setContextMenu(self, menu): 14884 '''void QSystemTrayIcon.setContextMenu(QMenu menu)''' 14885 14886 14887 class QTabBar(QWidget): 14888 """""" 14889 # Enum QTabBar.SelectionBehavior 14890 SelectLeftTab = 0 14891 SelectRightTab = 0 14892 SelectPreviousTab = 0 14893 14894 # Enum QTabBar.ButtonPosition 14895 LeftSide = 0 14896 RightSide = 0 14897 14898 # Enum QTabBar.Shape 14899 RoundedNorth = 0 14900 RoundedSouth = 0 14901 RoundedWest = 0 14902 RoundedEast = 0 14903 TriangularNorth = 0 14904 TriangularSouth = 0 14905 TriangularWest = 0 14906 TriangularEast = 0 14907 14908 def __init__(self, parent = None): 14909 '''void QTabBar.__init__(QWidget parent = None)''' 14910 def timerEvent(self, event): 14911 '''void QTabBar.timerEvent(QTimerEvent event)''' 14912 def setChangeCurrentOnDrag(self, change): 14913 '''void QTabBar.setChangeCurrentOnDrag(bool change)''' 14914 def changeCurrentOnDrag(self): 14915 '''bool QTabBar.changeCurrentOnDrag()''' 14916 return bool() 14917 def setAutoHide(self, hide): 14918 '''void QTabBar.setAutoHide(bool hide)''' 14919 def autoHide(self): 14920 '''bool QTabBar.autoHide()''' 14921 return bool() 14922 tabBarDoubleClicked = pyqtSignal() # void tabBarDoubleClicked(int) - signal 14923 tabBarClicked = pyqtSignal() # void tabBarClicked(int) - signal 14924 def minimumTabSizeHint(self, index): 14925 '''QSize QTabBar.minimumTabSizeHint(int index)''' 14926 return QSize() 14927 def wheelEvent(self, event): 14928 '''void QTabBar.wheelEvent(QWheelEvent event)''' 14929 def hideEvent(self): 14930 '''QHideEvent QTabBar.hideEvent()''' 14931 return QHideEvent() 14932 tabMoved = pyqtSignal() # void tabMoved(int,int) - signal 14933 tabCloseRequested = pyqtSignal() # void tabCloseRequested(int) - signal 14934 def setDocumentMode(self, set): 14935 '''void QTabBar.setDocumentMode(bool set)''' 14936 def documentMode(self): 14937 '''bool QTabBar.documentMode()''' 14938 return bool() 14939 def setMovable(self, movable): 14940 '''void QTabBar.setMovable(bool movable)''' 14941 def isMovable(self): 14942 '''bool QTabBar.isMovable()''' 14943 return bool() 14944 def setExpanding(self, enabled): 14945 '''void QTabBar.setExpanding(bool enabled)''' 14946 def expanding(self): 14947 '''bool QTabBar.expanding()''' 14948 return bool() 14949 def setSelectionBehaviorOnRemove(self, behavior): 14950 '''void QTabBar.setSelectionBehaviorOnRemove(QTabBar.SelectionBehavior behavior)''' 14951 def selectionBehaviorOnRemove(self): 14952 '''QTabBar.SelectionBehavior QTabBar.selectionBehaviorOnRemove()''' 14953 return QTabBar.SelectionBehavior() 14954 def tabButton(self, index, position): 14955 '''QWidget QTabBar.tabButton(int index, QTabBar.ButtonPosition position)''' 14956 return QWidget() 14957 def setTabButton(self, index, position, widget): 14958 '''void QTabBar.setTabButton(int index, QTabBar.ButtonPosition position, QWidget widget)''' 14959 def setTabsClosable(self, closable): 14960 '''void QTabBar.setTabsClosable(bool closable)''' 14961 def tabsClosable(self): 14962 '''bool QTabBar.tabsClosable()''' 14963 return bool() 14964 def moveTab(self, from_, to): 14965 '''void QTabBar.moveTab(int from, int to)''' 14966 def changeEvent(self): 14967 '''QEvent QTabBar.changeEvent()''' 14968 return QEvent() 14969 def keyPressEvent(self): 14970 '''QKeyEvent QTabBar.keyPressEvent()''' 14971 return QKeyEvent() 14972 def mouseReleaseEvent(self): 14973 '''QMouseEvent QTabBar.mouseReleaseEvent()''' 14974 return QMouseEvent() 14975 def mouseMoveEvent(self): 14976 '''QMouseEvent QTabBar.mouseMoveEvent()''' 14977 return QMouseEvent() 14978 def mousePressEvent(self): 14979 '''QMouseEvent QTabBar.mousePressEvent()''' 14980 return QMouseEvent() 14981 def paintEvent(self): 14982 '''QPaintEvent QTabBar.paintEvent()''' 14983 return QPaintEvent() 14984 def showEvent(self): 14985 '''QShowEvent QTabBar.showEvent()''' 14986 return QShowEvent() 14987 def resizeEvent(self): 14988 '''QResizeEvent QTabBar.resizeEvent()''' 14989 return QResizeEvent() 14990 def event(self): 14991 '''QEvent QTabBar.event()''' 14992 return QEvent() 14993 def tabLayoutChange(self): 14994 '''void QTabBar.tabLayoutChange()''' 14995 def tabRemoved(self, index): 14996 '''void QTabBar.tabRemoved(int index)''' 14997 def tabInserted(self, index): 14998 '''void QTabBar.tabInserted(int index)''' 14999 def tabSizeHint(self, index): 15000 '''QSize QTabBar.tabSizeHint(int index)''' 15001 return QSize() 15002 def initStyleOption(self, option, tabIndex): 15003 '''void QTabBar.initStyleOption(QStyleOptionTab option, int tabIndex)''' 15004 currentChanged = pyqtSignal() # void currentChanged(int) - signal 15005 def setCurrentIndex(self, index): 15006 '''void QTabBar.setCurrentIndex(int index)''' 15007 def usesScrollButtons(self): 15008 '''bool QTabBar.usesScrollButtons()''' 15009 return bool() 15010 def setUsesScrollButtons(self, useButtons): 15011 '''void QTabBar.setUsesScrollButtons(bool useButtons)''' 15012 def setElideMode(self): 15013 '''Qt.TextElideMode QTabBar.setElideMode()''' 15014 return Qt.TextElideMode() 15015 def elideMode(self): 15016 '''Qt.TextElideMode QTabBar.elideMode()''' 15017 return Qt.TextElideMode() 15018 def setIconSize(self, size): 15019 '''void QTabBar.setIconSize(QSize size)''' 15020 def iconSize(self): 15021 '''QSize QTabBar.iconSize()''' 15022 return QSize() 15023 def drawBase(self): 15024 '''bool QTabBar.drawBase()''' 15025 return bool() 15026 def setDrawBase(self, drawTheBase): 15027 '''void QTabBar.setDrawBase(bool drawTheBase)''' 15028 def minimumSizeHint(self): 15029 '''QSize QTabBar.minimumSizeHint()''' 15030 return QSize() 15031 def sizeHint(self): 15032 '''QSize QTabBar.sizeHint()''' 15033 return QSize() 15034 def __len__(self): 15035 ''' QTabBar.__len__()''' 15036 return () 15037 def count(self): 15038 '''int QTabBar.count()''' 15039 return int() 15040 def currentIndex(self): 15041 '''int QTabBar.currentIndex()''' 15042 return int() 15043 def tabRect(self, index): 15044 '''QRect QTabBar.tabRect(int index)''' 15045 return QRect() 15046 def tabAt(self, pos): 15047 '''int QTabBar.tabAt(QPoint pos)''' 15048 return int() 15049 def tabData(self, index): 15050 '''QVariant QTabBar.tabData(int index)''' 15051 return QVariant() 15052 def setTabData(self, index, data): 15053 '''void QTabBar.setTabData(int index, QVariant data)''' 15054 def tabWhatsThis(self, index): 15055 '''str QTabBar.tabWhatsThis(int index)''' 15056 return str() 15057 def setTabWhatsThis(self, index, text): 15058 '''void QTabBar.setTabWhatsThis(int index, str text)''' 15059 def tabToolTip(self, index): 15060 '''str QTabBar.tabToolTip(int index)''' 15061 return str() 15062 def setTabToolTip(self, index, tip): 15063 '''void QTabBar.setTabToolTip(int index, str tip)''' 15064 def setTabIcon(self, index, icon): 15065 '''void QTabBar.setTabIcon(int index, QIcon icon)''' 15066 def tabIcon(self, index): 15067 '''QIcon QTabBar.tabIcon(int index)''' 15068 return QIcon() 15069 def setTabTextColor(self, index, color): 15070 '''void QTabBar.setTabTextColor(int index, QColor color)''' 15071 def tabTextColor(self, index): 15072 '''QColor QTabBar.tabTextColor(int index)''' 15073 return QColor() 15074 def setTabText(self, index, text): 15075 '''void QTabBar.setTabText(int index, str text)''' 15076 def tabText(self, index): 15077 '''str QTabBar.tabText(int index)''' 15078 return str() 15079 def setTabEnabled(self, index): 15080 '''bool QTabBar.setTabEnabled(int index)''' 15081 return bool() 15082 def isTabEnabled(self, index): 15083 '''bool QTabBar.isTabEnabled(int index)''' 15084 return bool() 15085 def removeTab(self, index): 15086 '''void QTabBar.removeTab(int index)''' 15087 def insertTab(self, index, text): 15088 '''int QTabBar.insertTab(int index, str text)''' 15089 return int() 15090 def insertTab(self, index, icon, text): 15091 '''int QTabBar.insertTab(int index, QIcon icon, str text)''' 15092 return int() 15093 def addTab(self, text): 15094 '''int QTabBar.addTab(str text)''' 15095 return int() 15096 def addTab(self, icon, text): 15097 '''int QTabBar.addTab(QIcon icon, str text)''' 15098 return int() 15099 def setShape(self, shape): 15100 '''void QTabBar.setShape(QTabBar.Shape shape)''' 15101 def shape(self): 15102 '''QTabBar.Shape QTabBar.shape()''' 15103 return QTabBar.Shape() 15104 15105 15106 class QTableView(QAbstractItemView): 15107 """""" 15108 def __init__(self, parent = None): 15109 '''void QTableView.__init__(QWidget parent = None)''' 15110 def currentChanged(self, current, previous): 15111 '''void QTableView.currentChanged(QModelIndex current, QModelIndex previous)''' 15112 def selectionChanged(self, selected, deselected): 15113 '''void QTableView.selectionChanged(QItemSelection selected, QItemSelection deselected)''' 15114 def clearSpans(self): 15115 '''void QTableView.clearSpans()''' 15116 def isCornerButtonEnabled(self): 15117 '''bool QTableView.isCornerButtonEnabled()''' 15118 return bool() 15119 def setCornerButtonEnabled(self, enable): 15120 '''void QTableView.setCornerButtonEnabled(bool enable)''' 15121 def wordWrap(self): 15122 '''bool QTableView.wordWrap()''' 15123 return bool() 15124 def setWordWrap(self, on): 15125 '''void QTableView.setWordWrap(bool on)''' 15126 def sortByColumn(self, column, order): 15127 '''void QTableView.sortByColumn(int column, Qt.SortOrder order)''' 15128 def columnSpan(self, row, column): 15129 '''int QTableView.columnSpan(int row, int column)''' 15130 return int() 15131 def rowSpan(self, row, column): 15132 '''int QTableView.rowSpan(int row, int column)''' 15133 return int() 15134 def setSpan(self, row, column, rowSpan, columnSpan): 15135 '''void QTableView.setSpan(int row, int column, int rowSpan, int columnSpan)''' 15136 def isSortingEnabled(self): 15137 '''bool QTableView.isSortingEnabled()''' 15138 return bool() 15139 def setSortingEnabled(self, enable): 15140 '''void QTableView.setSortingEnabled(bool enable)''' 15141 def viewportSizeHint(self): 15142 '''QSize QTableView.viewportSizeHint()''' 15143 return QSize() 15144 def isIndexHidden(self, index): 15145 '''bool QTableView.isIndexHidden(QModelIndex index)''' 15146 return bool() 15147 def horizontalScrollbarAction(self, action): 15148 '''void QTableView.horizontalScrollbarAction(int action)''' 15149 def verticalScrollbarAction(self, action): 15150 '''void QTableView.verticalScrollbarAction(int action)''' 15151 def sizeHintForColumn(self, column): 15152 '''int QTableView.sizeHintForColumn(int column)''' 15153 return int() 15154 def sizeHintForRow(self, row): 15155 '''int QTableView.sizeHintForRow(int row)''' 15156 return int() 15157 def updateGeometries(self): 15158 '''void QTableView.updateGeometries()''' 15159 def selectedIndexes(self): 15160 '''list-of-QModelIndex QTableView.selectedIndexes()''' 15161 return [QModelIndex()] 15162 def visualRegionForSelection(self, selection): 15163 '''QRegion QTableView.visualRegionForSelection(QItemSelection selection)''' 15164 return QRegion() 15165 def setSelection(self, rect, command): 15166 '''void QTableView.setSelection(QRect rect, QItemSelectionModel.SelectionFlags command)''' 15167 def moveCursor(self, cursorAction, modifiers): 15168 '''QModelIndex QTableView.moveCursor(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers)''' 15169 return QModelIndex() 15170 def verticalOffset(self): 15171 '''int QTableView.verticalOffset()''' 15172 return int() 15173 def horizontalOffset(self): 15174 '''int QTableView.horizontalOffset()''' 15175 return int() 15176 def timerEvent(self, event): 15177 '''void QTableView.timerEvent(QTimerEvent event)''' 15178 def paintEvent(self, e): 15179 '''void QTableView.paintEvent(QPaintEvent e)''' 15180 def viewOptions(self): 15181 '''QStyleOptionViewItem QTableView.viewOptions()''' 15182 return QStyleOptionViewItem() 15183 def scrollContentsBy(self, dx, dy): 15184 '''void QTableView.scrollContentsBy(int dx, int dy)''' 15185 def columnCountChanged(self, oldCount, newCount): 15186 '''void QTableView.columnCountChanged(int oldCount, int newCount)''' 15187 def rowCountChanged(self, oldCount, newCount): 15188 '''void QTableView.rowCountChanged(int oldCount, int newCount)''' 15189 def columnResized(self, column, oldWidth, newWidth): 15190 '''void QTableView.columnResized(int column, int oldWidth, int newWidth)''' 15191 def rowResized(self, row, oldHeight, newHeight): 15192 '''void QTableView.rowResized(int row, int oldHeight, int newHeight)''' 15193 def columnMoved(self, column, oldIndex, newIndex): 15194 '''void QTableView.columnMoved(int column, int oldIndex, int newIndex)''' 15195 def rowMoved(self, row, oldIndex, newIndex): 15196 '''void QTableView.rowMoved(int row, int oldIndex, int newIndex)''' 15197 def resizeColumnsToContents(self): 15198 '''void QTableView.resizeColumnsToContents()''' 15199 def resizeColumnToContents(self, column): 15200 '''void QTableView.resizeColumnToContents(int column)''' 15201 def resizeRowsToContents(self): 15202 '''void QTableView.resizeRowsToContents()''' 15203 def resizeRowToContents(self, row): 15204 '''void QTableView.resizeRowToContents(int row)''' 15205 def showColumn(self, column): 15206 '''void QTableView.showColumn(int column)''' 15207 def showRow(self, row): 15208 '''void QTableView.showRow(int row)''' 15209 def hideColumn(self, column): 15210 '''void QTableView.hideColumn(int column)''' 15211 def hideRow(self, row): 15212 '''void QTableView.hideRow(int row)''' 15213 def selectColumn(self, column): 15214 '''void QTableView.selectColumn(int column)''' 15215 def selectRow(self, row): 15216 '''void QTableView.selectRow(int row)''' 15217 def indexAt(self, p): 15218 '''QModelIndex QTableView.indexAt(QPoint p)''' 15219 return QModelIndex() 15220 def scrollTo(self, index, hint = None): 15221 '''void QTableView.scrollTo(QModelIndex index, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 15222 def visualRect(self, index): 15223 '''QRect QTableView.visualRect(QModelIndex index)''' 15224 return QRect() 15225 def setGridStyle(self, style): 15226 '''void QTableView.setGridStyle(Qt.PenStyle style)''' 15227 def gridStyle(self): 15228 '''Qt.PenStyle QTableView.gridStyle()''' 15229 return Qt.PenStyle() 15230 def setShowGrid(self, show): 15231 '''void QTableView.setShowGrid(bool show)''' 15232 def showGrid(self): 15233 '''bool QTableView.showGrid()''' 15234 return bool() 15235 def setColumnHidden(self, column, hide): 15236 '''void QTableView.setColumnHidden(int column, bool hide)''' 15237 def isColumnHidden(self, column): 15238 '''bool QTableView.isColumnHidden(int column)''' 15239 return bool() 15240 def setRowHidden(self, row, hide): 15241 '''void QTableView.setRowHidden(int row, bool hide)''' 15242 def isRowHidden(self, row): 15243 '''bool QTableView.isRowHidden(int row)''' 15244 return bool() 15245 def columnAt(self, x): 15246 '''int QTableView.columnAt(int x)''' 15247 return int() 15248 def columnWidth(self, column): 15249 '''int QTableView.columnWidth(int column)''' 15250 return int() 15251 def setColumnWidth(self, column, width): 15252 '''void QTableView.setColumnWidth(int column, int width)''' 15253 def columnViewportPosition(self, column): 15254 '''int QTableView.columnViewportPosition(int column)''' 15255 return int() 15256 def rowAt(self, y): 15257 '''int QTableView.rowAt(int y)''' 15258 return int() 15259 def rowHeight(self, row): 15260 '''int QTableView.rowHeight(int row)''' 15261 return int() 15262 def setRowHeight(self, row, height): 15263 '''void QTableView.setRowHeight(int row, int height)''' 15264 def rowViewportPosition(self, row): 15265 '''int QTableView.rowViewportPosition(int row)''' 15266 return int() 15267 def setVerticalHeader(self, header): 15268 '''void QTableView.setVerticalHeader(QHeaderView header)''' 15269 def setHorizontalHeader(self, header): 15270 '''void QTableView.setHorizontalHeader(QHeaderView header)''' 15271 def verticalHeader(self): 15272 '''QHeaderView QTableView.verticalHeader()''' 15273 return QHeaderView() 15274 def horizontalHeader(self): 15275 '''QHeaderView QTableView.horizontalHeader()''' 15276 return QHeaderView() 15277 def setSelectionModel(self, selectionModel): 15278 '''void QTableView.setSelectionModel(QItemSelectionModel selectionModel)''' 15279 def setRootIndex(self, index): 15280 '''void QTableView.setRootIndex(QModelIndex index)''' 15281 def setModel(self, model): 15282 '''void QTableView.setModel(QAbstractItemModel model)''' 15283 15284 15285 class QTableWidgetSelectionRange(): 15286 """""" 15287 def __init__(self): 15288 '''void QTableWidgetSelectionRange.__init__()''' 15289 def __init__(self, top, left, bottom, right): 15290 '''void QTableWidgetSelectionRange.__init__(int top, int left, int bottom, int right)''' 15291 def __init__(self, other): 15292 '''void QTableWidgetSelectionRange.__init__(QTableWidgetSelectionRange other)''' 15293 def columnCount(self): 15294 '''int QTableWidgetSelectionRange.columnCount()''' 15295 return int() 15296 def rowCount(self): 15297 '''int QTableWidgetSelectionRange.rowCount()''' 15298 return int() 15299 def rightColumn(self): 15300 '''int QTableWidgetSelectionRange.rightColumn()''' 15301 return int() 15302 def leftColumn(self): 15303 '''int QTableWidgetSelectionRange.leftColumn()''' 15304 return int() 15305 def bottomRow(self): 15306 '''int QTableWidgetSelectionRange.bottomRow()''' 15307 return int() 15308 def topRow(self): 15309 '''int QTableWidgetSelectionRange.topRow()''' 15310 return int() 15311 15312 15313 class QTableWidgetItem(): 15314 """""" 15315 # Enum QTableWidgetItem.ItemType 15316 Type = 0 15317 UserType = 0 15318 15319 def __init__(self, type = None): 15320 '''void QTableWidgetItem.__init__(int type = QTableWidgetItem.Type)''' 15321 def __init__(self, text, type = None): 15322 '''void QTableWidgetItem.__init__(str text, int type = QTableWidgetItem.Type)''' 15323 def __init__(self, icon, text, type = None): 15324 '''void QTableWidgetItem.__init__(QIcon icon, str text, int type = QTableWidgetItem.Type)''' 15325 def __init__(self, other): 15326 '''void QTableWidgetItem.__init__(QTableWidgetItem other)''' 15327 def __ge__(self, other): 15328 '''bool QTableWidgetItem.__ge__(QTableWidgetItem other)''' 15329 return bool() 15330 def isSelected(self): 15331 '''bool QTableWidgetItem.isSelected()''' 15332 return bool() 15333 def setSelected(self, aselect): 15334 '''void QTableWidgetItem.setSelected(bool aselect)''' 15335 def column(self): 15336 '''int QTableWidgetItem.column()''' 15337 return int() 15338 def row(self): 15339 '''int QTableWidgetItem.row()''' 15340 return int() 15341 def setForeground(self, brush): 15342 '''void QTableWidgetItem.setForeground(QBrush brush)''' 15343 def foreground(self): 15344 '''QBrush QTableWidgetItem.foreground()''' 15345 return QBrush() 15346 def setBackground(self, brush): 15347 '''void QTableWidgetItem.setBackground(QBrush brush)''' 15348 def background(self): 15349 '''QBrush QTableWidgetItem.background()''' 15350 return QBrush() 15351 def setSizeHint(self, size): 15352 '''void QTableWidgetItem.setSizeHint(QSize size)''' 15353 def sizeHint(self): 15354 '''QSize QTableWidgetItem.sizeHint()''' 15355 return QSize() 15356 def setFont(self, afont): 15357 '''void QTableWidgetItem.setFont(QFont afont)''' 15358 def setWhatsThis(self, awhatsThis): 15359 '''void QTableWidgetItem.setWhatsThis(str awhatsThis)''' 15360 def setToolTip(self, atoolTip): 15361 '''void QTableWidgetItem.setToolTip(str atoolTip)''' 15362 def setStatusTip(self, astatusTip): 15363 '''void QTableWidgetItem.setStatusTip(str astatusTip)''' 15364 def setIcon(self, aicon): 15365 '''void QTableWidgetItem.setIcon(QIcon aicon)''' 15366 def setText(self, atext): 15367 '''void QTableWidgetItem.setText(str atext)''' 15368 def setFlags(self, aflags): 15369 '''void QTableWidgetItem.setFlags(Qt.ItemFlags aflags)''' 15370 def type(self): 15371 '''int QTableWidgetItem.type()''' 15372 return int() 15373 def write(self, out): 15374 '''void QTableWidgetItem.write(QDataStream out)''' 15375 def read(self, in_): 15376 '''void QTableWidgetItem.read(QDataStream in)''' 15377 def __lt__(self, other): 15378 '''bool QTableWidgetItem.__lt__(QTableWidgetItem other)''' 15379 return bool() 15380 def setData(self, role, value): 15381 '''void QTableWidgetItem.setData(int role, QVariant value)''' 15382 def data(self, role): 15383 '''QVariant QTableWidgetItem.data(int role)''' 15384 return QVariant() 15385 def setCheckState(self, state): 15386 '''void QTableWidgetItem.setCheckState(Qt.CheckState state)''' 15387 def checkState(self): 15388 '''Qt.CheckState QTableWidgetItem.checkState()''' 15389 return Qt.CheckState() 15390 def setTextAlignment(self, alignment): 15391 '''void QTableWidgetItem.setTextAlignment(int alignment)''' 15392 def textAlignment(self): 15393 '''int QTableWidgetItem.textAlignment()''' 15394 return int() 15395 def font(self): 15396 '''QFont QTableWidgetItem.font()''' 15397 return QFont() 15398 def whatsThis(self): 15399 '''str QTableWidgetItem.whatsThis()''' 15400 return str() 15401 def toolTip(self): 15402 '''str QTableWidgetItem.toolTip()''' 15403 return str() 15404 def statusTip(self): 15405 '''str QTableWidgetItem.statusTip()''' 15406 return str() 15407 def icon(self): 15408 '''QIcon QTableWidgetItem.icon()''' 15409 return QIcon() 15410 def text(self): 15411 '''str QTableWidgetItem.text()''' 15412 return str() 15413 def flags(self): 15414 '''Qt.ItemFlags QTableWidgetItem.flags()''' 15415 return Qt.ItemFlags() 15416 def tableWidget(self): 15417 '''QTableWidget QTableWidgetItem.tableWidget()''' 15418 return QTableWidget() 15419 def clone(self): 15420 '''QTableWidgetItem QTableWidgetItem.clone()''' 15421 return QTableWidgetItem() 15422 15423 15424 class QTableWidget(QTableView): 15425 """""" 15426 def __init__(self, parent = None): 15427 '''void QTableWidget.__init__(QWidget parent = None)''' 15428 def __init__(self, rows, columns, parent = None): 15429 '''void QTableWidget.__init__(int rows, int columns, QWidget parent = None)''' 15430 def dropEvent(self, event): 15431 '''void QTableWidget.dropEvent(QDropEvent event)''' 15432 def event(self, e): 15433 '''bool QTableWidget.event(QEvent e)''' 15434 return bool() 15435 def itemFromIndex(self, index): 15436 '''QTableWidgetItem QTableWidget.itemFromIndex(QModelIndex index)''' 15437 return QTableWidgetItem() 15438 def indexFromItem(self, item): 15439 '''QModelIndex QTableWidget.indexFromItem(QTableWidgetItem item)''' 15440 return QModelIndex() 15441 def items(self, data): 15442 '''list-of-QTableWidgetItem QTableWidget.items(QMimeData data)''' 15443 return [QTableWidgetItem()] 15444 def supportedDropActions(self): 15445 '''Qt.DropActions QTableWidget.supportedDropActions()''' 15446 return Qt.DropActions() 15447 def dropMimeData(self, row, column, data, action): 15448 '''bool QTableWidget.dropMimeData(int row, int column, QMimeData data, Qt.DropAction action)''' 15449 return bool() 15450 def mimeData(self, items): 15451 '''QMimeData QTableWidget.mimeData(list-of-QTableWidgetItem items)''' 15452 return QMimeData() 15453 def mimeTypes(self): 15454 '''list-of-str QTableWidget.mimeTypes()''' 15455 return [str()] 15456 currentCellChanged = pyqtSignal() # void currentCellChanged(int,int,int,int) - signal 15457 cellChanged = pyqtSignal() # void cellChanged(int,int) - signal 15458 cellEntered = pyqtSignal() # void cellEntered(int,int) - signal 15459 cellActivated = pyqtSignal() # void cellActivated(int,int) - signal 15460 cellDoubleClicked = pyqtSignal() # void cellDoubleClicked(int,int) - signal 15461 cellClicked = pyqtSignal() # void cellClicked(int,int) - signal 15462 cellPressed = pyqtSignal() # void cellPressed(int,int) - signal 15463 itemSelectionChanged = pyqtSignal() # void itemSelectionChanged() - signal 15464 currentItemChanged = pyqtSignal() # void currentItemChanged(QTableWidgetItem*,QTableWidgetItem*) - signal 15465 itemChanged = pyqtSignal() # void itemChanged(QTableWidgetItem*) - signal 15466 itemEntered = pyqtSignal() # void itemEntered(QTableWidgetItem*) - signal 15467 itemActivated = pyqtSignal() # void itemActivated(QTableWidgetItem*) - signal 15468 itemDoubleClicked = pyqtSignal() # void itemDoubleClicked(QTableWidgetItem*) - signal 15469 itemClicked = pyqtSignal() # void itemClicked(QTableWidgetItem*) - signal 15470 itemPressed = pyqtSignal() # void itemPressed(QTableWidgetItem*) - signal 15471 def clearContents(self): 15472 '''void QTableWidget.clearContents()''' 15473 def clear(self): 15474 '''void QTableWidget.clear()''' 15475 def removeColumn(self, column): 15476 '''void QTableWidget.removeColumn(int column)''' 15477 def removeRow(self, row): 15478 '''void QTableWidget.removeRow(int row)''' 15479 def insertColumn(self, column): 15480 '''void QTableWidget.insertColumn(int column)''' 15481 def insertRow(self, row): 15482 '''void QTableWidget.insertRow(int row)''' 15483 def scrollToItem(self, item, hint = None): 15484 '''void QTableWidget.scrollToItem(QTableWidgetItem item, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 15485 def setItemPrototype(self, item): 15486 '''void QTableWidget.setItemPrototype(QTableWidgetItem item)''' 15487 def itemPrototype(self): 15488 '''QTableWidgetItem QTableWidget.itemPrototype()''' 15489 return QTableWidgetItem() 15490 def visualItemRect(self, item): 15491 '''QRect QTableWidget.visualItemRect(QTableWidgetItem item)''' 15492 return QRect() 15493 def itemAt(self, p): 15494 '''QTableWidgetItem QTableWidget.itemAt(QPoint p)''' 15495 return QTableWidgetItem() 15496 def itemAt(self, ax, ay): 15497 '''QTableWidgetItem QTableWidget.itemAt(int ax, int ay)''' 15498 return QTableWidgetItem() 15499 def visualColumn(self, logicalColumn): 15500 '''int QTableWidget.visualColumn(int logicalColumn)''' 15501 return int() 15502 def visualRow(self, logicalRow): 15503 '''int QTableWidget.visualRow(int logicalRow)''' 15504 return int() 15505 def findItems(self, text, flags): 15506 '''list-of-QTableWidgetItem QTableWidget.findItems(str text, Qt.MatchFlags flags)''' 15507 return [QTableWidgetItem()] 15508 def selectedItems(self): 15509 '''list-of-QTableWidgetItem QTableWidget.selectedItems()''' 15510 return [QTableWidgetItem()] 15511 def selectedRanges(self): 15512 '''list-of-QTableWidgetSelectionRange QTableWidget.selectedRanges()''' 15513 return [QTableWidgetSelectionRange()] 15514 def setRangeSelected(self, range, select): 15515 '''void QTableWidget.setRangeSelected(QTableWidgetSelectionRange range, bool select)''' 15516 def removeCellWidget(self, arow, acolumn): 15517 '''void QTableWidget.removeCellWidget(int arow, int acolumn)''' 15518 def setCellWidget(self, row, column, widget): 15519 '''void QTableWidget.setCellWidget(int row, int column, QWidget widget)''' 15520 def cellWidget(self, row, column): 15521 '''QWidget QTableWidget.cellWidget(int row, int column)''' 15522 return QWidget() 15523 def closePersistentEditor(self, item): 15524 '''void QTableWidget.closePersistentEditor(QTableWidgetItem item)''' 15525 def openPersistentEditor(self, item): 15526 '''void QTableWidget.openPersistentEditor(QTableWidgetItem item)''' 15527 def editItem(self, item): 15528 '''void QTableWidget.editItem(QTableWidgetItem item)''' 15529 def isSortingEnabled(self): 15530 '''bool QTableWidget.isSortingEnabled()''' 15531 return bool() 15532 def setSortingEnabled(self, enable): 15533 '''void QTableWidget.setSortingEnabled(bool enable)''' 15534 def sortItems(self, column, order = None): 15535 '''void QTableWidget.sortItems(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 15536 def setCurrentCell(self, row, column): 15537 '''void QTableWidget.setCurrentCell(int row, int column)''' 15538 def setCurrentCell(self, row, column, command): 15539 '''void QTableWidget.setCurrentCell(int row, int column, QItemSelectionModel.SelectionFlags command)''' 15540 def setCurrentItem(self, item): 15541 '''void QTableWidget.setCurrentItem(QTableWidgetItem item)''' 15542 def setCurrentItem(self, item, command): 15543 '''void QTableWidget.setCurrentItem(QTableWidgetItem item, QItemSelectionModel.SelectionFlags command)''' 15544 def currentItem(self): 15545 '''QTableWidgetItem QTableWidget.currentItem()''' 15546 return QTableWidgetItem() 15547 def currentColumn(self): 15548 '''int QTableWidget.currentColumn()''' 15549 return int() 15550 def currentRow(self): 15551 '''int QTableWidget.currentRow()''' 15552 return int() 15553 def setHorizontalHeaderLabels(self, labels): 15554 '''void QTableWidget.setHorizontalHeaderLabels(list-of-str labels)''' 15555 def setVerticalHeaderLabels(self, labels): 15556 '''void QTableWidget.setVerticalHeaderLabels(list-of-str labels)''' 15557 def takeHorizontalHeaderItem(self, column): 15558 '''QTableWidgetItem QTableWidget.takeHorizontalHeaderItem(int column)''' 15559 return QTableWidgetItem() 15560 def setHorizontalHeaderItem(self, column, item): 15561 '''void QTableWidget.setHorizontalHeaderItem(int column, QTableWidgetItem item)''' 15562 def horizontalHeaderItem(self, column): 15563 '''QTableWidgetItem QTableWidget.horizontalHeaderItem(int column)''' 15564 return QTableWidgetItem() 15565 def takeVerticalHeaderItem(self, row): 15566 '''QTableWidgetItem QTableWidget.takeVerticalHeaderItem(int row)''' 15567 return QTableWidgetItem() 15568 def setVerticalHeaderItem(self, row, item): 15569 '''void QTableWidget.setVerticalHeaderItem(int row, QTableWidgetItem item)''' 15570 def verticalHeaderItem(self, row): 15571 '''QTableWidgetItem QTableWidget.verticalHeaderItem(int row)''' 15572 return QTableWidgetItem() 15573 def takeItem(self, row, column): 15574 '''QTableWidgetItem QTableWidget.takeItem(int row, int column)''' 15575 return QTableWidgetItem() 15576 def setItem(self, row, column, item): 15577 '''void QTableWidget.setItem(int row, int column, QTableWidgetItem item)''' 15578 def item(self, row, column): 15579 '''QTableWidgetItem QTableWidget.item(int row, int column)''' 15580 return QTableWidgetItem() 15581 def column(self, item): 15582 '''int QTableWidget.column(QTableWidgetItem item)''' 15583 return int() 15584 def row(self, item): 15585 '''int QTableWidget.row(QTableWidgetItem item)''' 15586 return int() 15587 def columnCount(self): 15588 '''int QTableWidget.columnCount()''' 15589 return int() 15590 def setColumnCount(self, columns): 15591 '''void QTableWidget.setColumnCount(int columns)''' 15592 def rowCount(self): 15593 '''int QTableWidget.rowCount()''' 15594 return int() 15595 def setRowCount(self, rows): 15596 '''void QTableWidget.setRowCount(int rows)''' 15597 15598 15599 class QTabWidget(QWidget): 15600 """""" 15601 # Enum QTabWidget.TabShape 15602 Rounded = 0 15603 Triangular = 0 15604 15605 # Enum QTabWidget.TabPosition 15606 North = 0 15607 South = 0 15608 West = 0 15609 East = 0 15610 15611 def __init__(self, parent = None): 15612 '''void QTabWidget.__init__(QWidget parent = None)''' 15613 def setTabBarAutoHide(self, enabled): 15614 '''void QTabWidget.setTabBarAutoHide(bool enabled)''' 15615 def tabBarAutoHide(self): 15616 '''bool QTabWidget.tabBarAutoHide()''' 15617 return bool() 15618 tabBarDoubleClicked = pyqtSignal() # void tabBarDoubleClicked(int) - signal 15619 tabBarClicked = pyqtSignal() # void tabBarClicked(int) - signal 15620 def hasHeightForWidth(self): 15621 '''bool QTabWidget.hasHeightForWidth()''' 15622 return bool() 15623 def heightForWidth(self, width): 15624 '''int QTabWidget.heightForWidth(int width)''' 15625 return int() 15626 tabCloseRequested = pyqtSignal() # void tabCloseRequested(int) - signal 15627 def setDocumentMode(self, set): 15628 '''void QTabWidget.setDocumentMode(bool set)''' 15629 def documentMode(self): 15630 '''bool QTabWidget.documentMode()''' 15631 return bool() 15632 def setMovable(self, movable): 15633 '''void QTabWidget.setMovable(bool movable)''' 15634 def isMovable(self): 15635 '''bool QTabWidget.isMovable()''' 15636 return bool() 15637 def setTabsClosable(self, closeable): 15638 '''void QTabWidget.setTabsClosable(bool closeable)''' 15639 def tabsClosable(self): 15640 '''bool QTabWidget.tabsClosable()''' 15641 return bool() 15642 def setUsesScrollButtons(self, useButtons): 15643 '''void QTabWidget.setUsesScrollButtons(bool useButtons)''' 15644 def usesScrollButtons(self): 15645 '''bool QTabWidget.usesScrollButtons()''' 15646 return bool() 15647 def setIconSize(self, size): 15648 '''void QTabWidget.setIconSize(QSize size)''' 15649 def iconSize(self): 15650 '''QSize QTabWidget.iconSize()''' 15651 return QSize() 15652 def setElideMode(self): 15653 '''Qt.TextElideMode QTabWidget.setElideMode()''' 15654 return Qt.TextElideMode() 15655 def elideMode(self): 15656 '''Qt.TextElideMode QTabWidget.elideMode()''' 15657 return Qt.TextElideMode() 15658 def changeEvent(self): 15659 '''QEvent QTabWidget.changeEvent()''' 15660 return QEvent() 15661 def tabBar(self): 15662 '''QTabBar QTabWidget.tabBar()''' 15663 return QTabBar() 15664 def setTabBar(self): 15665 '''QTabBar QTabWidget.setTabBar()''' 15666 return QTabBar() 15667 def paintEvent(self): 15668 '''QPaintEvent QTabWidget.paintEvent()''' 15669 return QPaintEvent() 15670 def keyPressEvent(self): 15671 '''QKeyEvent QTabWidget.keyPressEvent()''' 15672 return QKeyEvent() 15673 def resizeEvent(self): 15674 '''QResizeEvent QTabWidget.resizeEvent()''' 15675 return QResizeEvent() 15676 def showEvent(self): 15677 '''QShowEvent QTabWidget.showEvent()''' 15678 return QShowEvent() 15679 def event(self): 15680 '''QEvent QTabWidget.event()''' 15681 return QEvent() 15682 def tabRemoved(self, index): 15683 '''void QTabWidget.tabRemoved(int index)''' 15684 def tabInserted(self, index): 15685 '''void QTabWidget.tabInserted(int index)''' 15686 def initStyleOption(self, option): 15687 '''void QTabWidget.initStyleOption(QStyleOptionTabWidgetFrame option)''' 15688 currentChanged = pyqtSignal() # void currentChanged(int) - signal 15689 def setCurrentWidget(self, widget): 15690 '''void QTabWidget.setCurrentWidget(QWidget widget)''' 15691 def setCurrentIndex(self, index): 15692 '''void QTabWidget.setCurrentIndex(int index)''' 15693 def cornerWidget(self, corner = None): 15694 '''QWidget QTabWidget.cornerWidget(Qt.Corner corner = Qt.TopRightCorner)''' 15695 return QWidget() 15696 def setCornerWidget(self, widget, corner = None): 15697 '''void QTabWidget.setCornerWidget(QWidget widget, Qt.Corner corner = Qt.TopRightCorner)''' 15698 def minimumSizeHint(self): 15699 '''QSize QTabWidget.minimumSizeHint()''' 15700 return QSize() 15701 def sizeHint(self): 15702 '''QSize QTabWidget.sizeHint()''' 15703 return QSize() 15704 def setTabShape(self, s): 15705 '''void QTabWidget.setTabShape(QTabWidget.TabShape s)''' 15706 def tabShape(self): 15707 '''QTabWidget.TabShape QTabWidget.tabShape()''' 15708 return QTabWidget.TabShape() 15709 def setTabPosition(self): 15710 '''QTabWidget.TabPosition QTabWidget.setTabPosition()''' 15711 return QTabWidget.TabPosition() 15712 def tabPosition(self): 15713 '''QTabWidget.TabPosition QTabWidget.tabPosition()''' 15714 return QTabWidget.TabPosition() 15715 def __len__(self): 15716 ''' QTabWidget.__len__()''' 15717 return () 15718 def count(self): 15719 '''int QTabWidget.count()''' 15720 return int() 15721 def indexOf(self, widget): 15722 '''int QTabWidget.indexOf(QWidget widget)''' 15723 return int() 15724 def widget(self, index): 15725 '''QWidget QTabWidget.widget(int index)''' 15726 return QWidget() 15727 def currentWidget(self): 15728 '''QWidget QTabWidget.currentWidget()''' 15729 return QWidget() 15730 def currentIndex(self): 15731 '''int QTabWidget.currentIndex()''' 15732 return int() 15733 def tabWhatsThis(self, index): 15734 '''str QTabWidget.tabWhatsThis(int index)''' 15735 return str() 15736 def setTabWhatsThis(self, index, text): 15737 '''void QTabWidget.setTabWhatsThis(int index, str text)''' 15738 def tabToolTip(self, index): 15739 '''str QTabWidget.tabToolTip(int index)''' 15740 return str() 15741 def setTabToolTip(self, index, tip): 15742 '''void QTabWidget.setTabToolTip(int index, str tip)''' 15743 def setTabIcon(self, index, icon): 15744 '''void QTabWidget.setTabIcon(int index, QIcon icon)''' 15745 def tabIcon(self, index): 15746 '''QIcon QTabWidget.tabIcon(int index)''' 15747 return QIcon() 15748 def setTabText(self, index): 15749 '''str QTabWidget.setTabText(int index)''' 15750 return str() 15751 def tabText(self, index): 15752 '''str QTabWidget.tabText(int index)''' 15753 return str() 15754 def setTabEnabled(self, index): 15755 '''bool QTabWidget.setTabEnabled(int index)''' 15756 return bool() 15757 def isTabEnabled(self, index): 15758 '''bool QTabWidget.isTabEnabled(int index)''' 15759 return bool() 15760 def removeTab(self, index): 15761 '''void QTabWidget.removeTab(int index)''' 15762 def insertTab(self, index, widget): 15763 '''str QTabWidget.insertTab(int index, QWidget widget)''' 15764 return str() 15765 def insertTab(self, index, widget, icon, label): 15766 '''int QTabWidget.insertTab(int index, QWidget widget, QIcon icon, str label)''' 15767 return int() 15768 def addTab(self, widget): 15769 '''str QTabWidget.addTab(QWidget widget)''' 15770 return str() 15771 def addTab(self, widget, icon, label): 15772 '''int QTabWidget.addTab(QWidget widget, QIcon icon, str label)''' 15773 return int() 15774 def clear(self): 15775 '''void QTabWidget.clear()''' 15776 15777 15778 class QTextEdit(QAbstractScrollArea): 15779 """""" 15780 # Enum QTextEdit.AutoFormattingFlag 15781 AutoNone = 0 15782 AutoBulletList = 0 15783 AutoAll = 0 15784 15785 # Enum QTextEdit.LineWrapMode 15786 NoWrap = 0 15787 WidgetWidth = 0 15788 FixedPixelWidth = 0 15789 FixedColumnWidth = 0 15790 15791 def __init__(self, parent = None): 15792 '''void QTextEdit.__init__(QWidget parent = None)''' 15793 def __init__(self, text, parent = None): 15794 '''void QTextEdit.__init__(str text, QWidget parent = None)''' 15795 def placeholderText(self): 15796 '''str QTextEdit.placeholderText()''' 15797 return str() 15798 def setPlaceholderText(self, placeholderText): 15799 '''void QTextEdit.setPlaceholderText(str placeholderText)''' 15800 def setTextBackgroundColor(self, c): 15801 '''void QTextEdit.setTextBackgroundColor(QColor c)''' 15802 def textBackgroundColor(self): 15803 '''QColor QTextEdit.textBackgroundColor()''' 15804 return QColor() 15805 def scrollContentsBy(self, dx, dy): 15806 '''void QTextEdit.scrollContentsBy(int dx, int dy)''' 15807 def inputMethodQuery(self, property): 15808 '''QVariant QTextEdit.inputMethodQuery(Qt.InputMethodQuery property)''' 15809 return QVariant() 15810 def inputMethodQuery(self, query, argument): 15811 '''QVariant QTextEdit.inputMethodQuery(Qt.InputMethodQuery query, QVariant argument)''' 15812 return QVariant() 15813 def inputMethodEvent(self): 15814 '''QInputMethodEvent QTextEdit.inputMethodEvent()''' 15815 return QInputMethodEvent() 15816 def insertFromMimeData(self, source): 15817 '''void QTextEdit.insertFromMimeData(QMimeData source)''' 15818 def canInsertFromMimeData(self, source): 15819 '''bool QTextEdit.canInsertFromMimeData(QMimeData source)''' 15820 return bool() 15821 def createMimeDataFromSelection(self): 15822 '''QMimeData QTextEdit.createMimeDataFromSelection()''' 15823 return QMimeData() 15824 def wheelEvent(self, e): 15825 '''void QTextEdit.wheelEvent(QWheelEvent e)''' 15826 def changeEvent(self, e): 15827 '''void QTextEdit.changeEvent(QEvent e)''' 15828 def showEvent(self): 15829 '''QShowEvent QTextEdit.showEvent()''' 15830 return QShowEvent() 15831 def focusOutEvent(self, e): 15832 '''void QTextEdit.focusOutEvent(QFocusEvent e)''' 15833 def focusInEvent(self, e): 15834 '''void QTextEdit.focusInEvent(QFocusEvent e)''' 15835 def dropEvent(self, e): 15836 '''void QTextEdit.dropEvent(QDropEvent e)''' 15837 def dragMoveEvent(self, e): 15838 '''void QTextEdit.dragMoveEvent(QDragMoveEvent e)''' 15839 def dragLeaveEvent(self, e): 15840 '''void QTextEdit.dragLeaveEvent(QDragLeaveEvent e)''' 15841 def dragEnterEvent(self, e): 15842 '''void QTextEdit.dragEnterEvent(QDragEnterEvent e)''' 15843 def contextMenuEvent(self, e): 15844 '''void QTextEdit.contextMenuEvent(QContextMenuEvent e)''' 15845 def focusNextPrevChild(self, next): 15846 '''bool QTextEdit.focusNextPrevChild(bool next)''' 15847 return bool() 15848 def mouseDoubleClickEvent(self, e): 15849 '''void QTextEdit.mouseDoubleClickEvent(QMouseEvent e)''' 15850 def mouseReleaseEvent(self, e): 15851 '''void QTextEdit.mouseReleaseEvent(QMouseEvent e)''' 15852 def mouseMoveEvent(self, e): 15853 '''void QTextEdit.mouseMoveEvent(QMouseEvent e)''' 15854 def mousePressEvent(self, e): 15855 '''void QTextEdit.mousePressEvent(QMouseEvent e)''' 15856 def paintEvent(self, e): 15857 '''void QTextEdit.paintEvent(QPaintEvent e)''' 15858 def resizeEvent(self): 15859 '''QResizeEvent QTextEdit.resizeEvent()''' 15860 return QResizeEvent() 15861 def keyReleaseEvent(self, e): 15862 '''void QTextEdit.keyReleaseEvent(QKeyEvent e)''' 15863 def keyPressEvent(self, e): 15864 '''void QTextEdit.keyPressEvent(QKeyEvent e)''' 15865 def timerEvent(self, e): 15866 '''void QTextEdit.timerEvent(QTimerEvent e)''' 15867 def event(self, e): 15868 '''bool QTextEdit.event(QEvent e)''' 15869 return bool() 15870 cursorPositionChanged = pyqtSignal() # void cursorPositionChanged() - signal 15871 selectionChanged = pyqtSignal() # void selectionChanged() - signal 15872 copyAvailable = pyqtSignal() # void copyAvailable(bool) - signal 15873 currentCharFormatChanged = pyqtSignal() # void currentCharFormatChanged(const QTextCharFormatamp;) - signal 15874 redoAvailable = pyqtSignal() # void redoAvailable(bool) - signal 15875 undoAvailable = pyqtSignal() # void undoAvailable(bool) - signal 15876 textChanged = pyqtSignal() # void textChanged() - signal 15877 def zoomOut(self, range = 1): 15878 '''void QTextEdit.zoomOut(int range = 1)''' 15879 def zoomIn(self, range = 1): 15880 '''void QTextEdit.zoomIn(int range = 1)''' 15881 def undo(self): 15882 '''void QTextEdit.undo()''' 15883 def redo(self): 15884 '''void QTextEdit.redo()''' 15885 def scrollToAnchor(self, name): 15886 '''void QTextEdit.scrollToAnchor(str name)''' 15887 def insertHtml(self, text): 15888 '''void QTextEdit.insertHtml(str text)''' 15889 def insertPlainText(self, text): 15890 '''void QTextEdit.insertPlainText(str text)''' 15891 def selectAll(self): 15892 '''void QTextEdit.selectAll()''' 15893 def clear(self): 15894 '''void QTextEdit.clear()''' 15895 def paste(self): 15896 '''void QTextEdit.paste()''' 15897 def copy(self): 15898 '''void QTextEdit.copy()''' 15899 def cut(self): 15900 '''void QTextEdit.cut()''' 15901 def setHtml(self, text): 15902 '''void QTextEdit.setHtml(str text)''' 15903 def setPlainText(self, text): 15904 '''void QTextEdit.setPlainText(str text)''' 15905 def setAlignment(self, a): 15906 '''void QTextEdit.setAlignment(Qt.Alignment a)''' 15907 def setCurrentFont(self, f): 15908 '''void QTextEdit.setCurrentFont(QFont f)''' 15909 def setTextColor(self, c): 15910 '''void QTextEdit.setTextColor(QColor c)''' 15911 def setText(self, text): 15912 '''void QTextEdit.setText(str text)''' 15913 def setFontItalic(self, b): 15914 '''void QTextEdit.setFontItalic(bool b)''' 15915 def setFontUnderline(self, b): 15916 '''void QTextEdit.setFontUnderline(bool b)''' 15917 def setFontWeight(self, w): 15918 '''void QTextEdit.setFontWeight(int w)''' 15919 def setFontFamily(self, fontFamily): 15920 '''void QTextEdit.setFontFamily(str fontFamily)''' 15921 def setFontPointSize(self, s): 15922 '''void QTextEdit.setFontPointSize(float s)''' 15923 def print_(self, printer): 15924 '''void QTextEdit.print_(QPagedPaintDevice printer)''' 15925 def moveCursor(self, operation, mode = None): 15926 '''void QTextEdit.moveCursor(QTextCursor.MoveOperation operation, QTextCursor.MoveMode mode = QTextCursor.MoveAnchor)''' 15927 def canPaste(self): 15928 '''bool QTextEdit.canPaste()''' 15929 return bool() 15930 def extraSelections(self): 15931 '''list-of-QTextEdit.ExtraSelection QTextEdit.extraSelections()''' 15932 return [QTextEdit.ExtraSelection()] 15933 def setExtraSelections(self, selections): 15934 '''void QTextEdit.setExtraSelections(list-of-QTextEdit.ExtraSelection selections)''' 15935 def cursorWidth(self): 15936 '''int QTextEdit.cursorWidth()''' 15937 return int() 15938 def setCursorWidth(self, width): 15939 '''void QTextEdit.setCursorWidth(int width)''' 15940 def textInteractionFlags(self): 15941 '''Qt.TextInteractionFlags QTextEdit.textInteractionFlags()''' 15942 return Qt.TextInteractionFlags() 15943 def setTextInteractionFlags(self, flags): 15944 '''void QTextEdit.setTextInteractionFlags(Qt.TextInteractionFlags flags)''' 15945 def setAcceptRichText(self, accept): 15946 '''void QTextEdit.setAcceptRichText(bool accept)''' 15947 def acceptRichText(self): 15948 '''bool QTextEdit.acceptRichText()''' 15949 return bool() 15950 def setTabStopWidth(self, width): 15951 '''void QTextEdit.setTabStopWidth(int width)''' 15952 def tabStopWidth(self): 15953 '''int QTextEdit.tabStopWidth()''' 15954 return int() 15955 def setOverwriteMode(self, overwrite): 15956 '''void QTextEdit.setOverwriteMode(bool overwrite)''' 15957 def overwriteMode(self): 15958 '''bool QTextEdit.overwriteMode()''' 15959 return bool() 15960 def anchorAt(self, pos): 15961 '''str QTextEdit.anchorAt(QPoint pos)''' 15962 return str() 15963 def cursorRect(self, cursor): 15964 '''QRect QTextEdit.cursorRect(QTextCursor cursor)''' 15965 return QRect() 15966 def cursorRect(self): 15967 '''QRect QTextEdit.cursorRect()''' 15968 return QRect() 15969 def cursorForPosition(self, pos): 15970 '''QTextCursor QTextEdit.cursorForPosition(QPoint pos)''' 15971 return QTextCursor() 15972 def createStandardContextMenu(self): 15973 '''QMenu QTextEdit.createStandardContextMenu()''' 15974 return QMenu() 15975 def createStandardContextMenu(self, position): 15976 '''QMenu QTextEdit.createStandardContextMenu(QPoint position)''' 15977 return QMenu() 15978 def loadResource(self, type, name): 15979 '''QVariant QTextEdit.loadResource(int type, QUrl name)''' 15980 return QVariant() 15981 def ensureCursorVisible(self): 15982 '''void QTextEdit.ensureCursorVisible()''' 15983 def append(self, text): 15984 '''void QTextEdit.append(str text)''' 15985 def toHtml(self): 15986 '''str QTextEdit.toHtml()''' 15987 return str() 15988 def toPlainText(self): 15989 '''str QTextEdit.toPlainText()''' 15990 return str() 15991 def find(self, exp, options = 0): 15992 '''bool QTextEdit.find(str exp, QTextDocument.FindFlags options = 0)''' 15993 return bool() 15994 def find(self, exp, options = 0): 15995 '''bool QTextEdit.find(QRegExp exp, QTextDocument.FindFlags options = 0)''' 15996 return bool() 15997 def setWordWrapMode(self, policy): 15998 '''void QTextEdit.setWordWrapMode(QTextOption.WrapMode policy)''' 15999 def wordWrapMode(self): 16000 '''QTextOption.WrapMode QTextEdit.wordWrapMode()''' 16001 return QTextOption.WrapMode() 16002 def setLineWrapColumnOrWidth(self, w): 16003 '''void QTextEdit.setLineWrapColumnOrWidth(int w)''' 16004 def lineWrapColumnOrWidth(self): 16005 '''int QTextEdit.lineWrapColumnOrWidth()''' 16006 return int() 16007 def setLineWrapMode(self, mode): 16008 '''void QTextEdit.setLineWrapMode(QTextEdit.LineWrapMode mode)''' 16009 def lineWrapMode(self): 16010 '''QTextEdit.LineWrapMode QTextEdit.lineWrapMode()''' 16011 return QTextEdit.LineWrapMode() 16012 def setUndoRedoEnabled(self, enable): 16013 '''void QTextEdit.setUndoRedoEnabled(bool enable)''' 16014 def isUndoRedoEnabled(self): 16015 '''bool QTextEdit.isUndoRedoEnabled()''' 16016 return bool() 16017 def documentTitle(self): 16018 '''str QTextEdit.documentTitle()''' 16019 return str() 16020 def setDocumentTitle(self, title): 16021 '''void QTextEdit.setDocumentTitle(str title)''' 16022 def setTabChangesFocus(self, b): 16023 '''void QTextEdit.setTabChangesFocus(bool b)''' 16024 def tabChangesFocus(self): 16025 '''bool QTextEdit.tabChangesFocus()''' 16026 return bool() 16027 def setAutoFormatting(self, features): 16028 '''void QTextEdit.setAutoFormatting(QTextEdit.AutoFormatting features)''' 16029 def autoFormatting(self): 16030 '''QTextEdit.AutoFormatting QTextEdit.autoFormatting()''' 16031 return QTextEdit.AutoFormatting() 16032 def currentCharFormat(self): 16033 '''QTextCharFormat QTextEdit.currentCharFormat()''' 16034 return QTextCharFormat() 16035 def setCurrentCharFormat(self, format): 16036 '''void QTextEdit.setCurrentCharFormat(QTextCharFormat format)''' 16037 def mergeCurrentCharFormat(self, modifier): 16038 '''void QTextEdit.mergeCurrentCharFormat(QTextCharFormat modifier)''' 16039 def alignment(self): 16040 '''Qt.Alignment QTextEdit.alignment()''' 16041 return Qt.Alignment() 16042 def currentFont(self): 16043 '''QFont QTextEdit.currentFont()''' 16044 return QFont() 16045 def textColor(self): 16046 '''QColor QTextEdit.textColor()''' 16047 return QColor() 16048 def fontItalic(self): 16049 '''bool QTextEdit.fontItalic()''' 16050 return bool() 16051 def fontUnderline(self): 16052 '''bool QTextEdit.fontUnderline()''' 16053 return bool() 16054 def fontWeight(self): 16055 '''int QTextEdit.fontWeight()''' 16056 return int() 16057 def fontFamily(self): 16058 '''str QTextEdit.fontFamily()''' 16059 return str() 16060 def fontPointSize(self): 16061 '''float QTextEdit.fontPointSize()''' 16062 return float() 16063 def setReadOnly(self, ro): 16064 '''void QTextEdit.setReadOnly(bool ro)''' 16065 def isReadOnly(self): 16066 '''bool QTextEdit.isReadOnly()''' 16067 return bool() 16068 def textCursor(self): 16069 '''QTextCursor QTextEdit.textCursor()''' 16070 return QTextCursor() 16071 def setTextCursor(self, cursor): 16072 '''void QTextEdit.setTextCursor(QTextCursor cursor)''' 16073 def document(self): 16074 '''QTextDocument QTextEdit.document()''' 16075 return QTextDocument() 16076 def setDocument(self, document): 16077 '''void QTextEdit.setDocument(QTextDocument document)''' 16078 class ExtraSelection(): 16079 """""" 16080 cursor = None # QTextCursor - member 16081 format = None # QTextCharFormat - member 16082 def __init__(self): 16083 '''void QTextEdit.ExtraSelection.__init__()''' 16084 def __init__(self): 16085 '''QTextEdit.ExtraSelection QTextEdit.ExtraSelection.__init__()''' 16086 return QTextEdit.ExtraSelection() 16087 class AutoFormatting(): 16088 """""" 16089 def __init__(self): 16090 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__init__()''' 16091 return QTextEdit.AutoFormatting() 16092 def __init__(self): 16093 '''int QTextEdit.AutoFormatting.__init__()''' 16094 return int() 16095 def __init__(self): 16096 '''void QTextEdit.AutoFormatting.__init__()''' 16097 def __bool__(self): 16098 '''int QTextEdit.AutoFormatting.__bool__()''' 16099 return int() 16100 def __ne__(self, f): 16101 '''bool QTextEdit.AutoFormatting.__ne__(QTextEdit.AutoFormatting f)''' 16102 return bool() 16103 def __eq__(self, f): 16104 '''bool QTextEdit.AutoFormatting.__eq__(QTextEdit.AutoFormatting f)''' 16105 return bool() 16106 def __invert__(self): 16107 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__invert__()''' 16108 return QTextEdit.AutoFormatting() 16109 def __and__(self, mask): 16110 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__and__(int mask)''' 16111 return QTextEdit.AutoFormatting() 16112 def __xor__(self, f): 16113 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__xor__(QTextEdit.AutoFormatting f)''' 16114 return QTextEdit.AutoFormatting() 16115 def __xor__(self, f): 16116 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__xor__(int f)''' 16117 return QTextEdit.AutoFormatting() 16118 def __or__(self, f): 16119 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__or__(QTextEdit.AutoFormatting f)''' 16120 return QTextEdit.AutoFormatting() 16121 def __or__(self, f): 16122 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__or__(int f)''' 16123 return QTextEdit.AutoFormatting() 16124 def __int__(self): 16125 '''int QTextEdit.AutoFormatting.__int__()''' 16126 return int() 16127 def __ixor__(self, f): 16128 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__ixor__(QTextEdit.AutoFormatting f)''' 16129 return QTextEdit.AutoFormatting() 16130 def __ior__(self, f): 16131 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__ior__(QTextEdit.AutoFormatting f)''' 16132 return QTextEdit.AutoFormatting() 16133 def __iand__(self, mask): 16134 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__iand__(int mask)''' 16135 return QTextEdit.AutoFormatting() 16136 16137 16138 class QTextBrowser(QTextEdit): 16139 """""" 16140 def __init__(self, parent = None): 16141 '''void QTextBrowser.__init__(QWidget parent = None)''' 16142 historyChanged = pyqtSignal() # void historyChanged() - signal 16143 def forwardHistoryCount(self): 16144 '''int QTextBrowser.forwardHistoryCount()''' 16145 return int() 16146 def backwardHistoryCount(self): 16147 '''int QTextBrowser.backwardHistoryCount()''' 16148 return int() 16149 def historyUrl(self): 16150 '''int QTextBrowser.historyUrl()''' 16151 return int() 16152 def historyTitle(self): 16153 '''int QTextBrowser.historyTitle()''' 16154 return int() 16155 def setOpenLinks(self, open): 16156 '''void QTextBrowser.setOpenLinks(bool open)''' 16157 def openLinks(self): 16158 '''bool QTextBrowser.openLinks()''' 16159 return bool() 16160 def setOpenExternalLinks(self, open): 16161 '''void QTextBrowser.setOpenExternalLinks(bool open)''' 16162 def openExternalLinks(self): 16163 '''bool QTextBrowser.openExternalLinks()''' 16164 return bool() 16165 def clearHistory(self): 16166 '''void QTextBrowser.clearHistory()''' 16167 def isForwardAvailable(self): 16168 '''bool QTextBrowser.isForwardAvailable()''' 16169 return bool() 16170 def isBackwardAvailable(self): 16171 '''bool QTextBrowser.isBackwardAvailable()''' 16172 return bool() 16173 def paintEvent(self, e): 16174 '''void QTextBrowser.paintEvent(QPaintEvent e)''' 16175 def focusNextPrevChild(self, next): 16176 '''bool QTextBrowser.focusNextPrevChild(bool next)''' 16177 return bool() 16178 def focusOutEvent(self, ev): 16179 '''void QTextBrowser.focusOutEvent(QFocusEvent ev)''' 16180 def mouseReleaseEvent(self, ev): 16181 '''void QTextBrowser.mouseReleaseEvent(QMouseEvent ev)''' 16182 def mousePressEvent(self, ev): 16183 '''void QTextBrowser.mousePressEvent(QMouseEvent ev)''' 16184 def mouseMoveEvent(self, ev): 16185 '''void QTextBrowser.mouseMoveEvent(QMouseEvent ev)''' 16186 def keyPressEvent(self, ev): 16187 '''void QTextBrowser.keyPressEvent(QKeyEvent ev)''' 16188 def event(self, e): 16189 '''bool QTextBrowser.event(QEvent e)''' 16190 return bool() 16191 anchorClicked = pyqtSignal() # void anchorClicked(const QUrlamp;) - signal 16192 highlighted = pyqtSignal() # void highlighted(const QUrlamp;) - signal 16193 highlighted = pyqtSignal() # void highlighted(const QStringamp;) - signal 16194 sourceChanged = pyqtSignal() # void sourceChanged(const QUrlamp;) - signal 16195 forwardAvailable = pyqtSignal() # void forwardAvailable(bool) - signal 16196 backwardAvailable = pyqtSignal() # void backwardAvailable(bool) - signal 16197 def reload(self): 16198 '''void QTextBrowser.reload()''' 16199 def home(self): 16200 '''void QTextBrowser.home()''' 16201 def forward(self): 16202 '''void QTextBrowser.forward()''' 16203 def backward(self): 16204 '''void QTextBrowser.backward()''' 16205 def setSource(self, name): 16206 '''void QTextBrowser.setSource(QUrl name)''' 16207 def loadResource(self, type, name): 16208 '''QVariant QTextBrowser.loadResource(int type, QUrl name)''' 16209 return QVariant() 16210 def setSearchPaths(self, paths): 16211 '''void QTextBrowser.setSearchPaths(list-of-str paths)''' 16212 def searchPaths(self): 16213 '''list-of-str QTextBrowser.searchPaths()''' 16214 return [str()] 16215 def source(self): 16216 '''QUrl QTextBrowser.source()''' 16217 return QUrl() 16218 16219 16220 class QToolBar(QWidget): 16221 """""" 16222 def __init__(self, title, parent = None): 16223 '''void QToolBar.__init__(str title, QWidget parent = None)''' 16224 def __init__(self, parent = None): 16225 '''void QToolBar.__init__(QWidget parent = None)''' 16226 def isFloating(self): 16227 '''bool QToolBar.isFloating()''' 16228 return bool() 16229 def setFloatable(self, floatable): 16230 '''void QToolBar.setFloatable(bool floatable)''' 16231 def isFloatable(self): 16232 '''bool QToolBar.isFloatable()''' 16233 return bool() 16234 def event(self, event): 16235 '''bool QToolBar.event(QEvent event)''' 16236 return bool() 16237 def paintEvent(self, event): 16238 '''void QToolBar.paintEvent(QPaintEvent event)''' 16239 def changeEvent(self, event): 16240 '''void QToolBar.changeEvent(QEvent event)''' 16241 def actionEvent(self, event): 16242 '''void QToolBar.actionEvent(QActionEvent event)''' 16243 def initStyleOption(self, option): 16244 '''void QToolBar.initStyleOption(QStyleOptionToolBar option)''' 16245 visibilityChanged = pyqtSignal() # void visibilityChanged(bool) - signal 16246 topLevelChanged = pyqtSignal() # void topLevelChanged(bool) - signal 16247 toolButtonStyleChanged = pyqtSignal() # void toolButtonStyleChanged(Qt::ToolButtonStyle) - signal 16248 iconSizeChanged = pyqtSignal() # void iconSizeChanged(const QSizeamp;) - signal 16249 orientationChanged = pyqtSignal() # void orientationChanged(Qt::Orientation) - signal 16250 allowedAreasChanged = pyqtSignal() # void allowedAreasChanged(Qt::ToolBarAreas) - signal 16251 movableChanged = pyqtSignal() # void movableChanged(bool) - signal 16252 actionTriggered = pyqtSignal() # void actionTriggered(QAction*) - signal 16253 def setToolButtonStyle(self, toolButtonStyle): 16254 '''void QToolBar.setToolButtonStyle(Qt.ToolButtonStyle toolButtonStyle)''' 16255 def setIconSize(self, iconSize): 16256 '''void QToolBar.setIconSize(QSize iconSize)''' 16257 def widgetForAction(self, action): 16258 '''QWidget QToolBar.widgetForAction(QAction action)''' 16259 return QWidget() 16260 def toolButtonStyle(self): 16261 '''Qt.ToolButtonStyle QToolBar.toolButtonStyle()''' 16262 return Qt.ToolButtonStyle() 16263 def iconSize(self): 16264 '''QSize QToolBar.iconSize()''' 16265 return QSize() 16266 def toggleViewAction(self): 16267 '''QAction QToolBar.toggleViewAction()''' 16268 return QAction() 16269 def actionAt(self, p): 16270 '''QAction QToolBar.actionAt(QPoint p)''' 16271 return QAction() 16272 def actionAt(self, ax, ay): 16273 '''QAction QToolBar.actionAt(int ax, int ay)''' 16274 return QAction() 16275 def actionGeometry(self, action): 16276 '''QRect QToolBar.actionGeometry(QAction action)''' 16277 return QRect() 16278 def insertWidget(self, before, widget): 16279 '''QAction QToolBar.insertWidget(QAction before, QWidget widget)''' 16280 return QAction() 16281 def addWidget(self, widget): 16282 '''QAction QToolBar.addWidget(QWidget widget)''' 16283 return QAction() 16284 def insertSeparator(self, before): 16285 '''QAction QToolBar.insertSeparator(QAction before)''' 16286 return QAction() 16287 def addSeparator(self): 16288 '''QAction QToolBar.addSeparator()''' 16289 return QAction() 16290 def addAction(self, action): 16291 '''void QToolBar.addAction(QAction action)''' 16292 def addAction(self, text): 16293 '''QAction QToolBar.addAction(str text)''' 16294 return QAction() 16295 def addAction(self, icon, text): 16296 '''QAction QToolBar.addAction(QIcon icon, str text)''' 16297 return QAction() 16298 def addAction(self, text, slot): 16299 '''QAction QToolBar.addAction(str text, slot slot)''' 16300 return QAction() 16301 def addAction(self, icon, text, slot): 16302 '''QAction QToolBar.addAction(QIcon icon, str text, slot slot)''' 16303 return QAction() 16304 def clear(self): 16305 '''void QToolBar.clear()''' 16306 def orientation(self): 16307 '''Qt.Orientation QToolBar.orientation()''' 16308 return Qt.Orientation() 16309 def setOrientation(self, orientation): 16310 '''void QToolBar.setOrientation(Qt.Orientation orientation)''' 16311 def isAreaAllowed(self, area): 16312 '''bool QToolBar.isAreaAllowed(Qt.ToolBarArea area)''' 16313 return bool() 16314 def allowedAreas(self): 16315 '''Qt.ToolBarAreas QToolBar.allowedAreas()''' 16316 return Qt.ToolBarAreas() 16317 def setAllowedAreas(self, areas): 16318 '''void QToolBar.setAllowedAreas(Qt.ToolBarAreas areas)''' 16319 def isMovable(self): 16320 '''bool QToolBar.isMovable()''' 16321 return bool() 16322 def setMovable(self, movable): 16323 '''void QToolBar.setMovable(bool movable)''' 16324 16325 16326 class QToolBox(QFrame): 16327 """""" 16328 def __init__(self, parent = None, flags = 0): 16329 '''void QToolBox.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 16330 def changeEvent(self): 16331 '''QEvent QToolBox.changeEvent()''' 16332 return QEvent() 16333 def showEvent(self, e): 16334 '''void QToolBox.showEvent(QShowEvent e)''' 16335 def event(self, e): 16336 '''bool QToolBox.event(QEvent e)''' 16337 return bool() 16338 def itemRemoved(self, index): 16339 '''void QToolBox.itemRemoved(int index)''' 16340 def itemInserted(self, index): 16341 '''void QToolBox.itemInserted(int index)''' 16342 currentChanged = pyqtSignal() # void currentChanged(int) - signal 16343 def setCurrentWidget(self, widget): 16344 '''void QToolBox.setCurrentWidget(QWidget widget)''' 16345 def setCurrentIndex(self, index): 16346 '''void QToolBox.setCurrentIndex(int index)''' 16347 def __len__(self): 16348 ''' QToolBox.__len__()''' 16349 return () 16350 def count(self): 16351 '''int QToolBox.count()''' 16352 return int() 16353 def indexOf(self, widget): 16354 '''int QToolBox.indexOf(QWidget widget)''' 16355 return int() 16356 def widget(self, index): 16357 '''QWidget QToolBox.widget(int index)''' 16358 return QWidget() 16359 def currentWidget(self): 16360 '''QWidget QToolBox.currentWidget()''' 16361 return QWidget() 16362 def currentIndex(self): 16363 '''int QToolBox.currentIndex()''' 16364 return int() 16365 def itemToolTip(self, index): 16366 '''str QToolBox.itemToolTip(int index)''' 16367 return str() 16368 def setItemToolTip(self, index, toolTip): 16369 '''void QToolBox.setItemToolTip(int index, str toolTip)''' 16370 def itemIcon(self, index): 16371 '''QIcon QToolBox.itemIcon(int index)''' 16372 return QIcon() 16373 def setItemIcon(self, index, icon): 16374 '''void QToolBox.setItemIcon(int index, QIcon icon)''' 16375 def itemText(self, index): 16376 '''str QToolBox.itemText(int index)''' 16377 return str() 16378 def setItemText(self, index, text): 16379 '''void QToolBox.setItemText(int index, str text)''' 16380 def isItemEnabled(self, index): 16381 '''bool QToolBox.isItemEnabled(int index)''' 16382 return bool() 16383 def setItemEnabled(self, index, enabled): 16384 '''void QToolBox.setItemEnabled(int index, bool enabled)''' 16385 def removeItem(self, index): 16386 '''void QToolBox.removeItem(int index)''' 16387 def insertItem(self, index, item, text): 16388 '''int QToolBox.insertItem(int index, QWidget item, str text)''' 16389 return int() 16390 def insertItem(self, index, widget, icon, text): 16391 '''int QToolBox.insertItem(int index, QWidget widget, QIcon icon, str text)''' 16392 return int() 16393 def addItem(self, item, text): 16394 '''int QToolBox.addItem(QWidget item, str text)''' 16395 return int() 16396 def addItem(self, item, iconSet, text): 16397 '''int QToolBox.addItem(QWidget item, QIcon iconSet, str text)''' 16398 return int() 16399 16400 16401 class QToolButton(QAbstractButton): 16402 """""" 16403 # Enum QToolButton.ToolButtonPopupMode 16404 DelayedPopup = 0 16405 MenuButtonPopup = 0 16406 InstantPopup = 0 16407 16408 def __init__(self, parent = None): 16409 '''void QToolButton.__init__(QWidget parent = None)''' 16410 def hitButton(self, pos): 16411 '''bool QToolButton.hitButton(QPoint pos)''' 16412 return bool() 16413 def nextCheckState(self): 16414 '''void QToolButton.nextCheckState()''' 16415 def mouseReleaseEvent(self): 16416 '''QMouseEvent QToolButton.mouseReleaseEvent()''' 16417 return QMouseEvent() 16418 def changeEvent(self): 16419 '''QEvent QToolButton.changeEvent()''' 16420 return QEvent() 16421 def timerEvent(self): 16422 '''QTimerEvent QToolButton.timerEvent()''' 16423 return QTimerEvent() 16424 def leaveEvent(self): 16425 '''QEvent QToolButton.leaveEvent()''' 16426 return QEvent() 16427 def enterEvent(self): 16428 '''QEvent QToolButton.enterEvent()''' 16429 return QEvent() 16430 def actionEvent(self): 16431 '''QActionEvent QToolButton.actionEvent()''' 16432 return QActionEvent() 16433 def paintEvent(self): 16434 '''QPaintEvent QToolButton.paintEvent()''' 16435 return QPaintEvent() 16436 def mousePressEvent(self): 16437 '''QMouseEvent QToolButton.mousePressEvent()''' 16438 return QMouseEvent() 16439 def event(self, e): 16440 '''bool QToolButton.event(QEvent e)''' 16441 return bool() 16442 def initStyleOption(self, option): 16443 '''void QToolButton.initStyleOption(QStyleOptionToolButton option)''' 16444 triggered = pyqtSignal() # void triggered(QAction*) - signal 16445 def setDefaultAction(self): 16446 '''QAction QToolButton.setDefaultAction()''' 16447 return QAction() 16448 def setToolButtonStyle(self, style): 16449 '''void QToolButton.setToolButtonStyle(Qt.ToolButtonStyle style)''' 16450 def showMenu(self): 16451 '''void QToolButton.showMenu()''' 16452 def autoRaise(self): 16453 '''bool QToolButton.autoRaise()''' 16454 return bool() 16455 def setAutoRaise(self, enable): 16456 '''void QToolButton.setAutoRaise(bool enable)''' 16457 def defaultAction(self): 16458 '''QAction QToolButton.defaultAction()''' 16459 return QAction() 16460 def popupMode(self): 16461 '''QToolButton.ToolButtonPopupMode QToolButton.popupMode()''' 16462 return QToolButton.ToolButtonPopupMode() 16463 def setPopupMode(self, mode): 16464 '''void QToolButton.setPopupMode(QToolButton.ToolButtonPopupMode mode)''' 16465 def menu(self): 16466 '''QMenu QToolButton.menu()''' 16467 return QMenu() 16468 def setMenu(self, menu): 16469 '''void QToolButton.setMenu(QMenu menu)''' 16470 def setArrowType(self, type): 16471 '''void QToolButton.setArrowType(Qt.ArrowType type)''' 16472 def arrowType(self): 16473 '''Qt.ArrowType QToolButton.arrowType()''' 16474 return Qt.ArrowType() 16475 def toolButtonStyle(self): 16476 '''Qt.ToolButtonStyle QToolButton.toolButtonStyle()''' 16477 return Qt.ToolButtonStyle() 16478 def minimumSizeHint(self): 16479 '''QSize QToolButton.minimumSizeHint()''' 16480 return QSize() 16481 def sizeHint(self): 16482 '''QSize QToolButton.sizeHint()''' 16483 return QSize() 16484 16485 16486 class QToolTip(): 16487 """""" 16488 def __init__(self): 16489 '''QToolTip QToolTip.__init__()''' 16490 return QToolTip() 16491 def text(self): 16492 '''static str QToolTip.text()''' 16493 return str() 16494 def isVisible(self): 16495 '''static bool QToolTip.isVisible()''' 16496 return bool() 16497 def setFont(self): 16498 '''static QFont QToolTip.setFont()''' 16499 return QFont() 16500 def font(self): 16501 '''static QFont QToolTip.font()''' 16502 return QFont() 16503 def setPalette(self): 16504 '''static QPalette QToolTip.setPalette()''' 16505 return QPalette() 16506 def hideText(self): 16507 '''static void QToolTip.hideText()''' 16508 def palette(self): 16509 '''static QPalette QToolTip.palette()''' 16510 return QPalette() 16511 def showText(self, pos, text, widget = None): 16512 '''static void QToolTip.showText(QPoint pos, str text, QWidget widget = None)''' 16513 def showText(self, pos, text, w, rect): 16514 '''static void QToolTip.showText(QPoint pos, str text, QWidget w, QRect rect)''' 16515 def showText(self, pos, text, w, rect, msecShowTime): 16516 '''static void QToolTip.showText(QPoint pos, str text, QWidget w, QRect rect, int msecShowTime)''' 16517 16518 16519 class QTreeView(QAbstractItemView): 16520 """""" 16521 def __init__(self, parent = None): 16522 '''void QTreeView.__init__(QWidget parent = None)''' 16523 def resetIndentation(self): 16524 '''void QTreeView.resetIndentation()''' 16525 def viewportSizeHint(self): 16526 '''QSize QTreeView.viewportSizeHint()''' 16527 return QSize() 16528 def treePosition(self): 16529 '''int QTreeView.treePosition()''' 16530 return int() 16531 def setTreePosition(self, logicalIndex): 16532 '''void QTreeView.setTreePosition(int logicalIndex)''' 16533 def setHeaderHidden(self, hide): 16534 '''void QTreeView.setHeaderHidden(bool hide)''' 16535 def isHeaderHidden(self): 16536 '''bool QTreeView.isHeaderHidden()''' 16537 return bool() 16538 def setExpandsOnDoubleClick(self, enable): 16539 '''void QTreeView.setExpandsOnDoubleClick(bool enable)''' 16540 def expandsOnDoubleClick(self): 16541 '''bool QTreeView.expandsOnDoubleClick()''' 16542 return bool() 16543 def currentChanged(self, current, previous): 16544 '''void QTreeView.currentChanged(QModelIndex current, QModelIndex previous)''' 16545 def selectionChanged(self, selected, deselected): 16546 '''void QTreeView.selectionChanged(QItemSelection selected, QItemSelection deselected)''' 16547 def rowHeight(self, index): 16548 '''int QTreeView.rowHeight(QModelIndex index)''' 16549 return int() 16550 def viewportEvent(self, event): 16551 '''bool QTreeView.viewportEvent(QEvent event)''' 16552 return bool() 16553 def dragMoveEvent(self, event): 16554 '''void QTreeView.dragMoveEvent(QDragMoveEvent event)''' 16555 def expandToDepth(self, depth): 16556 '''void QTreeView.expandToDepth(int depth)''' 16557 def wordWrap(self): 16558 '''bool QTreeView.wordWrap()''' 16559 return bool() 16560 def setWordWrap(self, on): 16561 '''void QTreeView.setWordWrap(bool on)''' 16562 def setFirstColumnSpanned(self, row, parent, span): 16563 '''void QTreeView.setFirstColumnSpanned(int row, QModelIndex parent, bool span)''' 16564 def isFirstColumnSpanned(self, row, parent): 16565 '''bool QTreeView.isFirstColumnSpanned(int row, QModelIndex parent)''' 16566 return bool() 16567 def setAutoExpandDelay(self, delay): 16568 '''void QTreeView.setAutoExpandDelay(int delay)''' 16569 def autoExpandDelay(self): 16570 '''int QTreeView.autoExpandDelay()''' 16571 return int() 16572 def sortByColumn(self, column, order): 16573 '''void QTreeView.sortByColumn(int column, Qt.SortOrder order)''' 16574 def allColumnsShowFocus(self): 16575 '''bool QTreeView.allColumnsShowFocus()''' 16576 return bool() 16577 def setAllColumnsShowFocus(self, enable): 16578 '''void QTreeView.setAllColumnsShowFocus(bool enable)''' 16579 def isAnimated(self): 16580 '''bool QTreeView.isAnimated()''' 16581 return bool() 16582 def setAnimated(self, enable): 16583 '''void QTreeView.setAnimated(bool enable)''' 16584 def isSortingEnabled(self): 16585 '''bool QTreeView.isSortingEnabled()''' 16586 return bool() 16587 def setSortingEnabled(self, enable): 16588 '''void QTreeView.setSortingEnabled(bool enable)''' 16589 def setColumnWidth(self, column, width): 16590 '''void QTreeView.setColumnWidth(int column, int width)''' 16591 def isIndexHidden(self, index): 16592 '''bool QTreeView.isIndexHidden(QModelIndex index)''' 16593 return bool() 16594 def horizontalScrollbarAction(self, action): 16595 '''void QTreeView.horizontalScrollbarAction(int action)''' 16596 def indexRowSizeHint(self, index): 16597 '''int QTreeView.indexRowSizeHint(QModelIndex index)''' 16598 return int() 16599 def sizeHintForColumn(self, column): 16600 '''int QTreeView.sizeHintForColumn(int column)''' 16601 return int() 16602 def updateGeometries(self): 16603 '''void QTreeView.updateGeometries()''' 16604 def keyPressEvent(self, event): 16605 '''void QTreeView.keyPressEvent(QKeyEvent event)''' 16606 def mouseDoubleClickEvent(self, e): 16607 '''void QTreeView.mouseDoubleClickEvent(QMouseEvent e)''' 16608 def mouseMoveEvent(self, event): 16609 '''void QTreeView.mouseMoveEvent(QMouseEvent event)''' 16610 def mousePressEvent(self, e): 16611 '''void QTreeView.mousePressEvent(QMouseEvent e)''' 16612 def drawTree(self, painter, region): 16613 '''void QTreeView.drawTree(QPainter painter, QRegion region)''' 16614 def drawBranches(self, painter, rect, index): 16615 '''void QTreeView.drawBranches(QPainter painter, QRect rect, QModelIndex index)''' 16616 def drawRow(self, painter, options, index): 16617 '''void QTreeView.drawRow(QPainter painter, QStyleOptionViewItem options, QModelIndex index)''' 16618 def mouseReleaseEvent(self, event): 16619 '''void QTreeView.mouseReleaseEvent(QMouseEvent event)''' 16620 def timerEvent(self, event): 16621 '''void QTreeView.timerEvent(QTimerEvent event)''' 16622 def paintEvent(self, e): 16623 '''void QTreeView.paintEvent(QPaintEvent e)''' 16624 def selectedIndexes(self): 16625 '''list-of-QModelIndex QTreeView.selectedIndexes()''' 16626 return [QModelIndex()] 16627 def visualRegionForSelection(self, selection): 16628 '''QRegion QTreeView.visualRegionForSelection(QItemSelection selection)''' 16629 return QRegion() 16630 def setSelection(self, rect, command): 16631 '''void QTreeView.setSelection(QRect rect, QItemSelectionModel.SelectionFlags command)''' 16632 def verticalOffset(self): 16633 '''int QTreeView.verticalOffset()''' 16634 return int() 16635 def horizontalOffset(self): 16636 '''int QTreeView.horizontalOffset()''' 16637 return int() 16638 def moveCursor(self, cursorAction, modifiers): 16639 '''QModelIndex QTreeView.moveCursor(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers)''' 16640 return QModelIndex() 16641 def rowsAboutToBeRemoved(self, parent, start, end): 16642 '''void QTreeView.rowsAboutToBeRemoved(QModelIndex parent, int start, int end)''' 16643 def rowsInserted(self, parent, start, end): 16644 '''void QTreeView.rowsInserted(QModelIndex parent, int start, int end)''' 16645 def scrollContentsBy(self, dx, dy): 16646 '''void QTreeView.scrollContentsBy(int dx, int dy)''' 16647 def rowsRemoved(self, parent, first, last): 16648 '''void QTreeView.rowsRemoved(QModelIndex parent, int first, int last)''' 16649 def reexpand(self): 16650 '''void QTreeView.reexpand()''' 16651 def columnMoved(self): 16652 '''void QTreeView.columnMoved()''' 16653 def columnCountChanged(self, oldCount, newCount): 16654 '''void QTreeView.columnCountChanged(int oldCount, int newCount)''' 16655 def columnResized(self, column, oldSize, newSize): 16656 '''void QTreeView.columnResized(int column, int oldSize, int newSize)''' 16657 def selectAll(self): 16658 '''void QTreeView.selectAll()''' 16659 def resizeColumnToContents(self, column): 16660 '''void QTreeView.resizeColumnToContents(int column)''' 16661 def collapseAll(self): 16662 '''void QTreeView.collapseAll()''' 16663 def collapse(self, index): 16664 '''void QTreeView.collapse(QModelIndex index)''' 16665 def expandAll(self): 16666 '''void QTreeView.expandAll()''' 16667 def expand(self, index): 16668 '''void QTreeView.expand(QModelIndex index)''' 16669 def showColumn(self, column): 16670 '''void QTreeView.showColumn(int column)''' 16671 def hideColumn(self, column): 16672 '''void QTreeView.hideColumn(int column)''' 16673 def dataChanged(self, topLeft, bottomRight, roles = None): 16674 '''void QTreeView.dataChanged(QModelIndex topLeft, QModelIndex bottomRight, list-of-int roles = [])''' 16675 collapsed = pyqtSignal() # void collapsed(const QModelIndexamp;) - signal 16676 expanded = pyqtSignal() # void expanded(const QModelIndexamp;) - signal 16677 def reset(self): 16678 '''void QTreeView.reset()''' 16679 def indexBelow(self, index): 16680 '''QModelIndex QTreeView.indexBelow(QModelIndex index)''' 16681 return QModelIndex() 16682 def indexAbove(self, index): 16683 '''QModelIndex QTreeView.indexAbove(QModelIndex index)''' 16684 return QModelIndex() 16685 def indexAt(self, p): 16686 '''QModelIndex QTreeView.indexAt(QPoint p)''' 16687 return QModelIndex() 16688 def scrollTo(self, index, hint = None): 16689 '''void QTreeView.scrollTo(QModelIndex index, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 16690 def visualRect(self, index): 16691 '''QRect QTreeView.visualRect(QModelIndex index)''' 16692 return QRect() 16693 def keyboardSearch(self, search): 16694 '''void QTreeView.keyboardSearch(str search)''' 16695 def setExpanded(self, index, expand): 16696 '''void QTreeView.setExpanded(QModelIndex index, bool expand)''' 16697 def isExpanded(self, index): 16698 '''bool QTreeView.isExpanded(QModelIndex index)''' 16699 return bool() 16700 def setRowHidden(self, row, parent, hide): 16701 '''void QTreeView.setRowHidden(int row, QModelIndex parent, bool hide)''' 16702 def isRowHidden(self, row, parent): 16703 '''bool QTreeView.isRowHidden(int row, QModelIndex parent)''' 16704 return bool() 16705 def setColumnHidden(self, column, hide): 16706 '''void QTreeView.setColumnHidden(int column, bool hide)''' 16707 def isColumnHidden(self, column): 16708 '''bool QTreeView.isColumnHidden(int column)''' 16709 return bool() 16710 def columnAt(self, x): 16711 '''int QTreeView.columnAt(int x)''' 16712 return int() 16713 def columnWidth(self, column): 16714 '''int QTreeView.columnWidth(int column)''' 16715 return int() 16716 def columnViewportPosition(self, column): 16717 '''int QTreeView.columnViewportPosition(int column)''' 16718 return int() 16719 def setItemsExpandable(self, enable): 16720 '''void QTreeView.setItemsExpandable(bool enable)''' 16721 def itemsExpandable(self): 16722 '''bool QTreeView.itemsExpandable()''' 16723 return bool() 16724 def setUniformRowHeights(self, uniform): 16725 '''void QTreeView.setUniformRowHeights(bool uniform)''' 16726 def uniformRowHeights(self): 16727 '''bool QTreeView.uniformRowHeights()''' 16728 return bool() 16729 def setRootIsDecorated(self, show): 16730 '''void QTreeView.setRootIsDecorated(bool show)''' 16731 def rootIsDecorated(self): 16732 '''bool QTreeView.rootIsDecorated()''' 16733 return bool() 16734 def setIndentation(self, i): 16735 '''void QTreeView.setIndentation(int i)''' 16736 def indentation(self): 16737 '''int QTreeView.indentation()''' 16738 return int() 16739 def setHeader(self, header): 16740 '''void QTreeView.setHeader(QHeaderView header)''' 16741 def header(self): 16742 '''QHeaderView QTreeView.header()''' 16743 return QHeaderView() 16744 def setSelectionModel(self, selectionModel): 16745 '''void QTreeView.setSelectionModel(QItemSelectionModel selectionModel)''' 16746 def setRootIndex(self, index): 16747 '''void QTreeView.setRootIndex(QModelIndex index)''' 16748 def setModel(self, model): 16749 '''void QTreeView.setModel(QAbstractItemModel model)''' 16750 16751 16752 class QTreeWidgetItem(): 16753 """""" 16754 # Enum QTreeWidgetItem.ChildIndicatorPolicy 16755 ShowIndicator = 0 16756 DontShowIndicator = 0 16757 DontShowIndicatorWhenChildless = 0 16758 16759 # Enum QTreeWidgetItem.ItemType 16760 Type = 0 16761 UserType = 0 16762 16763 def __init__(self, type = None): 16764 '''void QTreeWidgetItem.__init__(int type = QTreeWidgetItem.Type)''' 16765 def __init__(self, strings, type = None): 16766 '''void QTreeWidgetItem.__init__(list-of-str strings, int type = QTreeWidgetItem.Type)''' 16767 def __init__(self, parent, type = None): 16768 '''void QTreeWidgetItem.__init__(QTreeWidget parent, int type = QTreeWidgetItem.Type)''' 16769 def __init__(self, parent, strings, type = None): 16770 '''void QTreeWidgetItem.__init__(QTreeWidget parent, list-of-str strings, int type = QTreeWidgetItem.Type)''' 16771 def __init__(self, parent, preceding, type = None): 16772 '''void QTreeWidgetItem.__init__(QTreeWidget parent, QTreeWidgetItem preceding, int type = QTreeWidgetItem.Type)''' 16773 def __init__(self, parent, type = None): 16774 '''void QTreeWidgetItem.__init__(QTreeWidgetItem parent, int type = QTreeWidgetItem.Type)''' 16775 def __init__(self, parent, strings, type = None): 16776 '''void QTreeWidgetItem.__init__(QTreeWidgetItem parent, list-of-str strings, int type = QTreeWidgetItem.Type)''' 16777 def __init__(self, parent, preceding, type = None): 16778 '''void QTreeWidgetItem.__init__(QTreeWidgetItem parent, QTreeWidgetItem preceding, int type = QTreeWidgetItem.Type)''' 16779 def __init__(self, other): 16780 '''void QTreeWidgetItem.__init__(QTreeWidgetItem other)''' 16781 def __ge__(self, other): 16782 '''bool QTreeWidgetItem.__ge__(QTreeWidgetItem other)''' 16783 return bool() 16784 def emitDataChanged(self): 16785 '''void QTreeWidgetItem.emitDataChanged()''' 16786 def isDisabled(self): 16787 '''bool QTreeWidgetItem.isDisabled()''' 16788 return bool() 16789 def setDisabled(self, disabled): 16790 '''void QTreeWidgetItem.setDisabled(bool disabled)''' 16791 def isFirstColumnSpanned(self): 16792 '''bool QTreeWidgetItem.isFirstColumnSpanned()''' 16793 return bool() 16794 def setFirstColumnSpanned(self, aspan): 16795 '''void QTreeWidgetItem.setFirstColumnSpanned(bool aspan)''' 16796 def removeChild(self, child): 16797 '''void QTreeWidgetItem.removeChild(QTreeWidgetItem child)''' 16798 def childIndicatorPolicy(self): 16799 '''QTreeWidgetItem.ChildIndicatorPolicy QTreeWidgetItem.childIndicatorPolicy()''' 16800 return QTreeWidgetItem.ChildIndicatorPolicy() 16801 def setChildIndicatorPolicy(self, policy): 16802 '''void QTreeWidgetItem.setChildIndicatorPolicy(QTreeWidgetItem.ChildIndicatorPolicy policy)''' 16803 def isExpanded(self): 16804 '''bool QTreeWidgetItem.isExpanded()''' 16805 return bool() 16806 def setExpanded(self, aexpand): 16807 '''void QTreeWidgetItem.setExpanded(bool aexpand)''' 16808 def isHidden(self): 16809 '''bool QTreeWidgetItem.isHidden()''' 16810 return bool() 16811 def setHidden(self, ahide): 16812 '''void QTreeWidgetItem.setHidden(bool ahide)''' 16813 def isSelected(self): 16814 '''bool QTreeWidgetItem.isSelected()''' 16815 return bool() 16816 def setSelected(self, aselect): 16817 '''void QTreeWidgetItem.setSelected(bool aselect)''' 16818 def sortChildren(self, column, order): 16819 '''void QTreeWidgetItem.sortChildren(int column, Qt.SortOrder order)''' 16820 def setForeground(self, column, brush): 16821 '''void QTreeWidgetItem.setForeground(int column, QBrush brush)''' 16822 def foreground(self, column): 16823 '''QBrush QTreeWidgetItem.foreground(int column)''' 16824 return QBrush() 16825 def setBackground(self, column, brush): 16826 '''void QTreeWidgetItem.setBackground(int column, QBrush brush)''' 16827 def background(self, column): 16828 '''QBrush QTreeWidgetItem.background(int column)''' 16829 return QBrush() 16830 def takeChildren(self): 16831 '''list-of-QTreeWidgetItem QTreeWidgetItem.takeChildren()''' 16832 return [QTreeWidgetItem()] 16833 def insertChildren(self, index, children): 16834 '''void QTreeWidgetItem.insertChildren(int index, list-of-QTreeWidgetItem children)''' 16835 def addChildren(self, children): 16836 '''void QTreeWidgetItem.addChildren(list-of-QTreeWidgetItem children)''' 16837 def setSizeHint(self, column, size): 16838 '''void QTreeWidgetItem.setSizeHint(int column, QSize size)''' 16839 def sizeHint(self, column): 16840 '''QSize QTreeWidgetItem.sizeHint(int column)''' 16841 return QSize() 16842 def indexOfChild(self, achild): 16843 '''int QTreeWidgetItem.indexOfChild(QTreeWidgetItem achild)''' 16844 return int() 16845 def setFont(self, column, afont): 16846 '''void QTreeWidgetItem.setFont(int column, QFont afont)''' 16847 def setWhatsThis(self, column, awhatsThis): 16848 '''void QTreeWidgetItem.setWhatsThis(int column, str awhatsThis)''' 16849 def setToolTip(self, column, atoolTip): 16850 '''void QTreeWidgetItem.setToolTip(int column, str atoolTip)''' 16851 def setStatusTip(self, column, astatusTip): 16852 '''void QTreeWidgetItem.setStatusTip(int column, str astatusTip)''' 16853 def setIcon(self, column, aicon): 16854 '''void QTreeWidgetItem.setIcon(int column, QIcon aicon)''' 16855 def setText(self, column, atext): 16856 '''void QTreeWidgetItem.setText(int column, str atext)''' 16857 def setFlags(self, aflags): 16858 '''void QTreeWidgetItem.setFlags(Qt.ItemFlags aflags)''' 16859 def type(self): 16860 '''int QTreeWidgetItem.type()''' 16861 return int() 16862 def takeChild(self, index): 16863 '''QTreeWidgetItem QTreeWidgetItem.takeChild(int index)''' 16864 return QTreeWidgetItem() 16865 def insertChild(self, index, child): 16866 '''void QTreeWidgetItem.insertChild(int index, QTreeWidgetItem child)''' 16867 def addChild(self, child): 16868 '''void QTreeWidgetItem.addChild(QTreeWidgetItem child)''' 16869 def columnCount(self): 16870 '''int QTreeWidgetItem.columnCount()''' 16871 return int() 16872 def childCount(self): 16873 '''int QTreeWidgetItem.childCount()''' 16874 return int() 16875 def child(self, index): 16876 '''QTreeWidgetItem QTreeWidgetItem.child(int index)''' 16877 return QTreeWidgetItem() 16878 def parent(self): 16879 '''QTreeWidgetItem QTreeWidgetItem.parent()''' 16880 return QTreeWidgetItem() 16881 def write(self, out): 16882 '''void QTreeWidgetItem.write(QDataStream out)''' 16883 def read(self, in_): 16884 '''void QTreeWidgetItem.read(QDataStream in)''' 16885 def __lt__(self, other): 16886 '''bool QTreeWidgetItem.__lt__(QTreeWidgetItem other)''' 16887 return bool() 16888 def setData(self, column, role, value): 16889 '''void QTreeWidgetItem.setData(int column, int role, QVariant value)''' 16890 def data(self, column, role): 16891 '''QVariant QTreeWidgetItem.data(int column, int role)''' 16892 return QVariant() 16893 def setCheckState(self, column, state): 16894 '''void QTreeWidgetItem.setCheckState(int column, Qt.CheckState state)''' 16895 def checkState(self, column): 16896 '''Qt.CheckState QTreeWidgetItem.checkState(int column)''' 16897 return Qt.CheckState() 16898 def setTextAlignment(self, column, alignment): 16899 '''void QTreeWidgetItem.setTextAlignment(int column, int alignment)''' 16900 def textAlignment(self, column): 16901 '''int QTreeWidgetItem.textAlignment(int column)''' 16902 return int() 16903 def font(self, column): 16904 '''QFont QTreeWidgetItem.font(int column)''' 16905 return QFont() 16906 def whatsThis(self, column): 16907 '''str QTreeWidgetItem.whatsThis(int column)''' 16908 return str() 16909 def toolTip(self, column): 16910 '''str QTreeWidgetItem.toolTip(int column)''' 16911 return str() 16912 def statusTip(self, column): 16913 '''str QTreeWidgetItem.statusTip(int column)''' 16914 return str() 16915 def icon(self, column): 16916 '''QIcon QTreeWidgetItem.icon(int column)''' 16917 return QIcon() 16918 def text(self, column): 16919 '''str QTreeWidgetItem.text(int column)''' 16920 return str() 16921 def flags(self): 16922 '''Qt.ItemFlags QTreeWidgetItem.flags()''' 16923 return Qt.ItemFlags() 16924 def treeWidget(self): 16925 '''QTreeWidget QTreeWidgetItem.treeWidget()''' 16926 return QTreeWidget() 16927 def clone(self): 16928 '''QTreeWidgetItem QTreeWidgetItem.clone()''' 16929 return QTreeWidgetItem() 16930 16931 16932 class QTreeWidget(QTreeView): 16933 """""" 16934 def __init__(self, parent = None): 16935 '''void QTreeWidget.__init__(QWidget parent = None)''' 16936 def setSelectionModel(self, selectionModel): 16937 '''void QTreeWidget.setSelectionModel(QItemSelectionModel selectionModel)''' 16938 def removeItemWidget(self, item, column): 16939 '''void QTreeWidget.removeItemWidget(QTreeWidgetItem item, int column)''' 16940 def itemBelow(self, item): 16941 '''QTreeWidgetItem QTreeWidget.itemBelow(QTreeWidgetItem item)''' 16942 return QTreeWidgetItem() 16943 def itemAbove(self, item): 16944 '''QTreeWidgetItem QTreeWidget.itemAbove(QTreeWidgetItem item)''' 16945 return QTreeWidgetItem() 16946 def setFirstItemColumnSpanned(self, item, span): 16947 '''void QTreeWidget.setFirstItemColumnSpanned(QTreeWidgetItem item, bool span)''' 16948 def isFirstItemColumnSpanned(self, item): 16949 '''bool QTreeWidget.isFirstItemColumnSpanned(QTreeWidgetItem item)''' 16950 return bool() 16951 def setHeaderLabel(self, alabel): 16952 '''void QTreeWidget.setHeaderLabel(str alabel)''' 16953 def invisibleRootItem(self): 16954 '''QTreeWidgetItem QTreeWidget.invisibleRootItem()''' 16955 return QTreeWidgetItem() 16956 def dropEvent(self, event): 16957 '''void QTreeWidget.dropEvent(QDropEvent event)''' 16958 def event(self, e): 16959 '''bool QTreeWidget.event(QEvent e)''' 16960 return bool() 16961 def itemFromIndex(self, index): 16962 '''QTreeWidgetItem QTreeWidget.itemFromIndex(QModelIndex index)''' 16963 return QTreeWidgetItem() 16964 def indexFromItem(self, item, column = 0): 16965 '''QModelIndex QTreeWidget.indexFromItem(QTreeWidgetItem item, int column = 0)''' 16966 return QModelIndex() 16967 def supportedDropActions(self): 16968 '''Qt.DropActions QTreeWidget.supportedDropActions()''' 16969 return Qt.DropActions() 16970 def dropMimeData(self, parent, index, data, action): 16971 '''bool QTreeWidget.dropMimeData(QTreeWidgetItem parent, int index, QMimeData data, Qt.DropAction action)''' 16972 return bool() 16973 def mimeData(self, items): 16974 '''QMimeData QTreeWidget.mimeData(list-of-QTreeWidgetItem items)''' 16975 return QMimeData() 16976 def mimeTypes(self): 16977 '''list-of-str QTreeWidget.mimeTypes()''' 16978 return [str()] 16979 itemSelectionChanged = pyqtSignal() # void itemSelectionChanged() - signal 16980 currentItemChanged = pyqtSignal() # void currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*) - signal 16981 itemCollapsed = pyqtSignal() # void itemCollapsed(QTreeWidgetItem*) - signal 16982 itemExpanded = pyqtSignal() # void itemExpanded(QTreeWidgetItem*) - signal 16983 itemChanged = pyqtSignal() # void itemChanged(QTreeWidgetItem*,int) - signal 16984 itemEntered = pyqtSignal() # void itemEntered(QTreeWidgetItem*,int) - signal 16985 itemActivated = pyqtSignal() # void itemActivated(QTreeWidgetItem*,int) - signal 16986 itemDoubleClicked = pyqtSignal() # void itemDoubleClicked(QTreeWidgetItem*,int) - signal 16987 itemClicked = pyqtSignal() # void itemClicked(QTreeWidgetItem*,int) - signal 16988 itemPressed = pyqtSignal() # void itemPressed(QTreeWidgetItem*,int) - signal 16989 def clear(self): 16990 '''void QTreeWidget.clear()''' 16991 def collapseItem(self, item): 16992 '''void QTreeWidget.collapseItem(QTreeWidgetItem item)''' 16993 def expandItem(self, item): 16994 '''void QTreeWidget.expandItem(QTreeWidgetItem item)''' 16995 def scrollToItem(self, item, hint = None): 16996 '''void QTreeWidget.scrollToItem(QTreeWidgetItem item, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 16997 def findItems(self, text, flags, column = 0): 16998 '''list-of-QTreeWidgetItem QTreeWidget.findItems(str text, Qt.MatchFlags flags, int column = 0)''' 16999 return [QTreeWidgetItem()] 17000 def selectedItems(self): 17001 '''list-of-QTreeWidgetItem QTreeWidget.selectedItems()''' 17002 return [QTreeWidgetItem()] 17003 def setItemWidget(self, item, column, widget): 17004 '''void QTreeWidget.setItemWidget(QTreeWidgetItem item, int column, QWidget widget)''' 17005 def itemWidget(self, item, column): 17006 '''QWidget QTreeWidget.itemWidget(QTreeWidgetItem item, int column)''' 17007 return QWidget() 17008 def closePersistentEditor(self, item, column = 0): 17009 '''void QTreeWidget.closePersistentEditor(QTreeWidgetItem item, int column = 0)''' 17010 def openPersistentEditor(self, item, column = 0): 17011 '''void QTreeWidget.openPersistentEditor(QTreeWidgetItem item, int column = 0)''' 17012 def editItem(self, item, column = 0): 17013 '''void QTreeWidget.editItem(QTreeWidgetItem item, int column = 0)''' 17014 def sortItems(self, column, order): 17015 '''void QTreeWidget.sortItems(int column, Qt.SortOrder order)''' 17016 def sortColumn(self): 17017 '''int QTreeWidget.sortColumn()''' 17018 return int() 17019 def visualItemRect(self, item): 17020 '''QRect QTreeWidget.visualItemRect(QTreeWidgetItem item)''' 17021 return QRect() 17022 def itemAt(self, p): 17023 '''QTreeWidgetItem QTreeWidget.itemAt(QPoint p)''' 17024 return QTreeWidgetItem() 17025 def itemAt(self, ax, ay): 17026 '''QTreeWidgetItem QTreeWidget.itemAt(int ax, int ay)''' 17027 return QTreeWidgetItem() 17028 def setCurrentItem(self, item): 17029 '''void QTreeWidget.setCurrentItem(QTreeWidgetItem item)''' 17030 def setCurrentItem(self, item, column): 17031 '''void QTreeWidget.setCurrentItem(QTreeWidgetItem item, int column)''' 17032 def setCurrentItem(self, item, column, command): 17033 '''void QTreeWidget.setCurrentItem(QTreeWidgetItem item, int column, QItemSelectionModel.SelectionFlags command)''' 17034 def currentColumn(self): 17035 '''int QTreeWidget.currentColumn()''' 17036 return int() 17037 def currentItem(self): 17038 '''QTreeWidgetItem QTreeWidget.currentItem()''' 17039 return QTreeWidgetItem() 17040 def setHeaderLabels(self, labels): 17041 '''void QTreeWidget.setHeaderLabels(list-of-str labels)''' 17042 def setHeaderItem(self, item): 17043 '''void QTreeWidget.setHeaderItem(QTreeWidgetItem item)''' 17044 def headerItem(self): 17045 '''QTreeWidgetItem QTreeWidget.headerItem()''' 17046 return QTreeWidgetItem() 17047 def addTopLevelItems(self, items): 17048 '''void QTreeWidget.addTopLevelItems(list-of-QTreeWidgetItem items)''' 17049 def insertTopLevelItems(self, index, items): 17050 '''void QTreeWidget.insertTopLevelItems(int index, list-of-QTreeWidgetItem items)''' 17051 def indexOfTopLevelItem(self, item): 17052 '''int QTreeWidget.indexOfTopLevelItem(QTreeWidgetItem item)''' 17053 return int() 17054 def takeTopLevelItem(self, index): 17055 '''QTreeWidgetItem QTreeWidget.takeTopLevelItem(int index)''' 17056 return QTreeWidgetItem() 17057 def addTopLevelItem(self, item): 17058 '''void QTreeWidget.addTopLevelItem(QTreeWidgetItem item)''' 17059 def insertTopLevelItem(self, index, item): 17060 '''void QTreeWidget.insertTopLevelItem(int index, QTreeWidgetItem item)''' 17061 def topLevelItemCount(self): 17062 '''int QTreeWidget.topLevelItemCount()''' 17063 return int() 17064 def topLevelItem(self, index): 17065 '''QTreeWidgetItem QTreeWidget.topLevelItem(int index)''' 17066 return QTreeWidgetItem() 17067 def setColumnCount(self, columns): 17068 '''void QTreeWidget.setColumnCount(int columns)''' 17069 def columnCount(self): 17070 '''int QTreeWidget.columnCount()''' 17071 return int() 17072 17073 17074 class QTreeWidgetItemIterator(): 17075 """""" 17076 # Enum QTreeWidgetItemIterator.IteratorFlag 17077 All = 0 17078 Hidden = 0 17079 NotHidden = 0 17080 Selected = 0 17081 Unselected = 0 17082 Selectable = 0 17083 NotSelectable = 0 17084 DragEnabled = 0 17085 DragDisabled = 0 17086 DropEnabled = 0 17087 DropDisabled = 0 17088 HasChildren = 0 17089 NoChildren = 0 17090 Checked = 0 17091 NotChecked = 0 17092 Enabled = 0 17093 Disabled = 0 17094 Editable = 0 17095 NotEditable = 0 17096 UserFlag = 0 17097 17098 def __init__(self, it): 17099 '''void QTreeWidgetItemIterator.__init__(QTreeWidgetItemIterator it)''' 17100 def __init__(self, widget, flags = None): 17101 '''void QTreeWidgetItemIterator.__init__(QTreeWidget widget, QTreeWidgetItemIterator.IteratorFlags flags = QTreeWidgetItemIterator.All)''' 17102 def __init__(self, item, flags = None): 17103 '''void QTreeWidgetItemIterator.__init__(QTreeWidgetItem item, QTreeWidgetItemIterator.IteratorFlags flags = QTreeWidgetItemIterator.All)''' 17104 def __isub__(self, n): 17105 '''QTreeWidgetItemIterator QTreeWidgetItemIterator.__isub__(int n)''' 17106 return QTreeWidgetItemIterator() 17107 def __iadd__(self, n): 17108 '''QTreeWidgetItemIterator QTreeWidgetItemIterator.__iadd__(int n)''' 17109 return QTreeWidgetItemIterator() 17110 def value(self): 17111 '''QTreeWidgetItem QTreeWidgetItemIterator.value()''' 17112 return QTreeWidgetItem() 17113 class IteratorFlags(): 17114 """""" 17115 def __init__(self): 17116 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__init__()''' 17117 return QTreeWidgetItemIterator.IteratorFlags() 17118 def __init__(self): 17119 '''int QTreeWidgetItemIterator.IteratorFlags.__init__()''' 17120 return int() 17121 def __init__(self): 17122 '''void QTreeWidgetItemIterator.IteratorFlags.__init__()''' 17123 def __bool__(self): 17124 '''int QTreeWidgetItemIterator.IteratorFlags.__bool__()''' 17125 return int() 17126 def __ne__(self, f): 17127 '''bool QTreeWidgetItemIterator.IteratorFlags.__ne__(QTreeWidgetItemIterator.IteratorFlags f)''' 17128 return bool() 17129 def __eq__(self, f): 17130 '''bool QTreeWidgetItemIterator.IteratorFlags.__eq__(QTreeWidgetItemIterator.IteratorFlags f)''' 17131 return bool() 17132 def __invert__(self): 17133 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__invert__()''' 17134 return QTreeWidgetItemIterator.IteratorFlags() 17135 def __and__(self, mask): 17136 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__and__(int mask)''' 17137 return QTreeWidgetItemIterator.IteratorFlags() 17138 def __xor__(self, f): 17139 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__xor__(QTreeWidgetItemIterator.IteratorFlags f)''' 17140 return QTreeWidgetItemIterator.IteratorFlags() 17141 def __xor__(self, f): 17142 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__xor__(int f)''' 17143 return QTreeWidgetItemIterator.IteratorFlags() 17144 def __or__(self, f): 17145 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__or__(QTreeWidgetItemIterator.IteratorFlags f)''' 17146 return QTreeWidgetItemIterator.IteratorFlags() 17147 def __or__(self, f): 17148 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__or__(int f)''' 17149 return QTreeWidgetItemIterator.IteratorFlags() 17150 def __int__(self): 17151 '''int QTreeWidgetItemIterator.IteratorFlags.__int__()''' 17152 return int() 17153 def __ixor__(self, f): 17154 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__ixor__(QTreeWidgetItemIterator.IteratorFlags f)''' 17155 return QTreeWidgetItemIterator.IteratorFlags() 17156 def __ior__(self, f): 17157 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__ior__(QTreeWidgetItemIterator.IteratorFlags f)''' 17158 return QTreeWidgetItemIterator.IteratorFlags() 17159 def __iand__(self, mask): 17160 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__iand__(int mask)''' 17161 return QTreeWidgetItemIterator.IteratorFlags() 17162 17163 17164 class QUndoGroup(QObject): 17165 """""" 17166 def __init__(self, parent = None): 17167 '''void QUndoGroup.__init__(QObject parent = None)''' 17168 undoTextChanged = pyqtSignal() # void undoTextChanged(const QStringamp;) - signal 17169 redoTextChanged = pyqtSignal() # void redoTextChanged(const QStringamp;) - signal 17170 indexChanged = pyqtSignal() # void indexChanged(int) - signal 17171 cleanChanged = pyqtSignal() # void cleanChanged(bool) - signal 17172 canUndoChanged = pyqtSignal() # void canUndoChanged(bool) - signal 17173 canRedoChanged = pyqtSignal() # void canRedoChanged(bool) - signal 17174 activeStackChanged = pyqtSignal() # void activeStackChanged(QUndoStack*) - signal 17175 def undo(self): 17176 '''void QUndoGroup.undo()''' 17177 def setActiveStack(self, stack): 17178 '''void QUndoGroup.setActiveStack(QUndoStack stack)''' 17179 def redo(self): 17180 '''void QUndoGroup.redo()''' 17181 def isClean(self): 17182 '''bool QUndoGroup.isClean()''' 17183 return bool() 17184 def redoText(self): 17185 '''str QUndoGroup.redoText()''' 17186 return str() 17187 def undoText(self): 17188 '''str QUndoGroup.undoText()''' 17189 return str() 17190 def canRedo(self): 17191 '''bool QUndoGroup.canRedo()''' 17192 return bool() 17193 def canUndo(self): 17194 '''bool QUndoGroup.canUndo()''' 17195 return bool() 17196 def createUndoAction(self, parent, prefix = None): 17197 '''QAction QUndoGroup.createUndoAction(QObject parent, str prefix = '')''' 17198 return QAction() 17199 def createRedoAction(self, parent, prefix = None): 17200 '''QAction QUndoGroup.createRedoAction(QObject parent, str prefix = '')''' 17201 return QAction() 17202 def activeStack(self): 17203 '''QUndoStack QUndoGroup.activeStack()''' 17204 return QUndoStack() 17205 def stacks(self): 17206 '''list-of-QUndoStack QUndoGroup.stacks()''' 17207 return [QUndoStack()] 17208 def removeStack(self, stack): 17209 '''void QUndoGroup.removeStack(QUndoStack stack)''' 17210 def addStack(self, stack): 17211 '''void QUndoGroup.addStack(QUndoStack stack)''' 17212 17213 17214 class QUndoCommand(): 17215 """""" 17216 def __init__(self, parent = None): 17217 '''void QUndoCommand.__init__(QUndoCommand parent = None)''' 17218 def __init__(self, text, parent = None): 17219 '''void QUndoCommand.__init__(str text, QUndoCommand parent = None)''' 17220 def actionText(self): 17221 '''str QUndoCommand.actionText()''' 17222 return str() 17223 def child(self, index): 17224 '''QUndoCommand QUndoCommand.child(int index)''' 17225 return QUndoCommand() 17226 def childCount(self): 17227 '''int QUndoCommand.childCount()''' 17228 return int() 17229 def undo(self): 17230 '''void QUndoCommand.undo()''' 17231 def text(self): 17232 '''str QUndoCommand.text()''' 17233 return str() 17234 def setText(self, text): 17235 '''void QUndoCommand.setText(str text)''' 17236 def redo(self): 17237 '''void QUndoCommand.redo()''' 17238 def mergeWith(self, other): 17239 '''bool QUndoCommand.mergeWith(QUndoCommand other)''' 17240 return bool() 17241 def id(self): 17242 '''int QUndoCommand.id()''' 17243 return int() 17244 17245 17246 class QUndoStack(QObject): 17247 """""" 17248 def __init__(self, parent = None): 17249 '''void QUndoStack.__init__(QObject parent = None)''' 17250 def command(self, index): 17251 '''QUndoCommand QUndoStack.command(int index)''' 17252 return QUndoCommand() 17253 def undoLimit(self): 17254 '''int QUndoStack.undoLimit()''' 17255 return int() 17256 def setUndoLimit(self, limit): 17257 '''void QUndoStack.setUndoLimit(int limit)''' 17258 undoTextChanged = pyqtSignal() # void undoTextChanged(const QStringamp;) - signal 17259 redoTextChanged = pyqtSignal() # void redoTextChanged(const QStringamp;) - signal 17260 indexChanged = pyqtSignal() # void indexChanged(int) - signal 17261 cleanChanged = pyqtSignal() # void cleanChanged(bool) - signal 17262 canUndoChanged = pyqtSignal() # void canUndoChanged(bool) - signal 17263 canRedoChanged = pyqtSignal() # void canRedoChanged(bool) - signal 17264 def undo(self): 17265 '''void QUndoStack.undo()''' 17266 def setIndex(self, idx): 17267 '''void QUndoStack.setIndex(int idx)''' 17268 def setClean(self): 17269 '''void QUndoStack.setClean()''' 17270 def setActive(self, active = True): 17271 '''void QUndoStack.setActive(bool active = True)''' 17272 def redo(self): 17273 '''void QUndoStack.redo()''' 17274 def endMacro(self): 17275 '''void QUndoStack.endMacro()''' 17276 def beginMacro(self, text): 17277 '''void QUndoStack.beginMacro(str text)''' 17278 def cleanIndex(self): 17279 '''int QUndoStack.cleanIndex()''' 17280 return int() 17281 def isClean(self): 17282 '''bool QUndoStack.isClean()''' 17283 return bool() 17284 def isActive(self): 17285 '''bool QUndoStack.isActive()''' 17286 return bool() 17287 def createRedoAction(self, parent, prefix = None): 17288 '''QAction QUndoStack.createRedoAction(QObject parent, str prefix = '')''' 17289 return QAction() 17290 def createUndoAction(self, parent, prefix = None): 17291 '''QAction QUndoStack.createUndoAction(QObject parent, str prefix = '')''' 17292 return QAction() 17293 def text(self, idx): 17294 '''str QUndoStack.text(int idx)''' 17295 return str() 17296 def index(self): 17297 '''int QUndoStack.index()''' 17298 return int() 17299 def __len__(self): 17300 ''' QUndoStack.__len__()''' 17301 return () 17302 def count(self): 17303 '''int QUndoStack.count()''' 17304 return int() 17305 def redoText(self): 17306 '''str QUndoStack.redoText()''' 17307 return str() 17308 def undoText(self): 17309 '''str QUndoStack.undoText()''' 17310 return str() 17311 def canRedo(self): 17312 '''bool QUndoStack.canRedo()''' 17313 return bool() 17314 def canUndo(self): 17315 '''bool QUndoStack.canUndo()''' 17316 return bool() 17317 def push(self, cmd): 17318 '''void QUndoStack.push(QUndoCommand cmd)''' 17319 def clear(self): 17320 '''void QUndoStack.clear()''' 17321 17322 17323 class QUndoView(QListView): 17324 """""" 17325 def __init__(self, parent = None): 17326 '''void QUndoView.__init__(QWidget parent = None)''' 17327 def __init__(self, stack, parent = None): 17328 '''void QUndoView.__init__(QUndoStack stack, QWidget parent = None)''' 17329 def __init__(self, group, parent = None): 17330 '''void QUndoView.__init__(QUndoGroup group, QWidget parent = None)''' 17331 def setGroup(self, group): 17332 '''void QUndoView.setGroup(QUndoGroup group)''' 17333 def setStack(self, stack): 17334 '''void QUndoView.setStack(QUndoStack stack)''' 17335 def cleanIcon(self): 17336 '''QIcon QUndoView.cleanIcon()''' 17337 return QIcon() 17338 def setCleanIcon(self, icon): 17339 '''void QUndoView.setCleanIcon(QIcon icon)''' 17340 def emptyLabel(self): 17341 '''str QUndoView.emptyLabel()''' 17342 return str() 17343 def setEmptyLabel(self, label): 17344 '''void QUndoView.setEmptyLabel(str label)''' 17345 def group(self): 17346 '''QUndoGroup QUndoView.group()''' 17347 return QUndoGroup() 17348 def stack(self): 17349 '''QUndoStack QUndoView.stack()''' 17350 return QUndoStack() 17351 17352 17353 class QWhatsThis(): 17354 """""" 17355 def __init__(self): 17356 '''QWhatsThis QWhatsThis.__init__()''' 17357 return QWhatsThis() 17358 def createAction(self, parent = None): 17359 '''static QAction QWhatsThis.createAction(QObject parent = None)''' 17360 return QAction() 17361 def hideText(self): 17362 '''static void QWhatsThis.hideText()''' 17363 def showText(self, pos, text, widget = None): 17364 '''static void QWhatsThis.showText(QPoint pos, str text, QWidget widget = None)''' 17365 def leaveWhatsThisMode(self): 17366 '''static void QWhatsThis.leaveWhatsThisMode()''' 17367 def inWhatsThisMode(self): 17368 '''static bool QWhatsThis.inWhatsThisMode()''' 17369 return bool() 17370 def enterWhatsThisMode(self): 17371 '''static void QWhatsThis.enterWhatsThisMode()''' 17372 17373 17374 class QWidgetAction(QAction): 17375 """""" 17376 def __init__(self, parent): 17377 '''void QWidgetAction.__init__(QObject parent)''' 17378 def createdWidgets(self): 17379 '''list-of-QWidget QWidgetAction.createdWidgets()''' 17380 return [QWidget()] 17381 def deleteWidget(self, widget): 17382 '''void QWidgetAction.deleteWidget(QWidget widget)''' 17383 def createWidget(self, parent): 17384 '''QWidget QWidgetAction.createWidget(QWidget parent)''' 17385 return QWidget() 17386 def eventFilter(self): 17387 '''QEvent QWidgetAction.eventFilter()''' 17388 return QEvent() 17389 def event(self): 17390 '''QEvent QWidgetAction.event()''' 17391 return QEvent() 17392 def releaseWidget(self, widget): 17393 '''void QWidgetAction.releaseWidget(QWidget widget)''' 17394 def requestWidget(self, parent): 17395 '''QWidget QWidgetAction.requestWidget(QWidget parent)''' 17396 return QWidget() 17397 def defaultWidget(self): 17398 '''QWidget QWidgetAction.defaultWidget()''' 17399 return QWidget() 17400 def setDefaultWidget(self, w): 17401 '''void QWidgetAction.setDefaultWidget(QWidget w)''' 17402 17403 17404 class QWizard(QDialog): 17405 """""" 17406 # Enum QWizard.WizardOption 17407 IndependentPages = 0 17408 IgnoreSubTitles = 0 17409 ExtendedWatermarkPixmap = 0 17410 NoDefaultButton = 0 17411 NoBackButtonOnStartPage = 0 17412 NoBackButtonOnLastPage = 0 17413 DisabledBackButtonOnLastPage = 0 17414 HaveNextButtonOnLastPage = 0 17415 HaveFinishButtonOnEarlyPages = 0 17416 NoCancelButton = 0 17417 CancelButtonOnLeft = 0 17418 HaveHelpButton = 0 17419 HelpButtonOnRight = 0 17420 HaveCustomButton1 = 0 17421 HaveCustomButton2 = 0 17422 HaveCustomButton3 = 0 17423 NoCancelButtonOnLastPage = 0 17424 17425 # Enum QWizard.WizardStyle 17426 ClassicStyle = 0 17427 ModernStyle = 0 17428 MacStyle = 0 17429 AeroStyle = 0 17430 17431 # Enum QWizard.WizardPixmap 17432 WatermarkPixmap = 0 17433 LogoPixmap = 0 17434 BannerPixmap = 0 17435 BackgroundPixmap = 0 17436 17437 # Enum QWizard.WizardButton 17438 BackButton = 0 17439 NextButton = 0 17440 CommitButton = 0 17441 FinishButton = 0 17442 CancelButton = 0 17443 HelpButton = 0 17444 CustomButton1 = 0 17445 CustomButton2 = 0 17446 CustomButton3 = 0 17447 Stretch = 0 17448 17449 def __init__(self, parent = None, flags = 0): 17450 '''void QWizard.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 17451 pageRemoved = pyqtSignal() # void pageRemoved(int) - signal 17452 pageAdded = pyqtSignal() # void pageAdded(int) - signal 17453 def sideWidget(self): 17454 '''QWidget QWizard.sideWidget()''' 17455 return QWidget() 17456 def setSideWidget(self, widget): 17457 '''void QWizard.setSideWidget(QWidget widget)''' 17458 def pageIds(self): 17459 '''list-of-int QWizard.pageIds()''' 17460 return [int()] 17461 def removePage(self, id): 17462 '''void QWizard.removePage(int id)''' 17463 def cleanupPage(self, id): 17464 '''void QWizard.cleanupPage(int id)''' 17465 def initializePage(self, id): 17466 '''void QWizard.initializePage(int id)''' 17467 def done(self, result): 17468 '''void QWizard.done(int result)''' 17469 def paintEvent(self, event): 17470 '''void QWizard.paintEvent(QPaintEvent event)''' 17471 def resizeEvent(self, event): 17472 '''void QWizard.resizeEvent(QResizeEvent event)''' 17473 def event(self, event): 17474 '''bool QWizard.event(QEvent event)''' 17475 return bool() 17476 def restart(self): 17477 '''void QWizard.restart()''' 17478 def next(self): 17479 '''void QWizard.next()''' 17480 def back(self): 17481 '''void QWizard.back()''' 17482 customButtonClicked = pyqtSignal() # void customButtonClicked(int) - signal 17483 helpRequested = pyqtSignal() # void helpRequested() - signal 17484 currentIdChanged = pyqtSignal() # void currentIdChanged(int) - signal 17485 def sizeHint(self): 17486 '''QSize QWizard.sizeHint()''' 17487 return QSize() 17488 def setVisible(self, visible): 17489 '''void QWizard.setVisible(bool visible)''' 17490 def setDefaultProperty(self, className, property, changedSignal): 17491 '''void QWizard.setDefaultProperty(str className, str property, str changedSignal)''' 17492 def pixmap(self, which): 17493 '''QPixmap QWizard.pixmap(QWizard.WizardPixmap which)''' 17494 return QPixmap() 17495 def setPixmap(self, which, pixmap): 17496 '''void QWizard.setPixmap(QWizard.WizardPixmap which, QPixmap pixmap)''' 17497 def subTitleFormat(self): 17498 '''Qt.TextFormat QWizard.subTitleFormat()''' 17499 return Qt.TextFormat() 17500 def setSubTitleFormat(self, format): 17501 '''void QWizard.setSubTitleFormat(Qt.TextFormat format)''' 17502 def titleFormat(self): 17503 '''Qt.TextFormat QWizard.titleFormat()''' 17504 return Qt.TextFormat() 17505 def setTitleFormat(self, format): 17506 '''void QWizard.setTitleFormat(Qt.TextFormat format)''' 17507 def button(self, which): 17508 '''QAbstractButton QWizard.button(QWizard.WizardButton which)''' 17509 return QAbstractButton() 17510 def setButton(self, which, button): 17511 '''void QWizard.setButton(QWizard.WizardButton which, QAbstractButton button)''' 17512 def setButtonLayout(self, layout): 17513 '''void QWizard.setButtonLayout(list-of-QWizard.WizardButton layout)''' 17514 def buttonText(self, which): 17515 '''str QWizard.buttonText(QWizard.WizardButton which)''' 17516 return str() 17517 def setButtonText(self, which, text): 17518 '''void QWizard.setButtonText(QWizard.WizardButton which, str text)''' 17519 def options(self): 17520 '''QWizard.WizardOptions QWizard.options()''' 17521 return QWizard.WizardOptions() 17522 def setOptions(self, options): 17523 '''void QWizard.setOptions(QWizard.WizardOptions options)''' 17524 def testOption(self, option): 17525 '''bool QWizard.testOption(QWizard.WizardOption option)''' 17526 return bool() 17527 def setOption(self, option, on = True): 17528 '''void QWizard.setOption(QWizard.WizardOption option, bool on = True)''' 17529 def wizardStyle(self): 17530 '''QWizard.WizardStyle QWizard.wizardStyle()''' 17531 return QWizard.WizardStyle() 17532 def setWizardStyle(self, style): 17533 '''void QWizard.setWizardStyle(QWizard.WizardStyle style)''' 17534 def field(self, name): 17535 '''QVariant QWizard.field(str name)''' 17536 return QVariant() 17537 def setField(self, name, value): 17538 '''void QWizard.setField(str name, QVariant value)''' 17539 def nextId(self): 17540 '''int QWizard.nextId()''' 17541 return int() 17542 def validateCurrentPage(self): 17543 '''bool QWizard.validateCurrentPage()''' 17544 return bool() 17545 def currentId(self): 17546 '''int QWizard.currentId()''' 17547 return int() 17548 def currentPage(self): 17549 '''QWizardPage QWizard.currentPage()''' 17550 return QWizardPage() 17551 def startId(self): 17552 '''int QWizard.startId()''' 17553 return int() 17554 def setStartId(self, id): 17555 '''void QWizard.setStartId(int id)''' 17556 def visitedPages(self): 17557 '''list-of-int QWizard.visitedPages()''' 17558 return [int()] 17559 def hasVisitedPage(self, id): 17560 '''bool QWizard.hasVisitedPage(int id)''' 17561 return bool() 17562 def page(self, id): 17563 '''QWizardPage QWizard.page(int id)''' 17564 return QWizardPage() 17565 def setPage(self, id, page): 17566 '''void QWizard.setPage(int id, QWizardPage page)''' 17567 def addPage(self, page): 17568 '''int QWizard.addPage(QWizardPage page)''' 17569 return int() 17570 class WizardOptions(): 17571 """""" 17572 def __init__(self): 17573 '''QWizard.WizardOptions QWizard.WizardOptions.__init__()''' 17574 return QWizard.WizardOptions() 17575 def __init__(self): 17576 '''int QWizard.WizardOptions.__init__()''' 17577 return int() 17578 def __init__(self): 17579 '''void QWizard.WizardOptions.__init__()''' 17580 def __bool__(self): 17581 '''int QWizard.WizardOptions.__bool__()''' 17582 return int() 17583 def __ne__(self, f): 17584 '''bool QWizard.WizardOptions.__ne__(QWizard.WizardOptions f)''' 17585 return bool() 17586 def __eq__(self, f): 17587 '''bool QWizard.WizardOptions.__eq__(QWizard.WizardOptions f)''' 17588 return bool() 17589 def __invert__(self): 17590 '''QWizard.WizardOptions QWizard.WizardOptions.__invert__()''' 17591 return QWizard.WizardOptions() 17592 def __and__(self, mask): 17593 '''QWizard.WizardOptions QWizard.WizardOptions.__and__(int mask)''' 17594 return QWizard.WizardOptions() 17595 def __xor__(self, f): 17596 '''QWizard.WizardOptions QWizard.WizardOptions.__xor__(QWizard.WizardOptions f)''' 17597 return QWizard.WizardOptions() 17598 def __xor__(self, f): 17599 '''QWizard.WizardOptions QWizard.WizardOptions.__xor__(int f)''' 17600 return QWizard.WizardOptions() 17601 def __or__(self, f): 17602 '''QWizard.WizardOptions QWizard.WizardOptions.__or__(QWizard.WizardOptions f)''' 17603 return QWizard.WizardOptions() 17604 def __or__(self, f): 17605 '''QWizard.WizardOptions QWizard.WizardOptions.__or__(int f)''' 17606 return QWizard.WizardOptions() 17607 def __int__(self): 17608 '''int QWizard.WizardOptions.__int__()''' 17609 return int() 17610 def __ixor__(self, f): 17611 '''QWizard.WizardOptions QWizard.WizardOptions.__ixor__(QWizard.WizardOptions f)''' 17612 return QWizard.WizardOptions() 17613 def __ior__(self, f): 17614 '''QWizard.WizardOptions QWizard.WizardOptions.__ior__(QWizard.WizardOptions f)''' 17615 return QWizard.WizardOptions() 17616 def __iand__(self, mask): 17617 '''QWizard.WizardOptions QWizard.WizardOptions.__iand__(int mask)''' 17618 return QWizard.WizardOptions() 17619 17620 17621 class QWizardPage(QWidget): 17622 """""" 17623 def __init__(self, parent = None): 17624 '''void QWizardPage.__init__(QWidget parent = None)''' 17625 def wizard(self): 17626 '''QWizard QWizardPage.wizard()''' 17627 return QWizard() 17628 def registerField(self, name, widget, property = None, changedSignal = 0): 17629 '''void QWizardPage.registerField(str name, QWidget widget, str property = None, signal changedSignal = 0)''' 17630 def registerField(self, name, widget, property = None, changedSignal = None): 17631 '''void QWizardPage.registerField(str name, QWidget widget, str property = None, str changedSignal = None)''' 17632 def field(self, name): 17633 '''QVariant QWizardPage.field(str name)''' 17634 return QVariant() 17635 def setField(self, name, value): 17636 '''void QWizardPage.setField(str name, QVariant value)''' 17637 completeChanged = pyqtSignal() # void completeChanged() - signal 17638 def nextId(self): 17639 '''int QWizardPage.nextId()''' 17640 return int() 17641 def isComplete(self): 17642 '''bool QWizardPage.isComplete()''' 17643 return bool() 17644 def validatePage(self): 17645 '''bool QWizardPage.validatePage()''' 17646 return bool() 17647 def cleanupPage(self): 17648 '''void QWizardPage.cleanupPage()''' 17649 def initializePage(self): 17650 '''void QWizardPage.initializePage()''' 17651 def buttonText(self, which): 17652 '''str QWizardPage.buttonText(QWizard.WizardButton which)''' 17653 return str() 17654 def setButtonText(self, which, text): 17655 '''void QWizardPage.setButtonText(QWizard.WizardButton which, str text)''' 17656 def isCommitPage(self): 17657 '''bool QWizardPage.isCommitPage()''' 17658 return bool() 17659 def setCommitPage(self, commitPage): 17660 '''void QWizardPage.setCommitPage(bool commitPage)''' 17661 def isFinalPage(self): 17662 '''bool QWizardPage.isFinalPage()''' 17663 return bool() 17664 def setFinalPage(self, finalPage): 17665 '''void QWizardPage.setFinalPage(bool finalPage)''' 17666 def pixmap(self, which): 17667 '''QPixmap QWizardPage.pixmap(QWizard.WizardPixmap which)''' 17668 return QPixmap() 17669 def setPixmap(self, which, pixmap): 17670 '''void QWizardPage.setPixmap(QWizard.WizardPixmap which, QPixmap pixmap)''' 17671 def subTitle(self): 17672 '''str QWizardPage.subTitle()''' 17673 return str() 17674 def setSubTitle(self, subTitle): 17675 '''void QWizardPage.setSubTitle(str subTitle)''' 17676 def title(self): 17677 '''str QWizardPage.title()''' 17678 return str() 17679 def setTitle(self, title): 17680 '''void QWizardPage.setTitle(str title)''' 17681 17682 17683 QWIDGETSIZE_MAX = None # int member 17684 17685 qApp = None # QApplication member 17686 17687 def qDrawBorderPixmap(painter, target, margins, pixmap): 17688 '''static void qDrawBorderPixmap(QPainter painter, QRect target, QMargins margins, QPixmap pixmap)''' 17689 17690 17691 def qDrawPlainRect(p, x, y, w, h, lineWidth = 1, fill = None): 17692 '''static QColor qDrawPlainRect(QPainter p, int x, int y, int w, int h, int lineWidth = 1, QBrush fill = None)''' 17693 return QColor() 17694 17695 def qDrawPlainRect(p, r, lineWidth = 1, fill = None): 17696 '''static QColor qDrawPlainRect(QPainter p, QRect r, int lineWidth = 1, QBrush fill = None)''' 17697 return QColor() 17698 17699 def qDrawWinPanel(p, x, y, w, h, pal, sunken = False, fill = None): 17700 '''static void qDrawWinPanel(QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken = False, QBrush fill = None)''' 17701 17702 17703 def qDrawWinPanel(p, r, pal, sunken = False, fill = None): 17704 '''static void qDrawWinPanel(QPainter p, QRect r, QPalette pal, bool sunken = False, QBrush fill = None)''' 17705 17706 17707 def qDrawWinButton(p, x, y, w, h, pal, sunken = False, fill = None): 17708 '''static void qDrawWinButton(QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken = False, QBrush fill = None)''' 17709 17710 17711 def qDrawWinButton(p, r, pal, sunken = False, fill = None): 17712 '''static void qDrawWinButton(QPainter p, QRect r, QPalette pal, bool sunken = False, QBrush fill = None)''' 17713 17714 17715 def qDrawShadePanel(p, x, y, w, h, pal, sunken = False, lineWidth = 1, fill = None): 17716 '''static void qDrawShadePanel(QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken = False, int lineWidth = 1, QBrush fill = None)''' 17717 17718 17719 def qDrawShadePanel(p, r, pal, sunken = False, lineWidth = 1, fill = None): 17720 '''static void qDrawShadePanel(QPainter p, QRect r, QPalette pal, bool sunken = False, int lineWidth = 1, QBrush fill = None)''' 17721 17722 17723 def qDrawShadeRect(p, x, y, w, h, pal, sunken = False, lineWidth = 1, midLineWidth = 0, fill = None): 17724 '''static void qDrawShadeRect(QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken = False, int lineWidth = 1, int midLineWidth = 0, QBrush fill = None)''' 17725 17726 17727 def qDrawShadeRect(p, r, pal, sunken = False, lineWidth = 1, midLineWidth = 0, fill = None): 17728 '''static void qDrawShadeRect(QPainter p, QRect r, QPalette pal, bool sunken = False, int lineWidth = 1, int midLineWidth = 0, QBrush fill = None)''' 17729 17730 17731 def qDrawShadeLine(p, x1, y1, x2, y2, pal, sunken = True, lineWidth = 1, midLineWidth = 0): 17732 '''static void qDrawShadeLine(QPainter p, int x1, int y1, int x2, int y2, QPalette pal, bool sunken = True, int lineWidth = 1, int midLineWidth = 0)''' 17733 17734 17735 def qDrawShadeLine(p, p1, p2, pal, sunken = True, lineWidth = 1, midLineWidth = 0): 17736 '''static void qDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QPalette pal, bool sunken = True, int lineWidth = 1, int midLineWidth = 0)''' 17737 17738