File indexing completed on 2024-05-12 16:08:51
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 class QPaintDevice(): 0007 """""" 0008 # Enum QPaintDevice.PaintDeviceMetric 0009 PdmWidth = 0 0010 PdmHeight = 0 0011 PdmWidthMM = 0 0012 PdmHeightMM = 0 0013 PdmNumColors = 0 0014 PdmDepth = 0 0015 PdmDpiX = 0 0016 PdmDpiY = 0 0017 PdmPhysicalDpiX = 0 0018 PdmPhysicalDpiY = 0 0019 0020 def __init__(self): 0021 '''void QPaintDevice.__init__()''' 0022 def metric(self, metric): 0023 '''int QPaintDevice.metric(QPaintDevice.PaintDeviceMetric metric)''' 0024 return int() 0025 def colorCount(self): 0026 '''int QPaintDevice.colorCount()''' 0027 return int() 0028 def paintingActive(self): 0029 '''bool QPaintDevice.paintingActive()''' 0030 return bool() 0031 def depth(self): 0032 '''int QPaintDevice.depth()''' 0033 return int() 0034 def numColors(self): 0035 '''int QPaintDevice.numColors()''' 0036 return int() 0037 def physicalDpiY(self): 0038 '''int QPaintDevice.physicalDpiY()''' 0039 return int() 0040 def physicalDpiX(self): 0041 '''int QPaintDevice.physicalDpiX()''' 0042 return int() 0043 def logicalDpiY(self): 0044 '''int QPaintDevice.logicalDpiY()''' 0045 return int() 0046 def logicalDpiX(self): 0047 '''int QPaintDevice.logicalDpiX()''' 0048 return int() 0049 def heightMM(self): 0050 '''int QPaintDevice.heightMM()''' 0051 return int() 0052 def widthMM(self): 0053 '''int QPaintDevice.widthMM()''' 0054 return int() 0055 def height(self): 0056 '''int QPaintDevice.height()''' 0057 return int() 0058 def width(self): 0059 '''int QPaintDevice.width()''' 0060 return int() 0061 def paintEngine(self): 0062 '''abstract QPaintEngine QPaintDevice.paintEngine()''' 0063 return QPaintEngine() 0064 0065 0066 class QWidget(QObject, QPaintDevice): 0067 """""" 0068 # Enum QWidget.RenderFlag 0069 DrawWindowBackground = 0 0070 DrawChildren = 0 0071 IgnoreMask = 0 0072 0073 def __init__(self, parent = None, flags = 0): 0074 '''void QWidget.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 0075 def setInputMethodHints(self, hints): 0076 '''void QWidget.setInputMethodHints(Qt.InputMethodHints hints)''' 0077 def inputMethodHints(self): 0078 '''Qt.InputMethodHints QWidget.inputMethodHints()''' 0079 return Qt.InputMethodHints() 0080 def previousInFocusChain(self): 0081 '''QWidget QWidget.previousInFocusChain()''' 0082 return QWidget() 0083 def contentsMargins(self): 0084 '''QMargins QWidget.contentsMargins()''' 0085 return QMargins() 0086 def ungrabGesture(self, type): 0087 '''void QWidget.ungrabGesture(Qt.GestureType type)''' 0088 def grabGesture(self, type, flags = None): 0089 '''void QWidget.grabGesture(Qt.GestureType type, Qt.GestureFlags flags = Qt.GestureFlags(0))''' 0090 def setGraphicsEffect(self, effect): 0091 '''void QWidget.setGraphicsEffect(QGraphicsEffect effect)''' 0092 def graphicsEffect(self): 0093 '''QGraphicsEffect QWidget.graphicsEffect()''' 0094 return QGraphicsEffect() 0095 def graphicsProxyWidget(self): 0096 '''QGraphicsProxyWidget QWidget.graphicsProxyWidget()''' 0097 return QGraphicsProxyWidget() 0098 def windowFilePath(self): 0099 '''QString QWidget.windowFilePath()''' 0100 return QString() 0101 def setWindowFilePath(self, filePath): 0102 '''void QWidget.setWindowFilePath(QString filePath)''' 0103 def nativeParentWidget(self): 0104 '''QWidget QWidget.nativeParentWidget()''' 0105 return QWidget() 0106 def effectiveWinId(self): 0107 '''int QWidget.effectiveWinId()''' 0108 return int() 0109 def unsetLocale(self): 0110 '''void QWidget.unsetLocale()''' 0111 def locale(self): 0112 '''QLocale QWidget.locale()''' 0113 return QLocale() 0114 def setLocale(self, locale): 0115 '''void QWidget.setLocale(QLocale locale)''' 0116 def render(self, target, targetOffset = QPoint(), sourceRegion = QRegion(), flags = None): 0117 '''void QWidget.render(QPaintDevice target, QPoint targetOffset = QPoint(), QRegion sourceRegion = QRegion(), QWidget.RenderFlags flags = QWidget.DrawWindowBackground|QWidget.DrawChildren)''' 0118 def render(self, painter, targetOffset = QPoint(), sourceRegion = QRegion(), flags = None): 0119 '''void QWidget.render(QPainter painter, QPoint targetOffset = QPoint(), QRegion sourceRegion = QRegion(), QWidget.RenderFlags flags = QWidget.DrawWindowBackground|QWidget.DrawChildren)''' 0120 def restoreGeometry(self, geometry): 0121 '''bool QWidget.restoreGeometry(QByteArray geometry)''' 0122 return bool() 0123 def saveGeometry(self): 0124 '''QByteArray QWidget.saveGeometry()''' 0125 return QByteArray() 0126 def setShortcutAutoRepeat(self, id, enabled = True): 0127 '''void QWidget.setShortcutAutoRepeat(int id, bool enabled = True)''' 0128 def styleSheet(self): 0129 '''QString QWidget.styleSheet()''' 0130 return QString() 0131 def setStyleSheet(self, styleSheet): 0132 '''void QWidget.setStyleSheet(QString styleSheet)''' 0133 def setAutoFillBackground(self, enabled): 0134 '''void QWidget.setAutoFillBackground(bool enabled)''' 0135 def autoFillBackground(self): 0136 '''bool QWidget.autoFillBackground()''' 0137 return bool() 0138 def setWindowModality(self, windowModality): 0139 '''void QWidget.setWindowModality(Qt.WindowModality windowModality)''' 0140 def windowModality(self): 0141 '''Qt.WindowModality QWidget.windowModality()''' 0142 return Qt.WindowModality() 0143 def testAttribute(self, attribute): 0144 '''bool QWidget.testAttribute(Qt.WidgetAttribute attribute)''' 0145 return bool() 0146 def parentWidget(self): 0147 '''QWidget QWidget.parentWidget()''' 0148 return QWidget() 0149 def height(self): 0150 '''int QWidget.height()''' 0151 return int() 0152 def width(self): 0153 '''int QWidget.width()''' 0154 return int() 0155 def size(self): 0156 '''QSize QWidget.size()''' 0157 return QSize() 0158 def geometry(self): 0159 '''QRect QWidget.geometry()''' 0160 return QRect() 0161 def rect(self): 0162 '''QRect QWidget.rect()''' 0163 return QRect() 0164 def isHidden(self): 0165 '''bool QWidget.isHidden()''' 0166 return bool() 0167 def isVisible(self): 0168 '''bool QWidget.isVisible()''' 0169 return bool() 0170 def updatesEnabled(self): 0171 '''bool QWidget.updatesEnabled()''' 0172 return bool() 0173 def underMouse(self): 0174 '''bool QWidget.underMouse()''' 0175 return bool() 0176 def hasMouseTracking(self): 0177 '''bool QWidget.hasMouseTracking()''' 0178 return bool() 0179 def setMouseTracking(self, enable): 0180 '''void QWidget.setMouseTracking(bool enable)''' 0181 def fontInfo(self): 0182 '''QFontInfo QWidget.fontInfo()''' 0183 return QFontInfo() 0184 def fontMetrics(self): 0185 '''QFontMetrics QWidget.fontMetrics()''' 0186 return QFontMetrics() 0187 def font(self): 0188 '''QFont QWidget.font()''' 0189 return QFont() 0190 def maximumHeight(self): 0191 '''int QWidget.maximumHeight()''' 0192 return int() 0193 def maximumWidth(self): 0194 '''int QWidget.maximumWidth()''' 0195 return int() 0196 def minimumHeight(self): 0197 '''int QWidget.minimumHeight()''' 0198 return int() 0199 def minimumWidth(self): 0200 '''int QWidget.minimumWidth()''' 0201 return int() 0202 def isEnabledToTLW(self): 0203 '''bool QWidget.isEnabledToTLW()''' 0204 return bool() 0205 def isModal(self): 0206 '''bool QWidget.isModal()''' 0207 return bool() 0208 def isEnabled(self): 0209 '''bool QWidget.isEnabled()''' 0210 return bool() 0211 def isWindow(self): 0212 '''bool QWidget.isWindow()''' 0213 return bool() 0214 def isTopLevel(self): 0215 '''bool QWidget.isTopLevel()''' 0216 return bool() 0217 def winId(self): 0218 '''int QWidget.winId()''' 0219 return int() 0220 def windowFlags(self): 0221 '''Qt.WindowFlags QWidget.windowFlags()''' 0222 return Qt.WindowFlags() 0223 def windowType(self): 0224 '''Qt.WindowType QWidget.windowType()''' 0225 return Qt.WindowType() 0226 def languageChange(self): 0227 '''void QWidget.languageChange()''' 0228 def windowActivationChange(self): 0229 '''bool QWidget.windowActivationChange()''' 0230 return bool() 0231 def fontChange(self): 0232 '''QFont QWidget.fontChange()''' 0233 return QFont() 0234 def paletteChange(self): 0235 '''QPalette QWidget.paletteChange()''' 0236 return QPalette() 0237 def enabledChange(self): 0238 '''bool QWidget.enabledChange()''' 0239 return bool() 0240 def focusPreviousChild(self): 0241 '''bool QWidget.focusPreviousChild()''' 0242 return bool() 0243 def focusNextChild(self): 0244 '''bool QWidget.focusNextChild()''' 0245 return bool() 0246 def focusNextPrevChild(self, next): 0247 '''bool QWidget.focusNextPrevChild(bool next)''' 0248 return bool() 0249 def destroy(self, destroyWindow = True, destroySubWindows = True): 0250 '''void QWidget.destroy(bool destroyWindow = True, bool destroySubWindows = True)''' 0251 def create(self, window = 0, initializeWindow = True, destroyOldWindow = True): 0252 '''void QWidget.create(int window = 0, bool initializeWindow = True, bool destroyOldWindow = True)''' 0253 def updateMicroFocus(self): 0254 '''void QWidget.updateMicroFocus()''' 0255 def resetInputContext(self): 0256 '''void QWidget.resetInputContext()''' 0257 def inputMethodQuery(self): 0258 '''Qt.InputMethodQuery QWidget.inputMethodQuery()''' 0259 return Qt.InputMethodQuery() 0260 def inputMethodEvent(self): 0261 '''QInputMethodEvent QWidget.inputMethodEvent()''' 0262 return QInputMethodEvent() 0263 def metric(self): 0264 '''QPaintDevice.PaintDeviceMetric QWidget.metric()''' 0265 return QPaintDevice.PaintDeviceMetric() 0266 def changeEvent(self): 0267 '''QEvent QWidget.changeEvent()''' 0268 return QEvent() 0269 def hideEvent(self): 0270 '''QHideEvent QWidget.hideEvent()''' 0271 return QHideEvent() 0272 def showEvent(self): 0273 '''QShowEvent QWidget.showEvent()''' 0274 return QShowEvent() 0275 def dropEvent(self): 0276 '''QDropEvent QWidget.dropEvent()''' 0277 return QDropEvent() 0278 def dragLeaveEvent(self): 0279 '''QDragLeaveEvent QWidget.dragLeaveEvent()''' 0280 return QDragLeaveEvent() 0281 def dragMoveEvent(self): 0282 '''QDragMoveEvent QWidget.dragMoveEvent()''' 0283 return QDragMoveEvent() 0284 def dragEnterEvent(self): 0285 '''QDragEnterEvent QWidget.dragEnterEvent()''' 0286 return QDragEnterEvent() 0287 def actionEvent(self): 0288 '''QActionEvent QWidget.actionEvent()''' 0289 return QActionEvent() 0290 def tabletEvent(self): 0291 '''QTabletEvent QWidget.tabletEvent()''' 0292 return QTabletEvent() 0293 def contextMenuEvent(self): 0294 '''QContextMenuEvent QWidget.contextMenuEvent()''' 0295 return QContextMenuEvent() 0296 def closeEvent(self): 0297 '''QCloseEvent QWidget.closeEvent()''' 0298 return QCloseEvent() 0299 def resizeEvent(self): 0300 '''QResizeEvent QWidget.resizeEvent()''' 0301 return QResizeEvent() 0302 def moveEvent(self): 0303 '''QMoveEvent QWidget.moveEvent()''' 0304 return QMoveEvent() 0305 def paintEvent(self): 0306 '''QPaintEvent QWidget.paintEvent()''' 0307 return QPaintEvent() 0308 def leaveEvent(self): 0309 '''QEvent QWidget.leaveEvent()''' 0310 return QEvent() 0311 def enterEvent(self): 0312 '''QEvent QWidget.enterEvent()''' 0313 return QEvent() 0314 def focusOutEvent(self): 0315 '''QFocusEvent QWidget.focusOutEvent()''' 0316 return QFocusEvent() 0317 def focusInEvent(self): 0318 '''QFocusEvent QWidget.focusInEvent()''' 0319 return QFocusEvent() 0320 def keyReleaseEvent(self): 0321 '''QKeyEvent QWidget.keyReleaseEvent()''' 0322 return QKeyEvent() 0323 def keyPressEvent(self): 0324 '''QKeyEvent QWidget.keyPressEvent()''' 0325 return QKeyEvent() 0326 def wheelEvent(self): 0327 '''QWheelEvent QWidget.wheelEvent()''' 0328 return QWheelEvent() 0329 def mouseMoveEvent(self): 0330 '''QMouseEvent QWidget.mouseMoveEvent()''' 0331 return QMouseEvent() 0332 def mouseDoubleClickEvent(self): 0333 '''QMouseEvent QWidget.mouseDoubleClickEvent()''' 0334 return QMouseEvent() 0335 def mouseReleaseEvent(self): 0336 '''QMouseEvent QWidget.mouseReleaseEvent()''' 0337 return QMouseEvent() 0338 def mousePressEvent(self): 0339 '''QMouseEvent QWidget.mousePressEvent()''' 0340 return QMouseEvent() 0341 def event(self): 0342 '''QEvent QWidget.event()''' 0343 return QEvent() 0344 customContextMenuRequested = pyqtSignal() # void customContextMenuRequested(const QPointamp;) - signal 0345 def isAncestorOf(self, child): 0346 '''bool QWidget.isAncestorOf(QWidget child)''' 0347 return bool() 0348 def setInputContext(self): 0349 '''QInputContext QWidget.setInputContext()''' 0350 return QInputContext() 0351 def inputContext(self): 0352 '''QInputContext QWidget.inputContext()''' 0353 return QInputContext() 0354 def ensurePolished(self): 0355 '''void QWidget.ensurePolished()''' 0356 def paintEngine(self): 0357 '''QPaintEngine QWidget.paintEngine()''' 0358 return QPaintEngine() 0359 def setAttribute(self, attribute, on = True): 0360 '''void QWidget.setAttribute(Qt.WidgetAttribute attribute, bool on = True)''' 0361 def handle(self): 0362 '''int QWidget.handle()''' 0363 return int() 0364 def x11PictureHandle(self): 0365 '''int QWidget.x11PictureHandle()''' 0366 return int() 0367 def x11Info(self): 0368 '''QX11Info QWidget.x11Info()''' 0369 return QX11Info() 0370 def childAt(self, p): 0371 '''QWidget QWidget.childAt(QPoint p)''' 0372 return QWidget() 0373 def childAt(self, ax, ay): 0374 '''QWidget QWidget.childAt(int ax, int ay)''' 0375 return QWidget() 0376 def find(self): 0377 '''static int QWidget.find()''' 0378 return int() 0379 def overrideWindowFlags(self, type): 0380 '''void QWidget.overrideWindowFlags(Qt.WindowFlags type)''' 0381 def setWindowFlags(self, type): 0382 '''void QWidget.setWindowFlags(Qt.WindowFlags type)''' 0383 def actions(self): 0384 '''list-of-QAction QWidget.actions()''' 0385 return [QAction()] 0386 def removeAction(self, action): 0387 '''void QWidget.removeAction(QAction action)''' 0388 def insertActions(self, before, actions): 0389 '''void QWidget.insertActions(QAction before, list-of-QAction actions)''' 0390 def insertAction(self, before, action): 0391 '''void QWidget.insertAction(QAction before, QAction action)''' 0392 def addActions(self, actions): 0393 '''void QWidget.addActions(list-of-QAction actions)''' 0394 def addAction(self, action): 0395 '''void QWidget.addAction(QAction action)''' 0396 def setAcceptDrops(self, on): 0397 '''void QWidget.setAcceptDrops(bool on)''' 0398 def acceptDrops(self): 0399 '''bool QWidget.acceptDrops()''' 0400 return bool() 0401 def nextInFocusChain(self): 0402 '''QWidget QWidget.nextInFocusChain()''' 0403 return QWidget() 0404 def focusWidget(self): 0405 '''QWidget QWidget.focusWidget()''' 0406 return QWidget() 0407 def scroll(self, dx, dy): 0408 '''void QWidget.scroll(int dx, int dy)''' 0409 def scroll(self, dx, dy): 0410 '''QRect QWidget.scroll(int dx, int dy)''' 0411 return QRect() 0412 def setParent(self, parent): 0413 '''void QWidget.setParent(QWidget parent)''' 0414 def setParent(self, parent, f): 0415 '''void QWidget.setParent(QWidget parent, Qt.WindowFlags f)''' 0416 def updateGeometry(self): 0417 '''void QWidget.updateGeometry()''' 0418 def setLayout(self): 0419 '''QLayout QWidget.setLayout()''' 0420 return QLayout() 0421 def layout(self): 0422 '''QLayout QWidget.layout()''' 0423 return QLayout() 0424 def contentsRect(self): 0425 '''QRect QWidget.contentsRect()''' 0426 return QRect() 0427 def getContentsMargins(self, left, top, right, bottom): 0428 '''void QWidget.getContentsMargins(int left, int top, int right, int bottom)''' 0429 def setContentsMargins(self, left, top, right, bottom): 0430 '''void QWidget.setContentsMargins(int left, int top, int right, int bottom)''' 0431 def setContentsMargins(self, margins): 0432 '''void QWidget.setContentsMargins(QMargins margins)''' 0433 def visibleRegion(self): 0434 '''QRegion QWidget.visibleRegion()''' 0435 return QRegion() 0436 def heightForWidth(self): 0437 '''int QWidget.heightForWidth()''' 0438 return int() 0439 def setSizePolicy(self): 0440 '''QSizePolicy QWidget.setSizePolicy()''' 0441 return QSizePolicy() 0442 def setSizePolicy(self, hor, ver): 0443 '''void QWidget.setSizePolicy(QSizePolicy.Policy hor, QSizePolicy.Policy ver)''' 0444 def sizePolicy(self): 0445 '''QSizePolicy QWidget.sizePolicy()''' 0446 return QSizePolicy() 0447 def minimumSizeHint(self): 0448 '''QSize QWidget.minimumSizeHint()''' 0449 return QSize() 0450 def sizeHint(self): 0451 '''QSize QWidget.sizeHint()''' 0452 return QSize() 0453 def overrideWindowState(self, state): 0454 '''void QWidget.overrideWindowState(Qt.WindowStates state)''' 0455 def setWindowState(self, state): 0456 '''void QWidget.setWindowState(Qt.WindowStates state)''' 0457 def windowState(self): 0458 '''Qt.WindowStates QWidget.windowState()''' 0459 return Qt.WindowStates() 0460 def isFullScreen(self): 0461 '''bool QWidget.isFullScreen()''' 0462 return bool() 0463 def isMaximized(self): 0464 '''bool QWidget.isMaximized()''' 0465 return bool() 0466 def isMinimized(self): 0467 '''bool QWidget.isMinimized()''' 0468 return bool() 0469 def isVisibleTo(self): 0470 '''QWidget QWidget.isVisibleTo()''' 0471 return QWidget() 0472 def adjustSize(self): 0473 '''void QWidget.adjustSize()''' 0474 def setGeometry(self): 0475 '''QRect QWidget.setGeometry()''' 0476 return QRect() 0477 def setGeometry(self, ax, ay, aw, ah): 0478 '''void QWidget.setGeometry(int ax, int ay, int aw, int ah)''' 0479 def resize(self): 0480 '''QSize QWidget.resize()''' 0481 return QSize() 0482 def resize(self, w, h): 0483 '''void QWidget.resize(int w, int h)''' 0484 def move(self): 0485 '''QPoint QWidget.move()''' 0486 return QPoint() 0487 def move(self, ax, ay): 0488 '''void QWidget.move(int ax, int ay)''' 0489 def stackUnder(self): 0490 '''QWidget QWidget.stackUnder()''' 0491 return QWidget() 0492 def lower(self): 0493 '''void QWidget.lower()''' 0494 def raise_(self): 0495 '''void QWidget.raise_()''' 0496 def close(self): 0497 '''bool QWidget.close()''' 0498 return bool() 0499 def showNormal(self): 0500 '''void QWidget.showNormal()''' 0501 def showFullScreen(self): 0502 '''void QWidget.showFullScreen()''' 0503 def showMaximized(self): 0504 '''void QWidget.showMaximized()''' 0505 def showMinimized(self): 0506 '''void QWidget.showMinimized()''' 0507 def setShown(self, shown): 0508 '''void QWidget.setShown(bool shown)''' 0509 def hide(self): 0510 '''void QWidget.hide()''' 0511 def show(self): 0512 '''void QWidget.show()''' 0513 def setHidden(self, hidden): 0514 '''void QWidget.setHidden(bool hidden)''' 0515 def setVisible(self, visible): 0516 '''void QWidget.setVisible(bool visible)''' 0517 def repaint(self): 0518 '''void QWidget.repaint()''' 0519 def repaint(self, x, y, w, h): 0520 '''void QWidget.repaint(int x, int y, int w, int h)''' 0521 def repaint(self): 0522 '''QRect QWidget.repaint()''' 0523 return QRect() 0524 def repaint(self): 0525 '''QRegion QWidget.repaint()''' 0526 return QRegion() 0527 def update(self): 0528 '''void QWidget.update()''' 0529 def update(self): 0530 '''QRect QWidget.update()''' 0531 return QRect() 0532 def update(self): 0533 '''QRegion QWidget.update()''' 0534 return QRegion() 0535 def update(self, ax, ay, aw, ah): 0536 '''void QWidget.update(int ax, int ay, int aw, int ah)''' 0537 def setUpdatesEnabled(self, enable): 0538 '''void QWidget.setUpdatesEnabled(bool enable)''' 0539 def keyboardGrabber(self): 0540 '''static QWidget QWidget.keyboardGrabber()''' 0541 return QWidget() 0542 def mouseGrabber(self): 0543 '''static QWidget QWidget.mouseGrabber()''' 0544 return QWidget() 0545 def setShortcutEnabled(self, id, enabled = True): 0546 '''void QWidget.setShortcutEnabled(int id, bool enabled = True)''' 0547 def releaseShortcut(self, id): 0548 '''void QWidget.releaseShortcut(int id)''' 0549 def grabShortcut(self, key, context = None): 0550 '''int QWidget.grabShortcut(QKeySequence key, Qt.ShortcutContext context = Qt.WindowShortcut)''' 0551 return int() 0552 def releaseKeyboard(self): 0553 '''void QWidget.releaseKeyboard()''' 0554 def grabKeyboard(self): 0555 '''void QWidget.grabKeyboard()''' 0556 def releaseMouse(self): 0557 '''void QWidget.releaseMouse()''' 0558 def grabMouse(self): 0559 '''void QWidget.grabMouse()''' 0560 def grabMouse(self): 0561 '''QCursor QWidget.grabMouse()''' 0562 return QCursor() 0563 def setContextMenuPolicy(self, policy): 0564 '''void QWidget.setContextMenuPolicy(Qt.ContextMenuPolicy policy)''' 0565 def contextMenuPolicy(self): 0566 '''Qt.ContextMenuPolicy QWidget.contextMenuPolicy()''' 0567 return Qt.ContextMenuPolicy() 0568 def focusProxy(self): 0569 '''QWidget QWidget.focusProxy()''' 0570 return QWidget() 0571 def setFocusProxy(self): 0572 '''QWidget QWidget.setFocusProxy()''' 0573 return QWidget() 0574 def setTabOrder(self): 0575 '''static QWidget QWidget.setTabOrder()''' 0576 return QWidget() 0577 def hasFocus(self): 0578 '''bool QWidget.hasFocus()''' 0579 return bool() 0580 def setFocusPolicy(self, policy): 0581 '''void QWidget.setFocusPolicy(Qt.FocusPolicy policy)''' 0582 def focusPolicy(self): 0583 '''Qt.FocusPolicy QWidget.focusPolicy()''' 0584 return Qt.FocusPolicy() 0585 def clearFocus(self): 0586 '''void QWidget.clearFocus()''' 0587 def activateWindow(self): 0588 '''void QWidget.activateWindow()''' 0589 def isActiveWindow(self): 0590 '''bool QWidget.isActiveWindow()''' 0591 return bool() 0592 def setFocus(self): 0593 '''void QWidget.setFocus()''' 0594 def setFocus(self, reason): 0595 '''void QWidget.setFocus(Qt.FocusReason reason)''' 0596 def isLeftToRight(self): 0597 '''bool QWidget.isLeftToRight()''' 0598 return bool() 0599 def isRightToLeft(self): 0600 '''bool QWidget.isRightToLeft()''' 0601 return bool() 0602 def unsetLayoutDirection(self): 0603 '''void QWidget.unsetLayoutDirection()''' 0604 def layoutDirection(self): 0605 '''Qt.LayoutDirection QWidget.layoutDirection()''' 0606 return Qt.LayoutDirection() 0607 def setLayoutDirection(self, direction): 0608 '''void QWidget.setLayoutDirection(Qt.LayoutDirection direction)''' 0609 def setAccessibleDescription(self, description): 0610 '''void QWidget.setAccessibleDescription(QString description)''' 0611 def accessibleDescription(self): 0612 '''QString QWidget.accessibleDescription()''' 0613 return QString() 0614 def setAccessibleName(self, name): 0615 '''void QWidget.setAccessibleName(QString name)''' 0616 def accessibleName(self): 0617 '''QString QWidget.accessibleName()''' 0618 return QString() 0619 def whatsThis(self): 0620 '''QString QWidget.whatsThis()''' 0621 return QString() 0622 def setWhatsThis(self): 0623 '''QString QWidget.setWhatsThis()''' 0624 return QString() 0625 def statusTip(self): 0626 '''QString QWidget.statusTip()''' 0627 return QString() 0628 def setStatusTip(self): 0629 '''QString QWidget.setStatusTip()''' 0630 return QString() 0631 def toolTip(self): 0632 '''QString QWidget.toolTip()''' 0633 return QString() 0634 def setToolTip(self): 0635 '''QString QWidget.setToolTip()''' 0636 return QString() 0637 def isWindowModified(self): 0638 '''bool QWidget.isWindowModified()''' 0639 return bool() 0640 def windowOpacity(self): 0641 '''float QWidget.windowOpacity()''' 0642 return float() 0643 def setWindowOpacity(self, level): 0644 '''void QWidget.setWindowOpacity(float level)''' 0645 def windowRole(self): 0646 '''QString QWidget.windowRole()''' 0647 return QString() 0648 def setWindowRole(self): 0649 '''QString QWidget.setWindowRole()''' 0650 return QString() 0651 def windowIconText(self): 0652 '''QString QWidget.windowIconText()''' 0653 return QString() 0654 def setWindowIconText(self): 0655 '''QString QWidget.setWindowIconText()''' 0656 return QString() 0657 def windowIcon(self): 0658 '''QIcon QWidget.windowIcon()''' 0659 return QIcon() 0660 def setWindowIcon(self, icon): 0661 '''void QWidget.setWindowIcon(QIcon icon)''' 0662 def windowTitle(self): 0663 '''QString QWidget.windowTitle()''' 0664 return QString() 0665 def setWindowTitle(self): 0666 '''QString QWidget.setWindowTitle()''' 0667 return QString() 0668 def clearMask(self): 0669 '''void QWidget.clearMask()''' 0670 def mask(self): 0671 '''QRegion QWidget.mask()''' 0672 return QRegion() 0673 def setMask(self): 0674 '''QBitmap QWidget.setMask()''' 0675 return QBitmap() 0676 def setMask(self): 0677 '''QRegion QWidget.setMask()''' 0678 return QRegion() 0679 def unsetCursor(self): 0680 '''void QWidget.unsetCursor()''' 0681 def setCursor(self): 0682 '''QCursor QWidget.setCursor()''' 0683 return QCursor() 0684 def cursor(self): 0685 '''QCursor QWidget.cursor()''' 0686 return QCursor() 0687 def setFont(self): 0688 '''QFont QWidget.setFont()''' 0689 return QFont() 0690 def foregroundRole(self): 0691 '''QPalette.ColorRole QWidget.foregroundRole()''' 0692 return QPalette.ColorRole() 0693 def setForegroundRole(self): 0694 '''QPalette.ColorRole QWidget.setForegroundRole()''' 0695 return QPalette.ColorRole() 0696 def backgroundRole(self): 0697 '''QPalette.ColorRole QWidget.backgroundRole()''' 0698 return QPalette.ColorRole() 0699 def setBackgroundRole(self): 0700 '''QPalette.ColorRole QWidget.setBackgroundRole()''' 0701 return QPalette.ColorRole() 0702 def setPalette(self): 0703 '''QPalette QWidget.setPalette()''' 0704 return QPalette() 0705 def palette(self): 0706 '''QPalette QWidget.palette()''' 0707 return QPalette() 0708 def topLevelWidget(self): 0709 '''QWidget QWidget.topLevelWidget()''' 0710 return QWidget() 0711 def window(self): 0712 '''QWidget QWidget.window()''' 0713 return QWidget() 0714 def mapFrom(self): 0715 '''QPoint QWidget.mapFrom()''' 0716 return QPoint() 0717 def mapTo(self): 0718 '''QPoint QWidget.mapTo()''' 0719 return QPoint() 0720 def mapFromParent(self): 0721 '''QPoint QWidget.mapFromParent()''' 0722 return QPoint() 0723 def mapToParent(self): 0724 '''QPoint QWidget.mapToParent()''' 0725 return QPoint() 0726 def mapFromGlobal(self): 0727 '''QPoint QWidget.mapFromGlobal()''' 0728 return QPoint() 0729 def mapToGlobal(self): 0730 '''QPoint QWidget.mapToGlobal()''' 0731 return QPoint() 0732 def setFixedHeight(self, h): 0733 '''void QWidget.setFixedHeight(int h)''' 0734 def setFixedWidth(self, w): 0735 '''void QWidget.setFixedWidth(int w)''' 0736 def setFixedSize(self): 0737 '''QSize QWidget.setFixedSize()''' 0738 return QSize() 0739 def setFixedSize(self, w, h): 0740 '''void QWidget.setFixedSize(int w, int h)''' 0741 def setBaseSize(self, basew, baseh): 0742 '''void QWidget.setBaseSize(int basew, int baseh)''' 0743 def setBaseSize(self, s): 0744 '''void QWidget.setBaseSize(QSize s)''' 0745 def baseSize(self): 0746 '''QSize QWidget.baseSize()''' 0747 return QSize() 0748 def setSizeIncrement(self, w, h): 0749 '''void QWidget.setSizeIncrement(int w, int h)''' 0750 def setSizeIncrement(self, s): 0751 '''void QWidget.setSizeIncrement(QSize s)''' 0752 def sizeIncrement(self): 0753 '''QSize QWidget.sizeIncrement()''' 0754 return QSize() 0755 def setMaximumHeight(self, maxh): 0756 '''void QWidget.setMaximumHeight(int maxh)''' 0757 def setMaximumWidth(self, maxw): 0758 '''void QWidget.setMaximumWidth(int maxw)''' 0759 def setMinimumHeight(self, minh): 0760 '''void QWidget.setMinimumHeight(int minh)''' 0761 def setMinimumWidth(self, minw): 0762 '''void QWidget.setMinimumWidth(int minw)''' 0763 def setMaximumSize(self, maxw, maxh): 0764 '''void QWidget.setMaximumSize(int maxw, int maxh)''' 0765 def setMaximumSize(self, s): 0766 '''void QWidget.setMaximumSize(QSize s)''' 0767 def setMinimumSize(self, minw, minh): 0768 '''void QWidget.setMinimumSize(int minw, int minh)''' 0769 def setMinimumSize(self, s): 0770 '''void QWidget.setMinimumSize(QSize s)''' 0771 def maximumSize(self): 0772 '''QSize QWidget.maximumSize()''' 0773 return QSize() 0774 def minimumSize(self): 0775 '''QSize QWidget.minimumSize()''' 0776 return QSize() 0777 def childrenRegion(self): 0778 '''QRegion QWidget.childrenRegion()''' 0779 return QRegion() 0780 def childrenRect(self): 0781 '''QRect QWidget.childrenRect()''' 0782 return QRect() 0783 def frameSize(self): 0784 '''QSize QWidget.frameSize()''' 0785 return QSize() 0786 def pos(self): 0787 '''QPoint QWidget.pos()''' 0788 return QPoint() 0789 def y(self): 0790 '''int QWidget.y()''' 0791 return int() 0792 def x(self): 0793 '''int QWidget.x()''' 0794 return int() 0795 def normalGeometry(self): 0796 '''QRect QWidget.normalGeometry()''' 0797 return QRect() 0798 def frameGeometry(self): 0799 '''QRect QWidget.frameGeometry()''' 0800 return QRect() 0801 def setWindowModified(self): 0802 '''bool QWidget.setWindowModified()''' 0803 return bool() 0804 def setDisabled(self): 0805 '''bool QWidget.setDisabled()''' 0806 return bool() 0807 def setEnabled(self): 0808 '''bool QWidget.setEnabled()''' 0809 return bool() 0810 def isEnabledTo(self): 0811 '''QWidget QWidget.isEnabledTo()''' 0812 return QWidget() 0813 def setStyle(self): 0814 '''QStyle QWidget.setStyle()''' 0815 return QStyle() 0816 def style(self): 0817 '''QStyle QWidget.style()''' 0818 return QStyle() 0819 def devType(self): 0820 '''int QWidget.devType()''' 0821 return int() 0822 class RenderFlags(): 0823 """""" 0824 def __init__(self): 0825 '''QWidget.RenderFlags QWidget.RenderFlags.__init__()''' 0826 return QWidget.RenderFlags() 0827 def __init__(self): 0828 '''int QWidget.RenderFlags.__init__()''' 0829 return int() 0830 def __init__(self): 0831 '''void QWidget.RenderFlags.__init__()''' 0832 def __bool__(self): 0833 '''int QWidget.RenderFlags.__bool__()''' 0834 return int() 0835 def __ne__(self, f): 0836 '''bool QWidget.RenderFlags.__ne__(QWidget.RenderFlags f)''' 0837 return bool() 0838 def __eq__(self, f): 0839 '''bool QWidget.RenderFlags.__eq__(QWidget.RenderFlags f)''' 0840 return bool() 0841 def __invert__(self): 0842 '''QWidget.RenderFlags QWidget.RenderFlags.__invert__()''' 0843 return QWidget.RenderFlags() 0844 def __and__(self, mask): 0845 '''QWidget.RenderFlags QWidget.RenderFlags.__and__(int mask)''' 0846 return QWidget.RenderFlags() 0847 def __xor__(self, f): 0848 '''QWidget.RenderFlags QWidget.RenderFlags.__xor__(QWidget.RenderFlags f)''' 0849 return QWidget.RenderFlags() 0850 def __xor__(self, f): 0851 '''QWidget.RenderFlags QWidget.RenderFlags.__xor__(int f)''' 0852 return QWidget.RenderFlags() 0853 def __or__(self, f): 0854 '''QWidget.RenderFlags QWidget.RenderFlags.__or__(QWidget.RenderFlags f)''' 0855 return QWidget.RenderFlags() 0856 def __or__(self, f): 0857 '''QWidget.RenderFlags QWidget.RenderFlags.__or__(int f)''' 0858 return QWidget.RenderFlags() 0859 def __int__(self): 0860 '''int QWidget.RenderFlags.__int__()''' 0861 return int() 0862 def __ixor__(self, f): 0863 '''QWidget.RenderFlags QWidget.RenderFlags.__ixor__(QWidget.RenderFlags f)''' 0864 return QWidget.RenderFlags() 0865 def __ior__(self, f): 0866 '''QWidget.RenderFlags QWidget.RenderFlags.__ior__(QWidget.RenderFlags f)''' 0867 return QWidget.RenderFlags() 0868 def __iand__(self, mask): 0869 '''QWidget.RenderFlags QWidget.RenderFlags.__iand__(int mask)''' 0870 return QWidget.RenderFlags() 0871 0872 0873 class QAbstractButton(QWidget): 0874 """""" 0875 def __init__(self, parent = None): 0876 '''void QAbstractButton.__init__(QWidget parent = None)''' 0877 def timerEvent(self, e): 0878 '''void QAbstractButton.timerEvent(QTimerEvent e)''' 0879 def changeEvent(self, e): 0880 '''void QAbstractButton.changeEvent(QEvent e)''' 0881 def focusOutEvent(self, e): 0882 '''void QAbstractButton.focusOutEvent(QFocusEvent e)''' 0883 def focusInEvent(self, e): 0884 '''void QAbstractButton.focusInEvent(QFocusEvent e)''' 0885 def mouseMoveEvent(self, e): 0886 '''void QAbstractButton.mouseMoveEvent(QMouseEvent e)''' 0887 def mouseReleaseEvent(self, e): 0888 '''void QAbstractButton.mouseReleaseEvent(QMouseEvent e)''' 0889 def mousePressEvent(self, e): 0890 '''void QAbstractButton.mousePressEvent(QMouseEvent e)''' 0891 def keyReleaseEvent(self, e): 0892 '''void QAbstractButton.keyReleaseEvent(QKeyEvent e)''' 0893 def keyPressEvent(self, e): 0894 '''void QAbstractButton.keyPressEvent(QKeyEvent e)''' 0895 def event(self, e): 0896 '''bool QAbstractButton.event(QEvent e)''' 0897 return bool() 0898 def nextCheckState(self): 0899 '''void QAbstractButton.nextCheckState()''' 0900 def checkStateSet(self): 0901 '''void QAbstractButton.checkStateSet()''' 0902 def hitButton(self, pos): 0903 '''bool QAbstractButton.hitButton(QPoint pos)''' 0904 return bool() 0905 def paintEvent(self, e): 0906 '''abstract void QAbstractButton.paintEvent(QPaintEvent e)''' 0907 toggled = pyqtSignal() # void toggled(bool) - signal 0908 clicked = pyqtSignal() # void clicked(bool = 0) - signal 0909 released = pyqtSignal() # void released() - signal 0910 pressed = pyqtSignal() # void pressed() - signal 0911 def setChecked(self): 0912 '''bool QAbstractButton.setChecked()''' 0913 return bool() 0914 def toggle(self): 0915 '''void QAbstractButton.toggle()''' 0916 def click(self): 0917 '''void QAbstractButton.click()''' 0918 def animateClick(self, msecs = 100): 0919 '''void QAbstractButton.animateClick(int msecs = 100)''' 0920 def setIconSize(self, size): 0921 '''void QAbstractButton.setIconSize(QSize size)''' 0922 def group(self): 0923 '''QButtonGroup QAbstractButton.group()''' 0924 return QButtonGroup() 0925 def autoExclusive(self): 0926 '''bool QAbstractButton.autoExclusive()''' 0927 return bool() 0928 def setAutoExclusive(self): 0929 '''bool QAbstractButton.setAutoExclusive()''' 0930 return bool() 0931 def autoRepeat(self): 0932 '''bool QAbstractButton.autoRepeat()''' 0933 return bool() 0934 def setAutoRepeat(self): 0935 '''bool QAbstractButton.setAutoRepeat()''' 0936 return bool() 0937 def isDown(self): 0938 '''bool QAbstractButton.isDown()''' 0939 return bool() 0940 def setDown(self): 0941 '''bool QAbstractButton.setDown()''' 0942 return bool() 0943 def isChecked(self): 0944 '''bool QAbstractButton.isChecked()''' 0945 return bool() 0946 def isCheckable(self): 0947 '''bool QAbstractButton.isCheckable()''' 0948 return bool() 0949 def setCheckable(self): 0950 '''bool QAbstractButton.setCheckable()''' 0951 return bool() 0952 def shortcut(self): 0953 '''QKeySequence QAbstractButton.shortcut()''' 0954 return QKeySequence() 0955 def setShortcut(self, key): 0956 '''void QAbstractButton.setShortcut(QKeySequence key)''' 0957 def iconSize(self): 0958 '''QSize QAbstractButton.iconSize()''' 0959 return QSize() 0960 def icon(self): 0961 '''QIcon QAbstractButton.icon()''' 0962 return QIcon() 0963 def setIcon(self, icon): 0964 '''void QAbstractButton.setIcon(QIcon icon)''' 0965 def text(self): 0966 '''QString QAbstractButton.text()''' 0967 return QString() 0968 def setText(self, text): 0969 '''void QAbstractButton.setText(QString text)''' 0970 def autoRepeatInterval(self): 0971 '''int QAbstractButton.autoRepeatInterval()''' 0972 return int() 0973 def setAutoRepeatInterval(self): 0974 '''int QAbstractButton.setAutoRepeatInterval()''' 0975 return int() 0976 def autoRepeatDelay(self): 0977 '''int QAbstractButton.autoRepeatDelay()''' 0978 return int() 0979 def setAutoRepeatDelay(self): 0980 '''int QAbstractButton.setAutoRepeatDelay()''' 0981 return int() 0982 0983 0984 class QAbstractItemDelegate(QObject): 0985 """""" 0986 # Enum QAbstractItemDelegate.EndEditHint 0987 NoHint = 0 0988 EditNextItem = 0 0989 EditPreviousItem = 0 0990 SubmitModelCache = 0 0991 RevertModelCache = 0 0992 0993 def __init__(self, parent = None): 0994 '''void QAbstractItemDelegate.__init__(QObject parent = None)''' 0995 sizeHintChanged = pyqtSignal() # void sizeHintChanged(const QModelIndexamp;) - signal 0996 closeEditor = pyqtSignal() # void closeEditor(QWidget *,QAbstractItemDelegate::EndEditHint = QAbstractItemDelegate.NoHint) - signal 0997 commitData = pyqtSignal() # void commitData(QWidget *) - signal 0998 def helpEvent(self, event, view, option, index): 0999 '''bool QAbstractItemDelegate.helpEvent(QHelpEvent event, QAbstractItemView view, QStyleOptionViewItem option, QModelIndex index)''' 1000 return bool() 1001 def elidedText(self, fontMetrics, width, mode, text): 1002 '''static QString QAbstractItemDelegate.elidedText(QFontMetrics fontMetrics, int width, Qt.TextElideMode mode, QString text)''' 1003 return QString() 1004 def editorEvent(self, event, model, option, index): 1005 '''bool QAbstractItemDelegate.editorEvent(QEvent event, QAbstractItemModel model, QStyleOptionViewItem option, QModelIndex index)''' 1006 return bool() 1007 def updateEditorGeometry(self, editor, option, index): 1008 '''void QAbstractItemDelegate.updateEditorGeometry(QWidget editor, QStyleOptionViewItem option, QModelIndex index)''' 1009 def setModelData(self, editor, model, index): 1010 '''void QAbstractItemDelegate.setModelData(QWidget editor, QAbstractItemModel model, QModelIndex index)''' 1011 def setEditorData(self, editor, index): 1012 '''void QAbstractItemDelegate.setEditorData(QWidget editor, QModelIndex index)''' 1013 def createEditor(self, parent, option, index): 1014 '''QWidget QAbstractItemDelegate.createEditor(QWidget parent, QStyleOptionViewItem option, QModelIndex index)''' 1015 return QWidget() 1016 def sizeHint(self, option, index): 1017 '''abstract QSize QAbstractItemDelegate.sizeHint(QStyleOptionViewItem option, QModelIndex index)''' 1018 return QSize() 1019 def paint(self, painter, option, index): 1020 '''abstract void QAbstractItemDelegate.paint(QPainter painter, QStyleOptionViewItem option, QModelIndex index)''' 1021 1022 1023 class QFrame(QWidget): 1024 """""" 1025 # Enum QFrame.StyleMask 1026 Shadow_Mask = 0 1027 Shape_Mask = 0 1028 1029 # Enum QFrame.Shape 1030 NoFrame = 0 1031 Box = 0 1032 Panel = 0 1033 WinPanel = 0 1034 HLine = 0 1035 VLine = 0 1036 StyledPanel = 0 1037 1038 # Enum QFrame.Shadow 1039 Plain = 0 1040 Raised = 0 1041 Sunken = 0 1042 1043 def __init__(self, parent = None, flags = 0): 1044 '''void QFrame.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 1045 def drawFrame(self): 1046 '''QPainter QFrame.drawFrame()''' 1047 return QPainter() 1048 def changeEvent(self): 1049 '''QEvent QFrame.changeEvent()''' 1050 return QEvent() 1051 def paintEvent(self): 1052 '''QPaintEvent QFrame.paintEvent()''' 1053 return QPaintEvent() 1054 def event(self, e): 1055 '''bool QFrame.event(QEvent e)''' 1056 return bool() 1057 def setFrameRect(self): 1058 '''QRect QFrame.setFrameRect()''' 1059 return QRect() 1060 def frameRect(self): 1061 '''QRect QFrame.frameRect()''' 1062 return QRect() 1063 def setMidLineWidth(self): 1064 '''int QFrame.setMidLineWidth()''' 1065 return int() 1066 def midLineWidth(self): 1067 '''int QFrame.midLineWidth()''' 1068 return int() 1069 def setLineWidth(self): 1070 '''int QFrame.setLineWidth()''' 1071 return int() 1072 def lineWidth(self): 1073 '''int QFrame.lineWidth()''' 1074 return int() 1075 def setFrameShadow(self): 1076 '''QFrame.Shadow QFrame.setFrameShadow()''' 1077 return QFrame.Shadow() 1078 def frameShadow(self): 1079 '''QFrame.Shadow QFrame.frameShadow()''' 1080 return QFrame.Shadow() 1081 def setFrameShape(self): 1082 '''QFrame.Shape QFrame.setFrameShape()''' 1083 return QFrame.Shape() 1084 def frameShape(self): 1085 '''QFrame.Shape QFrame.frameShape()''' 1086 return QFrame.Shape() 1087 def sizeHint(self): 1088 '''QSize QFrame.sizeHint()''' 1089 return QSize() 1090 def frameWidth(self): 1091 '''int QFrame.frameWidth()''' 1092 return int() 1093 def setFrameStyle(self): 1094 '''int QFrame.setFrameStyle()''' 1095 return int() 1096 def frameStyle(self): 1097 '''int QFrame.frameStyle()''' 1098 return int() 1099 1100 1101 class QAbstractScrollArea(QFrame): 1102 """""" 1103 def __init__(self, parent = None): 1104 '''void QAbstractScrollArea.__init__(QWidget parent = None)''' 1105 def setupViewport(self, viewport): 1106 '''void QAbstractScrollArea.setupViewport(QWidget viewport)''' 1107 def setViewport(self, widget): 1108 '''void QAbstractScrollArea.setViewport(QWidget widget)''' 1109 def scrollBarWidgets(self, alignment): 1110 '''list-of-QWidget QAbstractScrollArea.scrollBarWidgets(Qt.Alignment alignment)''' 1111 return [QWidget()] 1112 def addScrollBarWidget(self, widget, alignment): 1113 '''void QAbstractScrollArea.addScrollBarWidget(QWidget widget, Qt.Alignment alignment)''' 1114 def setCornerWidget(self, widget): 1115 '''void QAbstractScrollArea.setCornerWidget(QWidget widget)''' 1116 def cornerWidget(self): 1117 '''QWidget QAbstractScrollArea.cornerWidget()''' 1118 return QWidget() 1119 def setHorizontalScrollBar(self, scrollbar): 1120 '''void QAbstractScrollArea.setHorizontalScrollBar(QScrollBar scrollbar)''' 1121 def setVerticalScrollBar(self, scrollbar): 1122 '''void QAbstractScrollArea.setVerticalScrollBar(QScrollBar scrollbar)''' 1123 def scrollContentsBy(self, dx, dy): 1124 '''void QAbstractScrollArea.scrollContentsBy(int dx, int dy)''' 1125 def keyPressEvent(self): 1126 '''QKeyEvent QAbstractScrollArea.keyPressEvent()''' 1127 return QKeyEvent() 1128 def dropEvent(self): 1129 '''QDropEvent QAbstractScrollArea.dropEvent()''' 1130 return QDropEvent() 1131 def dragLeaveEvent(self): 1132 '''QDragLeaveEvent QAbstractScrollArea.dragLeaveEvent()''' 1133 return QDragLeaveEvent() 1134 def dragMoveEvent(self): 1135 '''QDragMoveEvent QAbstractScrollArea.dragMoveEvent()''' 1136 return QDragMoveEvent() 1137 def dragEnterEvent(self): 1138 '''QDragEnterEvent QAbstractScrollArea.dragEnterEvent()''' 1139 return QDragEnterEvent() 1140 def contextMenuEvent(self): 1141 '''QContextMenuEvent QAbstractScrollArea.contextMenuEvent()''' 1142 return QContextMenuEvent() 1143 def wheelEvent(self): 1144 '''QWheelEvent QAbstractScrollArea.wheelEvent()''' 1145 return QWheelEvent() 1146 def mouseMoveEvent(self): 1147 '''QMouseEvent QAbstractScrollArea.mouseMoveEvent()''' 1148 return QMouseEvent() 1149 def mouseDoubleClickEvent(self): 1150 '''QMouseEvent QAbstractScrollArea.mouseDoubleClickEvent()''' 1151 return QMouseEvent() 1152 def mouseReleaseEvent(self): 1153 '''QMouseEvent QAbstractScrollArea.mouseReleaseEvent()''' 1154 return QMouseEvent() 1155 def mousePressEvent(self): 1156 '''QMouseEvent QAbstractScrollArea.mousePressEvent()''' 1157 return QMouseEvent() 1158 def paintEvent(self): 1159 '''QPaintEvent QAbstractScrollArea.paintEvent()''' 1160 return QPaintEvent() 1161 def resizeEvent(self): 1162 '''QResizeEvent QAbstractScrollArea.resizeEvent()''' 1163 return QResizeEvent() 1164 def viewportEvent(self): 1165 '''QEvent QAbstractScrollArea.viewportEvent()''' 1166 return QEvent() 1167 def event(self): 1168 '''QEvent QAbstractScrollArea.event()''' 1169 return QEvent() 1170 def setViewportMargins(self, left, top, right, bottom): 1171 '''void QAbstractScrollArea.setViewportMargins(int left, int top, int right, int bottom)''' 1172 def setViewportMargins(self, margins): 1173 '''void QAbstractScrollArea.setViewportMargins(QMargins margins)''' 1174 def sizeHint(self): 1175 '''QSize QAbstractScrollArea.sizeHint()''' 1176 return QSize() 1177 def minimumSizeHint(self): 1178 '''QSize QAbstractScrollArea.minimumSizeHint()''' 1179 return QSize() 1180 def maximumViewportSize(self): 1181 '''QSize QAbstractScrollArea.maximumViewportSize()''' 1182 return QSize() 1183 def viewport(self): 1184 '''QWidget QAbstractScrollArea.viewport()''' 1185 return QWidget() 1186 def horizontalScrollBar(self): 1187 '''QScrollBar QAbstractScrollArea.horizontalScrollBar()''' 1188 return QScrollBar() 1189 def setHorizontalScrollBarPolicy(self): 1190 '''Qt.ScrollBarPolicy QAbstractScrollArea.setHorizontalScrollBarPolicy()''' 1191 return Qt.ScrollBarPolicy() 1192 def horizontalScrollBarPolicy(self): 1193 '''Qt.ScrollBarPolicy QAbstractScrollArea.horizontalScrollBarPolicy()''' 1194 return Qt.ScrollBarPolicy() 1195 def verticalScrollBar(self): 1196 '''QScrollBar QAbstractScrollArea.verticalScrollBar()''' 1197 return QScrollBar() 1198 def setVerticalScrollBarPolicy(self): 1199 '''Qt.ScrollBarPolicy QAbstractScrollArea.setVerticalScrollBarPolicy()''' 1200 return Qt.ScrollBarPolicy() 1201 def verticalScrollBarPolicy(self): 1202 '''Qt.ScrollBarPolicy QAbstractScrollArea.verticalScrollBarPolicy()''' 1203 return Qt.ScrollBarPolicy() 1204 1205 1206 class QAbstractItemView(QAbstractScrollArea): 1207 """""" 1208 # Enum QAbstractItemView.DropIndicatorPosition 1209 OnItem = 0 1210 AboveItem = 0 1211 BelowItem = 0 1212 OnViewport = 0 1213 1214 # Enum QAbstractItemView.State 1215 NoState = 0 1216 DraggingState = 0 1217 DragSelectingState = 0 1218 EditingState = 0 1219 ExpandingState = 0 1220 CollapsingState = 0 1221 AnimatingState = 0 1222 1223 # Enum QAbstractItemView.CursorAction 1224 MoveUp = 0 1225 MoveDown = 0 1226 MoveLeft = 0 1227 MoveRight = 0 1228 MoveHome = 0 1229 MoveEnd = 0 1230 MovePageUp = 0 1231 MovePageDown = 0 1232 MoveNext = 0 1233 MovePrevious = 0 1234 1235 # Enum QAbstractItemView.SelectionMode 1236 NoSelection = 0 1237 SingleSelection = 0 1238 MultiSelection = 0 1239 ExtendedSelection = 0 1240 ContiguousSelection = 0 1241 1242 # Enum QAbstractItemView.SelectionBehavior 1243 SelectItems = 0 1244 SelectRows = 0 1245 SelectColumns = 0 1246 1247 # Enum QAbstractItemView.ScrollMode 1248 ScrollPerItem = 0 1249 ScrollPerPixel = 0 1250 1251 # Enum QAbstractItemView.ScrollHint 1252 EnsureVisible = 0 1253 PositionAtTop = 0 1254 PositionAtBottom = 0 1255 PositionAtCenter = 0 1256 1257 # Enum QAbstractItemView.EditTrigger 1258 NoEditTriggers = 0 1259 CurrentChanged = 0 1260 DoubleClicked = 0 1261 SelectedClicked = 0 1262 EditKeyPressed = 0 1263 AnyKeyPressed = 0 1264 AllEditTriggers = 0 1265 1266 # Enum QAbstractItemView.DragDropMode 1267 NoDragDrop = 0 1268 DragOnly = 0 1269 DropOnly = 0 1270 DragDrop = 0 1271 InternalMove = 0 1272 1273 def __init__(self, parent = None): 1274 '''void QAbstractItemView.__init__(QWidget parent = None)''' 1275 def defaultDropAction(self): 1276 '''Qt.DropAction QAbstractItemView.defaultDropAction()''' 1277 return Qt.DropAction() 1278 def setDefaultDropAction(self, dropAction): 1279 '''void QAbstractItemView.setDefaultDropAction(Qt.DropAction dropAction)''' 1280 def inputMethodEvent(self, event): 1281 '''void QAbstractItemView.inputMethodEvent(QInputMethodEvent event)''' 1282 def focusNextPrevChild(self, next): 1283 '''bool QAbstractItemView.focusNextPrevChild(bool next)''' 1284 return bool() 1285 def autoScrollMargin(self): 1286 '''int QAbstractItemView.autoScrollMargin()''' 1287 return int() 1288 def setAutoScrollMargin(self, margin): 1289 '''void QAbstractItemView.setAutoScrollMargin(int margin)''' 1290 def inputMethodQuery(self, query): 1291 '''QVariant QAbstractItemView.inputMethodQuery(Qt.InputMethodQuery query)''' 1292 return QVariant() 1293 def itemDelegateForColumn(self, column): 1294 '''QAbstractItemDelegate QAbstractItemView.itemDelegateForColumn(int column)''' 1295 return QAbstractItemDelegate() 1296 def setItemDelegateForColumn(self, column, delegate): 1297 '''void QAbstractItemView.setItemDelegateForColumn(int column, QAbstractItemDelegate delegate)''' 1298 def itemDelegateForRow(self, row): 1299 '''QAbstractItemDelegate QAbstractItemView.itemDelegateForRow(int row)''' 1300 return QAbstractItemDelegate() 1301 def setItemDelegateForRow(self, row, delegate): 1302 '''void QAbstractItemView.setItemDelegateForRow(int row, QAbstractItemDelegate delegate)''' 1303 def dragDropMode(self): 1304 '''QAbstractItemView.DragDropMode QAbstractItemView.dragDropMode()''' 1305 return QAbstractItemView.DragDropMode() 1306 def setDragDropMode(self, behavior): 1307 '''void QAbstractItemView.setDragDropMode(QAbstractItemView.DragDropMode behavior)''' 1308 def dragDropOverwriteMode(self): 1309 '''bool QAbstractItemView.dragDropOverwriteMode()''' 1310 return bool() 1311 def setDragDropOverwriteMode(self, overwrite): 1312 '''void QAbstractItemView.setDragDropOverwriteMode(bool overwrite)''' 1313 def horizontalScrollMode(self): 1314 '''QAbstractItemView.ScrollMode QAbstractItemView.horizontalScrollMode()''' 1315 return QAbstractItemView.ScrollMode() 1316 def setHorizontalScrollMode(self, mode): 1317 '''void QAbstractItemView.setHorizontalScrollMode(QAbstractItemView.ScrollMode mode)''' 1318 def verticalScrollMode(self): 1319 '''QAbstractItemView.ScrollMode QAbstractItemView.verticalScrollMode()''' 1320 return QAbstractItemView.ScrollMode() 1321 def setVerticalScrollMode(self, mode): 1322 '''void QAbstractItemView.setVerticalScrollMode(QAbstractItemView.ScrollMode mode)''' 1323 def dropIndicatorPosition(self): 1324 '''QAbstractItemView.DropIndicatorPosition QAbstractItemView.dropIndicatorPosition()''' 1325 return QAbstractItemView.DropIndicatorPosition() 1326 def timerEvent(self, e): 1327 '''void QAbstractItemView.timerEvent(QTimerEvent e)''' 1328 def resizeEvent(self, e): 1329 '''void QAbstractItemView.resizeEvent(QResizeEvent e)''' 1330 def keyPressEvent(self, e): 1331 '''void QAbstractItemView.keyPressEvent(QKeyEvent e)''' 1332 def focusOutEvent(self, e): 1333 '''void QAbstractItemView.focusOutEvent(QFocusEvent e)''' 1334 def focusInEvent(self, e): 1335 '''void QAbstractItemView.focusInEvent(QFocusEvent e)''' 1336 def dropEvent(self, e): 1337 '''void QAbstractItemView.dropEvent(QDropEvent e)''' 1338 def dragLeaveEvent(self, e): 1339 '''void QAbstractItemView.dragLeaveEvent(QDragLeaveEvent e)''' 1340 def dragMoveEvent(self, e): 1341 '''void QAbstractItemView.dragMoveEvent(QDragMoveEvent e)''' 1342 def dragEnterEvent(self, e): 1343 '''void QAbstractItemView.dragEnterEvent(QDragEnterEvent e)''' 1344 def mouseDoubleClickEvent(self, e): 1345 '''void QAbstractItemView.mouseDoubleClickEvent(QMouseEvent e)''' 1346 def mouseReleaseEvent(self, e): 1347 '''void QAbstractItemView.mouseReleaseEvent(QMouseEvent e)''' 1348 def mouseMoveEvent(self, e): 1349 '''void QAbstractItemView.mouseMoveEvent(QMouseEvent e)''' 1350 def mousePressEvent(self, e): 1351 '''void QAbstractItemView.mousePressEvent(QMouseEvent e)''' 1352 def viewportEvent(self, e): 1353 '''bool QAbstractItemView.viewportEvent(QEvent e)''' 1354 return bool() 1355 def event(self, event): 1356 '''bool QAbstractItemView.event(QEvent event)''' 1357 return bool() 1358 def dirtyRegionOffset(self): 1359 '''QPoint QAbstractItemView.dirtyRegionOffset()''' 1360 return QPoint() 1361 def setDirtyRegion(self, region): 1362 '''void QAbstractItemView.setDirtyRegion(QRegion region)''' 1363 def scrollDirtyRegion(self, dx, dy): 1364 '''void QAbstractItemView.scrollDirtyRegion(int dx, int dy)''' 1365 def executeDelayedItemsLayout(self): 1366 '''void QAbstractItemView.executeDelayedItemsLayout()''' 1367 def scheduleDelayedItemsLayout(self): 1368 '''void QAbstractItemView.scheduleDelayedItemsLayout()''' 1369 def setState(self, state): 1370 '''void QAbstractItemView.setState(QAbstractItemView.State state)''' 1371 def state(self): 1372 '''QAbstractItemView.State QAbstractItemView.state()''' 1373 return QAbstractItemView.State() 1374 def viewOptions(self): 1375 '''QStyleOptionViewItem QAbstractItemView.viewOptions()''' 1376 return QStyleOptionViewItem() 1377 def startDrag(self, supportedActions): 1378 '''void QAbstractItemView.startDrag(Qt.DropActions supportedActions)''' 1379 def selectionCommand(self, index, event = None): 1380 '''QItemSelectionModel.SelectionFlags QAbstractItemView.selectionCommand(QModelIndex index, QEvent event = None)''' 1381 return QItemSelectionModel.SelectionFlags() 1382 def selectedIndexes(self): 1383 '''list-of-QModelIndex QAbstractItemView.selectedIndexes()''' 1384 return [QModelIndex()] 1385 def visualRegionForSelection(self, selection): 1386 '''abstract QRegion QAbstractItemView.visualRegionForSelection(QItemSelection selection)''' 1387 return QRegion() 1388 def setSelection(self, rect, command): 1389 '''abstract void QAbstractItemView.setSelection(QRect rect, QItemSelectionModel.SelectionFlags command)''' 1390 def isIndexHidden(self, index): 1391 '''abstract bool QAbstractItemView.isIndexHidden(QModelIndex index)''' 1392 return bool() 1393 def verticalOffset(self): 1394 '''abstract int QAbstractItemView.verticalOffset()''' 1395 return int() 1396 def horizontalOffset(self): 1397 '''abstract int QAbstractItemView.horizontalOffset()''' 1398 return int() 1399 def moveCursor(self, cursorAction, modifiers): 1400 '''abstract QModelIndex QAbstractItemView.moveCursor(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers)''' 1401 return QModelIndex() 1402 def verticalStepsPerItem(self): 1403 '''int QAbstractItemView.verticalStepsPerItem()''' 1404 return int() 1405 def setVerticalStepsPerItem(self, steps): 1406 '''void QAbstractItemView.setVerticalStepsPerItem(int steps)''' 1407 def horizontalStepsPerItem(self): 1408 '''int QAbstractItemView.horizontalStepsPerItem()''' 1409 return int() 1410 def setHorizontalStepsPerItem(self, steps): 1411 '''void QAbstractItemView.setHorizontalStepsPerItem(int steps)''' 1412 viewportEntered = pyqtSignal() # void viewportEntered() - signal 1413 entered = pyqtSignal() # void entered(const QModelIndexamp;) - signal 1414 activated = pyqtSignal() # void activated(const QModelIndexamp;) - signal 1415 doubleClicked = pyqtSignal() # void doubleClicked(const QModelIndexamp;) - signal 1416 clicked = pyqtSignal() # void clicked(const QModelIndexamp;) - signal 1417 pressed = pyqtSignal() # void pressed(const QModelIndexamp;) - signal 1418 def editorDestroyed(self, editor): 1419 '''void QAbstractItemView.editorDestroyed(QObject editor)''' 1420 def commitData(self, editor): 1421 '''void QAbstractItemView.commitData(QWidget editor)''' 1422 def closeEditor(self, editor, hint): 1423 '''void QAbstractItemView.closeEditor(QWidget editor, QAbstractItemDelegate.EndEditHint hint)''' 1424 def horizontalScrollbarValueChanged(self, value): 1425 '''void QAbstractItemView.horizontalScrollbarValueChanged(int value)''' 1426 def verticalScrollbarValueChanged(self, value): 1427 '''void QAbstractItemView.verticalScrollbarValueChanged(int value)''' 1428 def horizontalScrollbarAction(self, action): 1429 '''void QAbstractItemView.horizontalScrollbarAction(int action)''' 1430 def verticalScrollbarAction(self, action): 1431 '''void QAbstractItemView.verticalScrollbarAction(int action)''' 1432 def updateGeometries(self): 1433 '''void QAbstractItemView.updateGeometries()''' 1434 def updateEditorGeometries(self): 1435 '''void QAbstractItemView.updateEditorGeometries()''' 1436 def updateEditorData(self): 1437 '''void QAbstractItemView.updateEditorData()''' 1438 def currentChanged(self, current, previous): 1439 '''void QAbstractItemView.currentChanged(QModelIndex current, QModelIndex previous)''' 1440 def selectionChanged(self, selected, deselected): 1441 '''void QAbstractItemView.selectionChanged(QItemSelection selected, QItemSelection deselected)''' 1442 def rowsAboutToBeRemoved(self, parent, start, end): 1443 '''void QAbstractItemView.rowsAboutToBeRemoved(QModelIndex parent, int start, int end)''' 1444 def rowsInserted(self, parent, start, end): 1445 '''void QAbstractItemView.rowsInserted(QModelIndex parent, int start, int end)''' 1446 def dataChanged(self, topLeft, bottomRight): 1447 '''void QAbstractItemView.dataChanged(QModelIndex topLeft, QModelIndex bottomRight)''' 1448 def update(self): 1449 '''void QAbstractItemView.update()''' 1450 def update(self, index): 1451 '''void QAbstractItemView.update(QModelIndex index)''' 1452 def scrollToBottom(self): 1453 '''void QAbstractItemView.scrollToBottom()''' 1454 def scrollToTop(self): 1455 '''void QAbstractItemView.scrollToTop()''' 1456 def setCurrentIndex(self, index): 1457 '''void QAbstractItemView.setCurrentIndex(QModelIndex index)''' 1458 def clearSelection(self): 1459 '''void QAbstractItemView.clearSelection()''' 1460 def edit(self, index): 1461 '''void QAbstractItemView.edit(QModelIndex index)''' 1462 def edit(self, index, trigger, event): 1463 '''bool QAbstractItemView.edit(QModelIndex index, QAbstractItemView.EditTrigger trigger, QEvent event)''' 1464 return bool() 1465 def selectAll(self): 1466 '''void QAbstractItemView.selectAll()''' 1467 def setRootIndex(self, index): 1468 '''void QAbstractItemView.setRootIndex(QModelIndex index)''' 1469 def reset(self): 1470 '''void QAbstractItemView.reset()''' 1471 def indexWidget(self, index): 1472 '''QWidget QAbstractItemView.indexWidget(QModelIndex index)''' 1473 return QWidget() 1474 def setIndexWidget(self, index, widget): 1475 '''void QAbstractItemView.setIndexWidget(QModelIndex index, QWidget widget)''' 1476 def closePersistentEditor(self, index): 1477 '''void QAbstractItemView.closePersistentEditor(QModelIndex index)''' 1478 def openPersistentEditor(self, index): 1479 '''void QAbstractItemView.openPersistentEditor(QModelIndex index)''' 1480 def sizeHintForColumn(self, column): 1481 '''int QAbstractItemView.sizeHintForColumn(int column)''' 1482 return int() 1483 def sizeHintForRow(self, row): 1484 '''int QAbstractItemView.sizeHintForRow(int row)''' 1485 return int() 1486 def sizeHintForIndex(self, index): 1487 '''QSize QAbstractItemView.sizeHintForIndex(QModelIndex index)''' 1488 return QSize() 1489 def indexAt(self, p): 1490 '''abstract QModelIndex QAbstractItemView.indexAt(QPoint p)''' 1491 return QModelIndex() 1492 def scrollTo(self, index, hint = None): 1493 '''abstract void QAbstractItemView.scrollTo(QModelIndex index, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 1494 def visualRect(self, index): 1495 '''abstract QRect QAbstractItemView.visualRect(QModelIndex index)''' 1496 return QRect() 1497 def keyboardSearch(self, search): 1498 '''void QAbstractItemView.keyboardSearch(QString search)''' 1499 def textElideMode(self): 1500 '''Qt.TextElideMode QAbstractItemView.textElideMode()''' 1501 return Qt.TextElideMode() 1502 def setTextElideMode(self, mode): 1503 '''void QAbstractItemView.setTextElideMode(Qt.TextElideMode mode)''' 1504 def iconSize(self): 1505 '''QSize QAbstractItemView.iconSize()''' 1506 return QSize() 1507 def setIconSize(self, size): 1508 '''void QAbstractItemView.setIconSize(QSize size)''' 1509 def alternatingRowColors(self): 1510 '''bool QAbstractItemView.alternatingRowColors()''' 1511 return bool() 1512 def setAlternatingRowColors(self, enable): 1513 '''void QAbstractItemView.setAlternatingRowColors(bool enable)''' 1514 def dragEnabled(self): 1515 '''bool QAbstractItemView.dragEnabled()''' 1516 return bool() 1517 def setDragEnabled(self, enable): 1518 '''void QAbstractItemView.setDragEnabled(bool enable)''' 1519 def showDropIndicator(self): 1520 '''bool QAbstractItemView.showDropIndicator()''' 1521 return bool() 1522 def setDropIndicatorShown(self, enable): 1523 '''void QAbstractItemView.setDropIndicatorShown(bool enable)''' 1524 def tabKeyNavigation(self): 1525 '''bool QAbstractItemView.tabKeyNavigation()''' 1526 return bool() 1527 def setTabKeyNavigation(self, enable): 1528 '''void QAbstractItemView.setTabKeyNavigation(bool enable)''' 1529 def hasAutoScroll(self): 1530 '''bool QAbstractItemView.hasAutoScroll()''' 1531 return bool() 1532 def setAutoScroll(self, enable): 1533 '''void QAbstractItemView.setAutoScroll(bool enable)''' 1534 def editTriggers(self): 1535 '''QAbstractItemView.EditTriggers QAbstractItemView.editTriggers()''' 1536 return QAbstractItemView.EditTriggers() 1537 def setEditTriggers(self, triggers): 1538 '''void QAbstractItemView.setEditTriggers(QAbstractItemView.EditTriggers triggers)''' 1539 def rootIndex(self): 1540 '''QModelIndex QAbstractItemView.rootIndex()''' 1541 return QModelIndex() 1542 def currentIndex(self): 1543 '''QModelIndex QAbstractItemView.currentIndex()''' 1544 return QModelIndex() 1545 def selectionBehavior(self): 1546 '''QAbstractItemView.SelectionBehavior QAbstractItemView.selectionBehavior()''' 1547 return QAbstractItemView.SelectionBehavior() 1548 def setSelectionBehavior(self, behavior): 1549 '''void QAbstractItemView.setSelectionBehavior(QAbstractItemView.SelectionBehavior behavior)''' 1550 def selectionMode(self): 1551 '''QAbstractItemView.SelectionMode QAbstractItemView.selectionMode()''' 1552 return QAbstractItemView.SelectionMode() 1553 def setSelectionMode(self, mode): 1554 '''void QAbstractItemView.setSelectionMode(QAbstractItemView.SelectionMode mode)''' 1555 def itemDelegate(self): 1556 '''QAbstractItemDelegate QAbstractItemView.itemDelegate()''' 1557 return QAbstractItemDelegate() 1558 def itemDelegate(self, index): 1559 '''QAbstractItemDelegate QAbstractItemView.itemDelegate(QModelIndex index)''' 1560 return QAbstractItemDelegate() 1561 def setItemDelegate(self, delegate): 1562 '''void QAbstractItemView.setItemDelegate(QAbstractItemDelegate delegate)''' 1563 def selectionModel(self): 1564 '''QItemSelectionModel QAbstractItemView.selectionModel()''' 1565 return QItemSelectionModel() 1566 def setSelectionModel(self, selectionModel): 1567 '''void QAbstractItemView.setSelectionModel(QItemSelectionModel selectionModel)''' 1568 def model(self): 1569 '''QAbstractItemModel QAbstractItemView.model()''' 1570 return QAbstractItemModel() 1571 def setModel(self, model): 1572 '''void QAbstractItemView.setModel(QAbstractItemModel model)''' 1573 class EditTriggers(): 1574 """""" 1575 def __init__(self): 1576 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__init__()''' 1577 return QAbstractItemView.EditTriggers() 1578 def __init__(self): 1579 '''int QAbstractItemView.EditTriggers.__init__()''' 1580 return int() 1581 def __init__(self): 1582 '''void QAbstractItemView.EditTriggers.__init__()''' 1583 def __bool__(self): 1584 '''int QAbstractItemView.EditTriggers.__bool__()''' 1585 return int() 1586 def __ne__(self, f): 1587 '''bool QAbstractItemView.EditTriggers.__ne__(QAbstractItemView.EditTriggers f)''' 1588 return bool() 1589 def __eq__(self, f): 1590 '''bool QAbstractItemView.EditTriggers.__eq__(QAbstractItemView.EditTriggers f)''' 1591 return bool() 1592 def __invert__(self): 1593 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__invert__()''' 1594 return QAbstractItemView.EditTriggers() 1595 def __and__(self, mask): 1596 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__and__(int mask)''' 1597 return QAbstractItemView.EditTriggers() 1598 def __xor__(self, f): 1599 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__xor__(QAbstractItemView.EditTriggers f)''' 1600 return QAbstractItemView.EditTriggers() 1601 def __xor__(self, f): 1602 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__xor__(int f)''' 1603 return QAbstractItemView.EditTriggers() 1604 def __or__(self, f): 1605 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__or__(QAbstractItemView.EditTriggers f)''' 1606 return QAbstractItemView.EditTriggers() 1607 def __or__(self, f): 1608 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__or__(int f)''' 1609 return QAbstractItemView.EditTriggers() 1610 def __int__(self): 1611 '''int QAbstractItemView.EditTriggers.__int__()''' 1612 return int() 1613 def __ixor__(self, f): 1614 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__ixor__(QAbstractItemView.EditTriggers f)''' 1615 return QAbstractItemView.EditTriggers() 1616 def __ior__(self, f): 1617 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__ior__(QAbstractItemView.EditTriggers f)''' 1618 return QAbstractItemView.EditTriggers() 1619 def __iand__(self, mask): 1620 '''QAbstractItemView.EditTriggers QAbstractItemView.EditTriggers.__iand__(int mask)''' 1621 return QAbstractItemView.EditTriggers() 1622 1623 1624 class QDialog(QWidget): 1625 """""" 1626 # Enum QDialog.DialogCode 1627 Rejected = 0 1628 Accepted = 0 1629 1630 def __init__(self, parent = None, flags = 0): 1631 '''void QDialog.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 1632 def eventFilter(self): 1633 '''QEvent QDialog.eventFilter()''' 1634 return QEvent() 1635 def contextMenuEvent(self): 1636 '''QContextMenuEvent QDialog.contextMenuEvent()''' 1637 return QContextMenuEvent() 1638 def resizeEvent(self): 1639 '''QResizeEvent QDialog.resizeEvent()''' 1640 return QResizeEvent() 1641 def showEvent(self): 1642 '''QShowEvent QDialog.showEvent()''' 1643 return QShowEvent() 1644 def closeEvent(self): 1645 '''QCloseEvent QDialog.closeEvent()''' 1646 return QCloseEvent() 1647 def keyPressEvent(self): 1648 '''QKeyEvent QDialog.keyPressEvent()''' 1649 return QKeyEvent() 1650 rejected = pyqtSignal() # void rejected() - signal 1651 finished = pyqtSignal() # void finished(int) - signal 1652 accepted = pyqtSignal() # void accepted() - signal 1653 def open(self): 1654 '''void QDialog.open()''' 1655 def showExtension(self): 1656 '''bool QDialog.showExtension()''' 1657 return bool() 1658 def reject(self): 1659 '''void QDialog.reject()''' 1660 def accept(self): 1661 '''void QDialog.accept()''' 1662 def done(self): 1663 '''int QDialog.done()''' 1664 return int() 1665 def exec_(self): 1666 '''int QDialog.exec_()''' 1667 return int() 1668 def setResult(self, r): 1669 '''void QDialog.setResult(int r)''' 1670 def setModal(self, modal): 1671 '''void QDialog.setModal(bool modal)''' 1672 def isSizeGripEnabled(self): 1673 '''bool QDialog.isSizeGripEnabled()''' 1674 return bool() 1675 def setSizeGripEnabled(self): 1676 '''bool QDialog.setSizeGripEnabled()''' 1677 return bool() 1678 def minimumSizeHint(self): 1679 '''QSize QDialog.minimumSizeHint()''' 1680 return QSize() 1681 def sizeHint(self): 1682 '''QSize QDialog.sizeHint()''' 1683 return QSize() 1684 def extension(self): 1685 '''QWidget QDialog.extension()''' 1686 return QWidget() 1687 def setExtension(self, extension): 1688 '''void QDialog.setExtension(QWidget extension)''' 1689 def orientation(self): 1690 '''Qt.Orientation QDialog.orientation()''' 1691 return Qt.Orientation() 1692 def setOrientation(self, orientation): 1693 '''void QDialog.setOrientation(Qt.Orientation orientation)''' 1694 def setVisible(self, visible): 1695 '''void QDialog.setVisible(bool visible)''' 1696 def result(self): 1697 '''int QDialog.result()''' 1698 return int() 1699 1700 1701 class QAbstractPrintDialog(QDialog): 1702 """""" 1703 # Enum QAbstractPrintDialog.PrintDialogOption 1704 __kdevpythondocumentation_builtin_None = 0 1705 PrintToFile = 0 1706 PrintSelection = 0 1707 PrintPageRange = 0 1708 PrintCollateCopies = 0 1709 PrintShowPageSize = 0 1710 DontUseSheet = 0 1711 PrintCurrentPage = 0 1712 1713 # Enum QAbstractPrintDialog.PrintRange 1714 AllPages = 0 1715 Selection = 0 1716 PageRange = 0 1717 CurrentPage = 0 1718 1719 def __init__(self, printer, parent = None): 1720 '''void QAbstractPrintDialog.__init__(QPrinter printer, QWidget parent = None)''' 1721 def setOptionTabs(self, tabs): 1722 '''void QAbstractPrintDialog.setOptionTabs(list-of-QWidget tabs)''' 1723 def printer(self): 1724 '''QPrinter QAbstractPrintDialog.printer()''' 1725 return QPrinter() 1726 def toPage(self): 1727 '''int QAbstractPrintDialog.toPage()''' 1728 return int() 1729 def fromPage(self): 1730 '''int QAbstractPrintDialog.fromPage()''' 1731 return int() 1732 def setFromTo(self, fromPage, toPage): 1733 '''void QAbstractPrintDialog.setFromTo(int fromPage, int toPage)''' 1734 def maxPage(self): 1735 '''int QAbstractPrintDialog.maxPage()''' 1736 return int() 1737 def minPage(self): 1738 '''int QAbstractPrintDialog.minPage()''' 1739 return int() 1740 def setMinMax(self, min, max): 1741 '''void QAbstractPrintDialog.setMinMax(int min, int max)''' 1742 def printRange(self): 1743 '''QAbstractPrintDialog.PrintRange QAbstractPrintDialog.printRange()''' 1744 return QAbstractPrintDialog.PrintRange() 1745 def setPrintRange(self, range): 1746 '''void QAbstractPrintDialog.setPrintRange(QAbstractPrintDialog.PrintRange range)''' 1747 def isOptionEnabled(self, option): 1748 '''bool QAbstractPrintDialog.isOptionEnabled(QAbstractPrintDialog.PrintDialogOption option)''' 1749 return bool() 1750 def enabledOptions(self): 1751 '''QAbstractPrintDialog.PrintDialogOptions QAbstractPrintDialog.enabledOptions()''' 1752 return QAbstractPrintDialog.PrintDialogOptions() 1753 def setEnabledOptions(self, options): 1754 '''void QAbstractPrintDialog.setEnabledOptions(QAbstractPrintDialog.PrintDialogOptions options)''' 1755 def addEnabledOption(self, option): 1756 '''void QAbstractPrintDialog.addEnabledOption(QAbstractPrintDialog.PrintDialogOption option)''' 1757 def exec_(self): 1758 '''abstract int QAbstractPrintDialog.exec_()''' 1759 return int() 1760 class PrintDialogOptions(): 1761 """""" 1762 def __init__(self): 1763 '''QAbstractPrintDialog.PrintDialogOptions QAbstractPrintDialog.PrintDialogOptions.__init__()''' 1764 return QAbstractPrintDialog.PrintDialogOptions() 1765 def __init__(self): 1766 '''int QAbstractPrintDialog.PrintDialogOptions.__init__()''' 1767 return int() 1768 def __init__(self): 1769 '''void QAbstractPrintDialog.PrintDialogOptions.__init__()''' 1770 def __bool__(self): 1771 '''int QAbstractPrintDialog.PrintDialogOptions.__bool__()''' 1772 return int() 1773 def __ne__(self, f): 1774 '''bool QAbstractPrintDialog.PrintDialogOptions.__ne__(QAbstractPrintDialog.PrintDialogOptions f)''' 1775 return bool() 1776 def __eq__(self, f): 1777 '''bool QAbstractPrintDialog.PrintDialogOptions.__eq__(QAbstractPrintDialog.PrintDialogOptions f)''' 1778 return bool() 1779 def __invert__(self): 1780 '''QAbstractPrintDialog.PrintDialogOptions QAbstractPrintDialog.PrintDialogOptions.__invert__()''' 1781 return QAbstractPrintDialog.PrintDialogOptions() 1782 def __and__(self, mask): 1783 '''QAbstractPrintDialog.PrintDialogOptions QAbstractPrintDialog.PrintDialogOptions.__and__(int mask)''' 1784 return QAbstractPrintDialog.PrintDialogOptions() 1785 def __xor__(self, f): 1786 '''QAbstractPrintDialog.PrintDialogOptions QAbstractPrintDialog.PrintDialogOptions.__xor__(QAbstractPrintDialog.PrintDialogOptions f)''' 1787 return QAbstractPrintDialog.PrintDialogOptions() 1788 def __xor__(self, f): 1789 '''QAbstractPrintDialog.PrintDialogOptions QAbstractPrintDialog.PrintDialogOptions.__xor__(int f)''' 1790 return QAbstractPrintDialog.PrintDialogOptions() 1791 def __or__(self, f): 1792 '''QAbstractPrintDialog.PrintDialogOptions QAbstractPrintDialog.PrintDialogOptions.__or__(QAbstractPrintDialog.PrintDialogOptions f)''' 1793 return QAbstractPrintDialog.PrintDialogOptions() 1794 def __or__(self, f): 1795 '''QAbstractPrintDialog.PrintDialogOptions QAbstractPrintDialog.PrintDialogOptions.__or__(int f)''' 1796 return QAbstractPrintDialog.PrintDialogOptions() 1797 def __int__(self): 1798 '''int QAbstractPrintDialog.PrintDialogOptions.__int__()''' 1799 return int() 1800 def __ixor__(self, f): 1801 '''QAbstractPrintDialog.PrintDialogOptions QAbstractPrintDialog.PrintDialogOptions.__ixor__(QAbstractPrintDialog.PrintDialogOptions f)''' 1802 return QAbstractPrintDialog.PrintDialogOptions() 1803 def __ior__(self, f): 1804 '''QAbstractPrintDialog.PrintDialogOptions QAbstractPrintDialog.PrintDialogOptions.__ior__(QAbstractPrintDialog.PrintDialogOptions f)''' 1805 return QAbstractPrintDialog.PrintDialogOptions() 1806 def __iand__(self, mask): 1807 '''QAbstractPrintDialog.PrintDialogOptions QAbstractPrintDialog.PrintDialogOptions.__iand__(int mask)''' 1808 return QAbstractPrintDialog.PrintDialogOptions() 1809 1810 1811 class QAbstractProxyModel(QAbstractItemModel): 1812 """""" 1813 def __init__(self, parent = None): 1814 '''void QAbstractProxyModel.__init__(QObject parent = None)''' 1815 def supportedDropActions(self): 1816 '''Qt.DropActions QAbstractProxyModel.supportedDropActions()''' 1817 return Qt.DropActions() 1818 def mimeTypes(self): 1819 '''QStringList QAbstractProxyModel.mimeTypes()''' 1820 return QStringList() 1821 def mimeData(self, indexes): 1822 '''QMimeData QAbstractProxyModel.mimeData(list-of-QModelIndex indexes)''' 1823 return QMimeData() 1824 def hasChildren(self, parent = QModelIndex()): 1825 '''bool QAbstractProxyModel.hasChildren(QModelIndex parent = QModelIndex())''' 1826 return bool() 1827 def span(self, index): 1828 '''QSize QAbstractProxyModel.span(QModelIndex index)''' 1829 return QSize() 1830 def sort(self, column, order = None): 1831 '''void QAbstractProxyModel.sort(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 1832 def fetchMore(self, parent): 1833 '''void QAbstractProxyModel.fetchMore(QModelIndex parent)''' 1834 def canFetchMore(self, parent): 1835 '''bool QAbstractProxyModel.canFetchMore(QModelIndex parent)''' 1836 return bool() 1837 def buddy(self, index): 1838 '''QModelIndex QAbstractProxyModel.buddy(QModelIndex index)''' 1839 return QModelIndex() 1840 def setItemData(self, index, roles): 1841 '''bool QAbstractProxyModel.setItemData(QModelIndex index, dict-of-int-QVariant roles)''' 1842 return bool() 1843 def flags(self, index): 1844 '''Qt.ItemFlags QAbstractProxyModel.flags(QModelIndex index)''' 1845 return Qt.ItemFlags() 1846 def itemData(self, index): 1847 '''dict-of-int-QVariant QAbstractProxyModel.itemData(QModelIndex index)''' 1848 return dict-of-int-QVariant() 1849 def setHeaderData(self, section, orientation, value, role = None): 1850 '''bool QAbstractProxyModel.setHeaderData(int section, Qt.Orientation orientation, QVariant value, int role = Qt.EditRole)''' 1851 return bool() 1852 def headerData(self, section, orientation, role): 1853 '''QVariant QAbstractProxyModel.headerData(int section, Qt.Orientation orientation, int role)''' 1854 return QVariant() 1855 def setData(self, index, value, role = None): 1856 '''bool QAbstractProxyModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 1857 return bool() 1858 def data(self, proxyIndex, role = None): 1859 '''QVariant QAbstractProxyModel.data(QModelIndex proxyIndex, int role = Qt.DisplayRole)''' 1860 return QVariant() 1861 def revert(self): 1862 '''void QAbstractProxyModel.revert()''' 1863 def submit(self): 1864 '''bool QAbstractProxyModel.submit()''' 1865 return bool() 1866 def mapSelectionFromSource(self, selection): 1867 '''QItemSelection QAbstractProxyModel.mapSelectionFromSource(QItemSelection selection)''' 1868 return QItemSelection() 1869 def mapSelectionToSource(self, selection): 1870 '''QItemSelection QAbstractProxyModel.mapSelectionToSource(QItemSelection selection)''' 1871 return QItemSelection() 1872 def mapFromSource(self, sourceIndex): 1873 '''abstract QModelIndex QAbstractProxyModel.mapFromSource(QModelIndex sourceIndex)''' 1874 return QModelIndex() 1875 def mapToSource(self, proxyIndex): 1876 '''abstract QModelIndex QAbstractProxyModel.mapToSource(QModelIndex proxyIndex)''' 1877 return QModelIndex() 1878 def sourceModel(self): 1879 '''QAbstractItemModel QAbstractProxyModel.sourceModel()''' 1880 return QAbstractItemModel() 1881 def setSourceModel(self, sourceModel): 1882 '''void QAbstractProxyModel.setSourceModel(QAbstractItemModel sourceModel)''' 1883 1884 1885 class QAbstractSlider(QWidget): 1886 """""" 1887 # Enum QAbstractSlider.SliderChange 1888 SliderRangeChange = 0 1889 SliderOrientationChange = 0 1890 SliderStepsChange = 0 1891 SliderValueChange = 0 1892 1893 # Enum QAbstractSlider.SliderAction 1894 SliderNoAction = 0 1895 SliderSingleStepAdd = 0 1896 SliderSingleStepSub = 0 1897 SliderPageStepAdd = 0 1898 SliderPageStepSub = 0 1899 SliderToMinimum = 0 1900 SliderToMaximum = 0 1901 SliderMove = 0 1902 1903 def __init__(self, parent = None): 1904 '''void QAbstractSlider.__init__(QWidget parent = None)''' 1905 def changeEvent(self, e): 1906 '''void QAbstractSlider.changeEvent(QEvent e)''' 1907 def wheelEvent(self, e): 1908 '''void QAbstractSlider.wheelEvent(QWheelEvent e)''' 1909 def timerEvent(self): 1910 '''QTimerEvent QAbstractSlider.timerEvent()''' 1911 return QTimerEvent() 1912 def keyPressEvent(self, ev): 1913 '''void QAbstractSlider.keyPressEvent(QKeyEvent ev)''' 1914 def event(self, e): 1915 '''bool QAbstractSlider.event(QEvent e)''' 1916 return bool() 1917 def sliderChange(self, change): 1918 '''void QAbstractSlider.sliderChange(QAbstractSlider.SliderChange change)''' 1919 def repeatAction(self): 1920 '''QAbstractSlider.SliderAction QAbstractSlider.repeatAction()''' 1921 return QAbstractSlider.SliderAction() 1922 def setRepeatAction(self, action, thresholdTime = 500, repeatTime = 50): 1923 '''void QAbstractSlider.setRepeatAction(QAbstractSlider.SliderAction action, int thresholdTime = 500, int repeatTime = 50)''' 1924 actionTriggered = pyqtSignal() # void actionTriggered(int) - signal 1925 rangeChanged = pyqtSignal() # void rangeChanged(int,int) - signal 1926 sliderReleased = pyqtSignal() # void sliderReleased() - signal 1927 sliderMoved = pyqtSignal() # void sliderMoved(int) - signal 1928 sliderPressed = pyqtSignal() # void sliderPressed() - signal 1929 valueChanged = pyqtSignal() # void valueChanged(int) - signal 1930 def setOrientation(self): 1931 '''Qt.Orientation QAbstractSlider.setOrientation()''' 1932 return Qt.Orientation() 1933 def setValue(self): 1934 '''int QAbstractSlider.setValue()''' 1935 return int() 1936 def triggerAction(self, action): 1937 '''void QAbstractSlider.triggerAction(QAbstractSlider.SliderAction action)''' 1938 def value(self): 1939 '''int QAbstractSlider.value()''' 1940 return int() 1941 def invertedControls(self): 1942 '''bool QAbstractSlider.invertedControls()''' 1943 return bool() 1944 def setInvertedControls(self): 1945 '''bool QAbstractSlider.setInvertedControls()''' 1946 return bool() 1947 def invertedAppearance(self): 1948 '''bool QAbstractSlider.invertedAppearance()''' 1949 return bool() 1950 def setInvertedAppearance(self): 1951 '''bool QAbstractSlider.setInvertedAppearance()''' 1952 return bool() 1953 def sliderPosition(self): 1954 '''int QAbstractSlider.sliderPosition()''' 1955 return int() 1956 def setSliderPosition(self): 1957 '''int QAbstractSlider.setSliderPosition()''' 1958 return int() 1959 def isSliderDown(self): 1960 '''bool QAbstractSlider.isSliderDown()''' 1961 return bool() 1962 def setSliderDown(self): 1963 '''bool QAbstractSlider.setSliderDown()''' 1964 return bool() 1965 def hasTracking(self): 1966 '''bool QAbstractSlider.hasTracking()''' 1967 return bool() 1968 def setTracking(self, enable): 1969 '''void QAbstractSlider.setTracking(bool enable)''' 1970 def pageStep(self): 1971 '''int QAbstractSlider.pageStep()''' 1972 return int() 1973 def setPageStep(self): 1974 '''int QAbstractSlider.setPageStep()''' 1975 return int() 1976 def singleStep(self): 1977 '''int QAbstractSlider.singleStep()''' 1978 return int() 1979 def setSingleStep(self): 1980 '''int QAbstractSlider.setSingleStep()''' 1981 return int() 1982 def setRange(self, min, max): 1983 '''void QAbstractSlider.setRange(int min, int max)''' 1984 def maximum(self): 1985 '''int QAbstractSlider.maximum()''' 1986 return int() 1987 def setMaximum(self): 1988 '''int QAbstractSlider.setMaximum()''' 1989 return int() 1990 def minimum(self): 1991 '''int QAbstractSlider.minimum()''' 1992 return int() 1993 def setMinimum(self): 1994 '''int QAbstractSlider.setMinimum()''' 1995 return int() 1996 def orientation(self): 1997 '''Qt.Orientation QAbstractSlider.orientation()''' 1998 return Qt.Orientation() 1999 2000 2001 class QAbstractSpinBox(QWidget): 2002 """""" 2003 # Enum QAbstractSpinBox.CorrectionMode 2004 CorrectToPreviousValue = 0 2005 CorrectToNearestValue = 0 2006 2007 # Enum QAbstractSpinBox.ButtonSymbols 2008 UpDownArrows = 0 2009 PlusMinus = 0 2010 NoButtons = 0 2011 2012 # Enum QAbstractSpinBox.StepEnabledFlag 2013 StepNone = 0 2014 StepUpEnabled = 0 2015 StepDownEnabled = 0 2016 2017 def __init__(self, parent = None): 2018 '''void QAbstractSpinBox.__init__(QWidget parent = None)''' 2019 def inputMethodQuery(self): 2020 '''Qt.InputMethodQuery QAbstractSpinBox.inputMethodQuery()''' 2021 return Qt.InputMethodQuery() 2022 def initStyleOption(self, option): 2023 '''void QAbstractSpinBox.initStyleOption(QStyleOptionSpinBox option)''' 2024 def keyboardTracking(self): 2025 '''bool QAbstractSpinBox.keyboardTracking()''' 2026 return bool() 2027 def setKeyboardTracking(self, kt): 2028 '''void QAbstractSpinBox.setKeyboardTracking(bool kt)''' 2029 def isAccelerated(self): 2030 '''bool QAbstractSpinBox.isAccelerated()''' 2031 return bool() 2032 def setAccelerated(self, on): 2033 '''void QAbstractSpinBox.setAccelerated(bool on)''' 2034 def hasAcceptableInput(self): 2035 '''bool QAbstractSpinBox.hasAcceptableInput()''' 2036 return bool() 2037 def correctionMode(self): 2038 '''QAbstractSpinBox.CorrectionMode QAbstractSpinBox.correctionMode()''' 2039 return QAbstractSpinBox.CorrectionMode() 2040 def setCorrectionMode(self, cm): 2041 '''void QAbstractSpinBox.setCorrectionMode(QAbstractSpinBox.CorrectionMode cm)''' 2042 def stepEnabled(self): 2043 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.stepEnabled()''' 2044 return QAbstractSpinBox.StepEnabled() 2045 def setLineEdit(self, e): 2046 '''void QAbstractSpinBox.setLineEdit(QLineEdit e)''' 2047 def lineEdit(self): 2048 '''QLineEdit QAbstractSpinBox.lineEdit()''' 2049 return QLineEdit() 2050 def showEvent(self, e): 2051 '''void QAbstractSpinBox.showEvent(QShowEvent e)''' 2052 def paintEvent(self, e): 2053 '''void QAbstractSpinBox.paintEvent(QPaintEvent e)''' 2054 def timerEvent(self, e): 2055 '''void QAbstractSpinBox.timerEvent(QTimerEvent e)''' 2056 def mouseMoveEvent(self, e): 2057 '''void QAbstractSpinBox.mouseMoveEvent(QMouseEvent e)''' 2058 def mouseReleaseEvent(self, e): 2059 '''void QAbstractSpinBox.mouseReleaseEvent(QMouseEvent e)''' 2060 def mousePressEvent(self, e): 2061 '''void QAbstractSpinBox.mousePressEvent(QMouseEvent e)''' 2062 def hideEvent(self, e): 2063 '''void QAbstractSpinBox.hideEvent(QHideEvent e)''' 2064 def closeEvent(self, e): 2065 '''void QAbstractSpinBox.closeEvent(QCloseEvent e)''' 2066 def changeEvent(self, e): 2067 '''void QAbstractSpinBox.changeEvent(QEvent e)''' 2068 def contextMenuEvent(self, e): 2069 '''void QAbstractSpinBox.contextMenuEvent(QContextMenuEvent e)''' 2070 def focusOutEvent(self, e): 2071 '''void QAbstractSpinBox.focusOutEvent(QFocusEvent e)''' 2072 def focusInEvent(self, e): 2073 '''void QAbstractSpinBox.focusInEvent(QFocusEvent e)''' 2074 def wheelEvent(self, e): 2075 '''void QAbstractSpinBox.wheelEvent(QWheelEvent e)''' 2076 def keyReleaseEvent(self, e): 2077 '''void QAbstractSpinBox.keyReleaseEvent(QKeyEvent e)''' 2078 def keyPressEvent(self, e): 2079 '''void QAbstractSpinBox.keyPressEvent(QKeyEvent e)''' 2080 def resizeEvent(self, e): 2081 '''void QAbstractSpinBox.resizeEvent(QResizeEvent e)''' 2082 editingFinished = pyqtSignal() # void editingFinished() - signal 2083 def clear(self): 2084 '''void QAbstractSpinBox.clear()''' 2085 def selectAll(self): 2086 '''void QAbstractSpinBox.selectAll()''' 2087 def stepDown(self): 2088 '''void QAbstractSpinBox.stepDown()''' 2089 def stepUp(self): 2090 '''void QAbstractSpinBox.stepUp()''' 2091 def stepBy(self, steps): 2092 '''void QAbstractSpinBox.stepBy(int steps)''' 2093 def fixup(self, input): 2094 '''void QAbstractSpinBox.fixup(QString input)''' 2095 def fixup(self, input): 2096 '''void QAbstractSpinBox.fixup(QString input)''' 2097 def validate(self, input, pos): 2098 '''QValidator.State QAbstractSpinBox.validate(QString input, int pos)''' 2099 return QValidator.State() 2100 def validate(self, input, pos): 2101 '''QValidator.State QAbstractSpinBox.validate(QString input, int pos)''' 2102 return QValidator.State() 2103 def event(self, event): 2104 '''bool QAbstractSpinBox.event(QEvent event)''' 2105 return bool() 2106 def interpretText(self): 2107 '''void QAbstractSpinBox.interpretText()''' 2108 def minimumSizeHint(self): 2109 '''QSize QAbstractSpinBox.minimumSizeHint()''' 2110 return QSize() 2111 def sizeHint(self): 2112 '''QSize QAbstractSpinBox.sizeHint()''' 2113 return QSize() 2114 def hasFrame(self): 2115 '''bool QAbstractSpinBox.hasFrame()''' 2116 return bool() 2117 def setFrame(self): 2118 '''bool QAbstractSpinBox.setFrame()''' 2119 return bool() 2120 def alignment(self): 2121 '''Qt.Alignment QAbstractSpinBox.alignment()''' 2122 return Qt.Alignment() 2123 def setAlignment(self, flag): 2124 '''void QAbstractSpinBox.setAlignment(Qt.Alignment flag)''' 2125 def isReadOnly(self): 2126 '''bool QAbstractSpinBox.isReadOnly()''' 2127 return bool() 2128 def setReadOnly(self, r): 2129 '''void QAbstractSpinBox.setReadOnly(bool r)''' 2130 def setWrapping(self, w): 2131 '''void QAbstractSpinBox.setWrapping(bool w)''' 2132 def wrapping(self): 2133 '''bool QAbstractSpinBox.wrapping()''' 2134 return bool() 2135 def setSpecialValueText(self, s): 2136 '''void QAbstractSpinBox.setSpecialValueText(QString s)''' 2137 def specialValueText(self): 2138 '''QString QAbstractSpinBox.specialValueText()''' 2139 return QString() 2140 def text(self): 2141 '''QString QAbstractSpinBox.text()''' 2142 return QString() 2143 def setButtonSymbols(self, bs): 2144 '''void QAbstractSpinBox.setButtonSymbols(QAbstractSpinBox.ButtonSymbols bs)''' 2145 def buttonSymbols(self): 2146 '''QAbstractSpinBox.ButtonSymbols QAbstractSpinBox.buttonSymbols()''' 2147 return QAbstractSpinBox.ButtonSymbols() 2148 class StepEnabled(): 2149 """""" 2150 def __init__(self): 2151 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__init__()''' 2152 return QAbstractSpinBox.StepEnabled() 2153 def __init__(self): 2154 '''int QAbstractSpinBox.StepEnabled.__init__()''' 2155 return int() 2156 def __init__(self): 2157 '''void QAbstractSpinBox.StepEnabled.__init__()''' 2158 def __bool__(self): 2159 '''int QAbstractSpinBox.StepEnabled.__bool__()''' 2160 return int() 2161 def __ne__(self, f): 2162 '''bool QAbstractSpinBox.StepEnabled.__ne__(QAbstractSpinBox.StepEnabled f)''' 2163 return bool() 2164 def __eq__(self, f): 2165 '''bool QAbstractSpinBox.StepEnabled.__eq__(QAbstractSpinBox.StepEnabled f)''' 2166 return bool() 2167 def __invert__(self): 2168 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__invert__()''' 2169 return QAbstractSpinBox.StepEnabled() 2170 def __and__(self, mask): 2171 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__and__(int mask)''' 2172 return QAbstractSpinBox.StepEnabled() 2173 def __xor__(self, f): 2174 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__xor__(QAbstractSpinBox.StepEnabled f)''' 2175 return QAbstractSpinBox.StepEnabled() 2176 def __xor__(self, f): 2177 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__xor__(int f)''' 2178 return QAbstractSpinBox.StepEnabled() 2179 def __or__(self, f): 2180 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__or__(QAbstractSpinBox.StepEnabled f)''' 2181 return QAbstractSpinBox.StepEnabled() 2182 def __or__(self, f): 2183 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__or__(int f)''' 2184 return QAbstractSpinBox.StepEnabled() 2185 def __int__(self): 2186 '''int QAbstractSpinBox.StepEnabled.__int__()''' 2187 return int() 2188 def __ixor__(self, f): 2189 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__ixor__(QAbstractSpinBox.StepEnabled f)''' 2190 return QAbstractSpinBox.StepEnabled() 2191 def __ior__(self, f): 2192 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__ior__(QAbstractSpinBox.StepEnabled f)''' 2193 return QAbstractSpinBox.StepEnabled() 2194 def __iand__(self, mask): 2195 '''QAbstractSpinBox.StepEnabled QAbstractSpinBox.StepEnabled.__iand__(int mask)''' 2196 return QAbstractSpinBox.StepEnabled() 2197 2198 2199 class QAbstractTextDocumentLayout(QObject): 2200 """""" 2201 def __init__(self, doc): 2202 '''void QAbstractTextDocumentLayout.__init__(QTextDocument doc)''' 2203 def format(self, pos): 2204 '''QTextCharFormat QAbstractTextDocumentLayout.format(int pos)''' 2205 return QTextCharFormat() 2206 def drawInlineObject(self, painter, rect, object, posInDocument, format): 2207 '''void QAbstractTextDocumentLayout.drawInlineObject(QPainter painter, QRectF rect, QTextInlineObject object, int posInDocument, QTextFormat format)''' 2208 def positionInlineObject(self, item, posInDocument, format): 2209 '''void QAbstractTextDocumentLayout.positionInlineObject(QTextInlineObject item, int posInDocument, QTextFormat format)''' 2210 def resizeInlineObject(self, item, posInDocument, format): 2211 '''void QAbstractTextDocumentLayout.resizeInlineObject(QTextInlineObject item, int posInDocument, QTextFormat format)''' 2212 def documentChanged(self, from_, charsRemoved, charsAdded): 2213 '''abstract void QAbstractTextDocumentLayout.documentChanged(int from, int charsRemoved, int charsAdded)''' 2214 updateBlock = pyqtSignal() # void updateBlock(const QTextBlockamp;) - signal 2215 pageCountChanged = pyqtSignal() # void pageCountChanged(int) - signal 2216 documentSizeChanged = pyqtSignal() # void documentSizeChanged(const QSizeFamp;) - signal 2217 update = pyqtSignal() # void update(const QRectFamp; = QRectF(0,0,1e+09,1e+09)) - signal 2218 def handlerForObject(self, objectType): 2219 '''QTextObjectInterface QAbstractTextDocumentLayout.handlerForObject(int objectType)''' 2220 return QTextObjectInterface() 2221 def registerHandler(self, objectType, component): 2222 '''void QAbstractTextDocumentLayout.registerHandler(int objectType, QObject component)''' 2223 def document(self): 2224 '''QTextDocument QAbstractTextDocumentLayout.document()''' 2225 return QTextDocument() 2226 def paintDevice(self): 2227 '''QPaintDevice QAbstractTextDocumentLayout.paintDevice()''' 2228 return QPaintDevice() 2229 def setPaintDevice(self, device): 2230 '''void QAbstractTextDocumentLayout.setPaintDevice(QPaintDevice device)''' 2231 def blockBoundingRect(self, block): 2232 '''abstract QRectF QAbstractTextDocumentLayout.blockBoundingRect(QTextBlock block)''' 2233 return QRectF() 2234 def frameBoundingRect(self, frame): 2235 '''abstract QRectF QAbstractTextDocumentLayout.frameBoundingRect(QTextFrame frame)''' 2236 return QRectF() 2237 def documentSize(self): 2238 '''abstract QSizeF QAbstractTextDocumentLayout.documentSize()''' 2239 return QSizeF() 2240 def pageCount(self): 2241 '''abstract int QAbstractTextDocumentLayout.pageCount()''' 2242 return int() 2243 def anchorAt(self, pos): 2244 '''QString QAbstractTextDocumentLayout.anchorAt(QPointF pos)''' 2245 return QString() 2246 def hitTest(self, point, accuracy): 2247 '''abstract int QAbstractTextDocumentLayout.hitTest(QPointF point, Qt.HitTestAccuracy accuracy)''' 2248 return int() 2249 def draw(self, painter, context): 2250 '''abstract void QAbstractTextDocumentLayout.draw(QPainter painter, QAbstractTextDocumentLayout.PaintContext context)''' 2251 class PaintContext(): 2252 """""" 2253 clip = None # QRectF - member 2254 cursorPosition = None # int - member 2255 palette = None # QPalette - member 2256 selections = None # list-of-QAbstractTextDocumentLayout.Selection - member 2257 def __init__(self): 2258 '''void QAbstractTextDocumentLayout.PaintContext.__init__()''' 2259 def __init__(self): 2260 '''QAbstractTextDocumentLayout.PaintContext QAbstractTextDocumentLayout.PaintContext.__init__()''' 2261 return QAbstractTextDocumentLayout.PaintContext() 2262 class Selection(): 2263 """""" 2264 cursor = None # QTextCursor - member 2265 format = None # QTextCharFormat - member 2266 def __init__(self): 2267 '''void QAbstractTextDocumentLayout.Selection.__init__()''' 2268 def __init__(self): 2269 '''QAbstractTextDocumentLayout.Selection QAbstractTextDocumentLayout.Selection.__init__()''' 2270 return QAbstractTextDocumentLayout.Selection() 2271 2272 2273 class QTextObjectInterface(): 2274 """""" 2275 def __init__(self): 2276 '''void QTextObjectInterface.__init__()''' 2277 def __init__(self): 2278 '''QTextObjectInterface QTextObjectInterface.__init__()''' 2279 return QTextObjectInterface() 2280 def drawObject(self, painter, rect, doc, posInDocument, format): 2281 '''abstract void QTextObjectInterface.drawObject(QPainter painter, QRectF rect, QTextDocument doc, int posInDocument, QTextFormat format)''' 2282 def intrinsicSize(self, doc, posInDocument, format): 2283 '''abstract QSizeF QTextObjectInterface.intrinsicSize(QTextDocument doc, int posInDocument, QTextFormat format)''' 2284 return QSizeF() 2285 2286 2287 class QAction(QObject): 2288 """""" 2289 # Enum QAction.Priority 2290 LowPriority = 0 2291 NormalPriority = 0 2292 HighPriority = 0 2293 2294 # Enum QAction.SoftKeyRole 2295 NoSoftKey = 0 2296 PositiveSoftKey = 0 2297 NegativeSoftKey = 0 2298 SelectSoftKey = 0 2299 2300 # Enum QAction.MenuRole 2301 NoRole = 0 2302 TextHeuristicRole = 0 2303 ApplicationSpecificRole = 0 2304 AboutQtRole = 0 2305 AboutRole = 0 2306 PreferencesRole = 0 2307 QuitRole = 0 2308 2309 # Enum QAction.ActionEvent 2310 Trigger = 0 2311 Hover = 0 2312 2313 def __init__(self, parent): 2314 '''void QAction.__init__(QObject parent)''' 2315 def __init__(self, text, parent): 2316 '''void QAction.__init__(QString text, QObject parent)''' 2317 def __init__(self, icon, text, parent): 2318 '''void QAction.__init__(QIcon icon, QString text, QObject parent)''' 2319 def softKeyRole(self): 2320 '''QAction.SoftKeyRole QAction.softKeyRole()''' 2321 return QAction.SoftKeyRole() 2322 def setSoftKeyRole(self, softKeyRole): 2323 '''void QAction.setSoftKeyRole(QAction.SoftKeyRole softKeyRole)''' 2324 def priority(self): 2325 '''QAction.Priority QAction.priority()''' 2326 return QAction.Priority() 2327 def setPriority(self, priority): 2328 '''void QAction.setPriority(QAction.Priority priority)''' 2329 def isIconVisibleInMenu(self): 2330 '''bool QAction.isIconVisibleInMenu()''' 2331 return bool() 2332 def setIconVisibleInMenu(self, visible): 2333 '''void QAction.setIconVisibleInMenu(bool visible)''' 2334 def associatedGraphicsWidgets(self): 2335 '''list-of-QGraphicsWidget QAction.associatedGraphicsWidgets()''' 2336 return [QGraphicsWidget()] 2337 def associatedWidgets(self): 2338 '''list-of-QWidget QAction.associatedWidgets()''' 2339 return [QWidget()] 2340 def menuRole(self): 2341 '''QAction.MenuRole QAction.menuRole()''' 2342 return QAction.MenuRole() 2343 def setMenuRole(self, menuRole): 2344 '''void QAction.setMenuRole(QAction.MenuRole menuRole)''' 2345 def autoRepeat(self): 2346 '''bool QAction.autoRepeat()''' 2347 return bool() 2348 def setAutoRepeat(self): 2349 '''bool QAction.setAutoRepeat()''' 2350 return bool() 2351 def shortcuts(self): 2352 '''list-of-QKeySequence QAction.shortcuts()''' 2353 return [QKeySequence()] 2354 def setShortcuts(self, shortcuts): 2355 '''void QAction.setShortcuts(list-of-QKeySequence shortcuts)''' 2356 def setShortcuts(self): 2357 '''QKeySequence.StandardKey QAction.setShortcuts()''' 2358 return QKeySequence.StandardKey() 2359 toggled = pyqtSignal() # void toggled(bool) - signal 2360 hovered = pyqtSignal() # void hovered() - signal 2361 triggered = pyqtSignal() # void triggered(bool = 0) - signal 2362 changed = pyqtSignal() # void changed() - signal 2363 def setVisible(self): 2364 '''bool QAction.setVisible()''' 2365 return bool() 2366 def setDisabled(self, b): 2367 '''void QAction.setDisabled(bool b)''' 2368 def setEnabled(self): 2369 '''bool QAction.setEnabled()''' 2370 return bool() 2371 def toggle(self): 2372 '''void QAction.toggle()''' 2373 def setChecked(self): 2374 '''bool QAction.setChecked()''' 2375 return bool() 2376 def hover(self): 2377 '''void QAction.hover()''' 2378 def trigger(self): 2379 '''void QAction.trigger()''' 2380 def event(self): 2381 '''QEvent QAction.event()''' 2382 return QEvent() 2383 def parentWidget(self): 2384 '''QWidget QAction.parentWidget()''' 2385 return QWidget() 2386 def showStatusText(self, widget = None): 2387 '''bool QAction.showStatusText(QWidget widget = None)''' 2388 return bool() 2389 def activate(self, event): 2390 '''void QAction.activate(QAction.ActionEvent event)''' 2391 def isVisible(self): 2392 '''bool QAction.isVisible()''' 2393 return bool() 2394 def isEnabled(self): 2395 '''bool QAction.isEnabled()''' 2396 return bool() 2397 def isChecked(self): 2398 '''bool QAction.isChecked()''' 2399 return bool() 2400 def setData(self, var): 2401 '''void QAction.setData(QVariant var)''' 2402 def data(self): 2403 '''QVariant QAction.data()''' 2404 return QVariant() 2405 def isCheckable(self): 2406 '''bool QAction.isCheckable()''' 2407 return bool() 2408 def setCheckable(self): 2409 '''bool QAction.setCheckable()''' 2410 return bool() 2411 def font(self): 2412 '''QFont QAction.font()''' 2413 return QFont() 2414 def setFont(self, font): 2415 '''void QAction.setFont(QFont font)''' 2416 def shortcutContext(self): 2417 '''Qt.ShortcutContext QAction.shortcutContext()''' 2418 return Qt.ShortcutContext() 2419 def setShortcutContext(self, context): 2420 '''void QAction.setShortcutContext(Qt.ShortcutContext context)''' 2421 def shortcut(self): 2422 '''QKeySequence QAction.shortcut()''' 2423 return QKeySequence() 2424 def setShortcut(self, shortcut): 2425 '''void QAction.setShortcut(QKeySequence shortcut)''' 2426 def isSeparator(self): 2427 '''bool QAction.isSeparator()''' 2428 return bool() 2429 def setSeparator(self, b): 2430 '''void QAction.setSeparator(bool b)''' 2431 def setMenu(self, menu): 2432 '''void QAction.setMenu(QMenu menu)''' 2433 def menu(self): 2434 '''QMenu QAction.menu()''' 2435 return QMenu() 2436 def whatsThis(self): 2437 '''QString QAction.whatsThis()''' 2438 return QString() 2439 def setWhatsThis(self, what): 2440 '''void QAction.setWhatsThis(QString what)''' 2441 def statusTip(self): 2442 '''QString QAction.statusTip()''' 2443 return QString() 2444 def setStatusTip(self, statusTip): 2445 '''void QAction.setStatusTip(QString statusTip)''' 2446 def toolTip(self): 2447 '''QString QAction.toolTip()''' 2448 return QString() 2449 def setToolTip(self, tip): 2450 '''void QAction.setToolTip(QString tip)''' 2451 def iconText(self): 2452 '''QString QAction.iconText()''' 2453 return QString() 2454 def setIconText(self, text): 2455 '''void QAction.setIconText(QString text)''' 2456 def text(self): 2457 '''QString QAction.text()''' 2458 return QString() 2459 def setText(self, text): 2460 '''void QAction.setText(QString text)''' 2461 def icon(self): 2462 '''QIcon QAction.icon()''' 2463 return QIcon() 2464 def setIcon(self, icon): 2465 '''void QAction.setIcon(QIcon icon)''' 2466 def actionGroup(self): 2467 '''QActionGroup QAction.actionGroup()''' 2468 return QActionGroup() 2469 def setActionGroup(self, group): 2470 '''void QAction.setActionGroup(QActionGroup group)''' 2471 2472 2473 class QActionGroup(QObject): 2474 """""" 2475 def __init__(self, parent): 2476 '''void QActionGroup.__init__(QObject parent)''' 2477 hovered = pyqtSignal() # void hovered(QAction *) - signal 2478 selected = pyqtSignal() # void selected(QAction *) - signal 2479 triggered = pyqtSignal() # void triggered(QAction *) - signal 2480 def setExclusive(self): 2481 '''bool QActionGroup.setExclusive()''' 2482 return bool() 2483 def setVisible(self): 2484 '''bool QActionGroup.setVisible()''' 2485 return bool() 2486 def setDisabled(self, b): 2487 '''void QActionGroup.setDisabled(bool b)''' 2488 def setEnabled(self): 2489 '''bool QActionGroup.setEnabled()''' 2490 return bool() 2491 def isVisible(self): 2492 '''bool QActionGroup.isVisible()''' 2493 return bool() 2494 def isEnabled(self): 2495 '''bool QActionGroup.isEnabled()''' 2496 return bool() 2497 def isExclusive(self): 2498 '''bool QActionGroup.isExclusive()''' 2499 return bool() 2500 def checkedAction(self): 2501 '''QAction QActionGroup.checkedAction()''' 2502 return QAction() 2503 def actions(self): 2504 '''list-of-QAction QActionGroup.actions()''' 2505 return [QAction()] 2506 def removeAction(self, a): 2507 '''void QActionGroup.removeAction(QAction a)''' 2508 def addAction(self, a): 2509 '''QAction QActionGroup.addAction(QAction a)''' 2510 return QAction() 2511 def addAction(self, text): 2512 '''QAction QActionGroup.addAction(QString text)''' 2513 return QAction() 2514 def addAction(self, icon, text): 2515 '''QAction QActionGroup.addAction(QIcon icon, QString text)''' 2516 return QAction() 2517 2518 2519 class QApplication(QCoreApplication): 2520 """""" 2521 # Enum QApplication.ColorSpec 2522 NormalColor = 0 2523 CustomColor = 0 2524 ManyColor = 0 2525 2526 # Enum QApplication.Type 2527 Tty = 0 2528 GuiClient = 0 2529 GuiServer = 0 2530 2531 def __init__(self, argv): 2532 '''void QApplication.__init__(list-of-str argv)''' 2533 def __init__(self, argv, GUIenabled): 2534 '''void QApplication.__init__(list-of-str argv, bool GUIenabled)''' 2535 def __init__(self, argv): 2536 '''QApplication.Type QApplication.__init__(list-of-str argv)''' 2537 return QApplication.Type() 2538 def __init__(self, display, visual = 0, colormap = 0): 2539 '''void QApplication.__init__(Display display, int visual = 0, int colormap = 0)''' 2540 def __init__(self, dpy, argv, visual = 0, cmap = 0): 2541 '''void QApplication.__init__(Display dpy, list-of-str argv, int visual = 0, int cmap = 0)''' 2542 def queryKeyboardModifiers(self): 2543 '''static Qt.KeyboardModifiers QApplication.queryKeyboardModifiers()''' 2544 return Qt.KeyboardModifiers() 2545 def autoSipEnabled(self): 2546 '''bool QApplication.autoSipEnabled()''' 2547 return bool() 2548 def setAutoSipEnabled(self, enabled): 2549 '''void QApplication.setAutoSipEnabled(bool enabled)''' 2550 def setGraphicsSystem(self): 2551 '''static QString QApplication.setGraphicsSystem()''' 2552 return QString() 2553 def alert(self, widget, msecs = 0): 2554 '''static void QApplication.alert(QWidget widget, int msecs = 0)''' 2555 def styleSheet(self): 2556 '''QString QApplication.styleSheet()''' 2557 return QString() 2558 def keyboardInputDirection(self): 2559 '''static Qt.LayoutDirection QApplication.keyboardInputDirection()''' 2560 return Qt.LayoutDirection() 2561 def keyboardInputLocale(self): 2562 '''static QLocale QApplication.keyboardInputLocale()''' 2563 return QLocale() 2564 def font(self): 2565 '''static QFont QApplication.font()''' 2566 return QFont() 2567 def font(self): 2568 '''static QWidget QApplication.font()''' 2569 return QWidget() 2570 def font(self, className): 2571 '''static QFont QApplication.font(str className)''' 2572 return QFont() 2573 def event(self): 2574 '''QEvent QApplication.event()''' 2575 return QEvent() 2576 def setStyleSheet(self, sheet): 2577 '''void QApplication.setStyleSheet(QString sheet)''' 2578 def closeAllWindows(self): 2579 '''static void QApplication.closeAllWindows()''' 2580 def aboutQt(self): 2581 '''static void QApplication.aboutQt()''' 2582 fontDatabaseChanged = pyqtSignal() # void fontDatabaseChanged() - signal 2583 saveStateRequest = pyqtSignal() # void saveStateRequest(QSessionManageramp;) - signal 2584 lastWindowClosed = pyqtSignal() # void lastWindowClosed() - signal 2585 focusChanged = pyqtSignal() # void focusChanged(QWidget *,QWidget *) - signal 2586 commitDataRequest = pyqtSignal() # void commitDataRequest(QSessionManageramp;) - signal 2587 def quitOnLastWindowClosed(self): 2588 '''static bool QApplication.quitOnLastWindowClosed()''' 2589 return bool() 2590 def setQuitOnLastWindowClosed(self, quit): 2591 '''static void QApplication.setQuitOnLastWindowClosed(bool quit)''' 2592 def notify(self): 2593 '''QEvent QApplication.notify()''' 2594 return QEvent() 2595 def exec_(self): 2596 '''static int QApplication.exec_()''' 2597 return int() 2598 def inputContext(self): 2599 '''QInputContext QApplication.inputContext()''' 2600 return QInputContext() 2601 def setInputContext(self): 2602 '''QInputContext QApplication.setInputContext()''' 2603 return QInputContext() 2604 def saveState(self, sm): 2605 '''void QApplication.saveState(QSessionManager sm)''' 2606 def commitData(self, sm): 2607 '''void QApplication.commitData(QSessionManager sm)''' 2608 def sessionKey(self): 2609 '''QString QApplication.sessionKey()''' 2610 return QString() 2611 def sessionId(self): 2612 '''QString QApplication.sessionId()''' 2613 return QString() 2614 def isSessionRestored(self): 2615 '''bool QApplication.isSessionRestored()''' 2616 return bool() 2617 def x11ProcessEvent(self): 2618 '''sip.voidptr QApplication.x11ProcessEvent()''' 2619 return sip.voidptr() 2620 def x11EventFilter(self): 2621 '''sip.voidptr QApplication.x11EventFilter()''' 2622 return sip.voidptr() 2623 def setEffectEnabled(self, effect, enabled = True): 2624 '''static void QApplication.setEffectEnabled(Qt.UIEffect effect, bool enabled = True)''' 2625 def isEffectEnabled(self): 2626 '''static Qt.UIEffect QApplication.isEffectEnabled()''' 2627 return Qt.UIEffect() 2628 def isLeftToRight(self): 2629 '''static bool QApplication.isLeftToRight()''' 2630 return bool() 2631 def isRightToLeft(self): 2632 '''static bool QApplication.isRightToLeft()''' 2633 return bool() 2634 def layoutDirection(self): 2635 '''static Qt.LayoutDirection QApplication.layoutDirection()''' 2636 return Qt.LayoutDirection() 2637 def setLayoutDirection(self, direction): 2638 '''static void QApplication.setLayoutDirection(Qt.LayoutDirection direction)''' 2639 def startDragDistance(self): 2640 '''static int QApplication.startDragDistance()''' 2641 return int() 2642 def setStartDragDistance(self, l): 2643 '''static void QApplication.setStartDragDistance(int l)''' 2644 def startDragTime(self): 2645 '''static int QApplication.startDragTime()''' 2646 return int() 2647 def setStartDragTime(self, ms): 2648 '''static void QApplication.setStartDragTime(int ms)''' 2649 def globalStrut(self): 2650 '''static QSize QApplication.globalStrut()''' 2651 return QSize() 2652 def setGlobalStrut(self): 2653 '''static QSize QApplication.setGlobalStrut()''' 2654 return QSize() 2655 def wheelScrollLines(self): 2656 '''static int QApplication.wheelScrollLines()''' 2657 return int() 2658 def setWheelScrollLines(self): 2659 '''static int QApplication.setWheelScrollLines()''' 2660 return int() 2661 def keyboardInputInterval(self): 2662 '''static int QApplication.keyboardInputInterval()''' 2663 return int() 2664 def setKeyboardInputInterval(self): 2665 '''static int QApplication.setKeyboardInputInterval()''' 2666 return int() 2667 def doubleClickInterval(self): 2668 '''static int QApplication.doubleClickInterval()''' 2669 return int() 2670 def setDoubleClickInterval(self): 2671 '''static int QApplication.setDoubleClickInterval()''' 2672 return int() 2673 def cursorFlashTime(self): 2674 '''static int QApplication.cursorFlashTime()''' 2675 return int() 2676 def setCursorFlashTime(self): 2677 '''static int QApplication.setCursorFlashTime()''' 2678 return int() 2679 def desktopSettingsAware(self): 2680 '''static bool QApplication.desktopSettingsAware()''' 2681 return bool() 2682 def setDesktopSettingsAware(self): 2683 '''static bool QApplication.setDesktopSettingsAware()''' 2684 return bool() 2685 def mouseButtons(self): 2686 '''static Qt.MouseButtons QApplication.mouseButtons()''' 2687 return Qt.MouseButtons() 2688 def keyboardModifiers(self): 2689 '''static Qt.KeyboardModifiers QApplication.keyboardModifiers()''' 2690 return Qt.KeyboardModifiers() 2691 def beep(self): 2692 '''static void QApplication.beep()''' 2693 def syncX(self): 2694 '''static void QApplication.syncX()''' 2695 def topLevelAt(self, p): 2696 '''static QWidget QApplication.topLevelAt(QPoint p)''' 2697 return QWidget() 2698 def topLevelAt(self, x, y): 2699 '''static QWidget QApplication.topLevelAt(int x, int y)''' 2700 return QWidget() 2701 def widgetAt(self, p): 2702 '''static QWidget QApplication.widgetAt(QPoint p)''' 2703 return QWidget() 2704 def widgetAt(self, x, y): 2705 '''static QWidget QApplication.widgetAt(int x, int y)''' 2706 return QWidget() 2707 def setActiveWindow(self, act): 2708 '''static void QApplication.setActiveWindow(QWidget act)''' 2709 def activeWindow(self): 2710 '''static QWidget QApplication.activeWindow()''' 2711 return QWidget() 2712 def focusWidget(self): 2713 '''static QWidget QApplication.focusWidget()''' 2714 return QWidget() 2715 def clipboard(self): 2716 '''static QClipboard QApplication.clipboard()''' 2717 return QClipboard() 2718 def activeModalWidget(self): 2719 '''static QWidget QApplication.activeModalWidget()''' 2720 return QWidget() 2721 def activePopupWidget(self): 2722 '''static QWidget QApplication.activePopupWidget()''' 2723 return QWidget() 2724 def desktop(self): 2725 '''static QDesktopWidget QApplication.desktop()''' 2726 return QDesktopWidget() 2727 def topLevelWidgets(self): 2728 '''static list-of-QWidget QApplication.topLevelWidgets()''' 2729 return [QWidget()] 2730 def allWidgets(self): 2731 '''static list-of-QWidget QApplication.allWidgets()''' 2732 return [QWidget()] 2733 def windowIcon(self): 2734 '''static QIcon QApplication.windowIcon()''' 2735 return QIcon() 2736 def setWindowIcon(self, icon): 2737 '''static void QApplication.setWindowIcon(QIcon icon)''' 2738 def fontMetrics(self): 2739 '''static QFontMetrics QApplication.fontMetrics()''' 2740 return QFontMetrics() 2741 def setFont(self, font, className = None): 2742 '''static void QApplication.setFont(QFont font, str className = None)''' 2743 def setPalette(self, palette, className = None): 2744 '''static void QApplication.setPalette(QPalette palette, str className = None)''' 2745 def palette(self): 2746 '''static QPalette QApplication.palette()''' 2747 return QPalette() 2748 def palette(self): 2749 '''static QWidget QApplication.palette()''' 2750 return QWidget() 2751 def palette(self, className): 2752 '''static QPalette QApplication.palette(str className)''' 2753 return QPalette() 2754 def restoreOverrideCursor(self): 2755 '''static void QApplication.restoreOverrideCursor()''' 2756 def changeOverrideCursor(self): 2757 '''static QCursor QApplication.changeOverrideCursor()''' 2758 return QCursor() 2759 def setOverrideCursor(self): 2760 '''static QCursor QApplication.setOverrideCursor()''' 2761 return QCursor() 2762 def overrideCursor(self): 2763 '''static QCursor QApplication.overrideCursor()''' 2764 return QCursor() 2765 def setColorSpec(self): 2766 '''static int QApplication.setColorSpec()''' 2767 return int() 2768 def colorSpec(self): 2769 '''static int QApplication.colorSpec()''' 2770 return int() 2771 def setStyle(self): 2772 '''static QStyle QApplication.setStyle()''' 2773 return QStyle() 2774 def setStyle(self): 2775 '''static QString QApplication.setStyle()''' 2776 return QString() 2777 def style(self): 2778 '''static QStyle QApplication.style()''' 2779 return QStyle() 2780 def type(self): 2781 '''static QApplication.Type QApplication.type()''' 2782 return QApplication.Type() 2783 2784 2785 class QPixmap(QPaintDevice): 2786 """""" 2787 # Enum QPixmap.ShareMode 2788 ImplicitlyShared = 0 2789 ExplicitlyShared = 0 2790 2791 def __init__(self): 2792 '''void QPixmap.__init__()''' 2793 def __init__(self, w, h): 2794 '''void QPixmap.__init__(int w, int h)''' 2795 def __init__(self): 2796 '''QSize QPixmap.__init__()''' 2797 return QSize() 2798 def __init__(self, fileName, format = None, flags = None): 2799 '''void QPixmap.__init__(QString fileName, str format = None, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 2800 def __init__(self, xpm): 2801 '''void QPixmap.__init__(list-of-str xpm)''' 2802 def __init__(self): 2803 '''QPixmap QPixmap.__init__()''' 2804 return QPixmap() 2805 def __init__(self, variant): 2806 '''void QPixmap.__init__(QVariant variant)''' 2807 def swap(self, other): 2808 '''void QPixmap.swap(QPixmap other)''' 2809 def scroll(self, dx, dy, rect, exposed): 2810 '''void QPixmap.scroll(int dx, int dy, QRect rect, QRegion exposed)''' 2811 def scroll(self, dx, dy, x, y, width, height, exposed): 2812 '''void QPixmap.scroll(int dx, int dy, int x, int y, int width, int height, QRegion exposed)''' 2813 def fromX11Pixmap(self, pixmap, mode = None): 2814 '''static QPixmap QPixmap.fromX11Pixmap(int pixmap, QPixmap.ShareMode mode = QPixmap.ImplicitlyShared)''' 2815 return QPixmap() 2816 def cacheKey(self): 2817 '''int QPixmap.cacheKey()''' 2818 return int() 2819 def metric(self): 2820 '''QPaintDevice.PaintDeviceMetric QPixmap.metric()''' 2821 return QPaintDevice.PaintDeviceMetric() 2822 def paintEngine(self): 2823 '''QPaintEngine QPixmap.paintEngine()''' 2824 return QPaintEngine() 2825 def handle(self): 2826 '''int QPixmap.handle()''' 2827 return int() 2828 def x11Info(self): 2829 '''QX11Info QPixmap.x11Info()''' 2830 return QX11Info() 2831 def isQBitmap(self): 2832 '''bool QPixmap.isQBitmap()''' 2833 return bool() 2834 def x11PictureHandle(self): 2835 '''int QPixmap.x11PictureHandle()''' 2836 return int() 2837 def detach(self): 2838 '''void QPixmap.detach()''' 2839 def serialNumber(self): 2840 '''int QPixmap.serialNumber()''' 2841 return int() 2842 def copy(self, rect = QRect()): 2843 '''QPixmap QPixmap.copy(QRect rect = QRect())''' 2844 return QPixmap() 2845 def copy(self, ax, ay, awidth, aheight): 2846 '''QPixmap QPixmap.copy(int ax, int ay, int awidth, int aheight)''' 2847 return QPixmap() 2848 def save(self, fileName, format = None, quality = None): 2849 '''bool QPixmap.save(QString fileName, str format = None, int quality = -1)''' 2850 return bool() 2851 def save(self, device, format = None, quality = None): 2852 '''bool QPixmap.save(QIODevice device, str format = None, int quality = -1)''' 2853 return bool() 2854 def loadFromData(self, buf, format = None, flags = None): 2855 '''bool QPixmap.loadFromData(str buf, str format = None, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 2856 return bool() 2857 def loadFromData(self, buf, format = None, flags = None): 2858 '''bool QPixmap.loadFromData(QByteArray buf, str format = None, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 2859 return bool() 2860 def load(self, fileName, format = None, flags = None): 2861 '''bool QPixmap.load(QString fileName, str format = None, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 2862 return bool() 2863 def convertFromImage(self, img, flags = None): 2864 '''bool QPixmap.convertFromImage(QImage img, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 2865 return bool() 2866 def fromImageReader(self, imageReader, flags = None): 2867 '''static QPixmap QPixmap.fromImageReader(QImageReader imageReader, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 2868 return QPixmap() 2869 def fromImage(self, image, flags = None): 2870 '''static QPixmap QPixmap.fromImage(QImage image, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 2871 return QPixmap() 2872 def toImage(self): 2873 '''QImage QPixmap.toImage()''' 2874 return QImage() 2875 def trueMatrix(self, m, w, h): 2876 '''static QMatrix QPixmap.trueMatrix(QMatrix m, int w, int h)''' 2877 return QMatrix() 2878 def trueMatrix(self, m, w, h): 2879 '''static QTransform QPixmap.trueMatrix(QTransform m, int w, int h)''' 2880 return QTransform() 2881 def transformed(self, matrix, mode = None): 2882 '''QPixmap QPixmap.transformed(QMatrix matrix, Qt.TransformationMode mode = Qt.FastTransformation)''' 2883 return QPixmap() 2884 def transformed(self, transform, mode = None): 2885 '''QPixmap QPixmap.transformed(QTransform transform, Qt.TransformationMode mode = Qt.FastTransformation)''' 2886 return QPixmap() 2887 def scaledToHeight(self, height, mode = None): 2888 '''QPixmap QPixmap.scaledToHeight(int height, Qt.TransformationMode mode = Qt.FastTransformation)''' 2889 return QPixmap() 2890 def scaledToWidth(self, width, mode = None): 2891 '''QPixmap QPixmap.scaledToWidth(int width, Qt.TransformationMode mode = Qt.FastTransformation)''' 2892 return QPixmap() 2893 def scaled(self, width, height, aspectRatioMode = None, transformMode = None): 2894 '''QPixmap QPixmap.scaled(int width, int height, Qt.AspectRatioMode aspectRatioMode = Qt.IgnoreAspectRatio, Qt.TransformationMode transformMode = Qt.FastTransformation)''' 2895 return QPixmap() 2896 def scaled(self, size, aspectRatioMode = None, transformMode = None): 2897 '''QPixmap QPixmap.scaled(QSize size, Qt.AspectRatioMode aspectRatioMode = Qt.IgnoreAspectRatio, Qt.TransformationMode transformMode = Qt.FastTransformation)''' 2898 return QPixmap() 2899 def grabWidget(self, widget, rect): 2900 '''static QPixmap QPixmap.grabWidget(QWidget widget, QRect rect)''' 2901 return QPixmap() 2902 def grabWidget(self, widget, x = 0, y = 0, width = None, height = None): 2903 '''static QPixmap QPixmap.grabWidget(QWidget widget, int x = 0, int y = 0, int width = -1, int height = -1)''' 2904 return QPixmap() 2905 def grabWindow(self, window, x = 0, y = 0, width = None, height = None): 2906 '''static QPixmap QPixmap.grabWindow(int window, int x = 0, int y = 0, int width = -1, int height = -1)''' 2907 return QPixmap() 2908 def createMaskFromColor(self, maskColor, mode): 2909 '''QBitmap QPixmap.createMaskFromColor(QColor maskColor, Qt.MaskMode mode)''' 2910 return QBitmap() 2911 def createMaskFromColor(self, maskColor): 2912 '''QBitmap QPixmap.createMaskFromColor(QColor maskColor)''' 2913 return QBitmap() 2914 def createHeuristicMask(self, clipTight = True): 2915 '''QBitmap QPixmap.createHeuristicMask(bool clipTight = True)''' 2916 return QBitmap() 2917 def hasAlphaChannel(self): 2918 '''bool QPixmap.hasAlphaChannel()''' 2919 return bool() 2920 def hasAlpha(self): 2921 '''bool QPixmap.hasAlpha()''' 2922 return bool() 2923 def setAlphaChannel(self): 2924 '''QPixmap QPixmap.setAlphaChannel()''' 2925 return QPixmap() 2926 def alphaChannel(self): 2927 '''QPixmap QPixmap.alphaChannel()''' 2928 return QPixmap() 2929 def setMask(self): 2930 '''QBitmap QPixmap.setMask()''' 2931 return QBitmap() 2932 def mask(self): 2933 '''QBitmap QPixmap.mask()''' 2934 return QBitmap() 2935 def fill(self, color = None): 2936 '''void QPixmap.fill(QColor color = Qt.white)''' 2937 def fill(self, widget, ofs): 2938 '''void QPixmap.fill(QWidget widget, QPoint ofs)''' 2939 def fill(self, widget, xofs, yofs): 2940 '''void QPixmap.fill(QWidget widget, int xofs, int yofs)''' 2941 def defaultDepth(self): 2942 '''static int QPixmap.defaultDepth()''' 2943 return int() 2944 def depth(self): 2945 '''int QPixmap.depth()''' 2946 return int() 2947 def rect(self): 2948 '''QRect QPixmap.rect()''' 2949 return QRect() 2950 def size(self): 2951 '''QSize QPixmap.size()''' 2952 return QSize() 2953 def height(self): 2954 '''int QPixmap.height()''' 2955 return int() 2956 def width(self): 2957 '''int QPixmap.width()''' 2958 return int() 2959 def devType(self): 2960 '''int QPixmap.devType()''' 2961 return int() 2962 def isNull(self): 2963 '''bool QPixmap.isNull()''' 2964 return bool() 2965 2966 2967 class QBitmap(QPixmap): 2968 """""" 2969 def __init__(self): 2970 '''void QBitmap.__init__()''' 2971 def __init__(self): 2972 '''QPixmap QBitmap.__init__()''' 2973 return QPixmap() 2974 def __init__(self, w, h): 2975 '''void QBitmap.__init__(int w, int h)''' 2976 def __init__(self): 2977 '''QSize QBitmap.__init__()''' 2978 return QSize() 2979 def __init__(self, fileName, format = None): 2980 '''void QBitmap.__init__(QString fileName, str format = None)''' 2981 def __init__(self, variant): 2982 '''void QBitmap.__init__(QVariant variant)''' 2983 def __init__(self): 2984 '''QBitmap QBitmap.__init__()''' 2985 return QBitmap() 2986 def swap(self, other): 2987 '''void QBitmap.swap(QBitmap other)''' 2988 def transformed(self): 2989 '''QMatrix QBitmap.transformed()''' 2990 return QMatrix() 2991 def transformed(self, matrix): 2992 '''QBitmap QBitmap.transformed(QTransform matrix)''' 2993 return QBitmap() 2994 def fromData(self, size, bits, format = None): 2995 '''static QBitmap QBitmap.fromData(QSize size, str bits, QImage.Format format = QImage.Format_MonoLSB)''' 2996 return QBitmap() 2997 def fromImage(self, image, flags = None): 2998 '''static QBitmap QBitmap.fromImage(QImage image, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 2999 return QBitmap() 3000 def clear(self): 3001 '''void QBitmap.clear()''' 3002 3003 3004 class QLayoutItem(): 3005 """""" 3006 def __init__(self, alignment = 0): 3007 '''void QLayoutItem.__init__(Qt.Alignment alignment = 0)''' 3008 def __init__(self): 3009 '''QLayoutItem QLayoutItem.__init__()''' 3010 return QLayoutItem() 3011 def controlTypes(self): 3012 '''QSizePolicy.ControlTypes QLayoutItem.controlTypes()''' 3013 return QSizePolicy.ControlTypes() 3014 def setAlignment(self, a): 3015 '''void QLayoutItem.setAlignment(Qt.Alignment a)''' 3016 def alignment(self): 3017 '''Qt.Alignment QLayoutItem.alignment()''' 3018 return Qt.Alignment() 3019 def spacerItem(self): 3020 '''QSpacerItem QLayoutItem.spacerItem()''' 3021 return QSpacerItem() 3022 def layout(self): 3023 '''QLayout QLayoutItem.layout()''' 3024 return QLayout() 3025 def widget(self): 3026 '''QWidget QLayoutItem.widget()''' 3027 return QWidget() 3028 def invalidate(self): 3029 '''void QLayoutItem.invalidate()''' 3030 def minimumHeightForWidth(self): 3031 '''int QLayoutItem.minimumHeightForWidth()''' 3032 return int() 3033 def heightForWidth(self): 3034 '''int QLayoutItem.heightForWidth()''' 3035 return int() 3036 def hasHeightForWidth(self): 3037 '''bool QLayoutItem.hasHeightForWidth()''' 3038 return bool() 3039 def isEmpty(self): 3040 '''abstract bool QLayoutItem.isEmpty()''' 3041 return bool() 3042 def geometry(self): 3043 '''abstract QRect QLayoutItem.geometry()''' 3044 return QRect() 3045 def setGeometry(self): 3046 '''abstract QRect QLayoutItem.setGeometry()''' 3047 return QRect() 3048 def expandingDirections(self): 3049 '''abstract Qt.Orientations QLayoutItem.expandingDirections()''' 3050 return Qt.Orientations() 3051 def maximumSize(self): 3052 '''abstract QSize QLayoutItem.maximumSize()''' 3053 return QSize() 3054 def minimumSize(self): 3055 '''abstract QSize QLayoutItem.minimumSize()''' 3056 return QSize() 3057 def sizeHint(self): 3058 '''abstract QSize QLayoutItem.sizeHint()''' 3059 return QSize() 3060 3061 3062 class QLayout(QObject, QLayoutItem): 3063 """""" 3064 # Enum QLayout.SizeConstraint 3065 SetDefaultConstraint = 0 3066 SetNoConstraint = 0 3067 SetMinimumSize = 0 3068 SetFixedSize = 0 3069 SetMaximumSize = 0 3070 SetMinAndMaxSize = 0 3071 3072 def __init__(self, parent): 3073 '''void QLayout.__init__(QWidget parent)''' 3074 def __init__(self): 3075 '''void QLayout.__init__()''' 3076 def contentsMargins(self): 3077 '''QMargins QLayout.contentsMargins()''' 3078 return QMargins() 3079 def contentsRect(self): 3080 '''QRect QLayout.contentsRect()''' 3081 return QRect() 3082 def getContentsMargins(self, left, top, right, bottom): 3083 '''void QLayout.getContentsMargins(int left, int top, int right, int bottom)''' 3084 def setContentsMargins(self, left, top, right, bottom): 3085 '''void QLayout.setContentsMargins(int left, int top, int right, int bottom)''' 3086 def setContentsMargins(self, margins): 3087 '''void QLayout.setContentsMargins(QMargins margins)''' 3088 def alignmentRect(self): 3089 '''QRect QLayout.alignmentRect()''' 3090 return QRect() 3091 def addChildWidget(self, w): 3092 '''void QLayout.addChildWidget(QWidget w)''' 3093 def addChildLayout(self, l): 3094 '''void QLayout.addChildLayout(QLayout l)''' 3095 def childEvent(self, e): 3096 '''void QLayout.childEvent(QChildEvent e)''' 3097 def widgetEvent(self): 3098 '''QEvent QLayout.widgetEvent()''' 3099 return QEvent() 3100 def closestAcceptableSize(self, w, s): 3101 '''static QSize QLayout.closestAcceptableSize(QWidget w, QSize s)''' 3102 return QSize() 3103 def isEnabled(self): 3104 '''bool QLayout.isEnabled()''' 3105 return bool() 3106 def setEnabled(self): 3107 '''bool QLayout.setEnabled()''' 3108 return bool() 3109 def layout(self): 3110 '''QLayout QLayout.layout()''' 3111 return QLayout() 3112 def totalSizeHint(self): 3113 '''QSize QLayout.totalSizeHint()''' 3114 return QSize() 3115 def totalMaximumSize(self): 3116 '''QSize QLayout.totalMaximumSize()''' 3117 return QSize() 3118 def totalMinimumSize(self): 3119 '''QSize QLayout.totalMinimumSize()''' 3120 return QSize() 3121 def totalHeightForWidth(self, w): 3122 '''int QLayout.totalHeightForWidth(int w)''' 3123 return int() 3124 def isEmpty(self): 3125 '''bool QLayout.isEmpty()''' 3126 return bool() 3127 def __len__(self): 3128 '''None QLayout.__len__()''' 3129 return None() 3130 def count(self): 3131 '''abstract int QLayout.count()''' 3132 return int() 3133 def indexOf(self): 3134 '''QWidget QLayout.indexOf()''' 3135 return QWidget() 3136 def takeAt(self, index): 3137 '''abstract QLayoutItem QLayout.takeAt(int index)''' 3138 return QLayoutItem() 3139 def itemAt(self, index): 3140 '''abstract QLayoutItem QLayout.itemAt(int index)''' 3141 return QLayoutItem() 3142 def setGeometry(self): 3143 '''QRect QLayout.setGeometry()''' 3144 return QRect() 3145 def maximumSize(self): 3146 '''QSize QLayout.maximumSize()''' 3147 return QSize() 3148 def minimumSize(self): 3149 '''QSize QLayout.minimumSize()''' 3150 return QSize() 3151 def expandingDirections(self): 3152 '''Qt.Orientations QLayout.expandingDirections()''' 3153 return Qt.Orientations() 3154 def removeItem(self): 3155 '''QLayoutItem QLayout.removeItem()''' 3156 return QLayoutItem() 3157 def removeWidget(self, w): 3158 '''void QLayout.removeWidget(QWidget w)''' 3159 def addItem(self): 3160 '''abstract QLayoutItem QLayout.addItem()''' 3161 return QLayoutItem() 3162 def addWidget(self, w): 3163 '''void QLayout.addWidget(QWidget w)''' 3164 def update(self): 3165 '''void QLayout.update()''' 3166 def activate(self): 3167 '''bool QLayout.activate()''' 3168 return bool() 3169 def geometry(self): 3170 '''QRect QLayout.geometry()''' 3171 return QRect() 3172 def invalidate(self): 3173 '''void QLayout.invalidate()''' 3174 def parentWidget(self): 3175 '''QWidget QLayout.parentWidget()''' 3176 return QWidget() 3177 def menuBar(self): 3178 '''QWidget QLayout.menuBar()''' 3179 return QWidget() 3180 def setMenuBar(self, w): 3181 '''void QLayout.setMenuBar(QWidget w)''' 3182 def sizeConstraint(self): 3183 '''QLayout.SizeConstraint QLayout.sizeConstraint()''' 3184 return QLayout.SizeConstraint() 3185 def setSizeConstraint(self): 3186 '''QLayout.SizeConstraint QLayout.setSizeConstraint()''' 3187 return QLayout.SizeConstraint() 3188 def setAlignment(self, w, alignment): 3189 '''bool QLayout.setAlignment(QWidget w, Qt.Alignment alignment)''' 3190 return bool() 3191 def setAlignment(self, l, alignment): 3192 '''bool QLayout.setAlignment(QLayout l, Qt.Alignment alignment)''' 3193 return bool() 3194 def setAlignment(self, alignment): 3195 '''void QLayout.setAlignment(Qt.Alignment alignment)''' 3196 def setSpacing(self): 3197 '''int QLayout.setSpacing()''' 3198 return int() 3199 def setMargin(self): 3200 '''int QLayout.setMargin()''' 3201 return int() 3202 def spacing(self): 3203 '''int QLayout.spacing()''' 3204 return int() 3205 def margin(self): 3206 '''int QLayout.margin()''' 3207 return int() 3208 3209 3210 class QBoxLayout(QLayout): 3211 """""" 3212 # Enum QBoxLayout.Direction 3213 LeftToRight = 0 3214 RightToLeft = 0 3215 TopToBottom = 0 3216 BottomToTop = 0 3217 Down = 0 3218 Up = 0 3219 3220 def __init__(self, direction, parent = None): 3221 '''void QBoxLayout.__init__(QBoxLayout.Direction direction, QWidget parent = None)''' 3222 def insertItem(self, index): 3223 '''QLayoutItem QBoxLayout.insertItem(int index)''' 3224 return QLayoutItem() 3225 def stretch(self, index): 3226 '''int QBoxLayout.stretch(int index)''' 3227 return int() 3228 def setStretch(self, index, stretch): 3229 '''void QBoxLayout.setStretch(int index, int stretch)''' 3230 def insertSpacerItem(self, index, spacerItem): 3231 '''void QBoxLayout.insertSpacerItem(int index, QSpacerItem spacerItem)''' 3232 def addSpacerItem(self, spacerItem): 3233 '''void QBoxLayout.addSpacerItem(QSpacerItem spacerItem)''' 3234 def setSpacing(self, spacing): 3235 '''void QBoxLayout.setSpacing(int spacing)''' 3236 def spacing(self): 3237 '''int QBoxLayout.spacing()''' 3238 return int() 3239 def setGeometry(self): 3240 '''QRect QBoxLayout.setGeometry()''' 3241 return QRect() 3242 def count(self): 3243 '''int QBoxLayout.count()''' 3244 return int() 3245 def takeAt(self): 3246 '''int QBoxLayout.takeAt()''' 3247 return int() 3248 def itemAt(self): 3249 '''int QBoxLayout.itemAt()''' 3250 return int() 3251 def invalidate(self): 3252 '''void QBoxLayout.invalidate()''' 3253 def expandingDirections(self): 3254 '''Qt.Orientations QBoxLayout.expandingDirections()''' 3255 return Qt.Orientations() 3256 def minimumHeightForWidth(self): 3257 '''int QBoxLayout.minimumHeightForWidth()''' 3258 return int() 3259 def heightForWidth(self): 3260 '''int QBoxLayout.heightForWidth()''' 3261 return int() 3262 def hasHeightForWidth(self): 3263 '''bool QBoxLayout.hasHeightForWidth()''' 3264 return bool() 3265 def maximumSize(self): 3266 '''QSize QBoxLayout.maximumSize()''' 3267 return QSize() 3268 def minimumSize(self): 3269 '''QSize QBoxLayout.minimumSize()''' 3270 return QSize() 3271 def sizeHint(self): 3272 '''QSize QBoxLayout.sizeHint()''' 3273 return QSize() 3274 def setStretchFactor(self, w, stretch): 3275 '''bool QBoxLayout.setStretchFactor(QWidget w, int stretch)''' 3276 return bool() 3277 def setStretchFactor(self, l, stretch): 3278 '''bool QBoxLayout.setStretchFactor(QLayout l, int stretch)''' 3279 return bool() 3280 def insertLayout(self, index, layout, stretch = 0): 3281 '''void QBoxLayout.insertLayout(int index, QLayout layout, int stretch = 0)''' 3282 def insertWidget(self, index, widget, stretch = 0, alignment = 0): 3283 '''void QBoxLayout.insertWidget(int index, QWidget widget, int stretch = 0, Qt.Alignment alignment = 0)''' 3284 def insertStretch(self, index, stretch = 0): 3285 '''void QBoxLayout.insertStretch(int index, int stretch = 0)''' 3286 def insertSpacing(self, index, size): 3287 '''void QBoxLayout.insertSpacing(int index, int size)''' 3288 def addItem(self): 3289 '''QLayoutItem QBoxLayout.addItem()''' 3290 return QLayoutItem() 3291 def addStrut(self): 3292 '''int QBoxLayout.addStrut()''' 3293 return int() 3294 def addLayout(self, layout, stretch = 0): 3295 '''void QBoxLayout.addLayout(QLayout layout, int stretch = 0)''' 3296 def addWidget(self, stretch = 0, alignment = 0): 3297 '''QWidget QBoxLayout.addWidget(int stretch = 0, Qt.Alignment alignment = 0)''' 3298 return QWidget() 3299 def addStretch(self, stretch = 0): 3300 '''void QBoxLayout.addStretch(int stretch = 0)''' 3301 def addSpacing(self, size): 3302 '''void QBoxLayout.addSpacing(int size)''' 3303 def setDirection(self): 3304 '''QBoxLayout.Direction QBoxLayout.setDirection()''' 3305 return QBoxLayout.Direction() 3306 def direction(self): 3307 '''QBoxLayout.Direction QBoxLayout.direction()''' 3308 return QBoxLayout.Direction() 3309 3310 3311 class QHBoxLayout(QBoxLayout): 3312 """""" 3313 def __init__(self): 3314 '''void QHBoxLayout.__init__()''' 3315 def __init__(self, parent): 3316 '''void QHBoxLayout.__init__(QWidget parent)''' 3317 3318 3319 class QVBoxLayout(QBoxLayout): 3320 """""" 3321 def __init__(self): 3322 '''void QVBoxLayout.__init__()''' 3323 def __init__(self, parent): 3324 '''void QVBoxLayout.__init__(QWidget parent)''' 3325 3326 3327 class QColor(): 3328 """""" 3329 # Enum QColor.Spec 3330 Invalid = 0 3331 Rgb = 0 3332 Hsv = 0 3333 Cmyk = 0 3334 Hsl = 0 3335 3336 def __init__(self, color): 3337 '''void QColor.__init__(Qt.GlobalColor color)''' 3338 def __init__(self, rgb): 3339 '''void QColor.__init__(int rgb)''' 3340 def __init__(self, variant): 3341 '''void QColor.__init__(QVariant variant)''' 3342 def __init__(self): 3343 '''void QColor.__init__()''' 3344 def __init__(self, r, g, b, alpha = 255): 3345 '''void QColor.__init__(int r, int g, int b, int alpha = 255)''' 3346 def __init__(self, aname): 3347 '''void QColor.__init__(QString aname)''' 3348 def __init__(self, acolor): 3349 '''void QColor.__init__(QColor acolor)''' 3350 def isValidColor(self, name): 3351 '''static bool QColor.isValidColor(QString name)''' 3352 return bool() 3353 def fromHslF(self, h, s, l, alpha = 1): 3354 '''static QColor QColor.fromHslF(float h, float s, float l, float alpha = 1)''' 3355 return QColor() 3356 def fromHsl(self, h, s, l, alpha = 255): 3357 '''static QColor QColor.fromHsl(int h, int s, int l, int alpha = 255)''' 3358 return QColor() 3359 def toHsl(self): 3360 '''QColor QColor.toHsl()''' 3361 return QColor() 3362 def setHslF(self, h, s, l, alpha = 1): 3363 '''void QColor.setHslF(float h, float s, float l, float alpha = 1)''' 3364 def getHslF(self, h, s, l, alpha): 3365 '''void QColor.getHslF(float h, float s, float l, float alpha)''' 3366 def setHsl(self, h, s, l, alpha = 255): 3367 '''void QColor.setHsl(int h, int s, int l, int alpha = 255)''' 3368 def getHsl(self, h, s, l, alpha): 3369 '''void QColor.getHsl(int h, int s, int l, int alpha)''' 3370 def lightnessF(self): 3371 '''float QColor.lightnessF()''' 3372 return float() 3373 def hslSaturationF(self): 3374 '''float QColor.hslSaturationF()''' 3375 return float() 3376 def hslHueF(self): 3377 '''float QColor.hslHueF()''' 3378 return float() 3379 def lightness(self): 3380 '''int QColor.lightness()''' 3381 return int() 3382 def hslSaturation(self): 3383 '''int QColor.hslSaturation()''' 3384 return int() 3385 def hslHue(self): 3386 '''int QColor.hslHue()''' 3387 return int() 3388 def hsvSaturationF(self): 3389 '''float QColor.hsvSaturationF()''' 3390 return float() 3391 def hsvHueF(self): 3392 '''float QColor.hsvHueF()''' 3393 return float() 3394 def hsvSaturation(self): 3395 '''int QColor.hsvSaturation()''' 3396 return int() 3397 def hsvHue(self): 3398 '''int QColor.hsvHue()''' 3399 return int() 3400 def darker(self, factor = 200): 3401 '''QColor QColor.darker(int factor = 200)''' 3402 return QColor() 3403 def lighter(self, factor = 150): 3404 '''QColor QColor.lighter(int factor = 150)''' 3405 return QColor() 3406 def setAllowX11ColorNames(self, enabled): 3407 '''static void QColor.setAllowX11ColorNames(bool enabled)''' 3408 def allowX11ColorNames(self): 3409 '''static bool QColor.allowX11ColorNames()''' 3410 return bool() 3411 def isValid(self): 3412 '''bool QColor.isValid()''' 3413 return bool() 3414 def __ne__(self, c): 3415 '''bool QColor.__ne__(QColor c)''' 3416 return bool() 3417 def __eq__(self, c): 3418 '''bool QColor.__eq__(QColor c)''' 3419 return bool() 3420 def dark(self, factor = 200): 3421 '''QColor QColor.dark(int factor = 200)''' 3422 return QColor() 3423 def light(self, factor = 150): 3424 '''QColor QColor.light(int factor = 150)''' 3425 return QColor() 3426 def fromCmykF(self, c, m, y, k, alpha = 1): 3427 '''static QColor QColor.fromCmykF(float c, float m, float y, float k, float alpha = 1)''' 3428 return QColor() 3429 def fromCmyk(self, c, m, y, k, alpha = 255): 3430 '''static QColor QColor.fromCmyk(int c, int m, int y, int k, int alpha = 255)''' 3431 return QColor() 3432 def fromHsvF(self, h, s, v, alpha = 1): 3433 '''static QColor QColor.fromHsvF(float h, float s, float v, float alpha = 1)''' 3434 return QColor() 3435 def fromHsv(self, h, s, v, alpha = 255): 3436 '''static QColor QColor.fromHsv(int h, int s, int v, int alpha = 255)''' 3437 return QColor() 3438 def fromRgbF(self, r, g, b, alpha = 1): 3439 '''static QColor QColor.fromRgbF(float r, float g, float b, float alpha = 1)''' 3440 return QColor() 3441 def fromRgba(self, rgba): 3442 '''static QColor QColor.fromRgba(int rgba)''' 3443 return QColor() 3444 def fromRgb(self, rgb): 3445 '''static QColor QColor.fromRgb(int rgb)''' 3446 return QColor() 3447 def fromRgb(self, r, g, b, alpha = 255): 3448 '''static QColor QColor.fromRgb(int r, int g, int b, int alpha = 255)''' 3449 return QColor() 3450 def convertTo(self, colorSpec): 3451 '''QColor QColor.convertTo(QColor.Spec colorSpec)''' 3452 return QColor() 3453 def toCmyk(self): 3454 '''QColor QColor.toCmyk()''' 3455 return QColor() 3456 def toHsv(self): 3457 '''QColor QColor.toHsv()''' 3458 return QColor() 3459 def toRgb(self): 3460 '''QColor QColor.toRgb()''' 3461 return QColor() 3462 def setCmykF(self, c, m, y, k, alpha = 1): 3463 '''void QColor.setCmykF(float c, float m, float y, float k, float alpha = 1)''' 3464 def getCmykF(self, c, m, y, k, alpha): 3465 '''void QColor.getCmykF(float c, float m, float y, float k, float alpha)''' 3466 def setCmyk(self, c, m, y, k, alpha = 255): 3467 '''void QColor.setCmyk(int c, int m, int y, int k, int alpha = 255)''' 3468 def getCmyk(self, c, m, y, k, alpha): 3469 '''void QColor.getCmyk(int c, int m, int y, int k, int alpha)''' 3470 def blackF(self): 3471 '''float QColor.blackF()''' 3472 return float() 3473 def yellowF(self): 3474 '''float QColor.yellowF()''' 3475 return float() 3476 def magentaF(self): 3477 '''float QColor.magentaF()''' 3478 return float() 3479 def cyanF(self): 3480 '''float QColor.cyanF()''' 3481 return float() 3482 def black(self): 3483 '''int QColor.black()''' 3484 return int() 3485 def yellow(self): 3486 '''int QColor.yellow()''' 3487 return int() 3488 def magenta(self): 3489 '''int QColor.magenta()''' 3490 return int() 3491 def cyan(self): 3492 '''int QColor.cyan()''' 3493 return int() 3494 def setHsvF(self, h, s, v, alpha = 1): 3495 '''void QColor.setHsvF(float h, float s, float v, float alpha = 1)''' 3496 def getHsvF(self, h, s, v, alpha): 3497 '''void QColor.getHsvF(float h, float s, float v, float alpha)''' 3498 def setHsv(self, h, s, v, alpha = 255): 3499 '''void QColor.setHsv(int h, int s, int v, int alpha = 255)''' 3500 def getHsv(self, h, s, v, alpha): 3501 '''void QColor.getHsv(int h, int s, int v, int alpha)''' 3502 def valueF(self): 3503 '''float QColor.valueF()''' 3504 return float() 3505 def saturationF(self): 3506 '''float QColor.saturationF()''' 3507 return float() 3508 def hueF(self): 3509 '''float QColor.hueF()''' 3510 return float() 3511 def value(self): 3512 '''int QColor.value()''' 3513 return int() 3514 def saturation(self): 3515 '''int QColor.saturation()''' 3516 return int() 3517 def hue(self): 3518 '''int QColor.hue()''' 3519 return int() 3520 def rgb(self): 3521 '''int QColor.rgb()''' 3522 return int() 3523 def setRgba(self, rgba): 3524 '''void QColor.setRgba(int rgba)''' 3525 def rgba(self): 3526 '''int QColor.rgba()''' 3527 return int() 3528 def setRgbF(self, r, g, b, alpha = 1): 3529 '''void QColor.setRgbF(float r, float g, float b, float alpha = 1)''' 3530 def getRgbF(self, r, g, b, alpha): 3531 '''void QColor.getRgbF(float r, float g, float b, float alpha)''' 3532 def setRgb(self, r, g, b, alpha = 255): 3533 '''void QColor.setRgb(int r, int g, int b, int alpha = 255)''' 3534 def setRgb(self, rgb): 3535 '''void QColor.setRgb(int rgb)''' 3536 def getRgb(self, r, g, b, alpha): 3537 '''void QColor.getRgb(int r, int g, int b, int alpha)''' 3538 def setBlueF(self, blue): 3539 '''void QColor.setBlueF(float blue)''' 3540 def setGreenF(self, green): 3541 '''void QColor.setGreenF(float green)''' 3542 def setRedF(self, red): 3543 '''void QColor.setRedF(float red)''' 3544 def blueF(self): 3545 '''float QColor.blueF()''' 3546 return float() 3547 def greenF(self): 3548 '''float QColor.greenF()''' 3549 return float() 3550 def redF(self): 3551 '''float QColor.redF()''' 3552 return float() 3553 def setBlue(self, blue): 3554 '''void QColor.setBlue(int blue)''' 3555 def setGreen(self, green): 3556 '''void QColor.setGreen(int green)''' 3557 def setRed(self, red): 3558 '''void QColor.setRed(int red)''' 3559 def blue(self): 3560 '''int QColor.blue()''' 3561 return int() 3562 def green(self): 3563 '''int QColor.green()''' 3564 return int() 3565 def red(self): 3566 '''int QColor.red()''' 3567 return int() 3568 def setAlphaF(self, alpha): 3569 '''void QColor.setAlphaF(float alpha)''' 3570 def alphaF(self): 3571 '''float QColor.alphaF()''' 3572 return float() 3573 def setAlpha(self, alpha): 3574 '''void QColor.setAlpha(int alpha)''' 3575 def alpha(self): 3576 '''int QColor.alpha()''' 3577 return int() 3578 def spec(self): 3579 '''QColor.Spec QColor.spec()''' 3580 return QColor.Spec() 3581 def colorNames(self): 3582 '''static QStringList QColor.colorNames()''' 3583 return QStringList() 3584 def setNamedColor(self, name): 3585 '''void QColor.setNamedColor(QString name)''' 3586 def name(self): 3587 '''QString QColor.name()''' 3588 return QString() 3589 3590 3591 class QPushButton(QAbstractButton): 3592 """""" 3593 def __init__(self, parent = None): 3594 '''void QPushButton.__init__(QWidget parent = None)''' 3595 def __init__(self, text, parent = None): 3596 '''void QPushButton.__init__(QString text, QWidget parent = None)''' 3597 def __init__(self, icon, text, parent = None): 3598 '''void QPushButton.__init__(QIcon icon, QString text, QWidget parent = None)''' 3599 def focusOutEvent(self): 3600 '''QFocusEvent QPushButton.focusOutEvent()''' 3601 return QFocusEvent() 3602 def focusInEvent(self): 3603 '''QFocusEvent QPushButton.focusInEvent()''' 3604 return QFocusEvent() 3605 def keyPressEvent(self): 3606 '''QKeyEvent QPushButton.keyPressEvent()''' 3607 return QKeyEvent() 3608 def paintEvent(self): 3609 '''QPaintEvent QPushButton.paintEvent()''' 3610 return QPaintEvent() 3611 def event(self, e): 3612 '''bool QPushButton.event(QEvent e)''' 3613 return bool() 3614 def initStyleOption(self, option): 3615 '''void QPushButton.initStyleOption(QStyleOptionButton option)''' 3616 def showMenu(self): 3617 '''void QPushButton.showMenu()''' 3618 def isFlat(self): 3619 '''bool QPushButton.isFlat()''' 3620 return bool() 3621 def setFlat(self): 3622 '''bool QPushButton.setFlat()''' 3623 return bool() 3624 def menu(self): 3625 '''QMenu QPushButton.menu()''' 3626 return QMenu() 3627 def setMenu(self, menu): 3628 '''void QPushButton.setMenu(QMenu menu)''' 3629 def setDefault(self): 3630 '''bool QPushButton.setDefault()''' 3631 return bool() 3632 def isDefault(self): 3633 '''bool QPushButton.isDefault()''' 3634 return bool() 3635 def setAutoDefault(self): 3636 '''bool QPushButton.setAutoDefault()''' 3637 return bool() 3638 def autoDefault(self): 3639 '''bool QPushButton.autoDefault()''' 3640 return bool() 3641 def minimumSizeHint(self): 3642 '''QSize QPushButton.minimumSizeHint()''' 3643 return QSize() 3644 def sizeHint(self): 3645 '''QSize QPushButton.sizeHint()''' 3646 return QSize() 3647 3648 3649 class QCommandLinkButton(QPushButton): 3650 """""" 3651 def __init__(self, parent = None): 3652 '''void QCommandLinkButton.__init__(QWidget parent = None)''' 3653 def __init__(self, text, parent = None): 3654 '''void QCommandLinkButton.__init__(QString text, QWidget parent = None)''' 3655 def __init__(self, text, description, parent = None): 3656 '''void QCommandLinkButton.__init__(QString text, QString description, QWidget parent = None)''' 3657 def paintEvent(self): 3658 '''QPaintEvent QCommandLinkButton.paintEvent()''' 3659 return QPaintEvent() 3660 def event(self, e): 3661 '''bool QCommandLinkButton.event(QEvent e)''' 3662 return bool() 3663 def minimumSizeHint(self): 3664 '''QSize QCommandLinkButton.minimumSizeHint()''' 3665 return QSize() 3666 def heightForWidth(self): 3667 '''int QCommandLinkButton.heightForWidth()''' 3668 return int() 3669 def sizeHint(self): 3670 '''QSize QCommandLinkButton.sizeHint()''' 3671 return QSize() 3672 def setDescription(self, description): 3673 '''void QCommandLinkButton.setDescription(QString description)''' 3674 def description(self): 3675 '''QString QCommandLinkButton.description()''' 3676 return QString() 3677 3678 3679 class QBrush(): 3680 """""" 3681 def __init__(self): 3682 '''void QBrush.__init__()''' 3683 def __init__(self, bs): 3684 '''void QBrush.__init__(Qt.BrushStyle bs)''' 3685 def __init__(self, color, style = None): 3686 '''void QBrush.__init__(QColor color, Qt.BrushStyle style = Qt.SolidPattern)''' 3687 def __init__(self, color, style = None): 3688 '''void QBrush.__init__(Qt.GlobalColor color, Qt.BrushStyle style = Qt.SolidPattern)''' 3689 def __init__(self, color, pixmap): 3690 '''void QBrush.__init__(QColor color, QPixmap pixmap)''' 3691 def __init__(self, color, pixmap): 3692 '''void QBrush.__init__(Qt.GlobalColor color, QPixmap pixmap)''' 3693 def __init__(self, pixmap): 3694 '''void QBrush.__init__(QPixmap pixmap)''' 3695 def __init__(self, image): 3696 '''void QBrush.__init__(QImage image)''' 3697 def __init__(self, gradient): 3698 '''void QBrush.__init__(QGradient gradient)''' 3699 def __init__(self, brush): 3700 '''void QBrush.__init__(QBrush brush)''' 3701 def __init__(self, variant): 3702 '''void QBrush.__init__(QVariant variant)''' 3703 def swap(self, other): 3704 '''void QBrush.swap(QBrush other)''' 3705 def transform(self): 3706 '''QTransform QBrush.transform()''' 3707 return QTransform() 3708 def setTransform(self): 3709 '''QTransform QBrush.setTransform()''' 3710 return QTransform() 3711 def textureImage(self): 3712 '''QImage QBrush.textureImage()''' 3713 return QImage() 3714 def setTextureImage(self, image): 3715 '''void QBrush.setTextureImage(QImage image)''' 3716 def matrix(self): 3717 '''QMatrix QBrush.matrix()''' 3718 return QMatrix() 3719 def setMatrix(self, mat): 3720 '''void QBrush.setMatrix(QMatrix mat)''' 3721 def color(self): 3722 '''QColor QBrush.color()''' 3723 return QColor() 3724 def style(self): 3725 '''Qt.BrushStyle QBrush.style()''' 3726 return Qt.BrushStyle() 3727 def __ne__(self, b): 3728 '''bool QBrush.__ne__(QBrush b)''' 3729 return bool() 3730 def __eq__(self, b): 3731 '''bool QBrush.__eq__(QBrush b)''' 3732 return bool() 3733 def isOpaque(self): 3734 '''bool QBrush.isOpaque()''' 3735 return bool() 3736 def gradient(self): 3737 '''QGradient QBrush.gradient()''' 3738 return QGradient() 3739 def setColor(self, color): 3740 '''void QBrush.setColor(QColor color)''' 3741 def setColor(self, acolor): 3742 '''void QBrush.setColor(Qt.GlobalColor acolor)''' 3743 def setTexture(self, pixmap): 3744 '''void QBrush.setTexture(QPixmap pixmap)''' 3745 def texture(self): 3746 '''QPixmap QBrush.texture()''' 3747 return QPixmap() 3748 def setStyle(self): 3749 '''Qt.BrushStyle QBrush.setStyle()''' 3750 return Qt.BrushStyle() 3751 3752 3753 class QGradient(): 3754 """""" 3755 # Enum QGradient.Spread 3756 PadSpread = 0 3757 ReflectSpread = 0 3758 RepeatSpread = 0 3759 3760 # Enum QGradient.Type 3761 LinearGradient = 0 3762 RadialGradient = 0 3763 ConicalGradient = 0 3764 NoGradient = 0 3765 3766 # Enum QGradient.CoordinateMode 3767 LogicalMode = 0 3768 StretchToDeviceMode = 0 3769 ObjectBoundingMode = 0 3770 3771 def __init__(self): 3772 '''void QGradient.__init__()''' 3773 def __init__(self): 3774 '''QGradient QGradient.__init__()''' 3775 return QGradient() 3776 def setCoordinateMode(self, mode): 3777 '''void QGradient.setCoordinateMode(QGradient.CoordinateMode mode)''' 3778 def coordinateMode(self): 3779 '''QGradient.CoordinateMode QGradient.coordinateMode()''' 3780 return QGradient.CoordinateMode() 3781 def setSpread(self, aspread): 3782 '''void QGradient.setSpread(QGradient.Spread aspread)''' 3783 def __ne__(self, other): 3784 '''bool QGradient.__ne__(QGradient other)''' 3785 return bool() 3786 def __eq__(self, gradient): 3787 '''bool QGradient.__eq__(QGradient gradient)''' 3788 return bool() 3789 def stops(self): 3790 '''list-of-tuple-of-float-QColor QGradient.stops()''' 3791 return [tuple-of-float-QColor()] 3792 def setStops(self, stops): 3793 '''void QGradient.setStops(list-of-tuple-of-float-QColor stops)''' 3794 def setColorAt(self, pos, color): 3795 '''void QGradient.setColorAt(float pos, QColor color)''' 3796 def spread(self): 3797 '''QGradient.Spread QGradient.spread()''' 3798 return QGradient.Spread() 3799 def type(self): 3800 '''QGradient.Type QGradient.type()''' 3801 return QGradient.Type() 3802 3803 3804 class QLinearGradient(QGradient): 3805 """""" 3806 def __init__(self): 3807 '''void QLinearGradient.__init__()''' 3808 def __init__(self, start, finalStop): 3809 '''void QLinearGradient.__init__(QPointF start, QPointF finalStop)''' 3810 def __init__(self, xStart, yStart, xFinalStop, yFinalStop): 3811 '''void QLinearGradient.__init__(float xStart, float yStart, float xFinalStop, float yFinalStop)''' 3812 def __init__(self): 3813 '''QLinearGradient QLinearGradient.__init__()''' 3814 return QLinearGradient() 3815 def setFinalStop(self, stop): 3816 '''void QLinearGradient.setFinalStop(QPointF stop)''' 3817 def setFinalStop(self, x, y): 3818 '''void QLinearGradient.setFinalStop(float x, float y)''' 3819 def setStart(self, start): 3820 '''void QLinearGradient.setStart(QPointF start)''' 3821 def setStart(self, x, y): 3822 '''void QLinearGradient.setStart(float x, float y)''' 3823 def finalStop(self): 3824 '''QPointF QLinearGradient.finalStop()''' 3825 return QPointF() 3826 def start(self): 3827 '''QPointF QLinearGradient.start()''' 3828 return QPointF() 3829 3830 3831 class QRadialGradient(QGradient): 3832 """""" 3833 def __init__(self): 3834 '''void QRadialGradient.__init__()''' 3835 def __init__(self, center, radius, focalPoint): 3836 '''void QRadialGradient.__init__(QPointF center, float radius, QPointF focalPoint)''' 3837 def __init__(self, center, centerRadius, focalPoint, focalRadius): 3838 '''void QRadialGradient.__init__(QPointF center, float centerRadius, QPointF focalPoint, float focalRadius)''' 3839 def __init__(self, center, radius): 3840 '''void QRadialGradient.__init__(QPointF center, float radius)''' 3841 def __init__(self, cx, cy, radius, fx, fy): 3842 '''void QRadialGradient.__init__(float cx, float cy, float radius, float fx, float fy)''' 3843 def __init__(self, cx, cy, centerRadius, fx, fy, focalRadius): 3844 '''void QRadialGradient.__init__(float cx, float cy, float centerRadius, float fx, float fy, float focalRadius)''' 3845 def __init__(self, cx, cy, radius): 3846 '''void QRadialGradient.__init__(float cx, float cy, float radius)''' 3847 def __init__(self): 3848 '''QRadialGradient QRadialGradient.__init__()''' 3849 return QRadialGradient() 3850 def setFocalRadius(self, radius): 3851 '''void QRadialGradient.setFocalRadius(float radius)''' 3852 def focalRadius(self): 3853 '''float QRadialGradient.focalRadius()''' 3854 return float() 3855 def setCenterRadius(self, radius): 3856 '''void QRadialGradient.setCenterRadius(float radius)''' 3857 def centerRadius(self): 3858 '''float QRadialGradient.centerRadius()''' 3859 return float() 3860 def setRadius(self, radius): 3861 '''void QRadialGradient.setRadius(float radius)''' 3862 def setFocalPoint(self, focalPoint): 3863 '''void QRadialGradient.setFocalPoint(QPointF focalPoint)''' 3864 def setFocalPoint(self, x, y): 3865 '''void QRadialGradient.setFocalPoint(float x, float y)''' 3866 def setCenter(self, center): 3867 '''void QRadialGradient.setCenter(QPointF center)''' 3868 def setCenter(self, x, y): 3869 '''void QRadialGradient.setCenter(float x, float y)''' 3870 def radius(self): 3871 '''float QRadialGradient.radius()''' 3872 return float() 3873 def focalPoint(self): 3874 '''QPointF QRadialGradient.focalPoint()''' 3875 return QPointF() 3876 def center(self): 3877 '''QPointF QRadialGradient.center()''' 3878 return QPointF() 3879 3880 3881 class QConicalGradient(QGradient): 3882 """""" 3883 def __init__(self): 3884 '''void QConicalGradient.__init__()''' 3885 def __init__(self, center, startAngle): 3886 '''void QConicalGradient.__init__(QPointF center, float startAngle)''' 3887 def __init__(self, cx, cy, startAngle): 3888 '''void QConicalGradient.__init__(float cx, float cy, float startAngle)''' 3889 def __init__(self): 3890 '''QConicalGradient QConicalGradient.__init__()''' 3891 return QConicalGradient() 3892 def setAngle(self, angle): 3893 '''void QConicalGradient.setAngle(float angle)''' 3894 def setCenter(self, center): 3895 '''void QConicalGradient.setCenter(QPointF center)''' 3896 def setCenter(self, x, y): 3897 '''void QConicalGradient.setCenter(float x, float y)''' 3898 def angle(self): 3899 '''float QConicalGradient.angle()''' 3900 return float() 3901 def center(self): 3902 '''QPointF QConicalGradient.center()''' 3903 return QPointF() 3904 3905 3906 class QButtonGroup(QObject): 3907 """""" 3908 def __init__(self, parent = None): 3909 '''void QButtonGroup.__init__(QObject parent = None)''' 3910 buttonReleased = pyqtSignal() # void buttonReleased(QAbstractButton *) - signal 3911 buttonReleased = pyqtSignal() # void buttonReleased(int) - signal 3912 buttonPressed = pyqtSignal() # void buttonPressed(QAbstractButton *) - signal 3913 buttonPressed = pyqtSignal() # void buttonPressed(int) - signal 3914 buttonClicked = pyqtSignal() # void buttonClicked(QAbstractButton *) - signal 3915 buttonClicked = pyqtSignal() # void buttonClicked(int) - signal 3916 def checkedId(self): 3917 '''int QButtonGroup.checkedId()''' 3918 return int() 3919 def id(self, button): 3920 '''int QButtonGroup.id(QAbstractButton button)''' 3921 return int() 3922 def setId(self, button, id): 3923 '''void QButtonGroup.setId(QAbstractButton button, int id)''' 3924 def checkedButton(self): 3925 '''QAbstractButton QButtonGroup.checkedButton()''' 3926 return QAbstractButton() 3927 def button(self, id): 3928 '''QAbstractButton QButtonGroup.button(int id)''' 3929 return QAbstractButton() 3930 def buttons(self): 3931 '''list-of-QAbstractButton QButtonGroup.buttons()''' 3932 return [QAbstractButton()] 3933 def removeButton(self): 3934 '''QAbstractButton QButtonGroup.removeButton()''' 3935 return QAbstractButton() 3936 def addButton(self): 3937 '''QAbstractButton QButtonGroup.addButton()''' 3938 return QAbstractButton() 3939 def addButton(self, id): 3940 '''QAbstractButton QButtonGroup.addButton(int id)''' 3941 return QAbstractButton() 3942 def exclusive(self): 3943 '''bool QButtonGroup.exclusive()''' 3944 return bool() 3945 def setExclusive(self): 3946 '''bool QButtonGroup.setExclusive()''' 3947 return bool() 3948 3949 3950 class QCalendarWidget(QWidget): 3951 """""" 3952 # Enum QCalendarWidget.SelectionMode 3953 NoSelection = 0 3954 SingleSelection = 0 3955 3956 # Enum QCalendarWidget.VerticalHeaderFormat 3957 NoVerticalHeader = 0 3958 ISOWeekNumbers = 0 3959 3960 # Enum QCalendarWidget.HorizontalHeaderFormat 3961 NoHorizontalHeader = 0 3962 SingleLetterDayNames = 0 3963 ShortDayNames = 0 3964 LongDayNames = 0 3965 3966 def __init__(self, parent = None): 3967 '''void QCalendarWidget.__init__(QWidget parent = None)''' 3968 def setNavigationBarVisible(self, visible): 3969 '''void QCalendarWidget.setNavigationBarVisible(bool visible)''' 3970 def setDateEditAcceptDelay(self, delay): 3971 '''void QCalendarWidget.setDateEditAcceptDelay(int delay)''' 3972 def dateEditAcceptDelay(self): 3973 '''int QCalendarWidget.dateEditAcceptDelay()''' 3974 return int() 3975 def setDateEditEnabled(self, enable): 3976 '''void QCalendarWidget.setDateEditEnabled(bool enable)''' 3977 def isDateEditEnabled(self): 3978 '''bool QCalendarWidget.isDateEditEnabled()''' 3979 return bool() 3980 def isNavigationBarVisible(self): 3981 '''bool QCalendarWidget.isNavigationBarVisible()''' 3982 return bool() 3983 selectionChanged = pyqtSignal() # void selectionChanged() - signal 3984 currentPageChanged = pyqtSignal() # void currentPageChanged(int,int) - signal 3985 clicked = pyqtSignal() # void clicked(const QDateamp;) - signal 3986 activated = pyqtSignal() # void activated(const QDateamp;) - signal 3987 def showToday(self): 3988 '''void QCalendarWidget.showToday()''' 3989 def showSelectedDate(self): 3990 '''void QCalendarWidget.showSelectedDate()''' 3991 def showPreviousYear(self): 3992 '''void QCalendarWidget.showPreviousYear()''' 3993 def showPreviousMonth(self): 3994 '''void QCalendarWidget.showPreviousMonth()''' 3995 def showNextYear(self): 3996 '''void QCalendarWidget.showNextYear()''' 3997 def showNextMonth(self): 3998 '''void QCalendarWidget.showNextMonth()''' 3999 def setSelectedDate(self, date): 4000 '''void QCalendarWidget.setSelectedDate(QDate date)''' 4001 def setDateRange(self, min, max): 4002 '''void QCalendarWidget.setDateRange(QDate min, QDate max)''' 4003 def setCurrentPage(self, year, month): 4004 '''void QCalendarWidget.setCurrentPage(int year, int month)''' 4005 def paintCell(self, painter, rect, date): 4006 '''void QCalendarWidget.paintCell(QPainter painter, QRect rect, QDate date)''' 4007 def keyPressEvent(self, event): 4008 '''void QCalendarWidget.keyPressEvent(QKeyEvent event)''' 4009 def resizeEvent(self, event): 4010 '''void QCalendarWidget.resizeEvent(QResizeEvent event)''' 4011 def mousePressEvent(self, event): 4012 '''void QCalendarWidget.mousePressEvent(QMouseEvent event)''' 4013 def eventFilter(self, watched, event): 4014 '''bool QCalendarWidget.eventFilter(QObject watched, QEvent event)''' 4015 return bool() 4016 def event(self, event): 4017 '''bool QCalendarWidget.event(QEvent event)''' 4018 return bool() 4019 def updateCells(self): 4020 '''void QCalendarWidget.updateCells()''' 4021 def updateCell(self, date): 4022 '''void QCalendarWidget.updateCell(QDate date)''' 4023 def setDateTextFormat(self, date, color): 4024 '''void QCalendarWidget.setDateTextFormat(QDate date, QTextCharFormat color)''' 4025 def dateTextFormat(self): 4026 '''dict-of-QDate-QTextCharFormat QCalendarWidget.dateTextFormat()''' 4027 return dict-of-QDate-QTextCharFormat() 4028 def dateTextFormat(self, date): 4029 '''QTextCharFormat QCalendarWidget.dateTextFormat(QDate date)''' 4030 return QTextCharFormat() 4031 def setWeekdayTextFormat(self, dayOfWeek, format): 4032 '''void QCalendarWidget.setWeekdayTextFormat(Qt.DayOfWeek dayOfWeek, QTextCharFormat format)''' 4033 def weekdayTextFormat(self, dayOfWeek): 4034 '''QTextCharFormat QCalendarWidget.weekdayTextFormat(Qt.DayOfWeek dayOfWeek)''' 4035 return QTextCharFormat() 4036 def setHeaderTextFormat(self, format): 4037 '''void QCalendarWidget.setHeaderTextFormat(QTextCharFormat format)''' 4038 def headerTextFormat(self): 4039 '''QTextCharFormat QCalendarWidget.headerTextFormat()''' 4040 return QTextCharFormat() 4041 def setVerticalHeaderFormat(self, format): 4042 '''void QCalendarWidget.setVerticalHeaderFormat(QCalendarWidget.VerticalHeaderFormat format)''' 4043 def verticalHeaderFormat(self): 4044 '''QCalendarWidget.VerticalHeaderFormat QCalendarWidget.verticalHeaderFormat()''' 4045 return QCalendarWidget.VerticalHeaderFormat() 4046 def setHorizontalHeaderFormat(self, format): 4047 '''void QCalendarWidget.setHorizontalHeaderFormat(QCalendarWidget.HorizontalHeaderFormat format)''' 4048 def horizontalHeaderFormat(self): 4049 '''QCalendarWidget.HorizontalHeaderFormat QCalendarWidget.horizontalHeaderFormat()''' 4050 return QCalendarWidget.HorizontalHeaderFormat() 4051 def setSelectionMode(self, mode): 4052 '''void QCalendarWidget.setSelectionMode(QCalendarWidget.SelectionMode mode)''' 4053 def selectionMode(self): 4054 '''QCalendarWidget.SelectionMode QCalendarWidget.selectionMode()''' 4055 return QCalendarWidget.SelectionMode() 4056 def setGridVisible(self, show): 4057 '''void QCalendarWidget.setGridVisible(bool show)''' 4058 def isGridVisible(self): 4059 '''bool QCalendarWidget.isGridVisible()''' 4060 return bool() 4061 def setHeaderVisible(self, show): 4062 '''void QCalendarWidget.setHeaderVisible(bool show)''' 4063 def isHeaderVisible(self): 4064 '''bool QCalendarWidget.isHeaderVisible()''' 4065 return bool() 4066 def setFirstDayOfWeek(self, dayOfWeek): 4067 '''void QCalendarWidget.setFirstDayOfWeek(Qt.DayOfWeek dayOfWeek)''' 4068 def firstDayOfWeek(self): 4069 '''Qt.DayOfWeek QCalendarWidget.firstDayOfWeek()''' 4070 return Qt.DayOfWeek() 4071 def setMaximumDate(self, date): 4072 '''void QCalendarWidget.setMaximumDate(QDate date)''' 4073 def maximumDate(self): 4074 '''QDate QCalendarWidget.maximumDate()''' 4075 return QDate() 4076 def setMinimumDate(self, date): 4077 '''void QCalendarWidget.setMinimumDate(QDate date)''' 4078 def minimumDate(self): 4079 '''QDate QCalendarWidget.minimumDate()''' 4080 return QDate() 4081 def monthShown(self): 4082 '''int QCalendarWidget.monthShown()''' 4083 return int() 4084 def yearShown(self): 4085 '''int QCalendarWidget.yearShown()''' 4086 return int() 4087 def selectedDate(self): 4088 '''QDate QCalendarWidget.selectedDate()''' 4089 return QDate() 4090 def minimumSizeHint(self): 4091 '''QSize QCalendarWidget.minimumSizeHint()''' 4092 return QSize() 4093 def sizeHint(self): 4094 '''QSize QCalendarWidget.sizeHint()''' 4095 return QSize() 4096 4097 4098 class QCheckBox(QAbstractButton): 4099 """""" 4100 def __init__(self, parent = None): 4101 '''void QCheckBox.__init__(QWidget parent = None)''' 4102 def __init__(self, text, parent = None): 4103 '''void QCheckBox.__init__(QString text, QWidget parent = None)''' 4104 def initStyleOption(self, option): 4105 '''void QCheckBox.initStyleOption(QStyleOptionButton option)''' 4106 def mouseMoveEvent(self): 4107 '''QMouseEvent QCheckBox.mouseMoveEvent()''' 4108 return QMouseEvent() 4109 def paintEvent(self): 4110 '''QPaintEvent QCheckBox.paintEvent()''' 4111 return QPaintEvent() 4112 def event(self, e): 4113 '''bool QCheckBox.event(QEvent e)''' 4114 return bool() 4115 def nextCheckState(self): 4116 '''void QCheckBox.nextCheckState()''' 4117 def checkStateSet(self): 4118 '''void QCheckBox.checkStateSet()''' 4119 def hitButton(self, pos): 4120 '''bool QCheckBox.hitButton(QPoint pos)''' 4121 return bool() 4122 stateChanged = pyqtSignal() # void stateChanged(int) - signal 4123 def minimumSizeHint(self): 4124 '''QSize QCheckBox.minimumSizeHint()''' 4125 return QSize() 4126 def setCheckState(self, state): 4127 '''void QCheckBox.setCheckState(Qt.CheckState state)''' 4128 def checkState(self): 4129 '''Qt.CheckState QCheckBox.checkState()''' 4130 return Qt.CheckState() 4131 def isTristate(self): 4132 '''bool QCheckBox.isTristate()''' 4133 return bool() 4134 def setTristate(self, on = True): 4135 '''void QCheckBox.setTristate(bool on = True)''' 4136 def sizeHint(self): 4137 '''QSize QCheckBox.sizeHint()''' 4138 return QSize() 4139 4140 4141 class QClipboard(QObject): 4142 """""" 4143 # Enum QClipboard.Mode 4144 Clipboard = 0 4145 Selection = 0 4146 FindBuffer = 0 4147 4148 def event(self): 4149 '''QEvent QClipboard.event()''' 4150 return QEvent() 4151 def connectNotify(self): 4152 '''SIGNAL() QClipboard.connectNotify()''' 4153 return SIGNAL()() 4154 selectionChanged = pyqtSignal() # void selectionChanged() - signal 4155 findBufferChanged = pyqtSignal() # void findBufferChanged() - signal 4156 dataChanged = pyqtSignal() # void dataChanged() - signal 4157 changed = pyqtSignal() # void changed(QClipboard::Mode) - signal 4158 def setPixmap(self, mode = None): 4159 '''QPixmap QClipboard.setPixmap(QClipboard.Mode mode = QClipboard.Clipboard)''' 4160 return QPixmap() 4161 def setImage(self, mode = None): 4162 '''QImage QClipboard.setImage(QClipboard.Mode mode = QClipboard.Clipboard)''' 4163 return QImage() 4164 def pixmap(self, mode = None): 4165 '''QPixmap QClipboard.pixmap(QClipboard.Mode mode = QClipboard.Clipboard)''' 4166 return QPixmap() 4167 def image(self, mode = None): 4168 '''QImage QClipboard.image(QClipboard.Mode mode = QClipboard.Clipboard)''' 4169 return QImage() 4170 def setMimeData(self, data, mode = None): 4171 '''void QClipboard.setMimeData(QMimeData data, QClipboard.Mode mode = QClipboard.Clipboard)''' 4172 def mimeData(self, mode = None): 4173 '''QMimeData QClipboard.mimeData(QClipboard.Mode mode = QClipboard.Clipboard)''' 4174 return QMimeData() 4175 def setText(self, mode = None): 4176 '''QString QClipboard.setText(QClipboard.Mode mode = QClipboard.Clipboard)''' 4177 return QString() 4178 def text(self, mode = None): 4179 '''QString QClipboard.text(QClipboard.Mode mode = QClipboard.Clipboard)''' 4180 return QString() 4181 def text(self, subtype, mode = None): 4182 '''(QString, QString) QClipboard.text(QString subtype, QClipboard.Mode mode = QClipboard.Clipboard)''' 4183 return (QString, QString)() 4184 def text(self, subtype, mode = None): 4185 '''QString QClipboard.text(QString subtype, QClipboard.Mode mode = QClipboard.Clipboard)''' 4186 return QString() 4187 def ownsSelection(self): 4188 '''bool QClipboard.ownsSelection()''' 4189 return bool() 4190 def ownsFindBuffer(self): 4191 '''bool QClipboard.ownsFindBuffer()''' 4192 return bool() 4193 def ownsClipboard(self): 4194 '''bool QClipboard.ownsClipboard()''' 4195 return bool() 4196 def supportsSelection(self): 4197 '''bool QClipboard.supportsSelection()''' 4198 return bool() 4199 def supportsFindBuffer(self): 4200 '''bool QClipboard.supportsFindBuffer()''' 4201 return bool() 4202 def clear(self, mode = None): 4203 '''void QClipboard.clear(QClipboard.Mode mode = QClipboard.Clipboard)''' 4204 4205 4206 class QColumnView(QAbstractItemView): 4207 """""" 4208 def __init__(self, parent = None): 4209 '''void QColumnView.__init__(QWidget parent = None)''' 4210 def currentChanged(self, current, previous): 4211 '''void QColumnView.currentChanged(QModelIndex current, QModelIndex previous)''' 4212 def rowsInserted(self, parent, start, end): 4213 '''void QColumnView.rowsInserted(QModelIndex parent, int start, int end)''' 4214 def scrollContentsBy(self, dx, dy): 4215 '''void QColumnView.scrollContentsBy(int dx, int dy)''' 4216 def verticalOffset(self): 4217 '''int QColumnView.verticalOffset()''' 4218 return int() 4219 def horizontalOffset(self): 4220 '''int QColumnView.horizontalOffset()''' 4221 return int() 4222 def visualRegionForSelection(self, selection): 4223 '''QRegion QColumnView.visualRegionForSelection(QItemSelection selection)''' 4224 return QRegion() 4225 def setSelection(self, rect, command): 4226 '''void QColumnView.setSelection(QRect rect, QItemSelectionModel.SelectionFlags command)''' 4227 def resizeEvent(self, event): 4228 '''void QColumnView.resizeEvent(QResizeEvent event)''' 4229 def moveCursor(self, cursorAction, modifiers): 4230 '''QModelIndex QColumnView.moveCursor(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers)''' 4231 return QModelIndex() 4232 def isIndexHidden(self, index): 4233 '''bool QColumnView.isIndexHidden(QModelIndex index)''' 4234 return bool() 4235 def initializeColumn(self, column): 4236 '''void QColumnView.initializeColumn(QAbstractItemView column)''' 4237 def createColumn(self, rootIndex): 4238 '''QAbstractItemView QColumnView.createColumn(QModelIndex rootIndex)''' 4239 return QAbstractItemView() 4240 updatePreviewWidget = pyqtSignal() # void updatePreviewWidget(const QModelIndexamp;) - signal 4241 def selectAll(self): 4242 '''void QColumnView.selectAll()''' 4243 def setRootIndex(self, index): 4244 '''void QColumnView.setRootIndex(QModelIndex index)''' 4245 def setSelectionModel(self, selectionModel): 4246 '''void QColumnView.setSelectionModel(QItemSelectionModel selectionModel)''' 4247 def setModel(self, model): 4248 '''void QColumnView.setModel(QAbstractItemModel model)''' 4249 def visualRect(self, index): 4250 '''QRect QColumnView.visualRect(QModelIndex index)''' 4251 return QRect() 4252 def sizeHint(self): 4253 '''QSize QColumnView.sizeHint()''' 4254 return QSize() 4255 def scrollTo(self, index, hint = None): 4256 '''void QColumnView.scrollTo(QModelIndex index, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 4257 def indexAt(self, point): 4258 '''QModelIndex QColumnView.indexAt(QPoint point)''' 4259 return QModelIndex() 4260 def setResizeGripsVisible(self, visible): 4261 '''void QColumnView.setResizeGripsVisible(bool visible)''' 4262 def setPreviewWidget(self, widget): 4263 '''void QColumnView.setPreviewWidget(QWidget widget)''' 4264 def setColumnWidths(self, list): 4265 '''void QColumnView.setColumnWidths(list-of-int list)''' 4266 def resizeGripsVisible(self): 4267 '''bool QColumnView.resizeGripsVisible()''' 4268 return bool() 4269 def previewWidget(self): 4270 '''QWidget QColumnView.previewWidget()''' 4271 return QWidget() 4272 def columnWidths(self): 4273 '''list-of-int QColumnView.columnWidths()''' 4274 return [int()] 4275 4276 4277 class QColorDialog(QDialog): 4278 """""" 4279 # Enum QColorDialog.ColorDialogOption 4280 ShowAlphaChannel = 0 4281 NoButtons = 0 4282 DontUseNativeDialog = 0 4283 4284 def __init__(self, parent = None): 4285 '''void QColorDialog.__init__(QWidget parent = None)''' 4286 def __init__(self, initial, parent = None): 4287 '''void QColorDialog.__init__(QColor initial, QWidget parent = None)''' 4288 def setVisible(self, visible): 4289 '''void QColorDialog.setVisible(bool visible)''' 4290 def open(self): 4291 '''void QColorDialog.open()''' 4292 def open(self, receiver, member): 4293 '''void QColorDialog.open(QObject receiver, SLOT() member)''' 4294 def open(self, receiver): 4295 '''void QColorDialog.open(callable receiver)''' 4296 def options(self): 4297 '''QColorDialog.ColorDialogOptions QColorDialog.options()''' 4298 return QColorDialog.ColorDialogOptions() 4299 def setOptions(self, options): 4300 '''void QColorDialog.setOptions(QColorDialog.ColorDialogOptions options)''' 4301 def testOption(self, option): 4302 '''bool QColorDialog.testOption(QColorDialog.ColorDialogOption option)''' 4303 return bool() 4304 def setOption(self, option, on = True): 4305 '''void QColorDialog.setOption(QColorDialog.ColorDialogOption option, bool on = True)''' 4306 def selectedColor(self): 4307 '''QColor QColorDialog.selectedColor()''' 4308 return QColor() 4309 def currentColor(self): 4310 '''QColor QColorDialog.currentColor()''' 4311 return QColor() 4312 def setCurrentColor(self, color): 4313 '''void QColorDialog.setCurrentColor(QColor color)''' 4314 def done(self, result): 4315 '''void QColorDialog.done(int result)''' 4316 def changeEvent(self, e): 4317 '''void QColorDialog.changeEvent(QEvent e)''' 4318 currentColorChanged = pyqtSignal() # void currentColorChanged(const QColoramp;) - signal 4319 colorSelected = pyqtSignal() # void colorSelected(const QColoramp;) - signal 4320 def setStandardColor(self): 4321 '''static int QColorDialog.setStandardColor()''' 4322 return int() 4323 def setCustomColor(self): 4324 '''static int QColorDialog.setCustomColor()''' 4325 return int() 4326 def customColor(self): 4327 '''static int QColorDialog.customColor()''' 4328 return int() 4329 def customCount(self): 4330 '''static int QColorDialog.customCount()''' 4331 return int() 4332 def getRgba(self, initial = 4294967295, ok = None, parent = None): 4333 '''static int QColorDialog.getRgba(int initial = 4294967295, bool ok, QWidget parent = None)''' 4334 return int() 4335 def getColor(self, initial = None, parent = None): 4336 '''static QColor QColorDialog.getColor(QColor initial = Qt.white, QWidget parent = None)''' 4337 return QColor() 4338 def getColor(self, initial, parent, title, options = 0): 4339 '''static QColor QColorDialog.getColor(QColor initial, QWidget parent, QString title, QColorDialog.ColorDialogOptions options = 0)''' 4340 return QColor() 4341 class ColorDialogOptions(): 4342 """""" 4343 def __init__(self): 4344 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__init__()''' 4345 return QColorDialog.ColorDialogOptions() 4346 def __init__(self): 4347 '''int QColorDialog.ColorDialogOptions.__init__()''' 4348 return int() 4349 def __init__(self): 4350 '''void QColorDialog.ColorDialogOptions.__init__()''' 4351 def __bool__(self): 4352 '''int QColorDialog.ColorDialogOptions.__bool__()''' 4353 return int() 4354 def __ne__(self, f): 4355 '''bool QColorDialog.ColorDialogOptions.__ne__(QColorDialog.ColorDialogOptions f)''' 4356 return bool() 4357 def __eq__(self, f): 4358 '''bool QColorDialog.ColorDialogOptions.__eq__(QColorDialog.ColorDialogOptions f)''' 4359 return bool() 4360 def __invert__(self): 4361 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__invert__()''' 4362 return QColorDialog.ColorDialogOptions() 4363 def __and__(self, mask): 4364 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__and__(int mask)''' 4365 return QColorDialog.ColorDialogOptions() 4366 def __xor__(self, f): 4367 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__xor__(QColorDialog.ColorDialogOptions f)''' 4368 return QColorDialog.ColorDialogOptions() 4369 def __xor__(self, f): 4370 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__xor__(int f)''' 4371 return QColorDialog.ColorDialogOptions() 4372 def __or__(self, f): 4373 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__or__(QColorDialog.ColorDialogOptions f)''' 4374 return QColorDialog.ColorDialogOptions() 4375 def __or__(self, f): 4376 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__or__(int f)''' 4377 return QColorDialog.ColorDialogOptions() 4378 def __int__(self): 4379 '''int QColorDialog.ColorDialogOptions.__int__()''' 4380 return int() 4381 def __ixor__(self, f): 4382 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__ixor__(QColorDialog.ColorDialogOptions f)''' 4383 return QColorDialog.ColorDialogOptions() 4384 def __ior__(self, f): 4385 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__ior__(QColorDialog.ColorDialogOptions f)''' 4386 return QColorDialog.ColorDialogOptions() 4387 def __iand__(self, mask): 4388 '''QColorDialog.ColorDialogOptions QColorDialog.ColorDialogOptions.__iand__(int mask)''' 4389 return QColorDialog.ColorDialogOptions() 4390 4391 4392 class QComboBox(QWidget): 4393 """""" 4394 # Enum QComboBox.SizeAdjustPolicy 4395 AdjustToContents = 0 4396 AdjustToContentsOnFirstShow = 0 4397 AdjustToMinimumContentsLength = 0 4398 AdjustToMinimumContentsLengthWithIcon = 0 4399 4400 # Enum QComboBox.InsertPolicy 4401 NoInsert = 0 4402 InsertAtTop = 0 4403 InsertAtCurrent = 0 4404 InsertAtBottom = 0 4405 InsertAfterCurrent = 0 4406 InsertBeforeCurrent = 0 4407 InsertAlphabetically = 0 4408 4409 def __init__(self, parent = None): 4410 '''void QComboBox.__init__(QWidget parent = None)''' 4411 def inputMethodQuery(self): 4412 '''Qt.InputMethodQuery QComboBox.inputMethodQuery()''' 4413 return Qt.InputMethodQuery() 4414 def inputMethodEvent(self): 4415 '''QInputMethodEvent QComboBox.inputMethodEvent()''' 4416 return QInputMethodEvent() 4417 def contextMenuEvent(self, e): 4418 '''void QComboBox.contextMenuEvent(QContextMenuEvent e)''' 4419 def wheelEvent(self, e): 4420 '''void QComboBox.wheelEvent(QWheelEvent e)''' 4421 def keyReleaseEvent(self, e): 4422 '''void QComboBox.keyReleaseEvent(QKeyEvent e)''' 4423 def keyPressEvent(self, e): 4424 '''void QComboBox.keyPressEvent(QKeyEvent e)''' 4425 def mouseReleaseEvent(self, e): 4426 '''void QComboBox.mouseReleaseEvent(QMouseEvent e)''' 4427 def mousePressEvent(self, e): 4428 '''void QComboBox.mousePressEvent(QMouseEvent e)''' 4429 def hideEvent(self, e): 4430 '''void QComboBox.hideEvent(QHideEvent e)''' 4431 def showEvent(self, e): 4432 '''void QComboBox.showEvent(QShowEvent e)''' 4433 def paintEvent(self, e): 4434 '''void QComboBox.paintEvent(QPaintEvent e)''' 4435 def resizeEvent(self, e): 4436 '''void QComboBox.resizeEvent(QResizeEvent e)''' 4437 def changeEvent(self, e): 4438 '''void QComboBox.changeEvent(QEvent e)''' 4439 def focusOutEvent(self, e): 4440 '''void QComboBox.focusOutEvent(QFocusEvent e)''' 4441 def focusInEvent(self, e): 4442 '''void QComboBox.focusInEvent(QFocusEvent e)''' 4443 def initStyleOption(self, option): 4444 '''void QComboBox.initStyleOption(QStyleOptionComboBox option)''' 4445 highlighted = pyqtSignal() # void highlighted(int) - signal 4446 highlighted = pyqtSignal() # void highlighted(const QStringamp;) - signal 4447 currentIndexChanged = pyqtSignal() # void currentIndexChanged(int) - signal 4448 currentIndexChanged = pyqtSignal() # void currentIndexChanged(const QStringamp;) - signal 4449 activated = pyqtSignal() # void activated(int) - signal 4450 activated = pyqtSignal() # void activated(const QStringamp;) - signal 4451 editTextChanged = pyqtSignal() # void editTextChanged(const QStringamp;) - signal 4452 def setEditText(self, text): 4453 '''void QComboBox.setEditText(QString text)''' 4454 def clearEditText(self): 4455 '''void QComboBox.clearEditText()''' 4456 def clear(self): 4457 '''void QComboBox.clear()''' 4458 def insertSeparator(self, index): 4459 '''void QComboBox.insertSeparator(int index)''' 4460 def completer(self): 4461 '''QCompleter QComboBox.completer()''' 4462 return QCompleter() 4463 def setCompleter(self, c): 4464 '''void QComboBox.setCompleter(QCompleter c)''' 4465 def event(self, event): 4466 '''bool QComboBox.event(QEvent event)''' 4467 return bool() 4468 def hidePopup(self): 4469 '''void QComboBox.hidePopup()''' 4470 def showPopup(self): 4471 '''void QComboBox.showPopup()''' 4472 def minimumSizeHint(self): 4473 '''QSize QComboBox.minimumSizeHint()''' 4474 return QSize() 4475 def sizeHint(self): 4476 '''QSize QComboBox.sizeHint()''' 4477 return QSize() 4478 def setView(self, itemView): 4479 '''void QComboBox.setView(QAbstractItemView itemView)''' 4480 def view(self): 4481 '''QAbstractItemView QComboBox.view()''' 4482 return QAbstractItemView() 4483 def setItemData(self, index, value, role = None): 4484 '''void QComboBox.setItemData(int index, QVariant value, int role = Qt.UserRole)''' 4485 def setItemIcon(self, index, icon): 4486 '''void QComboBox.setItemIcon(int index, QIcon icon)''' 4487 def setItemText(self, index, text): 4488 '''void QComboBox.setItemText(int index, QString text)''' 4489 def removeItem(self, index): 4490 '''void QComboBox.removeItem(int index)''' 4491 def insertItems(self, index, texts): 4492 '''void QComboBox.insertItems(int index, QStringList texts)''' 4493 def insertItem(self, index, text, userData = QVariant()): 4494 '''void QComboBox.insertItem(int index, QString text, QVariant userData = QVariant())''' 4495 def insertItem(self, index, icon, text, userData = QVariant()): 4496 '''void QComboBox.insertItem(int index, QIcon icon, QString text, QVariant userData = QVariant())''' 4497 def addItem(self, text, userData = QVariant()): 4498 '''void QComboBox.addItem(QString text, QVariant userData = QVariant())''' 4499 def addItem(self, icon, text, userData = QVariant()): 4500 '''void QComboBox.addItem(QIcon icon, QString text, QVariant userData = QVariant())''' 4501 def addItems(self, texts): 4502 '''void QComboBox.addItems(QStringList texts)''' 4503 def itemData(self, index, role = None): 4504 '''QVariant QComboBox.itemData(int index, int role = Qt.UserRole)''' 4505 return QVariant() 4506 def itemIcon(self, index): 4507 '''QIcon QComboBox.itemIcon(int index)''' 4508 return QIcon() 4509 def itemText(self, index): 4510 '''QString QComboBox.itemText(int index)''' 4511 return QString() 4512 def currentText(self): 4513 '''QString QComboBox.currentText()''' 4514 return QString() 4515 def setCurrentIndex(self, index): 4516 '''void QComboBox.setCurrentIndex(int index)''' 4517 def currentIndex(self): 4518 '''int QComboBox.currentIndex()''' 4519 return int() 4520 def setModelColumn(self, visibleColumn): 4521 '''void QComboBox.setModelColumn(int visibleColumn)''' 4522 def modelColumn(self): 4523 '''int QComboBox.modelColumn()''' 4524 return int() 4525 def setRootModelIndex(self, index): 4526 '''void QComboBox.setRootModelIndex(QModelIndex index)''' 4527 def rootModelIndex(self): 4528 '''QModelIndex QComboBox.rootModelIndex()''' 4529 return QModelIndex() 4530 def setModel(self, model): 4531 '''void QComboBox.setModel(QAbstractItemModel model)''' 4532 def model(self): 4533 '''QAbstractItemModel QComboBox.model()''' 4534 return QAbstractItemModel() 4535 def setItemDelegate(self, delegate): 4536 '''void QComboBox.setItemDelegate(QAbstractItemDelegate delegate)''' 4537 def itemDelegate(self): 4538 '''QAbstractItemDelegate QComboBox.itemDelegate()''' 4539 return QAbstractItemDelegate() 4540 def validator(self): 4541 '''QValidator QComboBox.validator()''' 4542 return QValidator() 4543 def setValidator(self, v): 4544 '''void QComboBox.setValidator(QValidator v)''' 4545 def lineEdit(self): 4546 '''QLineEdit QComboBox.lineEdit()''' 4547 return QLineEdit() 4548 def setLineEdit(self, edit): 4549 '''void QComboBox.setLineEdit(QLineEdit edit)''' 4550 def setEditable(self, editable): 4551 '''void QComboBox.setEditable(bool editable)''' 4552 def isEditable(self): 4553 '''bool QComboBox.isEditable()''' 4554 return bool() 4555 def setIconSize(self, size): 4556 '''void QComboBox.setIconSize(QSize size)''' 4557 def iconSize(self): 4558 '''QSize QComboBox.iconSize()''' 4559 return QSize() 4560 def setMinimumContentsLength(self, characters): 4561 '''void QComboBox.setMinimumContentsLength(int characters)''' 4562 def minimumContentsLength(self): 4563 '''int QComboBox.minimumContentsLength()''' 4564 return int() 4565 def setSizeAdjustPolicy(self, policy): 4566 '''void QComboBox.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy policy)''' 4567 def sizeAdjustPolicy(self): 4568 '''QComboBox.SizeAdjustPolicy QComboBox.sizeAdjustPolicy()''' 4569 return QComboBox.SizeAdjustPolicy() 4570 def setInsertPolicy(self, policy): 4571 '''void QComboBox.setInsertPolicy(QComboBox.InsertPolicy policy)''' 4572 def insertPolicy(self): 4573 '''QComboBox.InsertPolicy QComboBox.insertPolicy()''' 4574 return QComboBox.InsertPolicy() 4575 def findData(self, data, role = None, flags = None): 4576 '''int QComboBox.findData(QVariant data, int role = Qt.UserRole, Qt.MatchFlags flags = Qt.MatchExactly|Qt.MatchCaseSensitive)''' 4577 return int() 4578 def findText(self, text, flags = None): 4579 '''int QComboBox.findText(QString text, Qt.MatchFlags flags = Qt.MatchExactly|Qt.MatchCaseSensitive)''' 4580 return int() 4581 def hasFrame(self): 4582 '''bool QComboBox.hasFrame()''' 4583 return bool() 4584 def setFrame(self): 4585 '''bool QComboBox.setFrame()''' 4586 return bool() 4587 def setDuplicatesEnabled(self, enable): 4588 '''void QComboBox.setDuplicatesEnabled(bool enable)''' 4589 def duplicatesEnabled(self): 4590 '''bool QComboBox.duplicatesEnabled()''' 4591 return bool() 4592 def setAutoCompletionCaseSensitivity(self, sensitivity): 4593 '''void QComboBox.setAutoCompletionCaseSensitivity(Qt.CaseSensitivity sensitivity)''' 4594 def autoCompletionCaseSensitivity(self): 4595 '''Qt.CaseSensitivity QComboBox.autoCompletionCaseSensitivity()''' 4596 return Qt.CaseSensitivity() 4597 def setAutoCompletion(self, enable): 4598 '''void QComboBox.setAutoCompletion(bool enable)''' 4599 def autoCompletion(self): 4600 '''bool QComboBox.autoCompletion()''' 4601 return bool() 4602 def maxCount(self): 4603 '''int QComboBox.maxCount()''' 4604 return int() 4605 def setMaxCount(self, max): 4606 '''void QComboBox.setMaxCount(int max)''' 4607 def __len__(self): 4608 '''None QComboBox.__len__()''' 4609 return None() 4610 def count(self): 4611 '''int QComboBox.count()''' 4612 return int() 4613 def setMaxVisibleItems(self, maxItems): 4614 '''void QComboBox.setMaxVisibleItems(int maxItems)''' 4615 def maxVisibleItems(self): 4616 '''int QComboBox.maxVisibleItems()''' 4617 return int() 4618 4619 4620 class QStyle(QObject): 4621 """""" 4622 # Enum QStyle.RequestSoftwareInputPanel 4623 RSIP_OnMouseClickAndAlreadyFocused = 0 4624 RSIP_OnMouseClick = 0 4625 4626 # Enum QStyle.StandardPixmap 4627 SP_TitleBarMenuButton = 0 4628 SP_TitleBarMinButton = 0 4629 SP_TitleBarMaxButton = 0 4630 SP_TitleBarCloseButton = 0 4631 SP_TitleBarNormalButton = 0 4632 SP_TitleBarShadeButton = 0 4633 SP_TitleBarUnshadeButton = 0 4634 SP_TitleBarContextHelpButton = 0 4635 SP_DockWidgetCloseButton = 0 4636 SP_MessageBoxInformation = 0 4637 SP_MessageBoxWarning = 0 4638 SP_MessageBoxCritical = 0 4639 SP_MessageBoxQuestion = 0 4640 SP_DesktopIcon = 0 4641 SP_TrashIcon = 0 4642 SP_ComputerIcon = 0 4643 SP_DriveFDIcon = 0 4644 SP_DriveHDIcon = 0 4645 SP_DriveCDIcon = 0 4646 SP_DriveDVDIcon = 0 4647 SP_DriveNetIcon = 0 4648 SP_DirOpenIcon = 0 4649 SP_DirClosedIcon = 0 4650 SP_DirLinkIcon = 0 4651 SP_FileIcon = 0 4652 SP_FileLinkIcon = 0 4653 SP_ToolBarHorizontalExtensionButton = 0 4654 SP_ToolBarVerticalExtensionButton = 0 4655 SP_FileDialogStart = 0 4656 SP_FileDialogEnd = 0 4657 SP_FileDialogToParent = 0 4658 SP_FileDialogNewFolder = 0 4659 SP_FileDialogDetailedView = 0 4660 SP_FileDialogInfoView = 0 4661 SP_FileDialogContentsView = 0 4662 SP_FileDialogListView = 0 4663 SP_FileDialogBack = 0 4664 SP_DirIcon = 0 4665 SP_DialogOkButton = 0 4666 SP_DialogCancelButton = 0 4667 SP_DialogHelpButton = 0 4668 SP_DialogOpenButton = 0 4669 SP_DialogSaveButton = 0 4670 SP_DialogCloseButton = 0 4671 SP_DialogApplyButton = 0 4672 SP_DialogResetButton = 0 4673 SP_DialogDiscardButton = 0 4674 SP_DialogYesButton = 0 4675 SP_DialogNoButton = 0 4676 SP_ArrowUp = 0 4677 SP_ArrowDown = 0 4678 SP_ArrowLeft = 0 4679 SP_ArrowRight = 0 4680 SP_ArrowBack = 0 4681 SP_ArrowForward = 0 4682 SP_DirHomeIcon = 0 4683 SP_CommandLink = 0 4684 SP_VistaShield = 0 4685 SP_BrowserReload = 0 4686 SP_BrowserStop = 0 4687 SP_MediaPlay = 0 4688 SP_MediaStop = 0 4689 SP_MediaPause = 0 4690 SP_MediaSkipForward = 0 4691 SP_MediaSkipBackward = 0 4692 SP_MediaSeekForward = 0 4693 SP_MediaSeekBackward = 0 4694 SP_MediaVolume = 0 4695 SP_MediaVolumeMuted = 0 4696 SP_CustomBase = 0 4697 4698 # Enum QStyle.StyleHint 4699 SH_EtchDisabledText = 0 4700 SH_DitherDisabledText = 0 4701 SH_ScrollBar_MiddleClickAbsolutePosition = 0 4702 SH_ScrollBar_ScrollWhenPointerLeavesControl = 0 4703 SH_TabBar_SelectMouseType = 0 4704 SH_TabBar_Alignment = 0 4705 SH_Header_ArrowAlignment = 0 4706 SH_Slider_SnapToValue = 0 4707 SH_Slider_SloppyKeyEvents = 0 4708 SH_ProgressDialog_CenterCancelButton = 0 4709 SH_ProgressDialog_TextLabelAlignment = 0 4710 SH_PrintDialog_RightAlignButtons = 0 4711 SH_MainWindow_SpaceBelowMenuBar = 0 4712 SH_FontDialog_SelectAssociatedText = 0 4713 SH_Menu_AllowActiveAndDisabled = 0 4714 SH_Menu_SpaceActivatesItem = 0 4715 SH_Menu_SubMenuPopupDelay = 0 4716 SH_ScrollView_FrameOnlyAroundContents = 0 4717 SH_MenuBar_AltKeyNavigation = 0 4718 SH_ComboBox_ListMouseTracking = 0 4719 SH_Menu_MouseTracking = 0 4720 SH_MenuBar_MouseTracking = 0 4721 SH_ItemView_ChangeHighlightOnFocus = 0 4722 SH_Widget_ShareActivation = 0 4723 SH_Workspace_FillSpaceOnMaximize = 0 4724 SH_ComboBox_Popup = 0 4725 SH_TitleBar_NoBorder = 0 4726 SH_ScrollBar_StopMouseOverSlider = 0 4727 SH_BlinkCursorWhenTextSelected = 0 4728 SH_RichText_FullWidthSelection = 0 4729 SH_Menu_Scrollable = 0 4730 SH_GroupBox_TextLabelVerticalAlignment = 0 4731 SH_GroupBox_TextLabelColor = 0 4732 SH_Menu_SloppySubMenus = 0 4733 SH_Table_GridLineColor = 0 4734 SH_LineEdit_PasswordCharacter = 0 4735 SH_DialogButtons_DefaultButton = 0 4736 SH_ToolBox_SelectedPageTitleBold = 0 4737 SH_TabBar_PreferNoArrows = 0 4738 SH_ScrollBar_LeftClickAbsolutePosition = 0 4739 SH_Q3ListViewExpand_SelectMouseType = 0 4740 SH_UnderlineShortcut = 0 4741 SH_SpinBox_AnimateButton = 0 4742 SH_SpinBox_KeyPressAutoRepeatRate = 0 4743 SH_SpinBox_ClickAutoRepeatRate = 0 4744 SH_Menu_FillScreenWithScroll = 0 4745 SH_ToolTipLabel_Opacity = 0 4746 SH_DrawMenuBarSeparator = 0 4747 SH_TitleBar_ModifyNotification = 0 4748 SH_Button_FocusPolicy = 0 4749 SH_MenuBar_DismissOnSecondClick = 0 4750 SH_MessageBox_UseBorderForButtonSpacing = 0 4751 SH_TitleBar_AutoRaise = 0 4752 SH_ToolButton_PopupDelay = 0 4753 SH_FocusFrame_Mask = 0 4754 SH_RubberBand_Mask = 0 4755 SH_WindowFrame_Mask = 0 4756 SH_SpinControls_DisableOnBounds = 0 4757 SH_Dial_BackgroundRole = 0 4758 SH_ComboBox_LayoutDirection = 0 4759 SH_ItemView_EllipsisLocation = 0 4760 SH_ItemView_ShowDecorationSelected = 0 4761 SH_ItemView_ActivateItemOnSingleClick = 0 4762 SH_ScrollBar_ContextMenu = 0 4763 SH_ScrollBar_RollBetweenButtons = 0 4764 SH_Slider_StopMouseOverSlider = 0 4765 SH_Slider_AbsoluteSetButtons = 0 4766 SH_Slider_PageSetButtons = 0 4767 SH_Menu_KeyboardSearch = 0 4768 SH_TabBar_ElideMode = 0 4769 SH_DialogButtonLayout = 0 4770 SH_ComboBox_PopupFrameStyle = 0 4771 SH_MessageBox_TextInteractionFlags = 0 4772 SH_DialogButtonBox_ButtonsHaveIcons = 0 4773 SH_SpellCheckUnderlineStyle = 0 4774 SH_MessageBox_CenterButtons = 0 4775 SH_Menu_SelectionWrap = 0 4776 SH_ItemView_MovementWithoutUpdatingSelection = 0 4777 SH_ToolTip_Mask = 0 4778 SH_FocusFrame_AboveWidget = 0 4779 SH_TextControl_FocusIndicatorTextCharFormat = 0 4780 SH_WizardStyle = 0 4781 SH_ItemView_ArrowKeysNavigateIntoChildren = 0 4782 SH_Menu_Mask = 0 4783 SH_Menu_FlashTriggeredItem = 0 4784 SH_Menu_FadeOutOnHide = 0 4785 SH_SpinBox_ClickAutoRepeatThreshold = 0 4786 SH_ItemView_PaintAlternatingRowColorsForEmptyArea = 0 4787 SH_FormLayoutWrapPolicy = 0 4788 SH_TabWidget_DefaultTabPosition = 0 4789 SH_ToolBar_Movable = 0 4790 SH_FormLayoutFieldGrowthPolicy = 0 4791 SH_FormLayoutFormAlignment = 0 4792 SH_FormLayoutLabelAlignment = 0 4793 SH_ItemView_DrawDelegateFrame = 0 4794 SH_TabBar_CloseButtonPosition = 0 4795 SH_DockWidget_ButtonsHaveFrame = 0 4796 SH_ToolButtonStyle = 0 4797 SH_RequestSoftwareInputPanel = 0 4798 SH_CustomBase = 0 4799 4800 # Enum QStyle.ContentsType 4801 CT_PushButton = 0 4802 CT_CheckBox = 0 4803 CT_RadioButton = 0 4804 CT_ToolButton = 0 4805 CT_ComboBox = 0 4806 CT_Splitter = 0 4807 CT_Q3DockWindow = 0 4808 CT_ProgressBar = 0 4809 CT_MenuItem = 0 4810 CT_MenuBarItem = 0 4811 CT_MenuBar = 0 4812 CT_Menu = 0 4813 CT_TabBarTab = 0 4814 CT_Slider = 0 4815 CT_ScrollBar = 0 4816 CT_Q3Header = 0 4817 CT_LineEdit = 0 4818 CT_SpinBox = 0 4819 CT_SizeGrip = 0 4820 CT_TabWidget = 0 4821 CT_DialogButtons = 0 4822 CT_HeaderSection = 0 4823 CT_GroupBox = 0 4824 CT_MdiControls = 0 4825 CT_ItemViewItem = 0 4826 CT_CustomBase = 0 4827 4828 # Enum QStyle.PixelMetric 4829 PM_ButtonMargin = 0 4830 PM_ButtonDefaultIndicator = 0 4831 PM_MenuButtonIndicator = 0 4832 PM_ButtonShiftHorizontal = 0 4833 PM_ButtonShiftVertical = 0 4834 PM_DefaultFrameWidth = 0 4835 PM_SpinBoxFrameWidth = 0 4836 PM_ComboBoxFrameWidth = 0 4837 PM_MaximumDragDistance = 0 4838 PM_ScrollBarExtent = 0 4839 PM_ScrollBarSliderMin = 0 4840 PM_SliderThickness = 0 4841 PM_SliderControlThickness = 0 4842 PM_SliderLength = 0 4843 PM_SliderTickmarkOffset = 0 4844 PM_SliderSpaceAvailable = 0 4845 PM_DockWidgetSeparatorExtent = 0 4846 PM_DockWidgetHandleExtent = 0 4847 PM_DockWidgetFrameWidth = 0 4848 PM_TabBarTabOverlap = 0 4849 PM_TabBarTabHSpace = 0 4850 PM_TabBarTabVSpace = 0 4851 PM_TabBarBaseHeight = 0 4852 PM_TabBarBaseOverlap = 0 4853 PM_ProgressBarChunkWidth = 0 4854 PM_SplitterWidth = 0 4855 PM_TitleBarHeight = 0 4856 PM_MenuScrollerHeight = 0 4857 PM_MenuHMargin = 0 4858 PM_MenuVMargin = 0 4859 PM_MenuPanelWidth = 0 4860 PM_MenuTearoffHeight = 0 4861 PM_MenuDesktopFrameWidth = 0 4862 PM_MenuBarPanelWidth = 0 4863 PM_MenuBarItemSpacing = 0 4864 PM_MenuBarVMargin = 0 4865 PM_MenuBarHMargin = 0 4866 PM_IndicatorWidth = 0 4867 PM_IndicatorHeight = 0 4868 PM_ExclusiveIndicatorWidth = 0 4869 PM_ExclusiveIndicatorHeight = 0 4870 PM_CheckListButtonSize = 0 4871 PM_CheckListControllerSize = 0 4872 PM_DialogButtonsSeparator = 0 4873 PM_DialogButtonsButtonWidth = 0 4874 PM_DialogButtonsButtonHeight = 0 4875 PM_MdiSubWindowFrameWidth = 0 4876 PM_MDIFrameWidth = 0 4877 PM_MdiSubWindowMinimizedWidth = 0 4878 PM_MDIMinimizedWidth = 0 4879 PM_HeaderMargin = 0 4880 PM_HeaderMarkSize = 0 4881 PM_HeaderGripMargin = 0 4882 PM_TabBarTabShiftHorizontal = 0 4883 PM_TabBarTabShiftVertical = 0 4884 PM_TabBarScrollButtonWidth = 0 4885 PM_ToolBarFrameWidth = 0 4886 PM_ToolBarHandleExtent = 0 4887 PM_ToolBarItemSpacing = 0 4888 PM_ToolBarItemMargin = 0 4889 PM_ToolBarSeparatorExtent = 0 4890 PM_ToolBarExtensionExtent = 0 4891 PM_SpinBoxSliderHeight = 0 4892 PM_DefaultTopLevelMargin = 0 4893 PM_DefaultChildMargin = 0 4894 PM_DefaultLayoutSpacing = 0 4895 PM_ToolBarIconSize = 0 4896 PM_ListViewIconSize = 0 4897 PM_IconViewIconSize = 0 4898 PM_SmallIconSize = 0 4899 PM_LargeIconSize = 0 4900 PM_FocusFrameVMargin = 0 4901 PM_FocusFrameHMargin = 0 4902 PM_ToolTipLabelFrameWidth = 0 4903 PM_CheckBoxLabelSpacing = 0 4904 PM_TabBarIconSize = 0 4905 PM_SizeGripSize = 0 4906 PM_DockWidgetTitleMargin = 0 4907 PM_MessageBoxIconSize = 0 4908 PM_ButtonIconSize = 0 4909 PM_DockWidgetTitleBarButtonMargin = 0 4910 PM_RadioButtonLabelSpacing = 0 4911 PM_LayoutLeftMargin = 0 4912 PM_LayoutTopMargin = 0 4913 PM_LayoutRightMargin = 0 4914 PM_LayoutBottomMargin = 0 4915 PM_LayoutHorizontalSpacing = 0 4916 PM_LayoutVerticalSpacing = 0 4917 PM_TabBar_ScrollButtonOverlap = 0 4918 PM_TextCursorWidth = 0 4919 PM_TabCloseIndicatorWidth = 0 4920 PM_TabCloseIndicatorHeight = 0 4921 PM_ScrollView_ScrollBarSpacing = 0 4922 PM_SubMenuOverlap = 0 4923 PM_CustomBase = 0 4924 4925 # Enum QStyle.SubControl 4926 SC_None = 0 4927 SC_ScrollBarAddLine = 0 4928 SC_ScrollBarSubLine = 0 4929 SC_ScrollBarAddPage = 0 4930 SC_ScrollBarSubPage = 0 4931 SC_ScrollBarFirst = 0 4932 SC_ScrollBarLast = 0 4933 SC_ScrollBarSlider = 0 4934 SC_ScrollBarGroove = 0 4935 SC_SpinBoxUp = 0 4936 SC_SpinBoxDown = 0 4937 SC_SpinBoxFrame = 0 4938 SC_SpinBoxEditField = 0 4939 SC_ComboBoxFrame = 0 4940 SC_ComboBoxEditField = 0 4941 SC_ComboBoxArrow = 0 4942 SC_ComboBoxListBoxPopup = 0 4943 SC_SliderGroove = 0 4944 SC_SliderHandle = 0 4945 SC_SliderTickmarks = 0 4946 SC_ToolButton = 0 4947 SC_ToolButtonMenu = 0 4948 SC_TitleBarSysMenu = 0 4949 SC_TitleBarMinButton = 0 4950 SC_TitleBarMaxButton = 0 4951 SC_TitleBarCloseButton = 0 4952 SC_TitleBarNormalButton = 0 4953 SC_TitleBarShadeButton = 0 4954 SC_TitleBarUnshadeButton = 0 4955 SC_TitleBarContextHelpButton = 0 4956 SC_TitleBarLabel = 0 4957 SC_Q3ListView = 0 4958 SC_Q3ListViewBranch = 0 4959 SC_Q3ListViewExpand = 0 4960 SC_DialGroove = 0 4961 SC_DialHandle = 0 4962 SC_DialTickmarks = 0 4963 SC_GroupBoxCheckBox = 0 4964 SC_GroupBoxLabel = 0 4965 SC_GroupBoxContents = 0 4966 SC_GroupBoxFrame = 0 4967 SC_MdiMinButton = 0 4968 SC_MdiNormalButton = 0 4969 SC_MdiCloseButton = 0 4970 SC_CustomBase = 0 4971 SC_All = 0 4972 4973 # Enum QStyle.ComplexControl 4974 CC_SpinBox = 0 4975 CC_ComboBox = 0 4976 CC_ScrollBar = 0 4977 CC_Slider = 0 4978 CC_ToolButton = 0 4979 CC_TitleBar = 0 4980 CC_Q3ListView = 0 4981 CC_Dial = 0 4982 CC_GroupBox = 0 4983 CC_MdiControls = 0 4984 CC_CustomBase = 0 4985 4986 # Enum QStyle.SubElement 4987 SE_PushButtonContents = 0 4988 SE_PushButtonFocusRect = 0 4989 SE_CheckBoxIndicator = 0 4990 SE_CheckBoxContents = 0 4991 SE_CheckBoxFocusRect = 0 4992 SE_CheckBoxClickRect = 0 4993 SE_RadioButtonIndicator = 0 4994 SE_RadioButtonContents = 0 4995 SE_RadioButtonFocusRect = 0 4996 SE_RadioButtonClickRect = 0 4997 SE_ComboBoxFocusRect = 0 4998 SE_SliderFocusRect = 0 4999 SE_Q3DockWindowHandleRect = 0 5000 SE_ProgressBarGroove = 0 5001 SE_ProgressBarContents = 0 5002 SE_ProgressBarLabel = 0 5003 SE_DialogButtonAccept = 0 5004 SE_DialogButtonReject = 0 5005 SE_DialogButtonApply = 0 5006 SE_DialogButtonHelp = 0 5007 SE_DialogButtonAll = 0 5008 SE_DialogButtonAbort = 0 5009 SE_DialogButtonIgnore = 0 5010 SE_DialogButtonRetry = 0 5011 SE_DialogButtonCustom = 0 5012 SE_ToolBoxTabContents = 0 5013 SE_HeaderLabel = 0 5014 SE_HeaderArrow = 0 5015 SE_TabWidgetTabBar = 0 5016 SE_TabWidgetTabPane = 0 5017 SE_TabWidgetTabContents = 0 5018 SE_TabWidgetLeftCorner = 0 5019 SE_TabWidgetRightCorner = 0 5020 SE_ViewItemCheckIndicator = 0 5021 SE_TabBarTearIndicator = 0 5022 SE_TreeViewDisclosureItem = 0 5023 SE_LineEditContents = 0 5024 SE_FrameContents = 0 5025 SE_DockWidgetCloseButton = 0 5026 SE_DockWidgetFloatButton = 0 5027 SE_DockWidgetTitleBarText = 0 5028 SE_DockWidgetIcon = 0 5029 SE_CheckBoxLayoutItem = 0 5030 SE_ComboBoxLayoutItem = 0 5031 SE_DateTimeEditLayoutItem = 0 5032 SE_DialogButtonBoxLayoutItem = 0 5033 SE_LabelLayoutItem = 0 5034 SE_ProgressBarLayoutItem = 0 5035 SE_PushButtonLayoutItem = 0 5036 SE_RadioButtonLayoutItem = 0 5037 SE_SliderLayoutItem = 0 5038 SE_SpinBoxLayoutItem = 0 5039 SE_ToolButtonLayoutItem = 0 5040 SE_FrameLayoutItem = 0 5041 SE_GroupBoxLayoutItem = 0 5042 SE_TabWidgetLayoutItem = 0 5043 SE_ItemViewItemCheckIndicator = 0 5044 SE_ItemViewItemDecoration = 0 5045 SE_ItemViewItemText = 0 5046 SE_ItemViewItemFocusRect = 0 5047 SE_TabBarTabLeftButton = 0 5048 SE_TabBarTabRightButton = 0 5049 SE_TabBarTabText = 0 5050 SE_ShapedFrameContents = 0 5051 SE_ToolBarHandle = 0 5052 SE_CustomBase = 0 5053 5054 # Enum QStyle.ControlElement 5055 CE_PushButton = 0 5056 CE_PushButtonBevel = 0 5057 CE_PushButtonLabel = 0 5058 CE_CheckBox = 0 5059 CE_CheckBoxLabel = 0 5060 CE_RadioButton = 0 5061 CE_RadioButtonLabel = 0 5062 CE_TabBarTab = 0 5063 CE_TabBarTabShape = 0 5064 CE_TabBarTabLabel = 0 5065 CE_ProgressBar = 0 5066 CE_ProgressBarGroove = 0 5067 CE_ProgressBarContents = 0 5068 CE_ProgressBarLabel = 0 5069 CE_MenuItem = 0 5070 CE_MenuScroller = 0 5071 CE_MenuVMargin = 0 5072 CE_MenuHMargin = 0 5073 CE_MenuTearoff = 0 5074 CE_MenuEmptyArea = 0 5075 CE_MenuBarItem = 0 5076 CE_MenuBarEmptyArea = 0 5077 CE_ToolButtonLabel = 0 5078 CE_Header = 0 5079 CE_HeaderSection = 0 5080 CE_HeaderLabel = 0 5081 CE_Q3DockWindowEmptyArea = 0 5082 CE_ToolBoxTab = 0 5083 CE_SizeGrip = 0 5084 CE_Splitter = 0 5085 CE_RubberBand = 0 5086 CE_DockWidgetTitle = 0 5087 CE_ScrollBarAddLine = 0 5088 CE_ScrollBarSubLine = 0 5089 CE_ScrollBarAddPage = 0 5090 CE_ScrollBarSubPage = 0 5091 CE_ScrollBarSlider = 0 5092 CE_ScrollBarFirst = 0 5093 CE_ScrollBarLast = 0 5094 CE_FocusFrame = 0 5095 CE_ComboBoxLabel = 0 5096 CE_ToolBar = 0 5097 CE_ToolBoxTabShape = 0 5098 CE_ToolBoxTabLabel = 0 5099 CE_HeaderEmptyArea = 0 5100 CE_ColumnViewGrip = 0 5101 CE_ItemViewItem = 0 5102 CE_ShapedFrame = 0 5103 CE_CustomBase = 0 5104 5105 # Enum QStyle.PrimitiveElement 5106 PE_Q3CheckListController = 0 5107 PE_Q3CheckListExclusiveIndicator = 0 5108 PE_Q3CheckListIndicator = 0 5109 PE_Q3DockWindowSeparator = 0 5110 PE_Q3Separator = 0 5111 PE_Frame = 0 5112 PE_FrameDefaultButton = 0 5113 PE_FrameDockWidget = 0 5114 PE_FrameFocusRect = 0 5115 PE_FrameGroupBox = 0 5116 PE_FrameLineEdit = 0 5117 PE_FrameMenu = 0 5118 PE_FrameStatusBar = 0 5119 PE_FrameTabWidget = 0 5120 PE_FrameWindow = 0 5121 PE_FrameButtonBevel = 0 5122 PE_FrameButtonTool = 0 5123 PE_FrameTabBarBase = 0 5124 PE_PanelButtonCommand = 0 5125 PE_PanelButtonBevel = 0 5126 PE_PanelButtonTool = 0 5127 PE_PanelMenuBar = 0 5128 PE_PanelToolBar = 0 5129 PE_PanelLineEdit = 0 5130 PE_IndicatorArrowDown = 0 5131 PE_IndicatorArrowLeft = 0 5132 PE_IndicatorArrowRight = 0 5133 PE_IndicatorArrowUp = 0 5134 PE_IndicatorBranch = 0 5135 PE_IndicatorButtonDropDown = 0 5136 PE_IndicatorViewItemCheck = 0 5137 PE_IndicatorCheckBox = 0 5138 PE_IndicatorDockWidgetResizeHandle = 0 5139 PE_IndicatorHeaderArrow = 0 5140 PE_IndicatorMenuCheckMark = 0 5141 PE_IndicatorProgressChunk = 0 5142 PE_IndicatorRadioButton = 0 5143 PE_IndicatorSpinDown = 0 5144 PE_IndicatorSpinMinus = 0 5145 PE_IndicatorSpinPlus = 0 5146 PE_IndicatorSpinUp = 0 5147 PE_IndicatorToolBarHandle = 0 5148 PE_IndicatorToolBarSeparator = 0 5149 PE_PanelTipLabel = 0 5150 PE_IndicatorTabTear = 0 5151 PE_PanelScrollAreaCorner = 0 5152 PE_Widget = 0 5153 PE_IndicatorColumnViewArrow = 0 5154 PE_FrameStatusBarItem = 0 5155 PE_IndicatorItemViewItemCheck = 0 5156 PE_IndicatorItemViewItemDrop = 0 5157 PE_PanelItemViewItem = 0 5158 PE_PanelItemViewRow = 0 5159 PE_PanelStatusBar = 0 5160 PE_IndicatorTabClose = 0 5161 PE_PanelMenu = 0 5162 PE_CustomBase = 0 5163 5164 # Enum QStyle.StateFlag 5165 State_None = 0 5166 State_Enabled = 0 5167 State_Raised = 0 5168 State_Sunken = 0 5169 State_Off = 0 5170 State_NoChange = 0 5171 State_On = 0 5172 State_DownArrow = 0 5173 State_Horizontal = 0 5174 State_HasFocus = 0 5175 State_Top = 0 5176 State_Bottom = 0 5177 State_FocusAtBorder = 0 5178 State_AutoRaise = 0 5179 State_MouseOver = 0 5180 State_UpArrow = 0 5181 State_Selected = 0 5182 State_Active = 0 5183 State_Open = 0 5184 State_Children = 0 5185 State_Item = 0 5186 State_Sibling = 0 5187 State_Editing = 0 5188 State_KeyboardFocusChange = 0 5189 State_ReadOnly = 0 5190 State_Window = 0 5191 State_Small = 0 5192 State_Mini = 0 5193 5194 def __init__(self): 5195 '''void QStyle.__init__()''' 5196 def proxy(self): 5197 '''QStyle QStyle.proxy()''' 5198 return QStyle() 5199 def layoutSpacingImplementation(self, control1, control2, orientation, option = None, widget = None): 5200 '''int QStyle.layoutSpacingImplementation(QSizePolicy.ControlType control1, QSizePolicy.ControlType control2, Qt.Orientation orientation, QStyleOption option = None, QWidget widget = None)''' 5201 return int() 5202 def standardIconImplementation(self, standardIcon, option = None, widget = None): 5203 '''QIcon QStyle.standardIconImplementation(QStyle.StandardPixmap standardIcon, QStyleOption option = None, QWidget widget = None)''' 5204 return QIcon() 5205 def combinedLayoutSpacing(self, controls1, controls2, orientation, option = None, widget = None): 5206 '''int QStyle.combinedLayoutSpacing(QSizePolicy.ControlTypes controls1, QSizePolicy.ControlTypes controls2, Qt.Orientation orientation, QStyleOption option = None, QWidget widget = None)''' 5207 return int() 5208 def layoutSpacing(self, control1, control2, orientation, option = None, widget = None): 5209 '''int QStyle.layoutSpacing(QSizePolicy.ControlType control1, QSizePolicy.ControlType control2, Qt.Orientation orientation, QStyleOption option = None, QWidget widget = None)''' 5210 return int() 5211 def alignedRect(self, direction, alignment, size, rectangle): 5212 '''static QRect QStyle.alignedRect(Qt.LayoutDirection direction, Qt.Alignment alignment, QSize size, QRect rectangle)''' 5213 return QRect() 5214 def visualAlignment(self, direction, alignment): 5215 '''static Qt.Alignment QStyle.visualAlignment(Qt.LayoutDirection direction, Qt.Alignment alignment)''' 5216 return Qt.Alignment() 5217 def sliderValueFromPosition(self, min, max, position, span, upsideDown = False): 5218 '''static int QStyle.sliderValueFromPosition(int min, int max, int position, int span, bool upsideDown = False)''' 5219 return int() 5220 def sliderPositionFromValue(self, min, max, logicalValue, span, upsideDown = False): 5221 '''static int QStyle.sliderPositionFromValue(int min, int max, int logicalValue, int span, bool upsideDown = False)''' 5222 return int() 5223 def visualPos(self, direction, boundingRect, logicalPos): 5224 '''static QPoint QStyle.visualPos(Qt.LayoutDirection direction, QRect boundingRect, QPoint logicalPos)''' 5225 return QPoint() 5226 def visualRect(self, direction, boundingRect, logicalRect): 5227 '''static QRect QStyle.visualRect(Qt.LayoutDirection direction, QRect boundingRect, QRect logicalRect)''' 5228 return QRect() 5229 def generatedIconPixmap(self, iconMode, pixmap, opt): 5230 '''abstract QPixmap QStyle.generatedIconPixmap(QIcon.Mode iconMode, QPixmap pixmap, QStyleOption opt)''' 5231 return QPixmap() 5232 def standardIcon(self, standardIcon, option = None, widget = None): 5233 '''QIcon QStyle.standardIcon(QStyle.StandardPixmap standardIcon, QStyleOption option = None, QWidget widget = None)''' 5234 return QIcon() 5235 def standardPixmap(self, standardPixmap, option = None, widget = None): 5236 '''abstract QPixmap QStyle.standardPixmap(QStyle.StandardPixmap standardPixmap, QStyleOption option = None, QWidget widget = None)''' 5237 return QPixmap() 5238 def styleHint(self, stylehint, option = None, widget = None, returnData = None): 5239 '''abstract int QStyle.styleHint(QStyle.StyleHint stylehint, QStyleOption option = None, QWidget widget = None, QStyleHintReturn returnData = None)''' 5240 return int() 5241 def sizeFromContents(self, ct, opt, contentsSize, widget = None): 5242 '''abstract QSize QStyle.sizeFromContents(QStyle.ContentsType ct, QStyleOption opt, QSize contentsSize, QWidget widget = None)''' 5243 return QSize() 5244 def pixelMetric(self, metric, option = None, widget = None): 5245 '''abstract int QStyle.pixelMetric(QStyle.PixelMetric metric, QStyleOption option = None, QWidget widget = None)''' 5246 return int() 5247 def subControlRect(self, cc, opt, sc, widget = None): 5248 '''abstract QRect QStyle.subControlRect(QStyle.ComplexControl cc, QStyleOptionComplex opt, QStyle.SubControl sc, QWidget widget = None)''' 5249 return QRect() 5250 def hitTestComplexControl(self, cc, opt, pt, widget = None): 5251 '''abstract QStyle.SubControl QStyle.hitTestComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPoint pt, QWidget widget = None)''' 5252 return QStyle.SubControl() 5253 def drawComplexControl(self, cc, opt, p, widget = None): 5254 '''abstract void QStyle.drawComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPainter p, QWidget widget = None)''' 5255 def subElementRect(self, subElement, option, widget = None): 5256 '''abstract QRect QStyle.subElementRect(QStyle.SubElement subElement, QStyleOption option, QWidget widget = None)''' 5257 return QRect() 5258 def drawControl(self, element, opt, p, widget = None): 5259 '''abstract void QStyle.drawControl(QStyle.ControlElement element, QStyleOption opt, QPainter p, QWidget widget = None)''' 5260 def drawPrimitive(self, pe, opt, p, widget = None): 5261 '''abstract void QStyle.drawPrimitive(QStyle.PrimitiveElement pe, QStyleOption opt, QPainter p, QWidget widget = None)''' 5262 def standardPalette(self): 5263 '''QPalette QStyle.standardPalette()''' 5264 return QPalette() 5265 def drawItemPixmap(self, painter, rect, alignment, pixmap): 5266 '''void QStyle.drawItemPixmap(QPainter painter, QRect rect, int alignment, QPixmap pixmap)''' 5267 def drawItemText(self, painter, rectangle, alignment, palette, enabled, text, textRole = None): 5268 '''void QStyle.drawItemText(QPainter painter, QRect rectangle, int alignment, QPalette palette, bool enabled, QString text, QPalette.ColorRole textRole = QPalette.NoRole)''' 5269 def itemPixmapRect(self, r, flags, pixmap): 5270 '''QRect QStyle.itemPixmapRect(QRect r, int flags, QPixmap pixmap)''' 5271 return QRect() 5272 def itemTextRect(self, fm, r, flags, enabled, text): 5273 '''QRect QStyle.itemTextRect(QFontMetrics fm, QRect r, int flags, bool enabled, QString text)''' 5274 return QRect() 5275 def unpolish(self): 5276 '''QWidget QStyle.unpolish()''' 5277 return QWidget() 5278 def unpolish(self): 5279 '''QApplication QStyle.unpolish()''' 5280 return QApplication() 5281 def polish(self): 5282 '''QWidget QStyle.polish()''' 5283 return QWidget() 5284 def polish(self): 5285 '''QApplication QStyle.polish()''' 5286 return QApplication() 5287 def polish(self): 5288 '''QPalette QStyle.polish()''' 5289 return QPalette() 5290 class SubControls(): 5291 """""" 5292 def __init__(self): 5293 '''QStyle.SubControls QStyle.SubControls.__init__()''' 5294 return QStyle.SubControls() 5295 def __init__(self): 5296 '''int QStyle.SubControls.__init__()''' 5297 return int() 5298 def __init__(self): 5299 '''void QStyle.SubControls.__init__()''' 5300 def __bool__(self): 5301 '''int QStyle.SubControls.__bool__()''' 5302 return int() 5303 def __ne__(self, f): 5304 '''bool QStyle.SubControls.__ne__(QStyle.SubControls f)''' 5305 return bool() 5306 def __eq__(self, f): 5307 '''bool QStyle.SubControls.__eq__(QStyle.SubControls f)''' 5308 return bool() 5309 def __invert__(self): 5310 '''QStyle.SubControls QStyle.SubControls.__invert__()''' 5311 return QStyle.SubControls() 5312 def __and__(self, mask): 5313 '''QStyle.SubControls QStyle.SubControls.__and__(int mask)''' 5314 return QStyle.SubControls() 5315 def __xor__(self, f): 5316 '''QStyle.SubControls QStyle.SubControls.__xor__(QStyle.SubControls f)''' 5317 return QStyle.SubControls() 5318 def __xor__(self, f): 5319 '''QStyle.SubControls QStyle.SubControls.__xor__(int f)''' 5320 return QStyle.SubControls() 5321 def __or__(self, f): 5322 '''QStyle.SubControls QStyle.SubControls.__or__(QStyle.SubControls f)''' 5323 return QStyle.SubControls() 5324 def __or__(self, f): 5325 '''QStyle.SubControls QStyle.SubControls.__or__(int f)''' 5326 return QStyle.SubControls() 5327 def __int__(self): 5328 '''int QStyle.SubControls.__int__()''' 5329 return int() 5330 def __ixor__(self, f): 5331 '''QStyle.SubControls QStyle.SubControls.__ixor__(QStyle.SubControls f)''' 5332 return QStyle.SubControls() 5333 def __ior__(self, f): 5334 '''QStyle.SubControls QStyle.SubControls.__ior__(QStyle.SubControls f)''' 5335 return QStyle.SubControls() 5336 def __iand__(self, mask): 5337 '''QStyle.SubControls QStyle.SubControls.__iand__(int mask)''' 5338 return QStyle.SubControls() 5339 class State(): 5340 """""" 5341 def __init__(self): 5342 '''QStyle.State QStyle.State.__init__()''' 5343 return QStyle.State() 5344 def __init__(self): 5345 '''int QStyle.State.__init__()''' 5346 return int() 5347 def __init__(self): 5348 '''void QStyle.State.__init__()''' 5349 def __bool__(self): 5350 '''int QStyle.State.__bool__()''' 5351 return int() 5352 def __ne__(self, f): 5353 '''bool QStyle.State.__ne__(QStyle.State f)''' 5354 return bool() 5355 def __eq__(self, f): 5356 '''bool QStyle.State.__eq__(QStyle.State f)''' 5357 return bool() 5358 def __invert__(self): 5359 '''QStyle.State QStyle.State.__invert__()''' 5360 return QStyle.State() 5361 def __and__(self, mask): 5362 '''QStyle.State QStyle.State.__and__(int mask)''' 5363 return QStyle.State() 5364 def __xor__(self, f): 5365 '''QStyle.State QStyle.State.__xor__(QStyle.State f)''' 5366 return QStyle.State() 5367 def __xor__(self, f): 5368 '''QStyle.State QStyle.State.__xor__(int f)''' 5369 return QStyle.State() 5370 def __or__(self, f): 5371 '''QStyle.State QStyle.State.__or__(QStyle.State f)''' 5372 return QStyle.State() 5373 def __or__(self, f): 5374 '''QStyle.State QStyle.State.__or__(int f)''' 5375 return QStyle.State() 5376 def __int__(self): 5377 '''int QStyle.State.__int__()''' 5378 return int() 5379 def __ixor__(self, f): 5380 '''QStyle.State QStyle.State.__ixor__(QStyle.State f)''' 5381 return QStyle.State() 5382 def __ior__(self, f): 5383 '''QStyle.State QStyle.State.__ior__(QStyle.State f)''' 5384 return QStyle.State() 5385 def __iand__(self, mask): 5386 '''QStyle.State QStyle.State.__iand__(int mask)''' 5387 return QStyle.State() 5388 5389 5390 class QCommonStyle(QStyle): 5391 """""" 5392 def __init__(self): 5393 '''void QCommonStyle.__init__()''' 5394 def standardIconImplementation(self, standardIcon, option = None, widget = None): 5395 '''QIcon QCommonStyle.standardIconImplementation(QStyle.StandardPixmap standardIcon, QStyleOption option = None, QWidget widget = None)''' 5396 return QIcon() 5397 def generatedIconPixmap(self, iconMode, pixmap, opt): 5398 '''QPixmap QCommonStyle.generatedIconPixmap(QIcon.Mode iconMode, QPixmap pixmap, QStyleOption opt)''' 5399 return QPixmap() 5400 def standardPixmap(self, sp, option = None, widget = None): 5401 '''QPixmap QCommonStyle.standardPixmap(QStyle.StandardPixmap sp, QStyleOption option = None, QWidget widget = None)''' 5402 return QPixmap() 5403 def styleHint(self, sh, option = None, widget = None, returnData = None): 5404 '''int QCommonStyle.styleHint(QStyle.StyleHint sh, QStyleOption option = None, QWidget widget = None, QStyleHintReturn returnData = None)''' 5405 return int() 5406 def pixelMetric(self, m, option = None, widget = None): 5407 '''int QCommonStyle.pixelMetric(QStyle.PixelMetric m, QStyleOption option = None, QWidget widget = None)''' 5408 return int() 5409 def sizeFromContents(self, ct, opt, contentsSize, widget = None): 5410 '''QSize QCommonStyle.sizeFromContents(QStyle.ContentsType ct, QStyleOption opt, QSize contentsSize, QWidget widget = None)''' 5411 return QSize() 5412 def subControlRect(self, cc, opt, sc, widget = None): 5413 '''QRect QCommonStyle.subControlRect(QStyle.ComplexControl cc, QStyleOptionComplex opt, QStyle.SubControl sc, QWidget widget = None)''' 5414 return QRect() 5415 def hitTestComplexControl(self, cc, opt, pt, widget = None): 5416 '''QStyle.SubControl QCommonStyle.hitTestComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPoint pt, QWidget widget = None)''' 5417 return QStyle.SubControl() 5418 def drawComplexControl(self, cc, opt, p, widget = None): 5419 '''void QCommonStyle.drawComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPainter p, QWidget widget = None)''' 5420 def subElementRect(self, r, opt, widget = None): 5421 '''QRect QCommonStyle.subElementRect(QStyle.SubElement r, QStyleOption opt, QWidget widget = None)''' 5422 return QRect() 5423 def drawControl(self, element, opt, p, widget = None): 5424 '''void QCommonStyle.drawControl(QStyle.ControlElement element, QStyleOption opt, QPainter p, QWidget widget = None)''' 5425 def drawPrimitive(self, pe, opt, p, widget = None): 5426 '''void QCommonStyle.drawPrimitive(QStyle.PrimitiveElement pe, QStyleOption opt, QPainter p, QWidget widget = None)''' 5427 def unpolish(self, widget): 5428 '''void QCommonStyle.unpolish(QWidget widget)''' 5429 def unpolish(self, application): 5430 '''void QCommonStyle.unpolish(QApplication application)''' 5431 def polish(self, widget): 5432 '''void QCommonStyle.polish(QWidget widget)''' 5433 def polish(self, app): 5434 '''void QCommonStyle.polish(QApplication app)''' 5435 def polish(self): 5436 '''QPalette QCommonStyle.polish()''' 5437 return QPalette() 5438 5439 5440 class QCompleter(QObject): 5441 """""" 5442 # Enum QCompleter.ModelSorting 5443 UnsortedModel = 0 5444 CaseSensitivelySortedModel = 0 5445 CaseInsensitivelySortedModel = 0 5446 5447 # Enum QCompleter.CompletionMode 5448 PopupCompletion = 0 5449 UnfilteredPopupCompletion = 0 5450 InlineCompletion = 0 5451 5452 def __init__(self, parent = None): 5453 '''void QCompleter.__init__(QObject parent = None)''' 5454 def __init__(self, model, parent = None): 5455 '''void QCompleter.__init__(QAbstractItemModel model, QObject parent = None)''' 5456 def __init__(self, list, parent = None): 5457 '''void QCompleter.__init__(QStringList list, QObject parent = None)''' 5458 def setMaxVisibleItems(self, maxItems): 5459 '''void QCompleter.setMaxVisibleItems(int maxItems)''' 5460 def maxVisibleItems(self): 5461 '''int QCompleter.maxVisibleItems()''' 5462 return int() 5463 highlighted = pyqtSignal() # void highlighted(const QStringamp;) - signal 5464 highlighted = pyqtSignal() # void highlighted(const QModelIndexamp;) - signal 5465 activated = pyqtSignal() # void activated(const QStringamp;) - signal 5466 activated = pyqtSignal() # void activated(const QModelIndexamp;) - signal 5467 def event(self): 5468 '''QEvent QCompleter.event()''' 5469 return QEvent() 5470 def eventFilter(self, o, e): 5471 '''bool QCompleter.eventFilter(QObject o, QEvent e)''' 5472 return bool() 5473 def setWrapAround(self, wrap): 5474 '''void QCompleter.setWrapAround(bool wrap)''' 5475 def setCompletionPrefix(self, prefix): 5476 '''void QCompleter.setCompletionPrefix(QString prefix)''' 5477 def complete(self, rect = QRect()): 5478 '''void QCompleter.complete(QRect rect = QRect())''' 5479 def wrapAround(self): 5480 '''bool QCompleter.wrapAround()''' 5481 return bool() 5482 def splitPath(self, path): 5483 '''QStringList QCompleter.splitPath(QString path)''' 5484 return QStringList() 5485 def pathFromIndex(self, index): 5486 '''QString QCompleter.pathFromIndex(QModelIndex index)''' 5487 return QString() 5488 def completionPrefix(self): 5489 '''QString QCompleter.completionPrefix()''' 5490 return QString() 5491 def completionModel(self): 5492 '''QAbstractItemModel QCompleter.completionModel()''' 5493 return QAbstractItemModel() 5494 def currentCompletion(self): 5495 '''QString QCompleter.currentCompletion()''' 5496 return QString() 5497 def currentIndex(self): 5498 '''QModelIndex QCompleter.currentIndex()''' 5499 return QModelIndex() 5500 def currentRow(self): 5501 '''int QCompleter.currentRow()''' 5502 return int() 5503 def setCurrentRow(self, row): 5504 '''bool QCompleter.setCurrentRow(int row)''' 5505 return bool() 5506 def completionCount(self): 5507 '''int QCompleter.completionCount()''' 5508 return int() 5509 def completionRole(self): 5510 '''int QCompleter.completionRole()''' 5511 return int() 5512 def setCompletionRole(self, role): 5513 '''void QCompleter.setCompletionRole(int role)''' 5514 def completionColumn(self): 5515 '''int QCompleter.completionColumn()''' 5516 return int() 5517 def setCompletionColumn(self, column): 5518 '''void QCompleter.setCompletionColumn(int column)''' 5519 def modelSorting(self): 5520 '''QCompleter.ModelSorting QCompleter.modelSorting()''' 5521 return QCompleter.ModelSorting() 5522 def setModelSorting(self, sorting): 5523 '''void QCompleter.setModelSorting(QCompleter.ModelSorting sorting)''' 5524 def caseSensitivity(self): 5525 '''Qt.CaseSensitivity QCompleter.caseSensitivity()''' 5526 return Qt.CaseSensitivity() 5527 def setCaseSensitivity(self, caseSensitivity): 5528 '''void QCompleter.setCaseSensitivity(Qt.CaseSensitivity caseSensitivity)''' 5529 def setPopup(self, popup): 5530 '''void QCompleter.setPopup(QAbstractItemView popup)''' 5531 def popup(self): 5532 '''QAbstractItemView QCompleter.popup()''' 5533 return QAbstractItemView() 5534 def completionMode(self): 5535 '''QCompleter.CompletionMode QCompleter.completionMode()''' 5536 return QCompleter.CompletionMode() 5537 def setCompletionMode(self, mode): 5538 '''void QCompleter.setCompletionMode(QCompleter.CompletionMode mode)''' 5539 def model(self): 5540 '''QAbstractItemModel QCompleter.model()''' 5541 return QAbstractItemModel() 5542 def setModel(self, c): 5543 '''void QCompleter.setModel(QAbstractItemModel c)''' 5544 def widget(self): 5545 '''QWidget QCompleter.widget()''' 5546 return QWidget() 5547 def setWidget(self, widget): 5548 '''void QCompleter.setWidget(QWidget widget)''' 5549 5550 5551 class QCursor(): 5552 """""" 5553 def __init__(self): 5554 '''void QCursor.__init__()''' 5555 def __init__(self, shape): 5556 '''void QCursor.__init__(Qt.CursorShape shape)''' 5557 def __init__(self, bitmap, mask, hotX = None, hotY = None): 5558 '''void QCursor.__init__(QBitmap bitmap, QBitmap mask, int hotX = -1, int hotY = -1)''' 5559 def __init__(self, pixmap, hotX = None, hotY = None): 5560 '''void QCursor.__init__(QPixmap pixmap, int hotX = -1, int hotY = -1)''' 5561 def __init__(self, cursor): 5562 '''void QCursor.__init__(QCursor cursor)''' 5563 def __init__(self, variant): 5564 '''void QCursor.__init__(QVariant variant)''' 5565 def setPos(self, x, y): 5566 '''static void QCursor.setPos(int x, int y)''' 5567 def setPos(self, p): 5568 '''static void QCursor.setPos(QPoint p)''' 5569 def pos(self): 5570 '''static QPoint QCursor.pos()''' 5571 return QPoint() 5572 def hotSpot(self): 5573 '''QPoint QCursor.hotSpot()''' 5574 return QPoint() 5575 def pixmap(self): 5576 '''QPixmap QCursor.pixmap()''' 5577 return QPixmap() 5578 def mask(self): 5579 '''QBitmap QCursor.mask()''' 5580 return QBitmap() 5581 def bitmap(self): 5582 '''QBitmap QCursor.bitmap()''' 5583 return QBitmap() 5584 def setShape(self, newShape): 5585 '''void QCursor.setShape(Qt.CursorShape newShape)''' 5586 def shape(self): 5587 '''Qt.CursorShape QCursor.shape()''' 5588 return Qt.CursorShape() 5589 5590 5591 class QDataWidgetMapper(QObject): 5592 """""" 5593 # Enum QDataWidgetMapper.SubmitPolicy 5594 AutoSubmit = 0 5595 ManualSubmit = 0 5596 5597 def __init__(self, parent = None): 5598 '''void QDataWidgetMapper.__init__(QObject parent = None)''' 5599 currentIndexChanged = pyqtSignal() # void currentIndexChanged(int) - signal 5600 def toPrevious(self): 5601 '''void QDataWidgetMapper.toPrevious()''' 5602 def toNext(self): 5603 '''void QDataWidgetMapper.toNext()''' 5604 def toLast(self): 5605 '''void QDataWidgetMapper.toLast()''' 5606 def toFirst(self): 5607 '''void QDataWidgetMapper.toFirst()''' 5608 def submit(self): 5609 '''bool QDataWidgetMapper.submit()''' 5610 return bool() 5611 def setCurrentModelIndex(self, index): 5612 '''void QDataWidgetMapper.setCurrentModelIndex(QModelIndex index)''' 5613 def setCurrentIndex(self, index): 5614 '''void QDataWidgetMapper.setCurrentIndex(int index)''' 5615 def revert(self): 5616 '''void QDataWidgetMapper.revert()''' 5617 def currentIndex(self): 5618 '''int QDataWidgetMapper.currentIndex()''' 5619 return int() 5620 def clearMapping(self): 5621 '''void QDataWidgetMapper.clearMapping()''' 5622 def mappedWidgetAt(self, section): 5623 '''QWidget QDataWidgetMapper.mappedWidgetAt(int section)''' 5624 return QWidget() 5625 def mappedSection(self, widget): 5626 '''int QDataWidgetMapper.mappedSection(QWidget widget)''' 5627 return int() 5628 def mappedPropertyName(self, widget): 5629 '''QByteArray QDataWidgetMapper.mappedPropertyName(QWidget widget)''' 5630 return QByteArray() 5631 def removeMapping(self, widget): 5632 '''void QDataWidgetMapper.removeMapping(QWidget widget)''' 5633 def addMapping(self, widget, section): 5634 '''void QDataWidgetMapper.addMapping(QWidget widget, int section)''' 5635 def addMapping(self, widget, section, propertyName): 5636 '''void QDataWidgetMapper.addMapping(QWidget widget, int section, QByteArray propertyName)''' 5637 def submitPolicy(self): 5638 '''QDataWidgetMapper.SubmitPolicy QDataWidgetMapper.submitPolicy()''' 5639 return QDataWidgetMapper.SubmitPolicy() 5640 def setSubmitPolicy(self, policy): 5641 '''void QDataWidgetMapper.setSubmitPolicy(QDataWidgetMapper.SubmitPolicy policy)''' 5642 def orientation(self): 5643 '''Qt.Orientation QDataWidgetMapper.orientation()''' 5644 return Qt.Orientation() 5645 def setOrientation(self, aOrientation): 5646 '''void QDataWidgetMapper.setOrientation(Qt.Orientation aOrientation)''' 5647 def rootIndex(self): 5648 '''QModelIndex QDataWidgetMapper.rootIndex()''' 5649 return QModelIndex() 5650 def setRootIndex(self, index): 5651 '''void QDataWidgetMapper.setRootIndex(QModelIndex index)''' 5652 def itemDelegate(self): 5653 '''QAbstractItemDelegate QDataWidgetMapper.itemDelegate()''' 5654 return QAbstractItemDelegate() 5655 def setItemDelegate(self, delegate): 5656 '''void QDataWidgetMapper.setItemDelegate(QAbstractItemDelegate delegate)''' 5657 def model(self): 5658 '''QAbstractItemModel QDataWidgetMapper.model()''' 5659 return QAbstractItemModel() 5660 def setModel(self, model): 5661 '''void QDataWidgetMapper.setModel(QAbstractItemModel model)''' 5662 5663 5664 class QDateTimeEdit(QAbstractSpinBox): 5665 """""" 5666 # Enum QDateTimeEdit.Section 5667 NoSection = 0 5668 AmPmSection = 0 5669 MSecSection = 0 5670 SecondSection = 0 5671 MinuteSection = 0 5672 HourSection = 0 5673 DaySection = 0 5674 MonthSection = 0 5675 YearSection = 0 5676 TimeSections_Mask = 0 5677 DateSections_Mask = 0 5678 5679 def __init__(self, parent = None): 5680 '''void QDateTimeEdit.__init__(QWidget parent = None)''' 5681 def __init__(self, datetime, parent = None): 5682 '''void QDateTimeEdit.__init__(QDateTime datetime, QWidget parent = None)''' 5683 def __init__(self, date, parent = None): 5684 '''void QDateTimeEdit.__init__(QDate date, QWidget parent = None)''' 5685 def __init__(self, time, parent = None): 5686 '''void QDateTimeEdit.__init__(QTime time, QWidget parent = None)''' 5687 def setTimeSpec(self, spec): 5688 '''void QDateTimeEdit.setTimeSpec(Qt.TimeSpec spec)''' 5689 def timeSpec(self): 5690 '''Qt.TimeSpec QDateTimeEdit.timeSpec()''' 5691 return Qt.TimeSpec() 5692 def setCalendarWidget(self, calendarWidget): 5693 '''void QDateTimeEdit.setCalendarWidget(QCalendarWidget calendarWidget)''' 5694 def calendarWidget(self): 5695 '''QCalendarWidget QDateTimeEdit.calendarWidget()''' 5696 return QCalendarWidget() 5697 def setDateTimeRange(self, min, max): 5698 '''void QDateTimeEdit.setDateTimeRange(QDateTime min, QDateTime max)''' 5699 def setMaximumDateTime(self, dt): 5700 '''void QDateTimeEdit.setMaximumDateTime(QDateTime dt)''' 5701 def clearMaximumDateTime(self): 5702 '''void QDateTimeEdit.clearMaximumDateTime()''' 5703 def maximumDateTime(self): 5704 '''QDateTime QDateTimeEdit.maximumDateTime()''' 5705 return QDateTime() 5706 def setMinimumDateTime(self, dt): 5707 '''void QDateTimeEdit.setMinimumDateTime(QDateTime dt)''' 5708 def clearMinimumDateTime(self): 5709 '''void QDateTimeEdit.clearMinimumDateTime()''' 5710 def minimumDateTime(self): 5711 '''QDateTime QDateTimeEdit.minimumDateTime()''' 5712 return QDateTime() 5713 def stepEnabled(self): 5714 '''QAbstractSpinBox.StepEnabled QDateTimeEdit.stepEnabled()''' 5715 return QAbstractSpinBox.StepEnabled() 5716 def textFromDateTime(self, dt): 5717 '''QString QDateTimeEdit.textFromDateTime(QDateTime dt)''' 5718 return QString() 5719 def dateTimeFromText(self, text): 5720 '''QDateTime QDateTimeEdit.dateTimeFromText(QString text)''' 5721 return QDateTime() 5722 def fixup(self, input): 5723 '''void QDateTimeEdit.fixup(QString input)''' 5724 def fixup(self, input): 5725 '''void QDateTimeEdit.fixup(QString input)''' 5726 def validate(self, input, pos): 5727 '''QValidator.State QDateTimeEdit.validate(QString input, int pos)''' 5728 return QValidator.State() 5729 def validate(self, input, pos): 5730 '''QValidator.State QDateTimeEdit.validate(QString input, int pos)''' 5731 return QValidator.State() 5732 def paintEvent(self, event): 5733 '''void QDateTimeEdit.paintEvent(QPaintEvent event)''' 5734 def mousePressEvent(self, event): 5735 '''void QDateTimeEdit.mousePressEvent(QMouseEvent event)''' 5736 def focusNextPrevChild(self, next): 5737 '''bool QDateTimeEdit.focusNextPrevChild(bool next)''' 5738 return bool() 5739 def focusInEvent(self, e): 5740 '''void QDateTimeEdit.focusInEvent(QFocusEvent e)''' 5741 def wheelEvent(self, e): 5742 '''void QDateTimeEdit.wheelEvent(QWheelEvent e)''' 5743 def keyPressEvent(self, e): 5744 '''void QDateTimeEdit.keyPressEvent(QKeyEvent e)''' 5745 def initStyleOption(self, option): 5746 '''void QDateTimeEdit.initStyleOption(QStyleOptionSpinBox option)''' 5747 def setTime(self, time): 5748 '''void QDateTimeEdit.setTime(QTime time)''' 5749 def setDate(self, date): 5750 '''void QDateTimeEdit.setDate(QDate date)''' 5751 def setDateTime(self, dateTime): 5752 '''void QDateTimeEdit.setDateTime(QDateTime dateTime)''' 5753 dateChanged = pyqtSignal() # void dateChanged(const QDateamp;) - signal 5754 timeChanged = pyqtSignal() # void timeChanged(const QTimeamp;) - signal 5755 dateTimeChanged = pyqtSignal() # void dateTimeChanged(const QDateTimeamp;) - signal 5756 def sectionCount(self): 5757 '''int QDateTimeEdit.sectionCount()''' 5758 return int() 5759 def setCurrentSectionIndex(self, index): 5760 '''void QDateTimeEdit.setCurrentSectionIndex(int index)''' 5761 def currentSectionIndex(self): 5762 '''int QDateTimeEdit.currentSectionIndex()''' 5763 return int() 5764 def sectionAt(self, index): 5765 '''QDateTimeEdit.Section QDateTimeEdit.sectionAt(int index)''' 5766 return QDateTimeEdit.Section() 5767 def event(self, e): 5768 '''bool QDateTimeEdit.event(QEvent e)''' 5769 return bool() 5770 def stepBy(self, steps): 5771 '''void QDateTimeEdit.stepBy(int steps)''' 5772 def clear(self): 5773 '''void QDateTimeEdit.clear()''' 5774 def sizeHint(self): 5775 '''QSize QDateTimeEdit.sizeHint()''' 5776 return QSize() 5777 def setSelectedSection(self, section): 5778 '''void QDateTimeEdit.setSelectedSection(QDateTimeEdit.Section section)''' 5779 def setCalendarPopup(self, enable): 5780 '''void QDateTimeEdit.setCalendarPopup(bool enable)''' 5781 def calendarPopup(self): 5782 '''bool QDateTimeEdit.calendarPopup()''' 5783 return bool() 5784 def setDisplayFormat(self, format): 5785 '''void QDateTimeEdit.setDisplayFormat(QString format)''' 5786 def displayFormat(self): 5787 '''QString QDateTimeEdit.displayFormat()''' 5788 return QString() 5789 def sectionText(self, s): 5790 '''QString QDateTimeEdit.sectionText(QDateTimeEdit.Section s)''' 5791 return QString() 5792 def setCurrentSection(self, section): 5793 '''void QDateTimeEdit.setCurrentSection(QDateTimeEdit.Section section)''' 5794 def currentSection(self): 5795 '''QDateTimeEdit.Section QDateTimeEdit.currentSection()''' 5796 return QDateTimeEdit.Section() 5797 def displayedSections(self): 5798 '''QDateTimeEdit.Sections QDateTimeEdit.displayedSections()''' 5799 return QDateTimeEdit.Sections() 5800 def setTimeRange(self, min, max): 5801 '''void QDateTimeEdit.setTimeRange(QTime min, QTime max)''' 5802 def clearMaximumTime(self): 5803 '''void QDateTimeEdit.clearMaximumTime()''' 5804 def setMaximumTime(self, max): 5805 '''void QDateTimeEdit.setMaximumTime(QTime max)''' 5806 def maximumTime(self): 5807 '''QTime QDateTimeEdit.maximumTime()''' 5808 return QTime() 5809 def clearMinimumTime(self): 5810 '''void QDateTimeEdit.clearMinimumTime()''' 5811 def setMinimumTime(self, min): 5812 '''void QDateTimeEdit.setMinimumTime(QTime min)''' 5813 def minimumTime(self): 5814 '''QTime QDateTimeEdit.minimumTime()''' 5815 return QTime() 5816 def setDateRange(self, min, max): 5817 '''void QDateTimeEdit.setDateRange(QDate min, QDate max)''' 5818 def clearMaximumDate(self): 5819 '''void QDateTimeEdit.clearMaximumDate()''' 5820 def setMaximumDate(self, max): 5821 '''void QDateTimeEdit.setMaximumDate(QDate max)''' 5822 def maximumDate(self): 5823 '''QDate QDateTimeEdit.maximumDate()''' 5824 return QDate() 5825 def clearMinimumDate(self): 5826 '''void QDateTimeEdit.clearMinimumDate()''' 5827 def setMinimumDate(self, min): 5828 '''void QDateTimeEdit.setMinimumDate(QDate min)''' 5829 def minimumDate(self): 5830 '''QDate QDateTimeEdit.minimumDate()''' 5831 return QDate() 5832 def time(self): 5833 '''QTime QDateTimeEdit.time()''' 5834 return QTime() 5835 def date(self): 5836 '''QDate QDateTimeEdit.date()''' 5837 return QDate() 5838 def dateTime(self): 5839 '''QDateTime QDateTimeEdit.dateTime()''' 5840 return QDateTime() 5841 class Sections(): 5842 """""" 5843 def __init__(self): 5844 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__init__()''' 5845 return QDateTimeEdit.Sections() 5846 def __init__(self): 5847 '''int QDateTimeEdit.Sections.__init__()''' 5848 return int() 5849 def __init__(self): 5850 '''void QDateTimeEdit.Sections.__init__()''' 5851 def __bool__(self): 5852 '''int QDateTimeEdit.Sections.__bool__()''' 5853 return int() 5854 def __ne__(self, f): 5855 '''bool QDateTimeEdit.Sections.__ne__(QDateTimeEdit.Sections f)''' 5856 return bool() 5857 def __eq__(self, f): 5858 '''bool QDateTimeEdit.Sections.__eq__(QDateTimeEdit.Sections f)''' 5859 return bool() 5860 def __invert__(self): 5861 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__invert__()''' 5862 return QDateTimeEdit.Sections() 5863 def __and__(self, mask): 5864 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__and__(int mask)''' 5865 return QDateTimeEdit.Sections() 5866 def __xor__(self, f): 5867 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__xor__(QDateTimeEdit.Sections f)''' 5868 return QDateTimeEdit.Sections() 5869 def __xor__(self, f): 5870 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__xor__(int f)''' 5871 return QDateTimeEdit.Sections() 5872 def __or__(self, f): 5873 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__or__(QDateTimeEdit.Sections f)''' 5874 return QDateTimeEdit.Sections() 5875 def __or__(self, f): 5876 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__or__(int f)''' 5877 return QDateTimeEdit.Sections() 5878 def __int__(self): 5879 '''int QDateTimeEdit.Sections.__int__()''' 5880 return int() 5881 def __ixor__(self, f): 5882 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__ixor__(QDateTimeEdit.Sections f)''' 5883 return QDateTimeEdit.Sections() 5884 def __ior__(self, f): 5885 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__ior__(QDateTimeEdit.Sections f)''' 5886 return QDateTimeEdit.Sections() 5887 def __iand__(self, mask): 5888 '''QDateTimeEdit.Sections QDateTimeEdit.Sections.__iand__(int mask)''' 5889 return QDateTimeEdit.Sections() 5890 5891 5892 class QTimeEdit(QDateTimeEdit): 5893 """""" 5894 def __init__(self, parent = None): 5895 '''void QTimeEdit.__init__(QWidget parent = None)''' 5896 def __init__(self, time, parent = None): 5897 '''void QTimeEdit.__init__(QTime time, QWidget parent = None)''' 5898 5899 5900 class QDateEdit(QDateTimeEdit): 5901 """""" 5902 def __init__(self, parent = None): 5903 '''void QDateEdit.__init__(QWidget parent = None)''' 5904 def __init__(self, date, parent = None): 5905 '''void QDateEdit.__init__(QDate date, QWidget parent = None)''' 5906 5907 5908 class QDesktopServices(): 5909 """""" 5910 # Enum QDesktopServices.StandardLocation 5911 DesktopLocation = 0 5912 DocumentsLocation = 0 5913 FontsLocation = 0 5914 ApplicationsLocation = 0 5915 MusicLocation = 0 5916 MoviesLocation = 0 5917 PicturesLocation = 0 5918 TempLocation = 0 5919 HomeLocation = 0 5920 DataLocation = 0 5921 CacheLocation = 0 5922 5923 def __init__(self): 5924 '''void QDesktopServices.__init__()''' 5925 def __init__(self): 5926 '''QDesktopServices QDesktopServices.__init__()''' 5927 return QDesktopServices() 5928 def displayName(self, type): 5929 '''static QString QDesktopServices.displayName(QDesktopServices.StandardLocation type)''' 5930 return QString() 5931 def storageLocation(self, type): 5932 '''static QString QDesktopServices.storageLocation(QDesktopServices.StandardLocation type)''' 5933 return QString() 5934 def unsetUrlHandler(self, scheme): 5935 '''static void QDesktopServices.unsetUrlHandler(QString scheme)''' 5936 def setUrlHandler(self, scheme, receiver, method): 5937 '''static void QDesktopServices.setUrlHandler(QString scheme, QObject receiver, str method)''' 5938 def setUrlHandler(self, scheme, method): 5939 '''static void QDesktopServices.setUrlHandler(QString scheme, callable method)''' 5940 def openUrl(self, url): 5941 '''static bool QDesktopServices.openUrl(QUrl url)''' 5942 return bool() 5943 5944 5945 class QDesktopWidget(QWidget): 5946 """""" 5947 def __init__(self): 5948 '''void QDesktopWidget.__init__()''' 5949 def resizeEvent(self, e): 5950 '''void QDesktopWidget.resizeEvent(QResizeEvent e)''' 5951 screenCountChanged = pyqtSignal() # void screenCountChanged(int) - signal 5952 workAreaResized = pyqtSignal() # void workAreaResized(int) - signal 5953 resized = pyqtSignal() # void resized(int) - signal 5954 def availableGeometry(self, screen = None): 5955 '''QRect QDesktopWidget.availableGeometry(int screen = -1)''' 5956 return QRect() 5957 def availableGeometry(self, widget): 5958 '''QRect QDesktopWidget.availableGeometry(QWidget widget)''' 5959 return QRect() 5960 def availableGeometry(self, point): 5961 '''QRect QDesktopWidget.availableGeometry(QPoint point)''' 5962 return QRect() 5963 def screenGeometry(self, screen = None): 5964 '''QRect QDesktopWidget.screenGeometry(int screen = -1)''' 5965 return QRect() 5966 def screenGeometry(self, widget): 5967 '''QRect QDesktopWidget.screenGeometry(QWidget widget)''' 5968 return QRect() 5969 def screenGeometry(self, point): 5970 '''QRect QDesktopWidget.screenGeometry(QPoint point)''' 5971 return QRect() 5972 def screenCount(self): 5973 '''int QDesktopWidget.screenCount()''' 5974 return int() 5975 def screen(self, screen = None): 5976 '''QWidget QDesktopWidget.screen(int screen = -1)''' 5977 return QWidget() 5978 def screenNumber(self, widget = None): 5979 '''int QDesktopWidget.screenNumber(QWidget widget = None)''' 5980 return int() 5981 def screenNumber(self): 5982 '''QPoint QDesktopWidget.screenNumber()''' 5983 return QPoint() 5984 def primaryScreen(self): 5985 '''int QDesktopWidget.primaryScreen()''' 5986 return int() 5987 def numScreens(self): 5988 '''int QDesktopWidget.numScreens()''' 5989 return int() 5990 def isVirtualDesktop(self): 5991 '''bool QDesktopWidget.isVirtualDesktop()''' 5992 return bool() 5993 5994 5995 class QDial(QAbstractSlider): 5996 """""" 5997 def __init__(self, parent = None): 5998 '''void QDial.__init__(QWidget parent = None)''' 5999 def sliderChange(self, change): 6000 '''void QDial.sliderChange(QAbstractSlider.SliderChange change)''' 6001 def mouseMoveEvent(self, me): 6002 '''void QDial.mouseMoveEvent(QMouseEvent me)''' 6003 def mouseReleaseEvent(self, me): 6004 '''void QDial.mouseReleaseEvent(QMouseEvent me)''' 6005 def mousePressEvent(self, me): 6006 '''void QDial.mousePressEvent(QMouseEvent me)''' 6007 def paintEvent(self, pe): 6008 '''void QDial.paintEvent(QPaintEvent pe)''' 6009 def resizeEvent(self, re): 6010 '''void QDial.resizeEvent(QResizeEvent re)''' 6011 def event(self, e): 6012 '''bool QDial.event(QEvent e)''' 6013 return bool() 6014 def initStyleOption(self, option): 6015 '''void QDial.initStyleOption(QStyleOptionSlider option)''' 6016 def setWrapping(self, on): 6017 '''void QDial.setWrapping(bool on)''' 6018 def setNotchesVisible(self, visible): 6019 '''void QDial.setNotchesVisible(bool visible)''' 6020 def minimumSizeHint(self): 6021 '''QSize QDial.minimumSizeHint()''' 6022 return QSize() 6023 def sizeHint(self): 6024 '''QSize QDial.sizeHint()''' 6025 return QSize() 6026 def notchesVisible(self): 6027 '''bool QDial.notchesVisible()''' 6028 return bool() 6029 def notchTarget(self): 6030 '''float QDial.notchTarget()''' 6031 return float() 6032 def setNotchTarget(self, target): 6033 '''void QDial.setNotchTarget(float target)''' 6034 def notchSize(self): 6035 '''int QDial.notchSize()''' 6036 return int() 6037 def wrapping(self): 6038 '''bool QDial.wrapping()''' 6039 return bool() 6040 6041 6042 class QDialogButtonBox(QWidget): 6043 """""" 6044 # Enum QDialogButtonBox.StandardButton 6045 NoButton = 0 6046 Ok = 0 6047 Save = 0 6048 SaveAll = 0 6049 Open = 0 6050 Yes = 0 6051 YesToAll = 0 6052 No = 0 6053 NoToAll = 0 6054 Abort = 0 6055 Retry = 0 6056 Ignore = 0 6057 Close = 0 6058 Cancel = 0 6059 Discard = 0 6060 Help = 0 6061 Apply = 0 6062 Reset = 0 6063 RestoreDefaults = 0 6064 6065 # Enum QDialogButtonBox.ButtonRole 6066 InvalidRole = 0 6067 AcceptRole = 0 6068 RejectRole = 0 6069 DestructiveRole = 0 6070 ActionRole = 0 6071 HelpRole = 0 6072 YesRole = 0 6073 NoRole = 0 6074 ResetRole = 0 6075 ApplyRole = 0 6076 6077 # Enum QDialogButtonBox.ButtonLayout 6078 WinLayout = 0 6079 MacLayout = 0 6080 KdeLayout = 0 6081 GnomeLayout = 0 6082 6083 def __init__(self, parent = None): 6084 '''void QDialogButtonBox.__init__(QWidget parent = None)''' 6085 def __init__(self, orientation, parent = None): 6086 '''void QDialogButtonBox.__init__(Qt.Orientation orientation, QWidget parent = None)''' 6087 def __init__(self, buttons, orientation = None, parent = None): 6088 '''void QDialogButtonBox.__init__(QDialogButtonBox.StandardButtons buttons, Qt.Orientation orientation = Qt.Horizontal, QWidget parent = None)''' 6089 def event(self, event): 6090 '''bool QDialogButtonBox.event(QEvent event)''' 6091 return bool() 6092 def changeEvent(self, event): 6093 '''void QDialogButtonBox.changeEvent(QEvent event)''' 6094 rejected = pyqtSignal() # void rejected() - signal 6095 helpRequested = pyqtSignal() # void helpRequested() - signal 6096 clicked = pyqtSignal() # void clicked(QAbstractButton *) - signal 6097 accepted = pyqtSignal() # void accepted() - signal 6098 def centerButtons(self): 6099 '''bool QDialogButtonBox.centerButtons()''' 6100 return bool() 6101 def setCenterButtons(self, center): 6102 '''void QDialogButtonBox.setCenterButtons(bool center)''' 6103 def button(self, which): 6104 '''QPushButton QDialogButtonBox.button(QDialogButtonBox.StandardButton which)''' 6105 return QPushButton() 6106 def standardButton(self, button): 6107 '''QDialogButtonBox.StandardButton QDialogButtonBox.standardButton(QAbstractButton button)''' 6108 return QDialogButtonBox.StandardButton() 6109 def standardButtons(self): 6110 '''QDialogButtonBox.StandardButtons QDialogButtonBox.standardButtons()''' 6111 return QDialogButtonBox.StandardButtons() 6112 def setStandardButtons(self, buttons): 6113 '''void QDialogButtonBox.setStandardButtons(QDialogButtonBox.StandardButtons buttons)''' 6114 def buttonRole(self, button): 6115 '''QDialogButtonBox.ButtonRole QDialogButtonBox.buttonRole(QAbstractButton button)''' 6116 return QDialogButtonBox.ButtonRole() 6117 def buttons(self): 6118 '''list-of-QAbstractButton QDialogButtonBox.buttons()''' 6119 return [QAbstractButton()] 6120 def clear(self): 6121 '''void QDialogButtonBox.clear()''' 6122 def removeButton(self, button): 6123 '''void QDialogButtonBox.removeButton(QAbstractButton button)''' 6124 def addButton(self, button, role): 6125 '''void QDialogButtonBox.addButton(QAbstractButton button, QDialogButtonBox.ButtonRole role)''' 6126 def addButton(self, text, role): 6127 '''QPushButton QDialogButtonBox.addButton(QString text, QDialogButtonBox.ButtonRole role)''' 6128 return QPushButton() 6129 def addButton(self, button): 6130 '''QPushButton QDialogButtonBox.addButton(QDialogButtonBox.StandardButton button)''' 6131 return QPushButton() 6132 def orientation(self): 6133 '''Qt.Orientation QDialogButtonBox.orientation()''' 6134 return Qt.Orientation() 6135 def setOrientation(self, orientation): 6136 '''void QDialogButtonBox.setOrientation(Qt.Orientation orientation)''' 6137 class StandardButtons(): 6138 """""" 6139 def __init__(self): 6140 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__init__()''' 6141 return QDialogButtonBox.StandardButtons() 6142 def __init__(self): 6143 '''int QDialogButtonBox.StandardButtons.__init__()''' 6144 return int() 6145 def __init__(self): 6146 '''void QDialogButtonBox.StandardButtons.__init__()''' 6147 def __bool__(self): 6148 '''int QDialogButtonBox.StandardButtons.__bool__()''' 6149 return int() 6150 def __ne__(self, f): 6151 '''bool QDialogButtonBox.StandardButtons.__ne__(QDialogButtonBox.StandardButtons f)''' 6152 return bool() 6153 def __eq__(self, f): 6154 '''bool QDialogButtonBox.StandardButtons.__eq__(QDialogButtonBox.StandardButtons f)''' 6155 return bool() 6156 def __invert__(self): 6157 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__invert__()''' 6158 return QDialogButtonBox.StandardButtons() 6159 def __and__(self, mask): 6160 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__and__(int mask)''' 6161 return QDialogButtonBox.StandardButtons() 6162 def __xor__(self, f): 6163 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__xor__(QDialogButtonBox.StandardButtons f)''' 6164 return QDialogButtonBox.StandardButtons() 6165 def __xor__(self, f): 6166 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__xor__(int f)''' 6167 return QDialogButtonBox.StandardButtons() 6168 def __or__(self, f): 6169 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__or__(QDialogButtonBox.StandardButtons f)''' 6170 return QDialogButtonBox.StandardButtons() 6171 def __or__(self, f): 6172 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__or__(int f)''' 6173 return QDialogButtonBox.StandardButtons() 6174 def __int__(self): 6175 '''int QDialogButtonBox.StandardButtons.__int__()''' 6176 return int() 6177 def __ixor__(self, f): 6178 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__ixor__(QDialogButtonBox.StandardButtons f)''' 6179 return QDialogButtonBox.StandardButtons() 6180 def __ior__(self, f): 6181 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__ior__(QDialogButtonBox.StandardButtons f)''' 6182 return QDialogButtonBox.StandardButtons() 6183 def __iand__(self, mask): 6184 '''QDialogButtonBox.StandardButtons QDialogButtonBox.StandardButtons.__iand__(int mask)''' 6185 return QDialogButtonBox.StandardButtons() 6186 6187 6188 class QDirModel(QAbstractItemModel): 6189 """""" 6190 # Enum QDirModel.Roles 6191 FileIconRole = 0 6192 FilePathRole = 0 6193 FileNameRole = 0 6194 6195 def __init__(self, nameFilters, filters, sort, parent = None): 6196 '''void QDirModel.__init__(QStringList nameFilters, QDir.Filters filters, QDir.SortFlags sort, QObject parent = None)''' 6197 def __init__(self, parent = None): 6198 '''void QDirModel.__init__(QObject parent = None)''' 6199 def fileInfo(self, index): 6200 '''QFileInfo QDirModel.fileInfo(QModelIndex index)''' 6201 return QFileInfo() 6202 def fileIcon(self, index): 6203 '''QIcon QDirModel.fileIcon(QModelIndex index)''' 6204 return QIcon() 6205 def fileName(self, index): 6206 '''QString QDirModel.fileName(QModelIndex index)''' 6207 return QString() 6208 def filePath(self, index): 6209 '''QString QDirModel.filePath(QModelIndex index)''' 6210 return QString() 6211 def remove(self, index): 6212 '''bool QDirModel.remove(QModelIndex index)''' 6213 return bool() 6214 def rmdir(self, index): 6215 '''bool QDirModel.rmdir(QModelIndex index)''' 6216 return bool() 6217 def mkdir(self, parent, name): 6218 '''QModelIndex QDirModel.mkdir(QModelIndex parent, QString name)''' 6219 return QModelIndex() 6220 def isDir(self, index): 6221 '''bool QDirModel.isDir(QModelIndex index)''' 6222 return bool() 6223 def refresh(self, parent = QModelIndex()): 6224 '''void QDirModel.refresh(QModelIndex parent = QModelIndex())''' 6225 def lazyChildCount(self): 6226 '''bool QDirModel.lazyChildCount()''' 6227 return bool() 6228 def setLazyChildCount(self, enable): 6229 '''void QDirModel.setLazyChildCount(bool enable)''' 6230 def isReadOnly(self): 6231 '''bool QDirModel.isReadOnly()''' 6232 return bool() 6233 def setReadOnly(self, enable): 6234 '''void QDirModel.setReadOnly(bool enable)''' 6235 def resolveSymlinks(self): 6236 '''bool QDirModel.resolveSymlinks()''' 6237 return bool() 6238 def setResolveSymlinks(self, enable): 6239 '''void QDirModel.setResolveSymlinks(bool enable)''' 6240 def sorting(self): 6241 '''QDir.SortFlags QDirModel.sorting()''' 6242 return QDir.SortFlags() 6243 def setSorting(self, sort): 6244 '''void QDirModel.setSorting(QDir.SortFlags sort)''' 6245 def filter(self): 6246 '''QDir.Filters QDirModel.filter()''' 6247 return QDir.Filters() 6248 def setFilter(self, filters): 6249 '''void QDirModel.setFilter(QDir.Filters filters)''' 6250 def nameFilters(self): 6251 '''QStringList QDirModel.nameFilters()''' 6252 return QStringList() 6253 def setNameFilters(self, filters): 6254 '''void QDirModel.setNameFilters(QStringList filters)''' 6255 def iconProvider(self): 6256 '''QFileIconProvider QDirModel.iconProvider()''' 6257 return QFileIconProvider() 6258 def setIconProvider(self, provider): 6259 '''void QDirModel.setIconProvider(QFileIconProvider provider)''' 6260 def supportedDropActions(self): 6261 '''Qt.DropActions QDirModel.supportedDropActions()''' 6262 return Qt.DropActions() 6263 def dropMimeData(self, data, action, row, column, parent): 6264 '''bool QDirModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 6265 return bool() 6266 def mimeData(self, indexes): 6267 '''QMimeData QDirModel.mimeData(list-of-QModelIndex indexes)''' 6268 return QMimeData() 6269 def mimeTypes(self): 6270 '''QStringList QDirModel.mimeTypes()''' 6271 return QStringList() 6272 def sort(self, column, order = None): 6273 '''void QDirModel.sort(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 6274 def flags(self, index): 6275 '''Qt.ItemFlags QDirModel.flags(QModelIndex index)''' 6276 return Qt.ItemFlags() 6277 def hasChildren(self, parent = QModelIndex()): 6278 '''bool QDirModel.hasChildren(QModelIndex parent = QModelIndex())''' 6279 return bool() 6280 def headerData(self, section, orientation, role = None): 6281 '''QVariant QDirModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 6282 return QVariant() 6283 def setData(self, index, value, role = None): 6284 '''bool QDirModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 6285 return bool() 6286 def data(self, index, role = None): 6287 '''QVariant QDirModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 6288 return QVariant() 6289 def columnCount(self, parent = QModelIndex()): 6290 '''int QDirModel.columnCount(QModelIndex parent = QModelIndex())''' 6291 return int() 6292 def rowCount(self, parent = QModelIndex()): 6293 '''int QDirModel.rowCount(QModelIndex parent = QModelIndex())''' 6294 return int() 6295 def parent(self, child): 6296 '''QModelIndex QDirModel.parent(QModelIndex child)''' 6297 return QModelIndex() 6298 def parent(self): 6299 '''QObject QDirModel.parent()''' 6300 return QObject() 6301 def index(self, row, column, parent = QModelIndex()): 6302 '''QModelIndex QDirModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 6303 return QModelIndex() 6304 def index(self, path, column = 0): 6305 '''QModelIndex QDirModel.index(QString path, int column = 0)''' 6306 return QModelIndex() 6307 6308 6309 class QDockWidget(QWidget): 6310 """""" 6311 # Enum QDockWidget.DockWidgetFeature 6312 DockWidgetClosable = 0 6313 DockWidgetMovable = 0 6314 DockWidgetFloatable = 0 6315 DockWidgetVerticalTitleBar = 0 6316 AllDockWidgetFeatures = 0 6317 NoDockWidgetFeatures = 0 6318 6319 def __init__(self, title, parent = None, flags = 0): 6320 '''void QDockWidget.__init__(QString title, QWidget parent = None, Qt.WindowFlags flags = 0)''' 6321 def __init__(self, parent = None, flags = 0): 6322 '''void QDockWidget.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 6323 def event(self, event): 6324 '''bool QDockWidget.event(QEvent event)''' 6325 return bool() 6326 def paintEvent(self, event): 6327 '''void QDockWidget.paintEvent(QPaintEvent event)''' 6328 def closeEvent(self, event): 6329 '''void QDockWidget.closeEvent(QCloseEvent event)''' 6330 def changeEvent(self, event): 6331 '''void QDockWidget.changeEvent(QEvent event)''' 6332 def initStyleOption(self, option): 6333 '''void QDockWidget.initStyleOption(QStyleOptionDockWidget option)''' 6334 visibilityChanged = pyqtSignal() # void visibilityChanged(bool) - signal 6335 dockLocationChanged = pyqtSignal() # void dockLocationChanged(Qt::DockWidgetArea) - signal 6336 allowedAreasChanged = pyqtSignal() # void allowedAreasChanged(Qt::DockWidgetAreas) - signal 6337 topLevelChanged = pyqtSignal() # void topLevelChanged(bool) - signal 6338 featuresChanged = pyqtSignal() # void featuresChanged(QDockWidget::DockWidgetFeatures) - signal 6339 def titleBarWidget(self): 6340 '''QWidget QDockWidget.titleBarWidget()''' 6341 return QWidget() 6342 def setTitleBarWidget(self, widget): 6343 '''void QDockWidget.setTitleBarWidget(QWidget widget)''' 6344 def toggleViewAction(self): 6345 '''QAction QDockWidget.toggleViewAction()''' 6346 return QAction() 6347 def isAreaAllowed(self, area): 6348 '''bool QDockWidget.isAreaAllowed(Qt.DockWidgetArea area)''' 6349 return bool() 6350 def allowedAreas(self): 6351 '''Qt.DockWidgetAreas QDockWidget.allowedAreas()''' 6352 return Qt.DockWidgetAreas() 6353 def setAllowedAreas(self, areas): 6354 '''void QDockWidget.setAllowedAreas(Qt.DockWidgetAreas areas)''' 6355 def isFloating(self): 6356 '''bool QDockWidget.isFloating()''' 6357 return bool() 6358 def setFloating(self, floating): 6359 '''void QDockWidget.setFloating(bool floating)''' 6360 def features(self): 6361 '''QDockWidget.DockWidgetFeatures QDockWidget.features()''' 6362 return QDockWidget.DockWidgetFeatures() 6363 def setFeatures(self, features): 6364 '''void QDockWidget.setFeatures(QDockWidget.DockWidgetFeatures features)''' 6365 def setWidget(self, widget): 6366 '''void QDockWidget.setWidget(QWidget widget)''' 6367 def widget(self): 6368 '''QWidget QDockWidget.widget()''' 6369 return QWidget() 6370 class DockWidgetFeatures(): 6371 """""" 6372 def __init__(self): 6373 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__init__()''' 6374 return QDockWidget.DockWidgetFeatures() 6375 def __init__(self): 6376 '''int QDockWidget.DockWidgetFeatures.__init__()''' 6377 return int() 6378 def __init__(self): 6379 '''void QDockWidget.DockWidgetFeatures.__init__()''' 6380 def __bool__(self): 6381 '''int QDockWidget.DockWidgetFeatures.__bool__()''' 6382 return int() 6383 def __ne__(self, f): 6384 '''bool QDockWidget.DockWidgetFeatures.__ne__(QDockWidget.DockWidgetFeatures f)''' 6385 return bool() 6386 def __eq__(self, f): 6387 '''bool QDockWidget.DockWidgetFeatures.__eq__(QDockWidget.DockWidgetFeatures f)''' 6388 return bool() 6389 def __invert__(self): 6390 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__invert__()''' 6391 return QDockWidget.DockWidgetFeatures() 6392 def __and__(self, mask): 6393 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__and__(int mask)''' 6394 return QDockWidget.DockWidgetFeatures() 6395 def __xor__(self, f): 6396 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__xor__(QDockWidget.DockWidgetFeatures f)''' 6397 return QDockWidget.DockWidgetFeatures() 6398 def __xor__(self, f): 6399 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__xor__(int f)''' 6400 return QDockWidget.DockWidgetFeatures() 6401 def __or__(self, f): 6402 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__or__(QDockWidget.DockWidgetFeatures f)''' 6403 return QDockWidget.DockWidgetFeatures() 6404 def __or__(self, f): 6405 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__or__(int f)''' 6406 return QDockWidget.DockWidgetFeatures() 6407 def __int__(self): 6408 '''int QDockWidget.DockWidgetFeatures.__int__()''' 6409 return int() 6410 def __ixor__(self, f): 6411 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__ixor__(QDockWidget.DockWidgetFeatures f)''' 6412 return QDockWidget.DockWidgetFeatures() 6413 def __ior__(self, f): 6414 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__ior__(QDockWidget.DockWidgetFeatures f)''' 6415 return QDockWidget.DockWidgetFeatures() 6416 def __iand__(self, mask): 6417 '''QDockWidget.DockWidgetFeatures QDockWidget.DockWidgetFeatures.__iand__(int mask)''' 6418 return QDockWidget.DockWidgetFeatures() 6419 6420 6421 class QDrag(QObject): 6422 """""" 6423 def __init__(self, dragSource): 6424 '''void QDrag.__init__(QWidget dragSource)''' 6425 targetChanged = pyqtSignal() # void targetChanged(QWidget *) - signal 6426 actionChanged = pyqtSignal() # void actionChanged(Qt::DropAction) - signal 6427 def setDragCursor(self, cursor, action): 6428 '''void QDrag.setDragCursor(QPixmap cursor, Qt.DropAction action)''' 6429 def start(self, supportedActions = None): 6430 '''Qt.DropAction QDrag.start(Qt.DropActions supportedActions = Qt.CopyAction)''' 6431 return Qt.DropAction() 6432 def target(self): 6433 '''QWidget QDrag.target()''' 6434 return QWidget() 6435 def source(self): 6436 '''QWidget QDrag.source()''' 6437 return QWidget() 6438 def hotSpot(self): 6439 '''QPoint QDrag.hotSpot()''' 6440 return QPoint() 6441 def setHotSpot(self, hotspot): 6442 '''void QDrag.setHotSpot(QPoint hotspot)''' 6443 def pixmap(self): 6444 '''QPixmap QDrag.pixmap()''' 6445 return QPixmap() 6446 def setPixmap(self): 6447 '''QPixmap QDrag.setPixmap()''' 6448 return QPixmap() 6449 def mimeData(self): 6450 '''QMimeData QDrag.mimeData()''' 6451 return QMimeData() 6452 def setMimeData(self, data): 6453 '''void QDrag.setMimeData(QMimeData data)''' 6454 def exec_(self, supportedActions = None): 6455 '''Qt.DropAction QDrag.exec_(Qt.DropActions supportedActions = Qt.MoveAction)''' 6456 return Qt.DropAction() 6457 def exec_(self, supportedActions, defaultDropAction): 6458 '''Qt.DropAction QDrag.exec_(Qt.DropActions supportedActions, Qt.DropAction defaultDropAction)''' 6459 return Qt.DropAction() 6460 6461 6462 class QErrorMessage(QDialog): 6463 """""" 6464 def __init__(self, parent = None): 6465 '''void QErrorMessage.__init__(QWidget parent = None)''' 6466 def done(self): 6467 '''int QErrorMessage.done()''' 6468 return int() 6469 def changeEvent(self, e): 6470 '''void QErrorMessage.changeEvent(QEvent e)''' 6471 def showMessage(self, message): 6472 '''void QErrorMessage.showMessage(QString message)''' 6473 def showMessage(self, message, type): 6474 '''void QErrorMessage.showMessage(QString message, QString type)''' 6475 def qtHandler(self): 6476 '''static QErrorMessage QErrorMessage.qtHandler()''' 6477 return QErrorMessage() 6478 6479 6480 class QInputEvent(QEvent): 6481 """""" 6482 def modifiers(self): 6483 '''Qt.KeyboardModifiers QInputEvent.modifiers()''' 6484 return Qt.KeyboardModifiers() 6485 6486 6487 class QMouseEvent(QInputEvent): 6488 """""" 6489 def __init__(self, type, pos, button, buttons, modifiers): 6490 '''void QMouseEvent.__init__(QEvent.Type type, QPoint pos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers)''' 6491 def __init__(self, type, pos, globalPos, button, buttons, modifiers): 6492 '''void QMouseEvent.__init__(QEvent.Type type, QPoint pos, QPoint globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers)''' 6493 def __init__(self): 6494 '''QMouseEvent QMouseEvent.__init__()''' 6495 return QMouseEvent() 6496 def posF(self): 6497 '''QPointF QMouseEvent.posF()''' 6498 return QPointF() 6499 def hasExtendedInfo(self): 6500 '''bool QMouseEvent.hasExtendedInfo()''' 6501 return bool() 6502 def buttons(self): 6503 '''Qt.MouseButtons QMouseEvent.buttons()''' 6504 return Qt.MouseButtons() 6505 def button(self): 6506 '''Qt.MouseButton QMouseEvent.button()''' 6507 return Qt.MouseButton() 6508 def globalY(self): 6509 '''int QMouseEvent.globalY()''' 6510 return int() 6511 def globalX(self): 6512 '''int QMouseEvent.globalX()''' 6513 return int() 6514 def y(self): 6515 '''int QMouseEvent.y()''' 6516 return int() 6517 def x(self): 6518 '''int QMouseEvent.x()''' 6519 return int() 6520 def globalPos(self): 6521 '''QPoint QMouseEvent.globalPos()''' 6522 return QPoint() 6523 def pos(self): 6524 '''QPoint QMouseEvent.pos()''' 6525 return QPoint() 6526 6527 6528 class QHoverEvent(QEvent): 6529 """""" 6530 def __init__(self, type, pos, oldPos): 6531 '''void QHoverEvent.__init__(QEvent.Type type, QPoint pos, QPoint oldPos)''' 6532 def __init__(self): 6533 '''QHoverEvent QHoverEvent.__init__()''' 6534 return QHoverEvent() 6535 def oldPos(self): 6536 '''QPoint QHoverEvent.oldPos()''' 6537 return QPoint() 6538 def pos(self): 6539 '''QPoint QHoverEvent.pos()''' 6540 return QPoint() 6541 6542 6543 class QWheelEvent(QInputEvent): 6544 """""" 6545 def __init__(self, pos, delta, buttons, modifiers, orientation = None): 6546 '''void QWheelEvent.__init__(QPoint pos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.Orientation orientation = Qt.Vertical)''' 6547 def __init__(self, pos, globalPos, delta, buttons, modifiers, orientation = None): 6548 '''void QWheelEvent.__init__(QPoint pos, QPoint globalPos, int delta, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.Orientation orientation = Qt.Vertical)''' 6549 def __init__(self): 6550 '''QWheelEvent QWheelEvent.__init__()''' 6551 return QWheelEvent() 6552 def orientation(self): 6553 '''Qt.Orientation QWheelEvent.orientation()''' 6554 return Qt.Orientation() 6555 def buttons(self): 6556 '''Qt.MouseButtons QWheelEvent.buttons()''' 6557 return Qt.MouseButtons() 6558 def globalY(self): 6559 '''int QWheelEvent.globalY()''' 6560 return int() 6561 def globalX(self): 6562 '''int QWheelEvent.globalX()''' 6563 return int() 6564 def y(self): 6565 '''int QWheelEvent.y()''' 6566 return int() 6567 def x(self): 6568 '''int QWheelEvent.x()''' 6569 return int() 6570 def globalPos(self): 6571 '''QPoint QWheelEvent.globalPos()''' 6572 return QPoint() 6573 def pos(self): 6574 '''QPoint QWheelEvent.pos()''' 6575 return QPoint() 6576 def delta(self): 6577 '''int QWheelEvent.delta()''' 6578 return int() 6579 6580 6581 class QTabletEvent(QInputEvent): 6582 """""" 6583 # Enum QTabletEvent.PointerType 6584 UnknownPointer = 0 6585 Pen = 0 6586 Cursor = 0 6587 Eraser = 0 6588 6589 # Enum QTabletEvent.TabletDevice 6590 NoDevice = 0 6591 Puck = 0 6592 Stylus = 0 6593 Airbrush = 0 6594 FourDMouse = 0 6595 XFreeEraser = 0 6596 RotationStylus = 0 6597 6598 def __init__(self, t, pos, globalPos, hiResGlobalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID): 6599 '''void QTabletEvent.__init__(QEvent.Type t, QPoint pos, QPoint globalPos, QPointF hiResGlobalPos, int device, int pointerType, float pressure, int xTilt, int yTilt, float tangentialPressure, float rotation, int z, Qt.KeyboardModifiers keyState, int uniqueID)''' 6600 def __init__(self): 6601 '''QTabletEvent QTabletEvent.__init__()''' 6602 return QTabletEvent() 6603 def yTilt(self): 6604 '''int QTabletEvent.yTilt()''' 6605 return int() 6606 def xTilt(self): 6607 '''int QTabletEvent.xTilt()''' 6608 return int() 6609 def rotation(self): 6610 '''float QTabletEvent.rotation()''' 6611 return float() 6612 def tangentialPressure(self): 6613 '''float QTabletEvent.tangentialPressure()''' 6614 return float() 6615 def z(self): 6616 '''int QTabletEvent.z()''' 6617 return int() 6618 def pressure(self): 6619 '''float QTabletEvent.pressure()''' 6620 return float() 6621 def uniqueId(self): 6622 '''int QTabletEvent.uniqueId()''' 6623 return int() 6624 def pointerType(self): 6625 '''QTabletEvent.PointerType QTabletEvent.pointerType()''' 6626 return QTabletEvent.PointerType() 6627 def device(self): 6628 '''QTabletEvent.TabletDevice QTabletEvent.device()''' 6629 return QTabletEvent.TabletDevice() 6630 def hiResGlobalY(self): 6631 '''float QTabletEvent.hiResGlobalY()''' 6632 return float() 6633 def hiResGlobalX(self): 6634 '''float QTabletEvent.hiResGlobalX()''' 6635 return float() 6636 def globalY(self): 6637 '''int QTabletEvent.globalY()''' 6638 return int() 6639 def globalX(self): 6640 '''int QTabletEvent.globalX()''' 6641 return int() 6642 def y(self): 6643 '''int QTabletEvent.y()''' 6644 return int() 6645 def x(self): 6646 '''int QTabletEvent.x()''' 6647 return int() 6648 def hiResGlobalPos(self): 6649 '''QPointF QTabletEvent.hiResGlobalPos()''' 6650 return QPointF() 6651 def globalPos(self): 6652 '''QPoint QTabletEvent.globalPos()''' 6653 return QPoint() 6654 def pos(self): 6655 '''QPoint QTabletEvent.pos()''' 6656 return QPoint() 6657 6658 6659 class QKeyEvent(QInputEvent): 6660 """""" 6661 def __init__(self, type, key, modifiers, text = QString(), autorep = False, count = 1): 6662 '''void QKeyEvent.__init__(QEvent.Type type, int key, Qt.KeyboardModifiers modifiers, QString text = QString(), bool autorep = False, int count = 1)''' 6663 def __init__(self): 6664 '''QKeyEvent QKeyEvent.__init__()''' 6665 return QKeyEvent() 6666 def __ne__(self, key): 6667 '''bool QKeyEvent.__ne__(QKeySequence.StandardKey key)''' 6668 return bool() 6669 def __eq__(self, key): 6670 '''bool QKeyEvent.__eq__(QKeySequence.StandardKey key)''' 6671 return bool() 6672 def nativeVirtualKey(self): 6673 '''int QKeyEvent.nativeVirtualKey()''' 6674 return int() 6675 def nativeScanCode(self): 6676 '''int QKeyEvent.nativeScanCode()''' 6677 return int() 6678 def nativeModifiers(self): 6679 '''int QKeyEvent.nativeModifiers()''' 6680 return int() 6681 def matches(self, key): 6682 '''bool QKeyEvent.matches(QKeySequence.StandardKey key)''' 6683 return bool() 6684 def __len__(self): 6685 '''None QKeyEvent.__len__()''' 6686 return None() 6687 def count(self): 6688 '''int QKeyEvent.count()''' 6689 return int() 6690 def isAutoRepeat(self): 6691 '''bool QKeyEvent.isAutoRepeat()''' 6692 return bool() 6693 def text(self): 6694 '''QString QKeyEvent.text()''' 6695 return QString() 6696 def modifiers(self): 6697 '''Qt.KeyboardModifiers QKeyEvent.modifiers()''' 6698 return Qt.KeyboardModifiers() 6699 def key(self): 6700 '''int QKeyEvent.key()''' 6701 return int() 6702 6703 6704 class QFocusEvent(QEvent): 6705 """""" 6706 def __init__(self, type, reason = None): 6707 '''void QFocusEvent.__init__(QEvent.Type type, Qt.FocusReason reason = Qt.OtherFocusReason)''' 6708 def __init__(self): 6709 '''QFocusEvent QFocusEvent.__init__()''' 6710 return QFocusEvent() 6711 def reason(self): 6712 '''Qt.FocusReason QFocusEvent.reason()''' 6713 return Qt.FocusReason() 6714 def lostFocus(self): 6715 '''bool QFocusEvent.lostFocus()''' 6716 return bool() 6717 def gotFocus(self): 6718 '''bool QFocusEvent.gotFocus()''' 6719 return bool() 6720 6721 6722 class QPaintEvent(QEvent): 6723 """""" 6724 def __init__(self, paintRegion): 6725 '''void QPaintEvent.__init__(QRegion paintRegion)''' 6726 def __init__(self, paintRect): 6727 '''void QPaintEvent.__init__(QRect paintRect)''' 6728 def __init__(self): 6729 '''QPaintEvent QPaintEvent.__init__()''' 6730 return QPaintEvent() 6731 def region(self): 6732 '''QRegion QPaintEvent.region()''' 6733 return QRegion() 6734 def rect(self): 6735 '''QRect QPaintEvent.rect()''' 6736 return QRect() 6737 6738 6739 class QMoveEvent(QEvent): 6740 """""" 6741 def __init__(self, pos, oldPos): 6742 '''void QMoveEvent.__init__(QPoint pos, QPoint oldPos)''' 6743 def __init__(self): 6744 '''QMoveEvent QMoveEvent.__init__()''' 6745 return QMoveEvent() 6746 def oldPos(self): 6747 '''QPoint QMoveEvent.oldPos()''' 6748 return QPoint() 6749 def pos(self): 6750 '''QPoint QMoveEvent.pos()''' 6751 return QPoint() 6752 6753 6754 class QResizeEvent(QEvent): 6755 """""" 6756 def __init__(self, size, oldSize): 6757 '''void QResizeEvent.__init__(QSize size, QSize oldSize)''' 6758 def __init__(self): 6759 '''QResizeEvent QResizeEvent.__init__()''' 6760 return QResizeEvent() 6761 def oldSize(self): 6762 '''QSize QResizeEvent.oldSize()''' 6763 return QSize() 6764 def size(self): 6765 '''QSize QResizeEvent.size()''' 6766 return QSize() 6767 6768 6769 class QCloseEvent(QEvent): 6770 """""" 6771 def __init__(self): 6772 '''void QCloseEvent.__init__()''' 6773 def __init__(self): 6774 '''QCloseEvent QCloseEvent.__init__()''' 6775 return QCloseEvent() 6776 6777 6778 class QIconDragEvent(QEvent): 6779 """""" 6780 def __init__(self): 6781 '''void QIconDragEvent.__init__()''' 6782 def __init__(self): 6783 '''QIconDragEvent QIconDragEvent.__init__()''' 6784 return QIconDragEvent() 6785 6786 6787 class QShowEvent(QEvent): 6788 """""" 6789 def __init__(self): 6790 '''void QShowEvent.__init__()''' 6791 def __init__(self): 6792 '''QShowEvent QShowEvent.__init__()''' 6793 return QShowEvent() 6794 6795 6796 class QHideEvent(QEvent): 6797 """""" 6798 def __init__(self): 6799 '''void QHideEvent.__init__()''' 6800 def __init__(self): 6801 '''QHideEvent QHideEvent.__init__()''' 6802 return QHideEvent() 6803 6804 6805 class QContextMenuEvent(QInputEvent): 6806 """""" 6807 # Enum QContextMenuEvent.Reason 6808 Mouse = 0 6809 Keyboard = 0 6810 Other = 0 6811 6812 def __init__(self, reason, pos, globalPos, modifiers): 6813 '''void QContextMenuEvent.__init__(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos, Qt.KeyboardModifiers modifiers)''' 6814 def __init__(self, reason, pos, globalPos): 6815 '''void QContextMenuEvent.__init__(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos)''' 6816 def __init__(self, reason, pos): 6817 '''void QContextMenuEvent.__init__(QContextMenuEvent.Reason reason, QPoint pos)''' 6818 def __init__(self): 6819 '''QContextMenuEvent QContextMenuEvent.__init__()''' 6820 return QContextMenuEvent() 6821 def reason(self): 6822 '''QContextMenuEvent.Reason QContextMenuEvent.reason()''' 6823 return QContextMenuEvent.Reason() 6824 def globalPos(self): 6825 '''QPoint QContextMenuEvent.globalPos()''' 6826 return QPoint() 6827 def pos(self): 6828 '''QPoint QContextMenuEvent.pos()''' 6829 return QPoint() 6830 def globalY(self): 6831 '''int QContextMenuEvent.globalY()''' 6832 return int() 6833 def globalX(self): 6834 '''int QContextMenuEvent.globalX()''' 6835 return int() 6836 def y(self): 6837 '''int QContextMenuEvent.y()''' 6838 return int() 6839 def x(self): 6840 '''int QContextMenuEvent.x()''' 6841 return int() 6842 6843 6844 class QInputMethodEvent(QEvent): 6845 """""" 6846 # Enum QInputMethodEvent.AttributeType 6847 TextFormat = 0 6848 Cursor = 0 6849 Language = 0 6850 Ruby = 0 6851 Selection = 0 6852 6853 def __init__(self): 6854 '''void QInputMethodEvent.__init__()''' 6855 def __init__(self, preeditText, attributes): 6856 '''void QInputMethodEvent.__init__(QString preeditText, list-of-QInputMethodEvent.Attribute attributes)''' 6857 def __init__(self, other): 6858 '''void QInputMethodEvent.__init__(QInputMethodEvent other)''' 6859 def replacementLength(self): 6860 '''int QInputMethodEvent.replacementLength()''' 6861 return int() 6862 def replacementStart(self): 6863 '''int QInputMethodEvent.replacementStart()''' 6864 return int() 6865 def commitString(self): 6866 '''QString QInputMethodEvent.commitString()''' 6867 return QString() 6868 def preeditString(self): 6869 '''QString QInputMethodEvent.preeditString()''' 6870 return QString() 6871 def attributes(self): 6872 '''list-of-QInputMethodEvent.Attribute QInputMethodEvent.attributes()''' 6873 return [QInputMethodEvent.Attribute()] 6874 def setCommitString(self, commitString, from_ = 0, length = 0): 6875 '''void QInputMethodEvent.setCommitString(QString commitString, int from = 0, int length = 0)''' 6876 class Attribute(): 6877 """""" 6878 length = None # int - member 6879 start = None # int - member 6880 type = None # QInputMethodEvent.AttributeType - member 6881 value = None # QVariant - member 6882 def __init__(self, t, s, l, val): 6883 '''void QInputMethodEvent.Attribute.__init__(QInputMethodEvent.AttributeType t, int s, int l, QVariant val)''' 6884 def __init__(self): 6885 '''QInputMethodEvent.Attribute QInputMethodEvent.Attribute.__init__()''' 6886 return QInputMethodEvent.Attribute() 6887 6888 6889 class QMimeSource(): 6890 """""" 6891 def __init__(self): 6892 '''void QMimeSource.__init__()''' 6893 def __init__(self): 6894 '''QMimeSource QMimeSource.__init__()''' 6895 return QMimeSource() 6896 def encodedData(self): 6897 '''abstract str QMimeSource.encodedData()''' 6898 return str() 6899 def provides(self): 6900 '''str QMimeSource.provides()''' 6901 return str() 6902 def format(self, i = 0): 6903 '''abstract str QMimeSource.format(int i = 0)''' 6904 return str() 6905 6906 6907 class QDropEvent(QEvent, QMimeSource): 6908 """""" 6909 def __init__(self, pos, actions, data, buttons, modifiers, type = None): 6910 '''void QDropEvent.__init__(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QEvent.Type type = QEvent.Drop)''' 6911 def __init__(self): 6912 '''QDropEvent QDropEvent.__init__()''' 6913 return QDropEvent() 6914 def provides(self): 6915 '''str QDropEvent.provides()''' 6916 return str() 6917 def encodedData(self): 6918 '''str QDropEvent.encodedData()''' 6919 return str() 6920 def format(self, n = 0): 6921 '''str QDropEvent.format(int n = 0)''' 6922 return str() 6923 def mimeData(self): 6924 '''QMimeData QDropEvent.mimeData()''' 6925 return QMimeData() 6926 def source(self): 6927 '''QWidget QDropEvent.source()''' 6928 return QWidget() 6929 def setDropAction(self, action): 6930 '''void QDropEvent.setDropAction(Qt.DropAction action)''' 6931 def dropAction(self): 6932 '''Qt.DropAction QDropEvent.dropAction()''' 6933 return Qt.DropAction() 6934 def acceptProposedAction(self): 6935 '''void QDropEvent.acceptProposedAction()''' 6936 def proposedAction(self): 6937 '''Qt.DropAction QDropEvent.proposedAction()''' 6938 return Qt.DropAction() 6939 def possibleActions(self): 6940 '''Qt.DropActions QDropEvent.possibleActions()''' 6941 return Qt.DropActions() 6942 def keyboardModifiers(self): 6943 '''Qt.KeyboardModifiers QDropEvent.keyboardModifiers()''' 6944 return Qt.KeyboardModifiers() 6945 def mouseButtons(self): 6946 '''Qt.MouseButtons QDropEvent.mouseButtons()''' 6947 return Qt.MouseButtons() 6948 def pos(self): 6949 '''QPoint QDropEvent.pos()''' 6950 return QPoint() 6951 6952 6953 class QDragMoveEvent(QDropEvent): 6954 """""" 6955 def __init__(self, pos, actions, data, buttons, modifiers, type = None): 6956 '''void QDragMoveEvent.__init__(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QEvent.Type type = QEvent.DragMove)''' 6957 def __init__(self): 6958 '''QDragMoveEvent QDragMoveEvent.__init__()''' 6959 return QDragMoveEvent() 6960 def ignore(self): 6961 '''void QDragMoveEvent.ignore()''' 6962 def ignore(self, r): 6963 '''void QDragMoveEvent.ignore(QRect r)''' 6964 def accept(self): 6965 '''void QDragMoveEvent.accept()''' 6966 def accept(self, r): 6967 '''void QDragMoveEvent.accept(QRect r)''' 6968 def answerRect(self): 6969 '''QRect QDragMoveEvent.answerRect()''' 6970 return QRect() 6971 6972 6973 class QDragEnterEvent(QDragMoveEvent): 6974 """""" 6975 def __init__(self, pos, actions, data, buttons, modifiers): 6976 '''void QDragEnterEvent.__init__(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers)''' 6977 def __init__(self): 6978 '''QDragEnterEvent QDragEnterEvent.__init__()''' 6979 return QDragEnterEvent() 6980 6981 6982 class QDragLeaveEvent(QEvent): 6983 """""" 6984 def __init__(self): 6985 '''void QDragLeaveEvent.__init__()''' 6986 def __init__(self): 6987 '''QDragLeaveEvent QDragLeaveEvent.__init__()''' 6988 return QDragLeaveEvent() 6989 6990 6991 class QHelpEvent(QEvent): 6992 """""" 6993 def __init__(self, type, pos, globalPos): 6994 '''void QHelpEvent.__init__(QEvent.Type type, QPoint pos, QPoint globalPos)''' 6995 def __init__(self): 6996 '''QHelpEvent QHelpEvent.__init__()''' 6997 return QHelpEvent() 6998 def globalPos(self): 6999 '''QPoint QHelpEvent.globalPos()''' 7000 return QPoint() 7001 def pos(self): 7002 '''QPoint QHelpEvent.pos()''' 7003 return QPoint() 7004 def globalY(self): 7005 '''int QHelpEvent.globalY()''' 7006 return int() 7007 def globalX(self): 7008 '''int QHelpEvent.globalX()''' 7009 return int() 7010 def y(self): 7011 '''int QHelpEvent.y()''' 7012 return int() 7013 def x(self): 7014 '''int QHelpEvent.x()''' 7015 return int() 7016 7017 7018 class QStatusTipEvent(QEvent): 7019 """""" 7020 def __init__(self, tip): 7021 '''void QStatusTipEvent.__init__(QString tip)''' 7022 def __init__(self): 7023 '''QStatusTipEvent QStatusTipEvent.__init__()''' 7024 return QStatusTipEvent() 7025 def tip(self): 7026 '''QString QStatusTipEvent.tip()''' 7027 return QString() 7028 7029 7030 class QWhatsThisClickedEvent(QEvent): 7031 """""" 7032 def __init__(self, href): 7033 '''void QWhatsThisClickedEvent.__init__(QString href)''' 7034 def __init__(self): 7035 '''QWhatsThisClickedEvent QWhatsThisClickedEvent.__init__()''' 7036 return QWhatsThisClickedEvent() 7037 def href(self): 7038 '''QString QWhatsThisClickedEvent.href()''' 7039 return QString() 7040 7041 7042 class QActionEvent(QEvent): 7043 """""" 7044 def __init__(self, type, action, before = None): 7045 '''void QActionEvent.__init__(int type, QAction action, QAction before = None)''' 7046 def __init__(self): 7047 '''QActionEvent QActionEvent.__init__()''' 7048 return QActionEvent() 7049 def before(self): 7050 '''QAction QActionEvent.before()''' 7051 return QAction() 7052 def action(self): 7053 '''QAction QActionEvent.action()''' 7054 return QAction() 7055 7056 7057 class QFileOpenEvent(QEvent): 7058 """""" 7059 def openFile(self, file, flags): 7060 '''bool QFileOpenEvent.openFile(QFile file, QIODevice.OpenMode flags)''' 7061 return bool() 7062 def url(self): 7063 '''QUrl QFileOpenEvent.url()''' 7064 return QUrl() 7065 def file(self): 7066 '''QString QFileOpenEvent.file()''' 7067 return QString() 7068 7069 7070 class QShortcutEvent(QEvent): 7071 """""" 7072 def __init__(self, key, id, ambiguous = False): 7073 '''void QShortcutEvent.__init__(QKeySequence key, int id, bool ambiguous = False)''' 7074 def __init__(self): 7075 '''QShortcutEvent QShortcutEvent.__init__()''' 7076 return QShortcutEvent() 7077 def shortcutId(self): 7078 '''int QShortcutEvent.shortcutId()''' 7079 return int() 7080 def key(self): 7081 '''QKeySequence QShortcutEvent.key()''' 7082 return QKeySequence() 7083 def isAmbiguous(self): 7084 '''bool QShortcutEvent.isAmbiguous()''' 7085 return bool() 7086 7087 7088 class QWindowStateChangeEvent(QEvent): 7089 """""" 7090 def oldState(self): 7091 '''Qt.WindowStates QWindowStateChangeEvent.oldState()''' 7092 return Qt.WindowStates() 7093 7094 7095 class QTouchEvent(QInputEvent): 7096 """""" 7097 # Enum QTouchEvent.DeviceType 7098 TouchScreen = 0 7099 TouchPad = 0 7100 7101 def __init__(self, eventType, deviceType = None, modifiers = None, touchPointStates = 0, touchPoints = None): 7102 '''void QTouchEvent.__init__(QEvent.Type eventType, QTouchEvent.DeviceType deviceType = QTouchEvent.TouchScreen, Qt.KeyboardModifiers modifiers = Qt.NoModifier, Qt.TouchPointStates touchPointStates = 0, list-of-QTouchEvent.TouchPoint touchPoints = QListlt;QTouchEvent.TouchPointgt;())''' 7103 def __init__(self): 7104 '''QTouchEvent QTouchEvent.__init__()''' 7105 return QTouchEvent() 7106 def touchPoints(self): 7107 '''list-of-QTouchEvent.TouchPoint QTouchEvent.touchPoints()''' 7108 return [QTouchEvent.TouchPoint()] 7109 def touchPointStates(self): 7110 '''Qt.TouchPointStates QTouchEvent.touchPointStates()''' 7111 return Qt.TouchPointStates() 7112 def deviceType(self): 7113 '''QTouchEvent.DeviceType QTouchEvent.deviceType()''' 7114 return QTouchEvent.DeviceType() 7115 def widget(self): 7116 '''QWidget QTouchEvent.widget()''' 7117 return QWidget() 7118 class TouchPoint(): 7119 """""" 7120 def pressure(self): 7121 '''float QTouchEvent.TouchPoint.pressure()''' 7122 return float() 7123 def screenRect(self): 7124 '''QRectF QTouchEvent.TouchPoint.screenRect()''' 7125 return QRectF() 7126 def sceneRect(self): 7127 '''QRectF QTouchEvent.TouchPoint.sceneRect()''' 7128 return QRectF() 7129 def rect(self): 7130 '''QRectF QTouchEvent.TouchPoint.rect()''' 7131 return QRectF() 7132 def lastNormalizedPos(self): 7133 '''QPointF QTouchEvent.TouchPoint.lastNormalizedPos()''' 7134 return QPointF() 7135 def startNormalizedPos(self): 7136 '''QPointF QTouchEvent.TouchPoint.startNormalizedPos()''' 7137 return QPointF() 7138 def normalizedPos(self): 7139 '''QPointF QTouchEvent.TouchPoint.normalizedPos()''' 7140 return QPointF() 7141 def lastScreenPos(self): 7142 '''QPointF QTouchEvent.TouchPoint.lastScreenPos()''' 7143 return QPointF() 7144 def startScreenPos(self): 7145 '''QPointF QTouchEvent.TouchPoint.startScreenPos()''' 7146 return QPointF() 7147 def screenPos(self): 7148 '''QPointF QTouchEvent.TouchPoint.screenPos()''' 7149 return QPointF() 7150 def lastScenePos(self): 7151 '''QPointF QTouchEvent.TouchPoint.lastScenePos()''' 7152 return QPointF() 7153 def startScenePos(self): 7154 '''QPointF QTouchEvent.TouchPoint.startScenePos()''' 7155 return QPointF() 7156 def scenePos(self): 7157 '''QPointF QTouchEvent.TouchPoint.scenePos()''' 7158 return QPointF() 7159 def lastPos(self): 7160 '''QPointF QTouchEvent.TouchPoint.lastPos()''' 7161 return QPointF() 7162 def startPos(self): 7163 '''QPointF QTouchEvent.TouchPoint.startPos()''' 7164 return QPointF() 7165 def pos(self): 7166 '''QPointF QTouchEvent.TouchPoint.pos()''' 7167 return QPointF() 7168 def isPrimary(self): 7169 '''bool QTouchEvent.TouchPoint.isPrimary()''' 7170 return bool() 7171 def state(self): 7172 '''Qt.TouchPointState QTouchEvent.TouchPoint.state()''' 7173 return Qt.TouchPointState() 7174 def id(self): 7175 '''int QTouchEvent.TouchPoint.id()''' 7176 return int() 7177 7178 7179 class QGestureEvent(QEvent): 7180 """""" 7181 def __init__(self, gestures): 7182 '''void QGestureEvent.__init__(list-of-QGesture gestures)''' 7183 def __init__(self): 7184 '''QGestureEvent QGestureEvent.__init__()''' 7185 return QGestureEvent() 7186 def mapToGraphicsScene(self, gesturePoint): 7187 '''QPointF QGestureEvent.mapToGraphicsScene(QPointF gesturePoint)''' 7188 return QPointF() 7189 def widget(self): 7190 '''QWidget QGestureEvent.widget()''' 7191 return QWidget() 7192 def ignore(self): 7193 '''void QGestureEvent.ignore()''' 7194 def ignore(self): 7195 '''QGesture QGestureEvent.ignore()''' 7196 return QGesture() 7197 def ignore(self): 7198 '''Qt.GestureType QGestureEvent.ignore()''' 7199 return Qt.GestureType() 7200 def accept(self): 7201 '''void QGestureEvent.accept()''' 7202 def accept(self): 7203 '''QGesture QGestureEvent.accept()''' 7204 return QGesture() 7205 def accept(self): 7206 '''Qt.GestureType QGestureEvent.accept()''' 7207 return Qt.GestureType() 7208 def isAccepted(self): 7209 '''bool QGestureEvent.isAccepted()''' 7210 return bool() 7211 def isAccepted(self): 7212 '''QGesture QGestureEvent.isAccepted()''' 7213 return QGesture() 7214 def isAccepted(self): 7215 '''Qt.GestureType QGestureEvent.isAccepted()''' 7216 return Qt.GestureType() 7217 def setAccepted(self, accepted): 7218 '''void QGestureEvent.setAccepted(bool accepted)''' 7219 def setAccepted(self): 7220 '''bool QGestureEvent.setAccepted()''' 7221 return bool() 7222 def setAccepted(self): 7223 '''bool QGestureEvent.setAccepted()''' 7224 return bool() 7225 def canceledGestures(self): 7226 '''list-of-QGesture QGestureEvent.canceledGestures()''' 7227 return [QGesture()] 7228 def activeGestures(self): 7229 '''list-of-QGesture QGestureEvent.activeGestures()''' 7230 return [QGesture()] 7231 def gesture(self, type): 7232 '''QGesture QGestureEvent.gesture(Qt.GestureType type)''' 7233 return QGesture() 7234 def gestures(self): 7235 '''list-of-QGesture QGestureEvent.gestures()''' 7236 return [QGesture()] 7237 7238 7239 class QFileDialog(QDialog): 7240 """""" 7241 # Enum QFileDialog.Option 7242 ShowDirsOnly = 0 7243 DontResolveSymlinks = 0 7244 DontConfirmOverwrite = 0 7245 DontUseSheet = 0 7246 DontUseNativeDialog = 0 7247 ReadOnly = 0 7248 HideNameFilterDetails = 0 7249 7250 # Enum QFileDialog.DialogLabel 7251 LookIn = 0 7252 FileName = 0 7253 FileType = 0 7254 Accept = 0 7255 Reject = 0 7256 7257 # Enum QFileDialog.AcceptMode 7258 AcceptOpen = 0 7259 AcceptSave = 0 7260 7261 # Enum QFileDialog.FileMode 7262 AnyFile = 0 7263 ExistingFile = 0 7264 Directory = 0 7265 ExistingFiles = 0 7266 DirectoryOnly = 0 7267 7268 # Enum QFileDialog.ViewMode 7269 Detail = 0 7270 List = 0 7271 7272 def __init__(self, parent, f): 7273 '''void QFileDialog.__init__(QWidget parent, Qt.WindowFlags f)''' 7274 def __init__(self, parent = None, caption = QString(), directory = QString(), filter = QString()): 7275 '''void QFileDialog.__init__(QWidget parent = None, QString caption = QString(), QString directory = QString(), QString filter = QString())''' 7276 def setVisible(self, visible): 7277 '''void QFileDialog.setVisible(bool visible)''' 7278 def open(self): 7279 '''void QFileDialog.open()''' 7280 def open(self, receiver, member): 7281 '''void QFileDialog.open(QObject receiver, SLOT() member)''' 7282 def open(self, receiver): 7283 '''void QFileDialog.open(callable receiver)''' 7284 def options(self): 7285 '''QFileDialog.Options QFileDialog.options()''' 7286 return QFileDialog.Options() 7287 def setOptions(self, options): 7288 '''void QFileDialog.setOptions(QFileDialog.Options options)''' 7289 def testOption(self, option): 7290 '''bool QFileDialog.testOption(QFileDialog.Option option)''' 7291 return bool() 7292 def setOption(self, option, on = True): 7293 '''void QFileDialog.setOption(QFileDialog.Option option, bool on = True)''' 7294 def filter(self): 7295 '''QDir.Filters QFileDialog.filter()''' 7296 return QDir.Filters() 7297 def selectedNameFilter(self): 7298 '''QString QFileDialog.selectedNameFilter()''' 7299 return QString() 7300 def selectNameFilter(self, filter): 7301 '''void QFileDialog.selectNameFilter(QString filter)''' 7302 def nameFilters(self): 7303 '''QStringList QFileDialog.nameFilters()''' 7304 return QStringList() 7305 def setNameFilters(self, filters): 7306 '''void QFileDialog.setNameFilters(QStringList filters)''' 7307 def setNameFilter(self, filter): 7308 '''void QFileDialog.setNameFilter(QString filter)''' 7309 def isNameFilterDetailsVisible(self): 7310 '''bool QFileDialog.isNameFilterDetailsVisible()''' 7311 return bool() 7312 def setNameFilterDetailsVisible(self, enabled): 7313 '''void QFileDialog.setNameFilterDetailsVisible(bool enabled)''' 7314 def proxyModel(self): 7315 '''QAbstractProxyModel QFileDialog.proxyModel()''' 7316 return QAbstractProxyModel() 7317 def setProxyModel(self, model): 7318 '''void QFileDialog.setProxyModel(QAbstractProxyModel model)''' 7319 def restoreState(self, state): 7320 '''bool QFileDialog.restoreState(QByteArray state)''' 7321 return bool() 7322 def saveState(self): 7323 '''QByteArray QFileDialog.saveState()''' 7324 return QByteArray() 7325 def sidebarUrls(self): 7326 '''list-of-QUrl QFileDialog.sidebarUrls()''' 7327 return [QUrl()] 7328 def setSidebarUrls(self, urls): 7329 '''void QFileDialog.setSidebarUrls(list-of-QUrl urls)''' 7330 def changeEvent(self, e): 7331 '''void QFileDialog.changeEvent(QEvent e)''' 7332 def accept(self): 7333 '''void QFileDialog.accept()''' 7334 def done(self, result): 7335 '''void QFileDialog.done(int result)''' 7336 def getSaveFileNameAndFilter(self, parent = None, caption = QString(), directory = QString(), filter = QString(), initialFilter = QString(), options = 0): 7337 '''static (QString, QString) QFileDialog.getSaveFileNameAndFilter(QWidget parent = None, QString caption = QString(), QString directory = QString(), QString filter = QString(), QString initialFilter = QString(), QFileDialog.Options options = 0)''' 7338 return (QString, QString)() 7339 def getSaveFileName(self, parent = None, caption = QString(), directory = QString(), filter = QString(), options = 0): 7340 '''static QString QFileDialog.getSaveFileName(QWidget parent = None, QString caption = QString(), QString directory = QString(), QString filter = QString(), QFileDialog.Options options = 0)''' 7341 return QString() 7342 def getSaveFileName(self, parent = None, caption = QString(), directory = QString(), filter = QString(), selectedFilter = None, options = 0): 7343 '''static QString QFileDialog.getSaveFileName(QWidget parent = None, QString caption = QString(), QString directory = QString(), QString filter = QString(), QString selectedFilter = None, QFileDialog.Options options = 0)''' 7344 return QString() 7345 def getOpenFileNamesAndFilter(self, parent = None, caption = QString(), directory = QString(), filter = QString(), initialFilter = QString(), options = 0): 7346 '''static (QString, QString) QFileDialog.getOpenFileNamesAndFilter(QWidget parent = None, QString caption = QString(), QString directory = QString(), QString filter = QString(), QString initialFilter = QString(), QFileDialog.Options options = 0)''' 7347 return (QString, QString)() 7348 def getOpenFileNames(self, parent = None, caption = QString(), directory = QString(), filter = QString(), options = 0): 7349 '''static QStringList QFileDialog.getOpenFileNames(QWidget parent = None, QString caption = QString(), QString directory = QString(), QString filter = QString(), QFileDialog.Options options = 0)''' 7350 return QStringList() 7351 def getOpenFileNames(self, parent = None, caption = QString(), directory = QString(), filter = QString(), selectedFilter = None, options = 0): 7352 '''static QStringList QFileDialog.getOpenFileNames(QWidget parent = None, QString caption = QString(), QString directory = QString(), QString filter = QString(), QString selectedFilter = None, QFileDialog.Options options = 0)''' 7353 return QStringList() 7354 def getOpenFileNameAndFilter(self, parent = None, caption = QString(), directory = QString(), filter = QString(), initialFilter = QString(), options = 0): 7355 '''static (QString, QString) QFileDialog.getOpenFileNameAndFilter(QWidget parent = None, QString caption = QString(), QString directory = QString(), QString filter = QString(), QString initialFilter = QString(), QFileDialog.Options options = 0)''' 7356 return (QString, QString)() 7357 def getOpenFileName(self, parent = None, caption = QString(), directory = QString(), filter = QString(), options = 0): 7358 '''static QString QFileDialog.getOpenFileName(QWidget parent = None, QString caption = QString(), QString directory = QString(), QString filter = QString(), QFileDialog.Options options = 0)''' 7359 return QString() 7360 def getOpenFileName(self, parent = None, caption = QString(), directory = QString(), filter = QString(), selectedFilter = None, options = 0): 7361 '''static QString QFileDialog.getOpenFileName(QWidget parent = None, QString caption = QString(), QString directory = QString(), QString filter = QString(), QString selectedFilter = None, QFileDialog.Options options = 0)''' 7362 return QString() 7363 def getExistingDirectory(self, parent = None, caption = QString(), directory = QString(), options = None): 7364 '''static QString QFileDialog.getExistingDirectory(QWidget parent = None, QString caption = QString(), QString directory = QString(), QFileDialog.Options options = QFileDialog.ShowDirsOnly)''' 7365 return QString() 7366 fileSelected = pyqtSignal() # void fileSelected(const QStringamp;) - signal 7367 filterSelected = pyqtSignal() # void filterSelected(const QStringamp;) - signal 7368 filesSelected = pyqtSignal() # void filesSelected(const QStringListamp;) - signal 7369 directoryEntered = pyqtSignal() # void directoryEntered(const QStringamp;) - signal 7370 currentChanged = pyqtSignal() # void currentChanged(const QStringamp;) - signal 7371 def labelText(self, label): 7372 '''QString QFileDialog.labelText(QFileDialog.DialogLabel label)''' 7373 return QString() 7374 def setLabelText(self, label, text): 7375 '''void QFileDialog.setLabelText(QFileDialog.DialogLabel label, QString text)''' 7376 def iconProvider(self): 7377 '''QFileIconProvider QFileDialog.iconProvider()''' 7378 return QFileIconProvider() 7379 def setIconProvider(self, provider): 7380 '''void QFileDialog.setIconProvider(QFileIconProvider provider)''' 7381 def itemDelegate(self): 7382 '''QAbstractItemDelegate QFileDialog.itemDelegate()''' 7383 return QAbstractItemDelegate() 7384 def setItemDelegate(self, delegate): 7385 '''void QFileDialog.setItemDelegate(QAbstractItemDelegate delegate)''' 7386 def history(self): 7387 '''QStringList QFileDialog.history()''' 7388 return QStringList() 7389 def setHistory(self, paths): 7390 '''void QFileDialog.setHistory(QStringList paths)''' 7391 def defaultSuffix(self): 7392 '''QString QFileDialog.defaultSuffix()''' 7393 return QString() 7394 def setDefaultSuffix(self, suffix): 7395 '''void QFileDialog.setDefaultSuffix(QString suffix)''' 7396 def confirmOverwrite(self): 7397 '''bool QFileDialog.confirmOverwrite()''' 7398 return bool() 7399 def setConfirmOverwrite(self, enabled): 7400 '''void QFileDialog.setConfirmOverwrite(bool enabled)''' 7401 def resolveSymlinks(self): 7402 '''bool QFileDialog.resolveSymlinks()''' 7403 return bool() 7404 def setResolveSymlinks(self, enabled): 7405 '''void QFileDialog.setResolveSymlinks(bool enabled)''' 7406 def isReadOnly(self): 7407 '''bool QFileDialog.isReadOnly()''' 7408 return bool() 7409 def setReadOnly(self, enabled): 7410 '''void QFileDialog.setReadOnly(bool enabled)''' 7411 def acceptMode(self): 7412 '''QFileDialog.AcceptMode QFileDialog.acceptMode()''' 7413 return QFileDialog.AcceptMode() 7414 def setAcceptMode(self, mode): 7415 '''void QFileDialog.setAcceptMode(QFileDialog.AcceptMode mode)''' 7416 def fileMode(self): 7417 '''QFileDialog.FileMode QFileDialog.fileMode()''' 7418 return QFileDialog.FileMode() 7419 def setFileMode(self, mode): 7420 '''void QFileDialog.setFileMode(QFileDialog.FileMode mode)''' 7421 def viewMode(self): 7422 '''QFileDialog.ViewMode QFileDialog.viewMode()''' 7423 return QFileDialog.ViewMode() 7424 def setViewMode(self, mode): 7425 '''void QFileDialog.setViewMode(QFileDialog.ViewMode mode)''' 7426 def selectedFilter(self): 7427 '''QString QFileDialog.selectedFilter()''' 7428 return QString() 7429 def selectFilter(self, filter): 7430 '''void QFileDialog.selectFilter(QString filter)''' 7431 def filters(self): 7432 '''QStringList QFileDialog.filters()''' 7433 return QStringList() 7434 def setFilters(self, filters): 7435 '''void QFileDialog.setFilters(QStringList filters)''' 7436 def setFilter(self, filter): 7437 '''void QFileDialog.setFilter(QString filter)''' 7438 def setFilter(self, filters): 7439 '''void QFileDialog.setFilter(QDir.Filters filters)''' 7440 def selectedFiles(self): 7441 '''QStringList QFileDialog.selectedFiles()''' 7442 return QStringList() 7443 def selectFile(self, filename): 7444 '''void QFileDialog.selectFile(QString filename)''' 7445 def directory(self): 7446 '''QDir QFileDialog.directory()''' 7447 return QDir() 7448 def setDirectory(self, directory): 7449 '''void QFileDialog.setDirectory(QString directory)''' 7450 def setDirectory(self, adirectory): 7451 '''void QFileDialog.setDirectory(QDir adirectory)''' 7452 class Options(): 7453 """""" 7454 def __init__(self): 7455 '''QFileDialog.Options QFileDialog.Options.__init__()''' 7456 return QFileDialog.Options() 7457 def __init__(self): 7458 '''int QFileDialog.Options.__init__()''' 7459 return int() 7460 def __init__(self): 7461 '''void QFileDialog.Options.__init__()''' 7462 def __bool__(self): 7463 '''int QFileDialog.Options.__bool__()''' 7464 return int() 7465 def __ne__(self, f): 7466 '''bool QFileDialog.Options.__ne__(QFileDialog.Options f)''' 7467 return bool() 7468 def __eq__(self, f): 7469 '''bool QFileDialog.Options.__eq__(QFileDialog.Options f)''' 7470 return bool() 7471 def __invert__(self): 7472 '''QFileDialog.Options QFileDialog.Options.__invert__()''' 7473 return QFileDialog.Options() 7474 def __and__(self, mask): 7475 '''QFileDialog.Options QFileDialog.Options.__and__(int mask)''' 7476 return QFileDialog.Options() 7477 def __xor__(self, f): 7478 '''QFileDialog.Options QFileDialog.Options.__xor__(QFileDialog.Options f)''' 7479 return QFileDialog.Options() 7480 def __xor__(self, f): 7481 '''QFileDialog.Options QFileDialog.Options.__xor__(int f)''' 7482 return QFileDialog.Options() 7483 def __or__(self, f): 7484 '''QFileDialog.Options QFileDialog.Options.__or__(QFileDialog.Options f)''' 7485 return QFileDialog.Options() 7486 def __or__(self, f): 7487 '''QFileDialog.Options QFileDialog.Options.__or__(int f)''' 7488 return QFileDialog.Options() 7489 def __int__(self): 7490 '''int QFileDialog.Options.__int__()''' 7491 return int() 7492 def __ixor__(self, f): 7493 '''QFileDialog.Options QFileDialog.Options.__ixor__(QFileDialog.Options f)''' 7494 return QFileDialog.Options() 7495 def __ior__(self, f): 7496 '''QFileDialog.Options QFileDialog.Options.__ior__(QFileDialog.Options f)''' 7497 return QFileDialog.Options() 7498 def __iand__(self, mask): 7499 '''QFileDialog.Options QFileDialog.Options.__iand__(int mask)''' 7500 return QFileDialog.Options() 7501 7502 7503 class QFileIconProvider(): 7504 """""" 7505 # Enum QFileIconProvider.IconType 7506 Computer = 0 7507 Desktop = 0 7508 Trashcan = 0 7509 Network = 0 7510 Drive = 0 7511 Folder = 0 7512 File = 0 7513 7514 def __init__(self): 7515 '''void QFileIconProvider.__init__()''' 7516 def type(self, info): 7517 '''QString QFileIconProvider.type(QFileInfo info)''' 7518 return QString() 7519 def icon(self, type): 7520 '''QIcon QFileIconProvider.icon(QFileIconProvider.IconType type)''' 7521 return QIcon() 7522 def icon(self, info): 7523 '''QIcon QFileIconProvider.icon(QFileInfo info)''' 7524 return QIcon() 7525 7526 7527 class QFileSystemModel(QAbstractItemModel): 7528 """""" 7529 # Enum QFileSystemModel.Roles 7530 FileIconRole = 0 7531 FilePathRole = 0 7532 FileNameRole = 0 7533 FilePermissions = 0 7534 7535 def __init__(self, parent = None): 7536 '''void QFileSystemModel.__init__(QObject parent = None)''' 7537 def timerEvent(self, event): 7538 '''void QFileSystemModel.timerEvent(QTimerEvent event)''' 7539 def event(self, event): 7540 '''bool QFileSystemModel.event(QEvent event)''' 7541 return bool() 7542 directoryLoaded = pyqtSignal() # void directoryLoaded(const QStringamp;) - signal 7543 rootPathChanged = pyqtSignal() # void rootPathChanged(const QStringamp;) - signal 7544 fileRenamed = pyqtSignal() # void fileRenamed(const QStringamp;,const QStringamp;,const QStringamp;) - signal 7545 def remove(self, aindex): 7546 '''bool QFileSystemModel.remove(QModelIndex aindex)''' 7547 return bool() 7548 def fileInfo(self, aindex): 7549 '''QFileInfo QFileSystemModel.fileInfo(QModelIndex aindex)''' 7550 return QFileInfo() 7551 def fileIcon(self, aindex): 7552 '''QIcon QFileSystemModel.fileIcon(QModelIndex aindex)''' 7553 return QIcon() 7554 def fileName(self, aindex): 7555 '''QString QFileSystemModel.fileName(QModelIndex aindex)''' 7556 return QString() 7557 def rmdir(self, aindex): 7558 '''bool QFileSystemModel.rmdir(QModelIndex aindex)''' 7559 return bool() 7560 def permissions(self, index): 7561 '''QFile.Permissions QFileSystemModel.permissions(QModelIndex index)''' 7562 return QFile.Permissions() 7563 def mkdir(self, parent, name): 7564 '''QModelIndex QFileSystemModel.mkdir(QModelIndex parent, QString name)''' 7565 return QModelIndex() 7566 def lastModified(self, index): 7567 '''QDateTime QFileSystemModel.lastModified(QModelIndex index)''' 7568 return QDateTime() 7569 def type(self, index): 7570 '''QString QFileSystemModel.type(QModelIndex index)''' 7571 return QString() 7572 def size(self, index): 7573 '''int QFileSystemModel.size(QModelIndex index)''' 7574 return int() 7575 def isDir(self, index): 7576 '''bool QFileSystemModel.isDir(QModelIndex index)''' 7577 return bool() 7578 def filePath(self, index): 7579 '''QString QFileSystemModel.filePath(QModelIndex index)''' 7580 return QString() 7581 def nameFilters(self): 7582 '''QStringList QFileSystemModel.nameFilters()''' 7583 return QStringList() 7584 def setNameFilters(self, filters): 7585 '''void QFileSystemModel.setNameFilters(QStringList filters)''' 7586 def nameFilterDisables(self): 7587 '''bool QFileSystemModel.nameFilterDisables()''' 7588 return bool() 7589 def setNameFilterDisables(self, enable): 7590 '''void QFileSystemModel.setNameFilterDisables(bool enable)''' 7591 def isReadOnly(self): 7592 '''bool QFileSystemModel.isReadOnly()''' 7593 return bool() 7594 def setReadOnly(self, enable): 7595 '''void QFileSystemModel.setReadOnly(bool enable)''' 7596 def resolveSymlinks(self): 7597 '''bool QFileSystemModel.resolveSymlinks()''' 7598 return bool() 7599 def setResolveSymlinks(self, enable): 7600 '''void QFileSystemModel.setResolveSymlinks(bool enable)''' 7601 def filter(self): 7602 '''QDir.Filters QFileSystemModel.filter()''' 7603 return QDir.Filters() 7604 def setFilter(self, filters): 7605 '''void QFileSystemModel.setFilter(QDir.Filters filters)''' 7606 def iconProvider(self): 7607 '''QFileIconProvider QFileSystemModel.iconProvider()''' 7608 return QFileIconProvider() 7609 def setIconProvider(self, provider): 7610 '''void QFileSystemModel.setIconProvider(QFileIconProvider provider)''' 7611 def rootDirectory(self): 7612 '''QDir QFileSystemModel.rootDirectory()''' 7613 return QDir() 7614 def rootPath(self): 7615 '''QString QFileSystemModel.rootPath()''' 7616 return QString() 7617 def setRootPath(self, path): 7618 '''QModelIndex QFileSystemModel.setRootPath(QString path)''' 7619 return QModelIndex() 7620 def supportedDropActions(self): 7621 '''Qt.DropActions QFileSystemModel.supportedDropActions()''' 7622 return Qt.DropActions() 7623 def dropMimeData(self, data, action, row, column, parent): 7624 '''bool QFileSystemModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 7625 return bool() 7626 def mimeData(self, indexes): 7627 '''QMimeData QFileSystemModel.mimeData(list-of-QModelIndex indexes)''' 7628 return QMimeData() 7629 def mimeTypes(self): 7630 '''QStringList QFileSystemModel.mimeTypes()''' 7631 return QStringList() 7632 def sort(self, column, order = None): 7633 '''void QFileSystemModel.sort(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 7634 def flags(self, index): 7635 '''Qt.ItemFlags QFileSystemModel.flags(QModelIndex index)''' 7636 return Qt.ItemFlags() 7637 def headerData(self, section, orientation, role = None): 7638 '''QVariant QFileSystemModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 7639 return QVariant() 7640 def setData(self, idx, value, role = None): 7641 '''bool QFileSystemModel.setData(QModelIndex idx, QVariant value, int role = Qt.EditRole)''' 7642 return bool() 7643 def data(self, index, role = None): 7644 '''QVariant QFileSystemModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 7645 return QVariant() 7646 def myComputer(self, role = None): 7647 '''QVariant QFileSystemModel.myComputer(int role = Qt.DisplayRole)''' 7648 return QVariant() 7649 def columnCount(self, parent = QModelIndex()): 7650 '''int QFileSystemModel.columnCount(QModelIndex parent = QModelIndex())''' 7651 return int() 7652 def rowCount(self, parent = QModelIndex()): 7653 '''int QFileSystemModel.rowCount(QModelIndex parent = QModelIndex())''' 7654 return int() 7655 def fetchMore(self, parent): 7656 '''void QFileSystemModel.fetchMore(QModelIndex parent)''' 7657 def canFetchMore(self, parent): 7658 '''bool QFileSystemModel.canFetchMore(QModelIndex parent)''' 7659 return bool() 7660 def hasChildren(self, parent = QModelIndex()): 7661 '''bool QFileSystemModel.hasChildren(QModelIndex parent = QModelIndex())''' 7662 return bool() 7663 def parent(self, child): 7664 '''QModelIndex QFileSystemModel.parent(QModelIndex child)''' 7665 return QModelIndex() 7666 def index(self, row, column, parent = QModelIndex()): 7667 '''QModelIndex QFileSystemModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 7668 return QModelIndex() 7669 def index(self, path, column = 0): 7670 '''QModelIndex QFileSystemModel.index(QString path, int column = 0)''' 7671 return QModelIndex() 7672 7673 7674 class QFocusFrame(QWidget): 7675 """""" 7676 def __init__(self, parent = None): 7677 '''void QFocusFrame.__init__(QWidget parent = None)''' 7678 def paintEvent(self): 7679 '''QPaintEvent QFocusFrame.paintEvent()''' 7680 return QPaintEvent() 7681 def event(self, e): 7682 '''bool QFocusFrame.event(QEvent e)''' 7683 return bool() 7684 def eventFilter(self): 7685 '''QEvent QFocusFrame.eventFilter()''' 7686 return QEvent() 7687 def initStyleOption(self, option): 7688 '''void QFocusFrame.initStyleOption(QStyleOption option)''' 7689 def widget(self): 7690 '''QWidget QFocusFrame.widget()''' 7691 return QWidget() 7692 def setWidget(self, widget): 7693 '''void QFocusFrame.setWidget(QWidget widget)''' 7694 7695 7696 class QFont(): 7697 """""" 7698 # Enum QFont.HintingPreference 7699 PreferDefaultHinting = 0 7700 PreferNoHinting = 0 7701 PreferVerticalHinting = 0 7702 PreferFullHinting = 0 7703 7704 # Enum QFont.SpacingType 7705 PercentageSpacing = 0 7706 AbsoluteSpacing = 0 7707 7708 # Enum QFont.Capitalization 7709 MixedCase = 0 7710 AllUppercase = 0 7711 AllLowercase = 0 7712 SmallCaps = 0 7713 Capitalize = 0 7714 7715 # Enum QFont.Stretch 7716 UltraCondensed = 0 7717 ExtraCondensed = 0 7718 Condensed = 0 7719 SemiCondensed = 0 7720 Unstretched = 0 7721 SemiExpanded = 0 7722 Expanded = 0 7723 ExtraExpanded = 0 7724 UltraExpanded = 0 7725 7726 # Enum QFont.Style 7727 StyleNormal = 0 7728 StyleItalic = 0 7729 StyleOblique = 0 7730 7731 # Enum QFont.Weight 7732 Light = 0 7733 Normal = 0 7734 DemiBold = 0 7735 Bold = 0 7736 Black = 0 7737 7738 # Enum QFont.StyleStrategy 7739 PreferDefault = 0 7740 PreferBitmap = 0 7741 PreferDevice = 0 7742 PreferOutline = 0 7743 ForceOutline = 0 7744 PreferMatch = 0 7745 PreferQuality = 0 7746 PreferAntialias = 0 7747 NoAntialias = 0 7748 OpenGLCompatible = 0 7749 NoFontMerging = 0 7750 ForceIntegerMetrics = 0 7751 7752 # Enum QFont.StyleHint 7753 Helvetica = 0 7754 SansSerif = 0 7755 Times = 0 7756 Serif = 0 7757 Courier = 0 7758 TypeWriter = 0 7759 OldEnglish = 0 7760 Decorative = 0 7761 System = 0 7762 AnyStyle = 0 7763 Cursive = 0 7764 Monospace = 0 7765 Fantasy = 0 7766 7767 def __init__(self): 7768 '''void QFont.__init__()''' 7769 def __init__(self, family, pointSize = None, weight = None, italic = False): 7770 '''void QFont.__init__(QString family, int pointSize = -1, int weight = -1, bool italic = False)''' 7771 def __init__(self, pd): 7772 '''QFont QFont.__init__(QPaintDevice pd)''' 7773 return QFont() 7774 def __init__(self): 7775 '''QFont QFont.__init__()''' 7776 return QFont() 7777 def __init__(self, variant): 7778 '''void QFont.__init__(QVariant variant)''' 7779 def __ge__(self): 7780 '''QFont QFont.__ge__()''' 7781 return QFont() 7782 def hintingPreference(self): 7783 '''QFont.HintingPreference QFont.hintingPreference()''' 7784 return QFont.HintingPreference() 7785 def setHintingPreference(self, hintingPreference): 7786 '''void QFont.setHintingPreference(QFont.HintingPreference hintingPreference)''' 7787 def setStyleName(self, styleName): 7788 '''void QFont.setStyleName(QString styleName)''' 7789 def styleName(self): 7790 '''QString QFont.styleName()''' 7791 return QString() 7792 def capitalization(self): 7793 '''QFont.Capitalization QFont.capitalization()''' 7794 return QFont.Capitalization() 7795 def setCapitalization(self): 7796 '''QFont.Capitalization QFont.setCapitalization()''' 7797 return QFont.Capitalization() 7798 def setWordSpacing(self, spacing): 7799 '''void QFont.setWordSpacing(float spacing)''' 7800 def wordSpacing(self): 7801 '''float QFont.wordSpacing()''' 7802 return float() 7803 def setLetterSpacing(self, type, spacing): 7804 '''void QFont.setLetterSpacing(QFont.SpacingType type, float spacing)''' 7805 def letterSpacingType(self): 7806 '''QFont.SpacingType QFont.letterSpacingType()''' 7807 return QFont.SpacingType() 7808 def letterSpacing(self): 7809 '''float QFont.letterSpacing()''' 7810 return float() 7811 def setItalic(self, b): 7812 '''void QFont.setItalic(bool b)''' 7813 def italic(self): 7814 '''bool QFont.italic()''' 7815 return bool() 7816 def setBold(self, enable): 7817 '''void QFont.setBold(bool enable)''' 7818 def bold(self): 7819 '''bool QFont.bold()''' 7820 return bool() 7821 def resolve(self): 7822 '''QFont QFont.resolve()''' 7823 return QFont() 7824 def lastResortFont(self): 7825 '''QString QFont.lastResortFont()''' 7826 return QString() 7827 def lastResortFamily(self): 7828 '''QString QFont.lastResortFamily()''' 7829 return QString() 7830 def defaultFamily(self): 7831 '''QString QFont.defaultFamily()''' 7832 return QString() 7833 def cacheStatistics(self): 7834 '''static void QFont.cacheStatistics()''' 7835 def cleanup(self): 7836 '''static void QFont.cleanup()''' 7837 def initialize(self): 7838 '''static void QFont.initialize()''' 7839 def removeSubstitution(self): 7840 '''static QString QFont.removeSubstitution()''' 7841 return QString() 7842 def insertSubstitutions(self): 7843 '''static QStringList QFont.insertSubstitutions()''' 7844 return QStringList() 7845 def insertSubstitution(self): 7846 '''static QString QFont.insertSubstitution()''' 7847 return QString() 7848 def substitutions(self): 7849 '''static QStringList QFont.substitutions()''' 7850 return QStringList() 7851 def substitutes(self): 7852 '''static QString QFont.substitutes()''' 7853 return QString() 7854 def substitute(self): 7855 '''static QString QFont.substitute()''' 7856 return QString() 7857 def fromString(self): 7858 '''QString QFont.fromString()''' 7859 return QString() 7860 def toString(self): 7861 '''QString QFont.toString()''' 7862 return QString() 7863 def key(self): 7864 '''QString QFont.key()''' 7865 return QString() 7866 def rawName(self): 7867 '''QString QFont.rawName()''' 7868 return QString() 7869 def setRawName(self): 7870 '''QString QFont.setRawName()''' 7871 return QString() 7872 def handle(self): 7873 '''int QFont.handle()''' 7874 return int() 7875 def isCopyOf(self): 7876 '''QFont QFont.isCopyOf()''' 7877 return QFont() 7878 def __lt__(self): 7879 '''QFont QFont.__lt__()''' 7880 return QFont() 7881 def __ne__(self): 7882 '''QFont QFont.__ne__()''' 7883 return QFont() 7884 def __eq__(self): 7885 '''QFont QFont.__eq__()''' 7886 return QFont() 7887 def exactMatch(self): 7888 '''bool QFont.exactMatch()''' 7889 return bool() 7890 def setRawMode(self): 7891 '''bool QFont.setRawMode()''' 7892 return bool() 7893 def rawMode(self): 7894 '''bool QFont.rawMode()''' 7895 return bool() 7896 def setStretch(self): 7897 '''int QFont.setStretch()''' 7898 return int() 7899 def stretch(self): 7900 '''int QFont.stretch()''' 7901 return int() 7902 def setStyleStrategy(self, s): 7903 '''void QFont.setStyleStrategy(QFont.StyleStrategy s)''' 7904 def setStyleHint(self, hint, strategy = None): 7905 '''void QFont.setStyleHint(QFont.StyleHint hint, QFont.StyleStrategy strategy = QFont.PreferDefault)''' 7906 def styleStrategy(self): 7907 '''QFont.StyleStrategy QFont.styleStrategy()''' 7908 return QFont.StyleStrategy() 7909 def styleHint(self): 7910 '''QFont.StyleHint QFont.styleHint()''' 7911 return QFont.StyleHint() 7912 def setKerning(self): 7913 '''bool QFont.setKerning()''' 7914 return bool() 7915 def kerning(self): 7916 '''bool QFont.kerning()''' 7917 return bool() 7918 def setFixedPitch(self): 7919 '''bool QFont.setFixedPitch()''' 7920 return bool() 7921 def fixedPitch(self): 7922 '''bool QFont.fixedPitch()''' 7923 return bool() 7924 def setStrikeOut(self): 7925 '''bool QFont.setStrikeOut()''' 7926 return bool() 7927 def strikeOut(self): 7928 '''bool QFont.strikeOut()''' 7929 return bool() 7930 def setOverline(self): 7931 '''bool QFont.setOverline()''' 7932 return bool() 7933 def overline(self): 7934 '''bool QFont.overline()''' 7935 return bool() 7936 def setUnderline(self): 7937 '''bool QFont.setUnderline()''' 7938 return bool() 7939 def underline(self): 7940 '''bool QFont.underline()''' 7941 return bool() 7942 def style(self): 7943 '''QFont.Style QFont.style()''' 7944 return QFont.Style() 7945 def setStyle(self, style): 7946 '''void QFont.setStyle(QFont.Style style)''' 7947 def setWeight(self): 7948 '''int QFont.setWeight()''' 7949 return int() 7950 def weight(self): 7951 '''int QFont.weight()''' 7952 return int() 7953 def setPixelSize(self): 7954 '''int QFont.setPixelSize()''' 7955 return int() 7956 def pixelSize(self): 7957 '''int QFont.pixelSize()''' 7958 return int() 7959 def setPointSizeF(self): 7960 '''float QFont.setPointSizeF()''' 7961 return float() 7962 def pointSizeF(self): 7963 '''float QFont.pointSizeF()''' 7964 return float() 7965 def setPointSize(self): 7966 '''int QFont.setPointSize()''' 7967 return int() 7968 def pointSize(self): 7969 '''int QFont.pointSize()''' 7970 return int() 7971 def setFamily(self): 7972 '''QString QFont.setFamily()''' 7973 return QString() 7974 def family(self): 7975 '''QString QFont.family()''' 7976 return QString() 7977 7978 7979 class QFontComboBox(QComboBox): 7980 """""" 7981 # Enum QFontComboBox.FontFilter 7982 AllFonts = 0 7983 ScalableFonts = 0 7984 NonScalableFonts = 0 7985 MonospacedFonts = 0 7986 ProportionalFonts = 0 7987 7988 def __init__(self, parent = None): 7989 '''void QFontComboBox.__init__(QWidget parent = None)''' 7990 def event(self, e): 7991 '''bool QFontComboBox.event(QEvent e)''' 7992 return bool() 7993 currentFontChanged = pyqtSignal() # void currentFontChanged(const QFontamp;) - signal 7994 def setCurrentFont(self, f): 7995 '''void QFontComboBox.setCurrentFont(QFont f)''' 7996 def sizeHint(self): 7997 '''QSize QFontComboBox.sizeHint()''' 7998 return QSize() 7999 def currentFont(self): 8000 '''QFont QFontComboBox.currentFont()''' 8001 return QFont() 8002 def setFontFilters(self, filters): 8003 '''void QFontComboBox.setFontFilters(QFontComboBox.FontFilters filters)''' 8004 def writingSystem(self): 8005 '''QFontDatabase.WritingSystem QFontComboBox.writingSystem()''' 8006 return QFontDatabase.WritingSystem() 8007 def setWritingSystem(self): 8008 '''QFontDatabase.WritingSystem QFontComboBox.setWritingSystem()''' 8009 return QFontDatabase.WritingSystem() 8010 def fontFilters(self): 8011 '''QFontComboBox.FontFilters QFontComboBox.fontFilters()''' 8012 return QFontComboBox.FontFilters() 8013 class FontFilters(): 8014 """""" 8015 def __init__(self): 8016 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__init__()''' 8017 return QFontComboBox.FontFilters() 8018 def __init__(self): 8019 '''int QFontComboBox.FontFilters.__init__()''' 8020 return int() 8021 def __init__(self): 8022 '''void QFontComboBox.FontFilters.__init__()''' 8023 def __bool__(self): 8024 '''int QFontComboBox.FontFilters.__bool__()''' 8025 return int() 8026 def __ne__(self, f): 8027 '''bool QFontComboBox.FontFilters.__ne__(QFontComboBox.FontFilters f)''' 8028 return bool() 8029 def __eq__(self, f): 8030 '''bool QFontComboBox.FontFilters.__eq__(QFontComboBox.FontFilters f)''' 8031 return bool() 8032 def __invert__(self): 8033 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__invert__()''' 8034 return QFontComboBox.FontFilters() 8035 def __and__(self, mask): 8036 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__and__(int mask)''' 8037 return QFontComboBox.FontFilters() 8038 def __xor__(self, f): 8039 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__xor__(QFontComboBox.FontFilters f)''' 8040 return QFontComboBox.FontFilters() 8041 def __xor__(self, f): 8042 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__xor__(int f)''' 8043 return QFontComboBox.FontFilters() 8044 def __or__(self, f): 8045 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__or__(QFontComboBox.FontFilters f)''' 8046 return QFontComboBox.FontFilters() 8047 def __or__(self, f): 8048 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__or__(int f)''' 8049 return QFontComboBox.FontFilters() 8050 def __int__(self): 8051 '''int QFontComboBox.FontFilters.__int__()''' 8052 return int() 8053 def __ixor__(self, f): 8054 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__ixor__(QFontComboBox.FontFilters f)''' 8055 return QFontComboBox.FontFilters() 8056 def __ior__(self, f): 8057 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__ior__(QFontComboBox.FontFilters f)''' 8058 return QFontComboBox.FontFilters() 8059 def __iand__(self, mask): 8060 '''QFontComboBox.FontFilters QFontComboBox.FontFilters.__iand__(int mask)''' 8061 return QFontComboBox.FontFilters() 8062 8063 8064 class QFontDatabase(): 8065 """""" 8066 # Enum QFontDatabase.WritingSystem 8067 Any = 0 8068 Latin = 0 8069 Greek = 0 8070 Cyrillic = 0 8071 Armenian = 0 8072 Hebrew = 0 8073 Arabic = 0 8074 Syriac = 0 8075 Thaana = 0 8076 Devanagari = 0 8077 Bengali = 0 8078 Gurmukhi = 0 8079 Gujarati = 0 8080 Oriya = 0 8081 Tamil = 0 8082 Telugu = 0 8083 Kannada = 0 8084 Malayalam = 0 8085 Sinhala = 0 8086 Thai = 0 8087 Lao = 0 8088 Tibetan = 0 8089 Myanmar = 0 8090 Georgian = 0 8091 Khmer = 0 8092 SimplifiedChinese = 0 8093 TraditionalChinese = 0 8094 Japanese = 0 8095 Korean = 0 8096 Vietnamese = 0 8097 Other = 0 8098 Symbol = 0 8099 Ogham = 0 8100 Runic = 0 8101 Nko = 0 8102 8103 def __init__(self): 8104 '''void QFontDatabase.__init__()''' 8105 def __init__(self): 8106 '''QFontDatabase QFontDatabase.__init__()''' 8107 return QFontDatabase() 8108 def supportsThreadedFontRendering(self): 8109 '''static bool QFontDatabase.supportsThreadedFontRendering()''' 8110 return bool() 8111 def removeAllApplicationFonts(self): 8112 '''static bool QFontDatabase.removeAllApplicationFonts()''' 8113 return bool() 8114 def removeApplicationFont(self, id): 8115 '''static bool QFontDatabase.removeApplicationFont(int id)''' 8116 return bool() 8117 def applicationFontFamilies(self, id): 8118 '''static QStringList QFontDatabase.applicationFontFamilies(int id)''' 8119 return QStringList() 8120 def addApplicationFontFromData(self, fontData): 8121 '''static int QFontDatabase.addApplicationFontFromData(QByteArray fontData)''' 8122 return int() 8123 def addApplicationFont(self, fileName): 8124 '''static int QFontDatabase.addApplicationFont(QString fileName)''' 8125 return int() 8126 def writingSystemSample(self, writingSystem): 8127 '''static QString QFontDatabase.writingSystemSample(QFontDatabase.WritingSystem writingSystem)''' 8128 return QString() 8129 def writingSystemName(self, writingSystem): 8130 '''static QString QFontDatabase.writingSystemName(QFontDatabase.WritingSystem writingSystem)''' 8131 return QString() 8132 def weight(self, family, style): 8133 '''int QFontDatabase.weight(QString family, QString style)''' 8134 return int() 8135 def bold(self, family, style): 8136 '''bool QFontDatabase.bold(QString family, QString style)''' 8137 return bool() 8138 def italic(self, family, style): 8139 '''bool QFontDatabase.italic(QString family, QString style)''' 8140 return bool() 8141 def isFixedPitch(self, family, style = QString()): 8142 '''bool QFontDatabase.isFixedPitch(QString family, QString style = QString())''' 8143 return bool() 8144 def isScalable(self, family, style = QString()): 8145 '''bool QFontDatabase.isScalable(QString family, QString style = QString())''' 8146 return bool() 8147 def isSmoothlyScalable(self, family, style = QString()): 8148 '''bool QFontDatabase.isSmoothlyScalable(QString family, QString style = QString())''' 8149 return bool() 8150 def isBitmapScalable(self, family, style = QString()): 8151 '''bool QFontDatabase.isBitmapScalable(QString family, QString style = QString())''' 8152 return bool() 8153 def font(self, family, style, pointSize): 8154 '''QFont QFontDatabase.font(QString family, QString style, int pointSize)''' 8155 return QFont() 8156 def styleString(self, font): 8157 '''QString QFontDatabase.styleString(QFont font)''' 8158 return QString() 8159 def styleString(self, fontInfo): 8160 '''QString QFontDatabase.styleString(QFontInfo fontInfo)''' 8161 return QString() 8162 def smoothSizes(self, family, style): 8163 '''list-of-int QFontDatabase.smoothSizes(QString family, QString style)''' 8164 return [int()] 8165 def pointSizes(self, family, style = QString()): 8166 '''list-of-int QFontDatabase.pointSizes(QString family, QString style = QString())''' 8167 return [int()] 8168 def styles(self, family): 8169 '''QStringList QFontDatabase.styles(QString family)''' 8170 return QStringList() 8171 def families(self, writingSystem = None): 8172 '''QStringList QFontDatabase.families(QFontDatabase.WritingSystem writingSystem = QFontDatabase.Any)''' 8173 return QStringList() 8174 def writingSystems(self): 8175 '''list-of-QFontDatabase.WritingSystem QFontDatabase.writingSystems()''' 8176 return [QFontDatabase.WritingSystem()] 8177 def writingSystems(self, family): 8178 '''list-of-QFontDatabase.WritingSystem QFontDatabase.writingSystems(QString family)''' 8179 return [QFontDatabase.WritingSystem()] 8180 def standardSizes(self): 8181 '''static list-of-int QFontDatabase.standardSizes()''' 8182 return [int()] 8183 8184 8185 class QFontDialog(QDialog): 8186 """""" 8187 # Enum QFontDialog.FontDialogOption 8188 NoButtons = 0 8189 DontUseNativeDialog = 0 8190 8191 def __init__(self, parent = None): 8192 '''void QFontDialog.__init__(QWidget parent = None)''' 8193 def __init__(self, initial, parent = None): 8194 '''void QFontDialog.__init__(QFont initial, QWidget parent = None)''' 8195 fontSelected = pyqtSignal() # void fontSelected(const QFontamp;) - signal 8196 currentFontChanged = pyqtSignal() # void currentFontChanged(const QFontamp;) - signal 8197 def setVisible(self, visible): 8198 '''void QFontDialog.setVisible(bool visible)''' 8199 def open(self): 8200 '''void QFontDialog.open()''' 8201 def open(self, receiver, member): 8202 '''void QFontDialog.open(QObject receiver, SLOT() member)''' 8203 def open(self, receiver): 8204 '''void QFontDialog.open(callable receiver)''' 8205 def options(self): 8206 '''QFontDialog.FontDialogOptions QFontDialog.options()''' 8207 return QFontDialog.FontDialogOptions() 8208 def setOptions(self, options): 8209 '''void QFontDialog.setOptions(QFontDialog.FontDialogOptions options)''' 8210 def testOption(self, option): 8211 '''bool QFontDialog.testOption(QFontDialog.FontDialogOption option)''' 8212 return bool() 8213 def setOption(self, option, on = True): 8214 '''void QFontDialog.setOption(QFontDialog.FontDialogOption option, bool on = True)''' 8215 def selectedFont(self): 8216 '''QFont QFontDialog.selectedFont()''' 8217 return QFont() 8218 def currentFont(self): 8219 '''QFont QFontDialog.currentFont()''' 8220 return QFont() 8221 def setCurrentFont(self, font): 8222 '''void QFontDialog.setCurrentFont(QFont font)''' 8223 def done(self, result): 8224 '''void QFontDialog.done(int result)''' 8225 def changeEvent(self, e): 8226 '''void QFontDialog.changeEvent(QEvent e)''' 8227 def getFont(self, ok, initial, parent, title, options): 8228 '''static QFont QFontDialog.getFont(bool ok, QFont initial, QWidget parent, QString title, QFontDialog.FontDialogOptions options)''' 8229 return QFont() 8230 def getFont(self, ok, def_, parent, caption): 8231 '''static QFont QFontDialog.getFont(bool ok, QFont def, QWidget parent, QString caption)''' 8232 return QFont() 8233 def getFont(self, ok, initial, parent = None): 8234 '''static QFont QFontDialog.getFont(bool ok, QFont initial, QWidget parent = None)''' 8235 return QFont() 8236 def getFont(self, ok, parent = None): 8237 '''static QFont QFontDialog.getFont(bool ok, QWidget parent = None)''' 8238 return QFont() 8239 class FontDialogOptions(): 8240 """""" 8241 def __init__(self): 8242 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__init__()''' 8243 return QFontDialog.FontDialogOptions() 8244 def __init__(self): 8245 '''int QFontDialog.FontDialogOptions.__init__()''' 8246 return int() 8247 def __init__(self): 8248 '''void QFontDialog.FontDialogOptions.__init__()''' 8249 def __bool__(self): 8250 '''int QFontDialog.FontDialogOptions.__bool__()''' 8251 return int() 8252 def __ne__(self, f): 8253 '''bool QFontDialog.FontDialogOptions.__ne__(QFontDialog.FontDialogOptions f)''' 8254 return bool() 8255 def __eq__(self, f): 8256 '''bool QFontDialog.FontDialogOptions.__eq__(QFontDialog.FontDialogOptions f)''' 8257 return bool() 8258 def __invert__(self): 8259 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__invert__()''' 8260 return QFontDialog.FontDialogOptions() 8261 def __and__(self, mask): 8262 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__and__(int mask)''' 8263 return QFontDialog.FontDialogOptions() 8264 def __xor__(self, f): 8265 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__xor__(QFontDialog.FontDialogOptions f)''' 8266 return QFontDialog.FontDialogOptions() 8267 def __xor__(self, f): 8268 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__xor__(int f)''' 8269 return QFontDialog.FontDialogOptions() 8270 def __or__(self, f): 8271 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__or__(QFontDialog.FontDialogOptions f)''' 8272 return QFontDialog.FontDialogOptions() 8273 def __or__(self, f): 8274 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__or__(int f)''' 8275 return QFontDialog.FontDialogOptions() 8276 def __int__(self): 8277 '''int QFontDialog.FontDialogOptions.__int__()''' 8278 return int() 8279 def __ixor__(self, f): 8280 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__ixor__(QFontDialog.FontDialogOptions f)''' 8281 return QFontDialog.FontDialogOptions() 8282 def __ior__(self, f): 8283 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__ior__(QFontDialog.FontDialogOptions f)''' 8284 return QFontDialog.FontDialogOptions() 8285 def __iand__(self, mask): 8286 '''QFontDialog.FontDialogOptions QFontDialog.FontDialogOptions.__iand__(int mask)''' 8287 return QFontDialog.FontDialogOptions() 8288 8289 8290 class QFontInfo(): 8291 """""" 8292 def __init__(self): 8293 '''QFont QFontInfo.__init__()''' 8294 return QFont() 8295 def __init__(self): 8296 '''QFontInfo QFontInfo.__init__()''' 8297 return QFontInfo() 8298 def styleName(self): 8299 '''QString QFontInfo.styleName()''' 8300 return QString() 8301 def exactMatch(self): 8302 '''bool QFontInfo.exactMatch()''' 8303 return bool() 8304 def rawMode(self): 8305 '''bool QFontInfo.rawMode()''' 8306 return bool() 8307 def styleHint(self): 8308 '''QFont.StyleHint QFontInfo.styleHint()''' 8309 return QFont.StyleHint() 8310 def fixedPitch(self): 8311 '''bool QFontInfo.fixedPitch()''' 8312 return bool() 8313 def bold(self): 8314 '''bool QFontInfo.bold()''' 8315 return bool() 8316 def weight(self): 8317 '''int QFontInfo.weight()''' 8318 return int() 8319 def style(self): 8320 '''QFont.Style QFontInfo.style()''' 8321 return QFont.Style() 8322 def italic(self): 8323 '''bool QFontInfo.italic()''' 8324 return bool() 8325 def pointSizeF(self): 8326 '''float QFontInfo.pointSizeF()''' 8327 return float() 8328 def pointSize(self): 8329 '''int QFontInfo.pointSize()''' 8330 return int() 8331 def pixelSize(self): 8332 '''int QFontInfo.pixelSize()''' 8333 return int() 8334 def family(self): 8335 '''QString QFontInfo.family()''' 8336 return QString() 8337 8338 8339 class QFontMetrics(): 8340 """""" 8341 def __init__(self): 8342 '''QFont QFontMetrics.__init__()''' 8343 return QFont() 8344 def __init__(self, pd): 8345 '''QFont QFontMetrics.__init__(QPaintDevice pd)''' 8346 return QFont() 8347 def __init__(self): 8348 '''QFontMetrics QFontMetrics.__init__()''' 8349 return QFontMetrics() 8350 def inFontUcs4(self, character): 8351 '''bool QFontMetrics.inFontUcs4(int character)''' 8352 return bool() 8353 def tightBoundingRect(self, text): 8354 '''QRect QFontMetrics.tightBoundingRect(QString text)''' 8355 return QRect() 8356 def __ne__(self, other): 8357 '''bool QFontMetrics.__ne__(QFontMetrics other)''' 8358 return bool() 8359 def __eq__(self, other): 8360 '''bool QFontMetrics.__eq__(QFontMetrics other)''' 8361 return bool() 8362 def elidedText(self, text, mode, width, flags = 0): 8363 '''QString QFontMetrics.elidedText(QString text, Qt.TextElideMode mode, int width, int flags = 0)''' 8364 return QString() 8365 def averageCharWidth(self): 8366 '''int QFontMetrics.averageCharWidth()''' 8367 return int() 8368 def lineWidth(self): 8369 '''int QFontMetrics.lineWidth()''' 8370 return int() 8371 def strikeOutPos(self): 8372 '''int QFontMetrics.strikeOutPos()''' 8373 return int() 8374 def overlinePos(self): 8375 '''int QFontMetrics.overlinePos()''' 8376 return int() 8377 def underlinePos(self): 8378 '''int QFontMetrics.underlinePos()''' 8379 return int() 8380 def size(self, flags, text, tabStops = 0, tabArray = 0): 8381 '''QSize QFontMetrics.size(int flags, QString text, int tabStops = 0, list-of-int tabArray = 0)''' 8382 return QSize() 8383 def boundingRect(self): 8384 '''QChar QFontMetrics.boundingRect()''' 8385 return QChar() 8386 def boundingRect(self, text): 8387 '''QRect QFontMetrics.boundingRect(QString text)''' 8388 return QRect() 8389 def boundingRect(self, rect, flags, text, tabStops = 0, tabArray = 0): 8390 '''QRect QFontMetrics.boundingRect(QRect rect, int flags, QString text, int tabStops = 0, list-of-int tabArray = 0)''' 8391 return QRect() 8392 def boundingRect(self, x, y, width, height, flags, text, tabStops = 0, tabArray = 0): 8393 '''QRect QFontMetrics.boundingRect(int x, int y, int width, int height, int flags, QString text, int tabStops = 0, list-of-int tabArray = 0)''' 8394 return QRect() 8395 def boundingRectChar(self): 8396 '''QChar QFontMetrics.boundingRectChar()''' 8397 return QChar() 8398 def charWidth(self, str, pos): 8399 '''int QFontMetrics.charWidth(QString str, int pos)''' 8400 return int() 8401 def width(self): 8402 '''QChar QFontMetrics.width()''' 8403 return QChar() 8404 def width(self, text, length = None): 8405 '''int QFontMetrics.width(QString text, int length = -1)''' 8406 return int() 8407 def widthChar(self): 8408 '''QChar QFontMetrics.widthChar()''' 8409 return QChar() 8410 def rightBearing(self): 8411 '''QChar QFontMetrics.rightBearing()''' 8412 return QChar() 8413 def leftBearing(self): 8414 '''QChar QFontMetrics.leftBearing()''' 8415 return QChar() 8416 def inFont(self): 8417 '''QChar QFontMetrics.inFont()''' 8418 return QChar() 8419 def xHeight(self): 8420 '''int QFontMetrics.xHeight()''' 8421 return int() 8422 def maxWidth(self): 8423 '''int QFontMetrics.maxWidth()''' 8424 return int() 8425 def minRightBearing(self): 8426 '''int QFontMetrics.minRightBearing()''' 8427 return int() 8428 def minLeftBearing(self): 8429 '''int QFontMetrics.minLeftBearing()''' 8430 return int() 8431 def lineSpacing(self): 8432 '''int QFontMetrics.lineSpacing()''' 8433 return int() 8434 def leading(self): 8435 '''int QFontMetrics.leading()''' 8436 return int() 8437 def height(self): 8438 '''int QFontMetrics.height()''' 8439 return int() 8440 def descent(self): 8441 '''int QFontMetrics.descent()''' 8442 return int() 8443 def ascent(self): 8444 '''int QFontMetrics.ascent()''' 8445 return int() 8446 8447 8448 class QFontMetricsF(): 8449 """""" 8450 def __init__(self): 8451 '''QFont QFontMetricsF.__init__()''' 8452 return QFont() 8453 def __init__(self, pd): 8454 '''QFont QFontMetricsF.__init__(QPaintDevice pd)''' 8455 return QFont() 8456 def __init__(self): 8457 '''QFontMetrics QFontMetricsF.__init__()''' 8458 return QFontMetrics() 8459 def __init__(self): 8460 '''QFontMetricsF QFontMetricsF.__init__()''' 8461 return QFontMetricsF() 8462 def inFontUcs4(self, character): 8463 '''bool QFontMetricsF.inFontUcs4(int character)''' 8464 return bool() 8465 def tightBoundingRect(self, text): 8466 '''QRectF QFontMetricsF.tightBoundingRect(QString text)''' 8467 return QRectF() 8468 def __ne__(self, other): 8469 '''bool QFontMetricsF.__ne__(QFontMetricsF other)''' 8470 return bool() 8471 def __eq__(self, other): 8472 '''bool QFontMetricsF.__eq__(QFontMetricsF other)''' 8473 return bool() 8474 def elidedText(self, text, mode, width, flags = 0): 8475 '''QString QFontMetricsF.elidedText(QString text, Qt.TextElideMode mode, float width, int flags = 0)''' 8476 return QString() 8477 def averageCharWidth(self): 8478 '''float QFontMetricsF.averageCharWidth()''' 8479 return float() 8480 def lineWidth(self): 8481 '''float QFontMetricsF.lineWidth()''' 8482 return float() 8483 def strikeOutPos(self): 8484 '''float QFontMetricsF.strikeOutPos()''' 8485 return float() 8486 def overlinePos(self): 8487 '''float QFontMetricsF.overlinePos()''' 8488 return float() 8489 def underlinePos(self): 8490 '''float QFontMetricsF.underlinePos()''' 8491 return float() 8492 def size(self, flags, text, tabStops = 0, tabArray = 0): 8493 '''QSizeF QFontMetricsF.size(int flags, QString text, int tabStops = 0, list-of-int tabArray = 0)''' 8494 return QSizeF() 8495 def boundingRect(self): 8496 '''QChar QFontMetricsF.boundingRect()''' 8497 return QChar() 8498 def boundingRect(self, string): 8499 '''QRectF QFontMetricsF.boundingRect(QString string)''' 8500 return QRectF() 8501 def boundingRect(self, rect, flags, text, tabStops = 0, tabArray = 0): 8502 '''QRectF QFontMetricsF.boundingRect(QRectF rect, int flags, QString text, int tabStops = 0, list-of-int tabArray = 0)''' 8503 return QRectF() 8504 def boundingRectChar(self): 8505 '''QChar QFontMetricsF.boundingRectChar()''' 8506 return QChar() 8507 def width(self): 8508 '''QChar QFontMetricsF.width()''' 8509 return QChar() 8510 def width(self, string): 8511 '''float QFontMetricsF.width(QString string)''' 8512 return float() 8513 def widthChar(self): 8514 '''QChar QFontMetricsF.widthChar()''' 8515 return QChar() 8516 def rightBearing(self): 8517 '''QChar QFontMetricsF.rightBearing()''' 8518 return QChar() 8519 def leftBearing(self): 8520 '''QChar QFontMetricsF.leftBearing()''' 8521 return QChar() 8522 def inFont(self): 8523 '''QChar QFontMetricsF.inFont()''' 8524 return QChar() 8525 def xHeight(self): 8526 '''float QFontMetricsF.xHeight()''' 8527 return float() 8528 def maxWidth(self): 8529 '''float QFontMetricsF.maxWidth()''' 8530 return float() 8531 def minRightBearing(self): 8532 '''float QFontMetricsF.minRightBearing()''' 8533 return float() 8534 def minLeftBearing(self): 8535 '''float QFontMetricsF.minLeftBearing()''' 8536 return float() 8537 def lineSpacing(self): 8538 '''float QFontMetricsF.lineSpacing()''' 8539 return float() 8540 def leading(self): 8541 '''float QFontMetricsF.leading()''' 8542 return float() 8543 def height(self): 8544 '''float QFontMetricsF.height()''' 8545 return float() 8546 def descent(self): 8547 '''float QFontMetricsF.descent()''' 8548 return float() 8549 def ascent(self): 8550 '''float QFontMetricsF.ascent()''' 8551 return float() 8552 8553 8554 class QFormLayout(QLayout): 8555 """""" 8556 # Enum QFormLayout.ItemRole 8557 LabelRole = 0 8558 FieldRole = 0 8559 SpanningRole = 0 8560 8561 # Enum QFormLayout.RowWrapPolicy 8562 DontWrapRows = 0 8563 WrapLongRows = 0 8564 WrapAllRows = 0 8565 8566 # Enum QFormLayout.FieldGrowthPolicy 8567 FieldsStayAtSizeHint = 0 8568 ExpandingFieldsGrow = 0 8569 AllNonFixedFieldsGrow = 0 8570 8571 def __init__(self, parent = None): 8572 '''void QFormLayout.__init__(QWidget parent = None)''' 8573 def rowCount(self): 8574 '''int QFormLayout.rowCount()''' 8575 return int() 8576 def count(self): 8577 '''int QFormLayout.count()''' 8578 return int() 8579 def expandingDirections(self): 8580 '''Qt.Orientations QFormLayout.expandingDirections()''' 8581 return Qt.Orientations() 8582 def heightForWidth(self, width): 8583 '''int QFormLayout.heightForWidth(int width)''' 8584 return int() 8585 def hasHeightForWidth(self): 8586 '''bool QFormLayout.hasHeightForWidth()''' 8587 return bool() 8588 def invalidate(self): 8589 '''void QFormLayout.invalidate()''' 8590 def sizeHint(self): 8591 '''QSize QFormLayout.sizeHint()''' 8592 return QSize() 8593 def minimumSize(self): 8594 '''QSize QFormLayout.minimumSize()''' 8595 return QSize() 8596 def setGeometry(self, rect): 8597 '''void QFormLayout.setGeometry(QRect rect)''' 8598 def takeAt(self, index): 8599 '''QLayoutItem QFormLayout.takeAt(int index)''' 8600 return QLayoutItem() 8601 def addItem(self, item): 8602 '''void QFormLayout.addItem(QLayoutItem item)''' 8603 def labelForField(self, field): 8604 '''QWidget QFormLayout.labelForField(QWidget field)''' 8605 return QWidget() 8606 def labelForField(self, field): 8607 '''QWidget QFormLayout.labelForField(QLayout field)''' 8608 return QWidget() 8609 def getLayoutPosition(self, layout, rowPtr, rolePtr): 8610 '''void QFormLayout.getLayoutPosition(QLayout layout, int rowPtr, QFormLayout.ItemRole rolePtr)''' 8611 def getWidgetPosition(self, widget, rowPtr, rolePtr): 8612 '''void QFormLayout.getWidgetPosition(QWidget widget, int rowPtr, QFormLayout.ItemRole rolePtr)''' 8613 def getItemPosition(self, index, rowPtr, rolePtr): 8614 '''void QFormLayout.getItemPosition(int index, int rowPtr, QFormLayout.ItemRole rolePtr)''' 8615 def itemAt(self, row, role): 8616 '''QLayoutItem QFormLayout.itemAt(int row, QFormLayout.ItemRole role)''' 8617 return QLayoutItem() 8618 def itemAt(self, index): 8619 '''QLayoutItem QFormLayout.itemAt(int index)''' 8620 return QLayoutItem() 8621 def setLayout(self, row, role, layout): 8622 '''void QFormLayout.setLayout(int row, QFormLayout.ItemRole role, QLayout layout)''' 8623 def setWidget(self, row, role, widget): 8624 '''void QFormLayout.setWidget(int row, QFormLayout.ItemRole role, QWidget widget)''' 8625 def setItem(self, row, role, item): 8626 '''void QFormLayout.setItem(int row, QFormLayout.ItemRole role, QLayoutItem item)''' 8627 def insertRow(self, row, label, field): 8628 '''void QFormLayout.insertRow(int row, QWidget label, QWidget field)''' 8629 def insertRow(self, row, label, field): 8630 '''void QFormLayout.insertRow(int row, QWidget label, QLayout field)''' 8631 def insertRow(self, row, labelText, field): 8632 '''void QFormLayout.insertRow(int row, QString labelText, QWidget field)''' 8633 def insertRow(self, row, labelText, field): 8634 '''void QFormLayout.insertRow(int row, QString labelText, QLayout field)''' 8635 def insertRow(self, row, widget): 8636 '''void QFormLayout.insertRow(int row, QWidget widget)''' 8637 def insertRow(self, row, layout): 8638 '''void QFormLayout.insertRow(int row, QLayout layout)''' 8639 def addRow(self, label, field): 8640 '''void QFormLayout.addRow(QWidget label, QWidget field)''' 8641 def addRow(self, label, field): 8642 '''void QFormLayout.addRow(QWidget label, QLayout field)''' 8643 def addRow(self, labelText, field): 8644 '''void QFormLayout.addRow(QString labelText, QWidget field)''' 8645 def addRow(self, labelText, field): 8646 '''void QFormLayout.addRow(QString labelText, QLayout field)''' 8647 def addRow(self, widget): 8648 '''void QFormLayout.addRow(QWidget widget)''' 8649 def addRow(self, layout): 8650 '''void QFormLayout.addRow(QLayout layout)''' 8651 def setSpacing(self): 8652 '''int QFormLayout.setSpacing()''' 8653 return int() 8654 def spacing(self): 8655 '''int QFormLayout.spacing()''' 8656 return int() 8657 def verticalSpacing(self): 8658 '''int QFormLayout.verticalSpacing()''' 8659 return int() 8660 def setVerticalSpacing(self, spacing): 8661 '''void QFormLayout.setVerticalSpacing(int spacing)''' 8662 def horizontalSpacing(self): 8663 '''int QFormLayout.horizontalSpacing()''' 8664 return int() 8665 def setHorizontalSpacing(self, spacing): 8666 '''void QFormLayout.setHorizontalSpacing(int spacing)''' 8667 def formAlignment(self): 8668 '''Qt.Alignment QFormLayout.formAlignment()''' 8669 return Qt.Alignment() 8670 def setFormAlignment(self, alignment): 8671 '''void QFormLayout.setFormAlignment(Qt.Alignment alignment)''' 8672 def labelAlignment(self): 8673 '''Qt.Alignment QFormLayout.labelAlignment()''' 8674 return Qt.Alignment() 8675 def setLabelAlignment(self, alignment): 8676 '''void QFormLayout.setLabelAlignment(Qt.Alignment alignment)''' 8677 def rowWrapPolicy(self): 8678 '''QFormLayout.RowWrapPolicy QFormLayout.rowWrapPolicy()''' 8679 return QFormLayout.RowWrapPolicy() 8680 def setRowWrapPolicy(self, policy): 8681 '''void QFormLayout.setRowWrapPolicy(QFormLayout.RowWrapPolicy policy)''' 8682 def fieldGrowthPolicy(self): 8683 '''QFormLayout.FieldGrowthPolicy QFormLayout.fieldGrowthPolicy()''' 8684 return QFormLayout.FieldGrowthPolicy() 8685 def setFieldGrowthPolicy(self, policy): 8686 '''void QFormLayout.setFieldGrowthPolicy(QFormLayout.FieldGrowthPolicy policy)''' 8687 8688 8689 class QMatrix4x3(): 8690 """""" 8691 def __init__(self): 8692 '''void QMatrix4x3.__init__()''' 8693 def __init__(self, other): 8694 '''void QMatrix4x3.__init__(QMatrix4x3 other)''' 8695 def __init__(self, values): 8696 '''void QMatrix4x3.__init__(sequence-of-float values)''' 8697 def __ne__(self): 8698 '''QMatrix4x3 QMatrix4x3.__ne__()''' 8699 return QMatrix4x3() 8700 def __eq__(self): 8701 '''QMatrix4x3 QMatrix4x3.__eq__()''' 8702 return QMatrix4x3() 8703 def __idiv__(self): 8704 '''float QMatrix4x3.__idiv__()''' 8705 return float() 8706 def __imul__(self): 8707 '''float QMatrix4x3.__imul__()''' 8708 return float() 8709 def __isub__(self): 8710 '''QMatrix4x3 QMatrix4x3.__isub__()''' 8711 return QMatrix4x3() 8712 def __iadd__(self): 8713 '''QMatrix4x3 QMatrix4x3.__iadd__()''' 8714 return QMatrix4x3() 8715 def transposed(self): 8716 '''QMatrix3x4 QMatrix4x3.transposed()''' 8717 return QMatrix3x4() 8718 def fill(self, value): 8719 '''void QMatrix4x3.fill(float value)''' 8720 def setToIdentity(self): 8721 '''void QMatrix4x3.setToIdentity()''' 8722 def isIdentity(self): 8723 '''bool QMatrix4x3.isIdentity()''' 8724 return bool() 8725 def __setitem__(self): 8726 '''float QMatrix4x3.__setitem__()''' 8727 return float() 8728 def __getitem__(self): 8729 '''object QMatrix4x3.__getitem__()''' 8730 return object() 8731 def copyDataTo(self): 8732 '''list-of-float QMatrix4x3.copyDataTo()''' 8733 return [float()] 8734 def data(self): 8735 '''list-of-float QMatrix4x3.data()''' 8736 return [float()] 8737 def __repr__(self): 8738 '''str QMatrix4x3.__repr__()''' 8739 return str() 8740 8741 8742 class QMatrix4x2(): 8743 """""" 8744 def __init__(self): 8745 '''void QMatrix4x2.__init__()''' 8746 def __init__(self, other): 8747 '''void QMatrix4x2.__init__(QMatrix4x2 other)''' 8748 def __init__(self, values): 8749 '''void QMatrix4x2.__init__(sequence-of-float values)''' 8750 def __ne__(self): 8751 '''QMatrix4x2 QMatrix4x2.__ne__()''' 8752 return QMatrix4x2() 8753 def __eq__(self): 8754 '''QMatrix4x2 QMatrix4x2.__eq__()''' 8755 return QMatrix4x2() 8756 def __idiv__(self): 8757 '''float QMatrix4x2.__idiv__()''' 8758 return float() 8759 def __imul__(self): 8760 '''float QMatrix4x2.__imul__()''' 8761 return float() 8762 def __isub__(self): 8763 '''QMatrix4x2 QMatrix4x2.__isub__()''' 8764 return QMatrix4x2() 8765 def __iadd__(self): 8766 '''QMatrix4x2 QMatrix4x2.__iadd__()''' 8767 return QMatrix4x2() 8768 def transposed(self): 8769 '''QMatrix2x4 QMatrix4x2.transposed()''' 8770 return QMatrix2x4() 8771 def fill(self, value): 8772 '''void QMatrix4x2.fill(float value)''' 8773 def setToIdentity(self): 8774 '''void QMatrix4x2.setToIdentity()''' 8775 def isIdentity(self): 8776 '''bool QMatrix4x2.isIdentity()''' 8777 return bool() 8778 def __setitem__(self): 8779 '''float QMatrix4x2.__setitem__()''' 8780 return float() 8781 def __getitem__(self): 8782 '''object QMatrix4x2.__getitem__()''' 8783 return object() 8784 def copyDataTo(self): 8785 '''list-of-float QMatrix4x2.copyDataTo()''' 8786 return [float()] 8787 def data(self): 8788 '''list-of-float QMatrix4x2.data()''' 8789 return [float()] 8790 def __repr__(self): 8791 '''str QMatrix4x2.__repr__()''' 8792 return str() 8793 8794 8795 class QMatrix3x4(): 8796 """""" 8797 def __init__(self): 8798 '''void QMatrix3x4.__init__()''' 8799 def __init__(self, other): 8800 '''void QMatrix3x4.__init__(QMatrix3x4 other)''' 8801 def __init__(self, values): 8802 '''void QMatrix3x4.__init__(sequence-of-float values)''' 8803 def __ne__(self): 8804 '''QMatrix3x4 QMatrix3x4.__ne__()''' 8805 return QMatrix3x4() 8806 def __eq__(self): 8807 '''QMatrix3x4 QMatrix3x4.__eq__()''' 8808 return QMatrix3x4() 8809 def __idiv__(self): 8810 '''float QMatrix3x4.__idiv__()''' 8811 return float() 8812 def __imul__(self): 8813 '''float QMatrix3x4.__imul__()''' 8814 return float() 8815 def __isub__(self): 8816 '''QMatrix3x4 QMatrix3x4.__isub__()''' 8817 return QMatrix3x4() 8818 def __iadd__(self): 8819 '''QMatrix3x4 QMatrix3x4.__iadd__()''' 8820 return QMatrix3x4() 8821 def transposed(self): 8822 '''QMatrix4x3 QMatrix3x4.transposed()''' 8823 return QMatrix4x3() 8824 def fill(self, value): 8825 '''void QMatrix3x4.fill(float value)''' 8826 def setToIdentity(self): 8827 '''void QMatrix3x4.setToIdentity()''' 8828 def isIdentity(self): 8829 '''bool QMatrix3x4.isIdentity()''' 8830 return bool() 8831 def __setitem__(self): 8832 '''float QMatrix3x4.__setitem__()''' 8833 return float() 8834 def __getitem__(self): 8835 '''object QMatrix3x4.__getitem__()''' 8836 return object() 8837 def copyDataTo(self): 8838 '''list-of-float QMatrix3x4.copyDataTo()''' 8839 return [float()] 8840 def data(self): 8841 '''list-of-float QMatrix3x4.data()''' 8842 return [float()] 8843 def __repr__(self): 8844 '''str QMatrix3x4.__repr__()''' 8845 return str() 8846 8847 8848 class QMatrix3x3(): 8849 """""" 8850 def __init__(self): 8851 '''void QMatrix3x3.__init__()''' 8852 def __init__(self, other): 8853 '''void QMatrix3x3.__init__(QMatrix3x3 other)''' 8854 def __init__(self, values): 8855 '''void QMatrix3x3.__init__(sequence-of-float values)''' 8856 def __ne__(self): 8857 '''QMatrix3x3 QMatrix3x3.__ne__()''' 8858 return QMatrix3x3() 8859 def __eq__(self): 8860 '''QMatrix3x3 QMatrix3x3.__eq__()''' 8861 return QMatrix3x3() 8862 def __idiv__(self): 8863 '''float QMatrix3x3.__idiv__()''' 8864 return float() 8865 def __imul__(self): 8866 '''float QMatrix3x3.__imul__()''' 8867 return float() 8868 def __isub__(self): 8869 '''QMatrix3x3 QMatrix3x3.__isub__()''' 8870 return QMatrix3x3() 8871 def __iadd__(self): 8872 '''QMatrix3x3 QMatrix3x3.__iadd__()''' 8873 return QMatrix3x3() 8874 def transposed(self): 8875 '''QMatrix3x3 QMatrix3x3.transposed()''' 8876 return QMatrix3x3() 8877 def fill(self, value): 8878 '''void QMatrix3x3.fill(float value)''' 8879 def setToIdentity(self): 8880 '''void QMatrix3x3.setToIdentity()''' 8881 def isIdentity(self): 8882 '''bool QMatrix3x3.isIdentity()''' 8883 return bool() 8884 def __setitem__(self): 8885 '''float QMatrix3x3.__setitem__()''' 8886 return float() 8887 def __getitem__(self): 8888 '''object QMatrix3x3.__getitem__()''' 8889 return object() 8890 def copyDataTo(self): 8891 '''list-of-float QMatrix3x3.copyDataTo()''' 8892 return [float()] 8893 def data(self): 8894 '''list-of-float QMatrix3x3.data()''' 8895 return [float()] 8896 def __repr__(self): 8897 '''str QMatrix3x3.__repr__()''' 8898 return str() 8899 8900 8901 class QMatrix3x2(): 8902 """""" 8903 def __init__(self): 8904 '''void QMatrix3x2.__init__()''' 8905 def __init__(self, other): 8906 '''void QMatrix3x2.__init__(QMatrix3x2 other)''' 8907 def __init__(self, values): 8908 '''void QMatrix3x2.__init__(sequence-of-float values)''' 8909 def __ne__(self): 8910 '''QMatrix3x2 QMatrix3x2.__ne__()''' 8911 return QMatrix3x2() 8912 def __eq__(self): 8913 '''QMatrix3x2 QMatrix3x2.__eq__()''' 8914 return QMatrix3x2() 8915 def __idiv__(self): 8916 '''float QMatrix3x2.__idiv__()''' 8917 return float() 8918 def __imul__(self): 8919 '''float QMatrix3x2.__imul__()''' 8920 return float() 8921 def __isub__(self): 8922 '''QMatrix3x2 QMatrix3x2.__isub__()''' 8923 return QMatrix3x2() 8924 def __iadd__(self): 8925 '''QMatrix3x2 QMatrix3x2.__iadd__()''' 8926 return QMatrix3x2() 8927 def transposed(self): 8928 '''QMatrix2x3 QMatrix3x2.transposed()''' 8929 return QMatrix2x3() 8930 def fill(self, value): 8931 '''void QMatrix3x2.fill(float value)''' 8932 def setToIdentity(self): 8933 '''void QMatrix3x2.setToIdentity()''' 8934 def isIdentity(self): 8935 '''bool QMatrix3x2.isIdentity()''' 8936 return bool() 8937 def __setitem__(self): 8938 '''float QMatrix3x2.__setitem__()''' 8939 return float() 8940 def __getitem__(self): 8941 '''object QMatrix3x2.__getitem__()''' 8942 return object() 8943 def copyDataTo(self): 8944 '''list-of-float QMatrix3x2.copyDataTo()''' 8945 return [float()] 8946 def data(self): 8947 '''list-of-float QMatrix3x2.data()''' 8948 return [float()] 8949 def __repr__(self): 8950 '''str QMatrix3x2.__repr__()''' 8951 return str() 8952 8953 8954 class QMatrix2x4(): 8955 """""" 8956 def __init__(self): 8957 '''void QMatrix2x4.__init__()''' 8958 def __init__(self, other): 8959 '''void QMatrix2x4.__init__(QMatrix2x4 other)''' 8960 def __init__(self, values): 8961 '''void QMatrix2x4.__init__(sequence-of-float values)''' 8962 def __ne__(self): 8963 '''QMatrix2x4 QMatrix2x4.__ne__()''' 8964 return QMatrix2x4() 8965 def __eq__(self): 8966 '''QMatrix2x4 QMatrix2x4.__eq__()''' 8967 return QMatrix2x4() 8968 def __idiv__(self): 8969 '''float QMatrix2x4.__idiv__()''' 8970 return float() 8971 def __imul__(self): 8972 '''float QMatrix2x4.__imul__()''' 8973 return float() 8974 def __isub__(self): 8975 '''QMatrix2x4 QMatrix2x4.__isub__()''' 8976 return QMatrix2x4() 8977 def __iadd__(self): 8978 '''QMatrix2x4 QMatrix2x4.__iadd__()''' 8979 return QMatrix2x4() 8980 def transposed(self): 8981 '''QMatrix4x2 QMatrix2x4.transposed()''' 8982 return QMatrix4x2() 8983 def fill(self, value): 8984 '''void QMatrix2x4.fill(float value)''' 8985 def setToIdentity(self): 8986 '''void QMatrix2x4.setToIdentity()''' 8987 def isIdentity(self): 8988 '''bool QMatrix2x4.isIdentity()''' 8989 return bool() 8990 def __setitem__(self): 8991 '''float QMatrix2x4.__setitem__()''' 8992 return float() 8993 def __getitem__(self): 8994 '''object QMatrix2x4.__getitem__()''' 8995 return object() 8996 def copyDataTo(self): 8997 '''list-of-float QMatrix2x4.copyDataTo()''' 8998 return [float()] 8999 def data(self): 9000 '''list-of-float QMatrix2x4.data()''' 9001 return [float()] 9002 def __repr__(self): 9003 '''str QMatrix2x4.__repr__()''' 9004 return str() 9005 9006 9007 class QMatrix2x3(): 9008 """""" 9009 def __init__(self): 9010 '''void QMatrix2x3.__init__()''' 9011 def __init__(self, other): 9012 '''void QMatrix2x3.__init__(QMatrix2x3 other)''' 9013 def __init__(self, values): 9014 '''void QMatrix2x3.__init__(sequence-of-float values)''' 9015 def __ne__(self): 9016 '''QMatrix2x3 QMatrix2x3.__ne__()''' 9017 return QMatrix2x3() 9018 def __eq__(self): 9019 '''QMatrix2x3 QMatrix2x3.__eq__()''' 9020 return QMatrix2x3() 9021 def __idiv__(self): 9022 '''float QMatrix2x3.__idiv__()''' 9023 return float() 9024 def __imul__(self): 9025 '''float QMatrix2x3.__imul__()''' 9026 return float() 9027 def __isub__(self): 9028 '''QMatrix2x3 QMatrix2x3.__isub__()''' 9029 return QMatrix2x3() 9030 def __iadd__(self): 9031 '''QMatrix2x3 QMatrix2x3.__iadd__()''' 9032 return QMatrix2x3() 9033 def transposed(self): 9034 '''QMatrix3x2 QMatrix2x3.transposed()''' 9035 return QMatrix3x2() 9036 def fill(self, value): 9037 '''void QMatrix2x3.fill(float value)''' 9038 def setToIdentity(self): 9039 '''void QMatrix2x3.setToIdentity()''' 9040 def isIdentity(self): 9041 '''bool QMatrix2x3.isIdentity()''' 9042 return bool() 9043 def __setitem__(self): 9044 '''float QMatrix2x3.__setitem__()''' 9045 return float() 9046 def __getitem__(self): 9047 '''object QMatrix2x3.__getitem__()''' 9048 return object() 9049 def copyDataTo(self): 9050 '''list-of-float QMatrix2x3.copyDataTo()''' 9051 return [float()] 9052 def data(self): 9053 '''list-of-float QMatrix2x3.data()''' 9054 return [float()] 9055 def __repr__(self): 9056 '''str QMatrix2x3.__repr__()''' 9057 return str() 9058 9059 9060 class QMatrix2x2(): 9061 """""" 9062 def __init__(self): 9063 '''void QMatrix2x2.__init__()''' 9064 def __init__(self, other): 9065 '''void QMatrix2x2.__init__(QMatrix2x2 other)''' 9066 def __init__(self, values): 9067 '''void QMatrix2x2.__init__(sequence-of-float values)''' 9068 def __ne__(self): 9069 '''QMatrix2x2 QMatrix2x2.__ne__()''' 9070 return QMatrix2x2() 9071 def __eq__(self): 9072 '''QMatrix2x2 QMatrix2x2.__eq__()''' 9073 return QMatrix2x2() 9074 def __idiv__(self): 9075 '''float QMatrix2x2.__idiv__()''' 9076 return float() 9077 def __imul__(self): 9078 '''float QMatrix2x2.__imul__()''' 9079 return float() 9080 def __isub__(self): 9081 '''QMatrix2x2 QMatrix2x2.__isub__()''' 9082 return QMatrix2x2() 9083 def __iadd__(self): 9084 '''QMatrix2x2 QMatrix2x2.__iadd__()''' 9085 return QMatrix2x2() 9086 def transposed(self): 9087 '''QMatrix2x2 QMatrix2x2.transposed()''' 9088 return QMatrix2x2() 9089 def fill(self, value): 9090 '''void QMatrix2x2.fill(float value)''' 9091 def setToIdentity(self): 9092 '''void QMatrix2x2.setToIdentity()''' 9093 def isIdentity(self): 9094 '''bool QMatrix2x2.isIdentity()''' 9095 return bool() 9096 def __setitem__(self): 9097 '''float QMatrix2x2.__setitem__()''' 9098 return float() 9099 def __getitem__(self): 9100 '''object QMatrix2x2.__getitem__()''' 9101 return object() 9102 def copyDataTo(self): 9103 '''list-of-float QMatrix2x2.copyDataTo()''' 9104 return [float()] 9105 def data(self): 9106 '''list-of-float QMatrix2x2.data()''' 9107 return [float()] 9108 def __repr__(self): 9109 '''str QMatrix2x2.__repr__()''' 9110 return str() 9111 9112 9113 class QGesture(QObject): 9114 """""" 9115 # Enum QGesture.GestureCancelPolicy 9116 CancelNone = 0 9117 CancelAllInContext = 0 9118 9119 def __init__(self, parent = None): 9120 '''void QGesture.__init__(QObject parent = None)''' 9121 def gestureCancelPolicy(self): 9122 '''QGesture.GestureCancelPolicy QGesture.gestureCancelPolicy()''' 9123 return QGesture.GestureCancelPolicy() 9124 def setGestureCancelPolicy(self, policy): 9125 '''void QGesture.setGestureCancelPolicy(QGesture.GestureCancelPolicy policy)''' 9126 def unsetHotSpot(self): 9127 '''void QGesture.unsetHotSpot()''' 9128 def hasHotSpot(self): 9129 '''bool QGesture.hasHotSpot()''' 9130 return bool() 9131 def setHotSpot(self, value): 9132 '''void QGesture.setHotSpot(QPointF value)''' 9133 def hotSpot(self): 9134 '''QPointF QGesture.hotSpot()''' 9135 return QPointF() 9136 def state(self): 9137 '''Qt.GestureState QGesture.state()''' 9138 return Qt.GestureState() 9139 def gestureType(self): 9140 '''Qt.GestureType QGesture.gestureType()''' 9141 return Qt.GestureType() 9142 9143 9144 class QPanGesture(QGesture): 9145 """""" 9146 def __init__(self, parent = None): 9147 '''void QPanGesture.__init__(QObject parent = None)''' 9148 def setAcceleration(self, value): 9149 '''void QPanGesture.setAcceleration(float value)''' 9150 def setOffset(self, value): 9151 '''void QPanGesture.setOffset(QPointF value)''' 9152 def setLastOffset(self, value): 9153 '''void QPanGesture.setLastOffset(QPointF value)''' 9154 def acceleration(self): 9155 '''float QPanGesture.acceleration()''' 9156 return float() 9157 def delta(self): 9158 '''QPointF QPanGesture.delta()''' 9159 return QPointF() 9160 def offset(self): 9161 '''QPointF QPanGesture.offset()''' 9162 return QPointF() 9163 def lastOffset(self): 9164 '''QPointF QPanGesture.lastOffset()''' 9165 return QPointF() 9166 9167 9168 class QPinchGesture(QGesture): 9169 """""" 9170 # Enum QPinchGesture.ChangeFlag 9171 ScaleFactorChanged = 0 9172 RotationAngleChanged = 0 9173 CenterPointChanged = 0 9174 9175 def __init__(self, parent = None): 9176 '''void QPinchGesture.__init__(QObject parent = None)''' 9177 def setRotationAngle(self, value): 9178 '''void QPinchGesture.setRotationAngle(float value)''' 9179 def setLastRotationAngle(self, value): 9180 '''void QPinchGesture.setLastRotationAngle(float value)''' 9181 def setTotalRotationAngle(self, value): 9182 '''void QPinchGesture.setTotalRotationAngle(float value)''' 9183 def rotationAngle(self): 9184 '''float QPinchGesture.rotationAngle()''' 9185 return float() 9186 def lastRotationAngle(self): 9187 '''float QPinchGesture.lastRotationAngle()''' 9188 return float() 9189 def totalRotationAngle(self): 9190 '''float QPinchGesture.totalRotationAngle()''' 9191 return float() 9192 def setScaleFactor(self, value): 9193 '''void QPinchGesture.setScaleFactor(float value)''' 9194 def setLastScaleFactor(self, value): 9195 '''void QPinchGesture.setLastScaleFactor(float value)''' 9196 def setTotalScaleFactor(self, value): 9197 '''void QPinchGesture.setTotalScaleFactor(float value)''' 9198 def scaleFactor(self): 9199 '''float QPinchGesture.scaleFactor()''' 9200 return float() 9201 def lastScaleFactor(self): 9202 '''float QPinchGesture.lastScaleFactor()''' 9203 return float() 9204 def totalScaleFactor(self): 9205 '''float QPinchGesture.totalScaleFactor()''' 9206 return float() 9207 def setCenterPoint(self, value): 9208 '''void QPinchGesture.setCenterPoint(QPointF value)''' 9209 def setLastCenterPoint(self, value): 9210 '''void QPinchGesture.setLastCenterPoint(QPointF value)''' 9211 def setStartCenterPoint(self, value): 9212 '''void QPinchGesture.setStartCenterPoint(QPointF value)''' 9213 def centerPoint(self): 9214 '''QPointF QPinchGesture.centerPoint()''' 9215 return QPointF() 9216 def lastCenterPoint(self): 9217 '''QPointF QPinchGesture.lastCenterPoint()''' 9218 return QPointF() 9219 def startCenterPoint(self): 9220 '''QPointF QPinchGesture.startCenterPoint()''' 9221 return QPointF() 9222 def setChangeFlags(self, value): 9223 '''void QPinchGesture.setChangeFlags(QPinchGesture.ChangeFlags value)''' 9224 def changeFlags(self): 9225 '''QPinchGesture.ChangeFlags QPinchGesture.changeFlags()''' 9226 return QPinchGesture.ChangeFlags() 9227 def setTotalChangeFlags(self, value): 9228 '''void QPinchGesture.setTotalChangeFlags(QPinchGesture.ChangeFlags value)''' 9229 def totalChangeFlags(self): 9230 '''QPinchGesture.ChangeFlags QPinchGesture.totalChangeFlags()''' 9231 return QPinchGesture.ChangeFlags() 9232 class ChangeFlags(): 9233 """""" 9234 def __init__(self): 9235 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__init__()''' 9236 return QPinchGesture.ChangeFlags() 9237 def __init__(self): 9238 '''int QPinchGesture.ChangeFlags.__init__()''' 9239 return int() 9240 def __init__(self): 9241 '''void QPinchGesture.ChangeFlags.__init__()''' 9242 def __bool__(self): 9243 '''int QPinchGesture.ChangeFlags.__bool__()''' 9244 return int() 9245 def __ne__(self, f): 9246 '''bool QPinchGesture.ChangeFlags.__ne__(QPinchGesture.ChangeFlags f)''' 9247 return bool() 9248 def __eq__(self, f): 9249 '''bool QPinchGesture.ChangeFlags.__eq__(QPinchGesture.ChangeFlags f)''' 9250 return bool() 9251 def __invert__(self): 9252 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__invert__()''' 9253 return QPinchGesture.ChangeFlags() 9254 def __and__(self, mask): 9255 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__and__(int mask)''' 9256 return QPinchGesture.ChangeFlags() 9257 def __xor__(self, f): 9258 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__xor__(QPinchGesture.ChangeFlags f)''' 9259 return QPinchGesture.ChangeFlags() 9260 def __xor__(self, f): 9261 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__xor__(int f)''' 9262 return QPinchGesture.ChangeFlags() 9263 def __or__(self, f): 9264 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__or__(QPinchGesture.ChangeFlags f)''' 9265 return QPinchGesture.ChangeFlags() 9266 def __or__(self, f): 9267 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__or__(int f)''' 9268 return QPinchGesture.ChangeFlags() 9269 def __int__(self): 9270 '''int QPinchGesture.ChangeFlags.__int__()''' 9271 return int() 9272 def __ixor__(self, f): 9273 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__ixor__(QPinchGesture.ChangeFlags f)''' 9274 return QPinchGesture.ChangeFlags() 9275 def __ior__(self, f): 9276 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__ior__(QPinchGesture.ChangeFlags f)''' 9277 return QPinchGesture.ChangeFlags() 9278 def __iand__(self, mask): 9279 '''QPinchGesture.ChangeFlags QPinchGesture.ChangeFlags.__iand__(int mask)''' 9280 return QPinchGesture.ChangeFlags() 9281 9282 9283 class QSwipeGesture(QGesture): 9284 """""" 9285 # Enum QSwipeGesture.SwipeDirection 9286 NoDirection = 0 9287 Left = 0 9288 Right = 0 9289 Up = 0 9290 Down = 0 9291 9292 def __init__(self, parent = None): 9293 '''void QSwipeGesture.__init__(QObject parent = None)''' 9294 def setSwipeAngle(self, value): 9295 '''void QSwipeGesture.setSwipeAngle(float value)''' 9296 def swipeAngle(self): 9297 '''float QSwipeGesture.swipeAngle()''' 9298 return float() 9299 def verticalDirection(self): 9300 '''QSwipeGesture.SwipeDirection QSwipeGesture.verticalDirection()''' 9301 return QSwipeGesture.SwipeDirection() 9302 def horizontalDirection(self): 9303 '''QSwipeGesture.SwipeDirection QSwipeGesture.horizontalDirection()''' 9304 return QSwipeGesture.SwipeDirection() 9305 9306 9307 class QTapGesture(QGesture): 9308 """""" 9309 def __init__(self, parent = None): 9310 '''void QTapGesture.__init__(QObject parent = None)''' 9311 def setPosition(self, pos): 9312 '''void QTapGesture.setPosition(QPointF pos)''' 9313 def position(self): 9314 '''QPointF QTapGesture.position()''' 9315 return QPointF() 9316 9317 9318 class QTapAndHoldGesture(QGesture): 9319 """""" 9320 def __init__(self, parent = None): 9321 '''void QTapAndHoldGesture.__init__(QObject parent = None)''' 9322 def timeout(self): 9323 '''static int QTapAndHoldGesture.timeout()''' 9324 return int() 9325 def setTimeout(self, msecs): 9326 '''static void QTapAndHoldGesture.setTimeout(int msecs)''' 9327 def setPosition(self, pos): 9328 '''void QTapAndHoldGesture.setPosition(QPointF pos)''' 9329 def position(self): 9330 '''QPointF QTapAndHoldGesture.position()''' 9331 return QPointF() 9332 9333 9334 class QGestureRecognizer(): 9335 """""" 9336 # Enum QGestureRecognizer.ResultFlag 9337 Ignore = 0 9338 MayBeGesture = 0 9339 TriggerGesture = 0 9340 FinishGesture = 0 9341 CancelGesture = 0 9342 ConsumeEventHint = 0 9343 9344 def __init__(self): 9345 '''void QGestureRecognizer.__init__()''' 9346 def __init__(self): 9347 '''QGestureRecognizer QGestureRecognizer.__init__()''' 9348 return QGestureRecognizer() 9349 def unregisterRecognizer(self, type): 9350 '''static void QGestureRecognizer.unregisterRecognizer(Qt.GestureType type)''' 9351 def registerRecognizer(self, recognizer): 9352 '''static Qt.GestureType QGestureRecognizer.registerRecognizer(QGestureRecognizer recognizer)''' 9353 return Qt.GestureType() 9354 def reset(self, state): 9355 '''void QGestureRecognizer.reset(QGesture state)''' 9356 def recognize(self, state, watched, event): 9357 '''abstract QGestureRecognizer.Result QGestureRecognizer.recognize(QGesture state, QObject watched, QEvent event)''' 9358 return QGestureRecognizer.Result() 9359 def create(self, target): 9360 '''QGesture QGestureRecognizer.create(QObject target)''' 9361 return QGesture() 9362 class Result(): 9363 """""" 9364 def __init__(self): 9365 '''QGestureRecognizer.Result QGestureRecognizer.Result.__init__()''' 9366 return QGestureRecognizer.Result() 9367 def __init__(self): 9368 '''int QGestureRecognizer.Result.__init__()''' 9369 return int() 9370 def __init__(self): 9371 '''void QGestureRecognizer.Result.__init__()''' 9372 def __bool__(self): 9373 '''int QGestureRecognizer.Result.__bool__()''' 9374 return int() 9375 def __ne__(self, f): 9376 '''bool QGestureRecognizer.Result.__ne__(QGestureRecognizer.Result f)''' 9377 return bool() 9378 def __eq__(self, f): 9379 '''bool QGestureRecognizer.Result.__eq__(QGestureRecognizer.Result f)''' 9380 return bool() 9381 def __invert__(self): 9382 '''QGestureRecognizer.Result QGestureRecognizer.Result.__invert__()''' 9383 return QGestureRecognizer.Result() 9384 def __and__(self, mask): 9385 '''QGestureRecognizer.Result QGestureRecognizer.Result.__and__(int mask)''' 9386 return QGestureRecognizer.Result() 9387 def __xor__(self, f): 9388 '''QGestureRecognizer.Result QGestureRecognizer.Result.__xor__(QGestureRecognizer.Result f)''' 9389 return QGestureRecognizer.Result() 9390 def __xor__(self, f): 9391 '''QGestureRecognizer.Result QGestureRecognizer.Result.__xor__(int f)''' 9392 return QGestureRecognizer.Result() 9393 def __or__(self, f): 9394 '''QGestureRecognizer.Result QGestureRecognizer.Result.__or__(QGestureRecognizer.Result f)''' 9395 return QGestureRecognizer.Result() 9396 def __or__(self, f): 9397 '''QGestureRecognizer.Result QGestureRecognizer.Result.__or__(int f)''' 9398 return QGestureRecognizer.Result() 9399 def __int__(self): 9400 '''int QGestureRecognizer.Result.__int__()''' 9401 return int() 9402 def __ixor__(self, f): 9403 '''QGestureRecognizer.Result QGestureRecognizer.Result.__ixor__(QGestureRecognizer.Result f)''' 9404 return QGestureRecognizer.Result() 9405 def __ior__(self, f): 9406 '''QGestureRecognizer.Result QGestureRecognizer.Result.__ior__(QGestureRecognizer.Result f)''' 9407 return QGestureRecognizer.Result() 9408 def __iand__(self, mask): 9409 '''QGestureRecognizer.Result QGestureRecognizer.Result.__iand__(int mask)''' 9410 return QGestureRecognizer.Result() 9411 9412 9413 class QGlyphRun(): 9414 """""" 9415 def __init__(self): 9416 '''void QGlyphRun.__init__()''' 9417 def __init__(self, other): 9418 '''void QGlyphRun.__init__(QGlyphRun other)''' 9419 def strikeOut(self): 9420 '''bool QGlyphRun.strikeOut()''' 9421 return bool() 9422 def setStrikeOut(self, strikeOut): 9423 '''void QGlyphRun.setStrikeOut(bool strikeOut)''' 9424 def underline(self): 9425 '''bool QGlyphRun.underline()''' 9426 return bool() 9427 def setUnderline(self, underline): 9428 '''void QGlyphRun.setUnderline(bool underline)''' 9429 def overline(self): 9430 '''bool QGlyphRun.overline()''' 9431 return bool() 9432 def setOverline(self, overline): 9433 '''void QGlyphRun.setOverline(bool overline)''' 9434 def __ne__(self, other): 9435 '''bool QGlyphRun.__ne__(QGlyphRun other)''' 9436 return bool() 9437 def __eq__(self, other): 9438 '''bool QGlyphRun.__eq__(QGlyphRun other)''' 9439 return bool() 9440 def clear(self): 9441 '''void QGlyphRun.clear()''' 9442 def setPositions(self, positions): 9443 '''void QGlyphRun.setPositions(list-of-QPointF positions)''' 9444 def positions(self): 9445 '''list-of-QPointF QGlyphRun.positions()''' 9446 return [QPointF()] 9447 def setGlyphIndexes(self, glyphIndexes): 9448 '''void QGlyphRun.setGlyphIndexes(list-of-int glyphIndexes)''' 9449 def glyphIndexes(self): 9450 '''list-of-int QGlyphRun.glyphIndexes()''' 9451 return [int()] 9452 def setRawFont(self, rawFont): 9453 '''void QGlyphRun.setRawFont(QRawFont rawFont)''' 9454 def rawFont(self): 9455 '''QRawFont QGlyphRun.rawFont()''' 9456 return QRawFont() 9457 9458 9459 class QGraphicsAnchor(QObject): 9460 """""" 9461 def sizePolicy(self): 9462 '''QSizePolicy.Policy QGraphicsAnchor.sizePolicy()''' 9463 return QSizePolicy.Policy() 9464 def setSizePolicy(self, policy): 9465 '''void QGraphicsAnchor.setSizePolicy(QSizePolicy.Policy policy)''' 9466 def spacing(self): 9467 '''float QGraphicsAnchor.spacing()''' 9468 return float() 9469 def unsetSpacing(self): 9470 '''void QGraphicsAnchor.unsetSpacing()''' 9471 def setSpacing(self, spacing): 9472 '''void QGraphicsAnchor.setSpacing(float spacing)''' 9473 9474 9475 class QGraphicsLayoutItem(): 9476 """""" 9477 def __init__(self, parent = None, isLayout = False): 9478 '''void QGraphicsLayoutItem.__init__(QGraphicsLayoutItem parent = None, bool isLayout = False)''' 9479 def setOwnedByLayout(self, ownedByLayout): 9480 '''void QGraphicsLayoutItem.setOwnedByLayout(bool ownedByLayout)''' 9481 def setGraphicsItem(self, item): 9482 '''void QGraphicsLayoutItem.setGraphicsItem(QGraphicsItem item)''' 9483 def sizeHint(self, which, constraint = QSizeF()): 9484 '''abstract QSizeF QGraphicsLayoutItem.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 9485 return QSizeF() 9486 def ownedByLayout(self): 9487 '''bool QGraphicsLayoutItem.ownedByLayout()''' 9488 return bool() 9489 def graphicsItem(self): 9490 '''QGraphicsItem QGraphicsLayoutItem.graphicsItem()''' 9491 return QGraphicsItem() 9492 def maximumHeight(self): 9493 '''float QGraphicsLayoutItem.maximumHeight()''' 9494 return float() 9495 def maximumWidth(self): 9496 '''float QGraphicsLayoutItem.maximumWidth()''' 9497 return float() 9498 def preferredHeight(self): 9499 '''float QGraphicsLayoutItem.preferredHeight()''' 9500 return float() 9501 def preferredWidth(self): 9502 '''float QGraphicsLayoutItem.preferredWidth()''' 9503 return float() 9504 def minimumHeight(self): 9505 '''float QGraphicsLayoutItem.minimumHeight()''' 9506 return float() 9507 def minimumWidth(self): 9508 '''float QGraphicsLayoutItem.minimumWidth()''' 9509 return float() 9510 def isLayout(self): 9511 '''bool QGraphicsLayoutItem.isLayout()''' 9512 return bool() 9513 def setParentLayoutItem(self, parent): 9514 '''void QGraphicsLayoutItem.setParentLayoutItem(QGraphicsLayoutItem parent)''' 9515 def parentLayoutItem(self): 9516 '''QGraphicsLayoutItem QGraphicsLayoutItem.parentLayoutItem()''' 9517 return QGraphicsLayoutItem() 9518 def updateGeometry(self): 9519 '''void QGraphicsLayoutItem.updateGeometry()''' 9520 def effectiveSizeHint(self, which, constraint = QSizeF()): 9521 '''QSizeF QGraphicsLayoutItem.effectiveSizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 9522 return QSizeF() 9523 def contentsRect(self): 9524 '''QRectF QGraphicsLayoutItem.contentsRect()''' 9525 return QRectF() 9526 def getContentsMargins(self, left, top, right, bottom): 9527 '''void QGraphicsLayoutItem.getContentsMargins(float left, float top, float right, float bottom)''' 9528 def geometry(self): 9529 '''QRectF QGraphicsLayoutItem.geometry()''' 9530 return QRectF() 9531 def setGeometry(self, rect): 9532 '''void QGraphicsLayoutItem.setGeometry(QRectF rect)''' 9533 def setMaximumHeight(self, height): 9534 '''void QGraphicsLayoutItem.setMaximumHeight(float height)''' 9535 def setMaximumWidth(self, width): 9536 '''void QGraphicsLayoutItem.setMaximumWidth(float width)''' 9537 def maximumSize(self): 9538 '''QSizeF QGraphicsLayoutItem.maximumSize()''' 9539 return QSizeF() 9540 def setMaximumSize(self, size): 9541 '''void QGraphicsLayoutItem.setMaximumSize(QSizeF size)''' 9542 def setMaximumSize(self, aw, ah): 9543 '''void QGraphicsLayoutItem.setMaximumSize(float aw, float ah)''' 9544 def setPreferredHeight(self, height): 9545 '''void QGraphicsLayoutItem.setPreferredHeight(float height)''' 9546 def setPreferredWidth(self, width): 9547 '''void QGraphicsLayoutItem.setPreferredWidth(float width)''' 9548 def preferredSize(self): 9549 '''QSizeF QGraphicsLayoutItem.preferredSize()''' 9550 return QSizeF() 9551 def setPreferredSize(self, size): 9552 '''void QGraphicsLayoutItem.setPreferredSize(QSizeF size)''' 9553 def setPreferredSize(self, aw, ah): 9554 '''void QGraphicsLayoutItem.setPreferredSize(float aw, float ah)''' 9555 def setMinimumHeight(self, height): 9556 '''void QGraphicsLayoutItem.setMinimumHeight(float height)''' 9557 def setMinimumWidth(self, width): 9558 '''void QGraphicsLayoutItem.setMinimumWidth(float width)''' 9559 def minimumSize(self): 9560 '''QSizeF QGraphicsLayoutItem.minimumSize()''' 9561 return QSizeF() 9562 def setMinimumSize(self, size): 9563 '''void QGraphicsLayoutItem.setMinimumSize(QSizeF size)''' 9564 def setMinimumSize(self, aw, ah): 9565 '''void QGraphicsLayoutItem.setMinimumSize(float aw, float ah)''' 9566 def sizePolicy(self): 9567 '''QSizePolicy QGraphicsLayoutItem.sizePolicy()''' 9568 return QSizePolicy() 9569 def setSizePolicy(self, policy): 9570 '''void QGraphicsLayoutItem.setSizePolicy(QSizePolicy policy)''' 9571 def setSizePolicy(self, hPolicy, vPolicy, controlType = None): 9572 '''void QGraphicsLayoutItem.setSizePolicy(QSizePolicy.Policy hPolicy, QSizePolicy.Policy vPolicy, QSizePolicy.ControlType controlType = QSizePolicy.DefaultType)''' 9573 9574 9575 class QGraphicsLayout(QGraphicsLayoutItem): 9576 """""" 9577 def __init__(self, parent = None): 9578 '''void QGraphicsLayout.__init__(QGraphicsLayoutItem parent = None)''' 9579 def addChildLayoutItem(self, layoutItem): 9580 '''void QGraphicsLayout.addChildLayoutItem(QGraphicsLayoutItem layoutItem)''' 9581 def updateGeometry(self): 9582 '''void QGraphicsLayout.updateGeometry()''' 9583 def removeAt(self, index): 9584 '''abstract void QGraphicsLayout.removeAt(int index)''' 9585 def itemAt(self, i): 9586 '''abstract QGraphicsLayoutItem QGraphicsLayout.itemAt(int i)''' 9587 return QGraphicsLayoutItem() 9588 def __len__(self): 9589 '''None QGraphicsLayout.__len__()''' 9590 return None() 9591 def count(self): 9592 '''abstract int QGraphicsLayout.count()''' 9593 return int() 9594 def widgetEvent(self, e): 9595 '''void QGraphicsLayout.widgetEvent(QEvent e)''' 9596 def invalidate(self): 9597 '''void QGraphicsLayout.invalidate()''' 9598 def isActivated(self): 9599 '''bool QGraphicsLayout.isActivated()''' 9600 return bool() 9601 def activate(self): 9602 '''void QGraphicsLayout.activate()''' 9603 def getContentsMargins(self, left, top, right, bottom): 9604 '''void QGraphicsLayout.getContentsMargins(float left, float top, float right, float bottom)''' 9605 def setContentsMargins(self, left, top, right, bottom): 9606 '''void QGraphicsLayout.setContentsMargins(float left, float top, float right, float bottom)''' 9607 9608 9609 class QGraphicsAnchorLayout(QGraphicsLayout): 9610 """""" 9611 def __init__(self, parent = None): 9612 '''void QGraphicsAnchorLayout.__init__(QGraphicsLayoutItem parent = None)''' 9613 def sizeHint(self, which, constraint = QSizeF()): 9614 '''QSizeF QGraphicsAnchorLayout.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 9615 return QSizeF() 9616 def invalidate(self): 9617 '''void QGraphicsAnchorLayout.invalidate()''' 9618 def itemAt(self, index): 9619 '''QGraphicsLayoutItem QGraphicsAnchorLayout.itemAt(int index)''' 9620 return QGraphicsLayoutItem() 9621 def count(self): 9622 '''int QGraphicsAnchorLayout.count()''' 9623 return int() 9624 def setGeometry(self, rect): 9625 '''void QGraphicsAnchorLayout.setGeometry(QRectF rect)''' 9626 def removeAt(self, index): 9627 '''void QGraphicsAnchorLayout.removeAt(int index)''' 9628 def verticalSpacing(self): 9629 '''float QGraphicsAnchorLayout.verticalSpacing()''' 9630 return float() 9631 def horizontalSpacing(self): 9632 '''float QGraphicsAnchorLayout.horizontalSpacing()''' 9633 return float() 9634 def setSpacing(self, spacing): 9635 '''void QGraphicsAnchorLayout.setSpacing(float spacing)''' 9636 def setVerticalSpacing(self, spacing): 9637 '''void QGraphicsAnchorLayout.setVerticalSpacing(float spacing)''' 9638 def setHorizontalSpacing(self, spacing): 9639 '''void QGraphicsAnchorLayout.setHorizontalSpacing(float spacing)''' 9640 def addAnchors(self, firstItem, secondItem, orientations = None): 9641 '''void QGraphicsAnchorLayout.addAnchors(QGraphicsLayoutItem firstItem, QGraphicsLayoutItem secondItem, Qt.Orientations orientations = Qt.Horizontal|Qt.Vertical)''' 9642 def addCornerAnchors(self, firstItem, firstCorner, secondItem, secondCorner): 9643 '''void QGraphicsAnchorLayout.addCornerAnchors(QGraphicsLayoutItem firstItem, Qt.Corner firstCorner, QGraphicsLayoutItem secondItem, Qt.Corner secondCorner)''' 9644 def anchor(self, firstItem, firstEdge, secondItem, secondEdge): 9645 '''QGraphicsAnchor QGraphicsAnchorLayout.anchor(QGraphicsLayoutItem firstItem, Qt.AnchorPoint firstEdge, QGraphicsLayoutItem secondItem, Qt.AnchorPoint secondEdge)''' 9646 return QGraphicsAnchor() 9647 def addAnchor(self, firstItem, firstEdge, secondItem, secondEdge): 9648 '''QGraphicsAnchor QGraphicsAnchorLayout.addAnchor(QGraphicsLayoutItem firstItem, Qt.AnchorPoint firstEdge, QGraphicsLayoutItem secondItem, Qt.AnchorPoint secondEdge)''' 9649 return QGraphicsAnchor() 9650 9651 9652 class QGraphicsEffect(QObject): 9653 """""" 9654 # Enum QGraphicsEffect.PixmapPadMode 9655 NoPad = 0 9656 PadToTransparentBorder = 0 9657 PadToEffectiveBoundingRect = 0 9658 9659 # Enum QGraphicsEffect.ChangeFlag 9660 SourceAttached = 0 9661 SourceDetached = 0 9662 SourceBoundingRectChanged = 0 9663 SourceInvalidated = 0 9664 9665 def __init__(self, parent = None): 9666 '''void QGraphicsEffect.__init__(QObject parent = None)''' 9667 def sourcePixmap(self, system = None, offset = None, mode = None): 9668 '''QPixmap QGraphicsEffect.sourcePixmap(Qt.CoordinateSystem system = Qt.LogicalCoordinates, QPoint offset, QGraphicsEffect.PixmapPadMode mode = QGraphicsEffect.PadToEffectiveBoundingRect)''' 9669 return QPixmap() 9670 def drawSource(self, painter): 9671 '''void QGraphicsEffect.drawSource(QPainter painter)''' 9672 def sourceBoundingRect(self, system = None): 9673 '''QRectF QGraphicsEffect.sourceBoundingRect(Qt.CoordinateSystem system = Qt.LogicalCoordinates)''' 9674 return QRectF() 9675 def sourceIsPixmap(self): 9676 '''bool QGraphicsEffect.sourceIsPixmap()''' 9677 return bool() 9678 def updateBoundingRect(self): 9679 '''void QGraphicsEffect.updateBoundingRect()''' 9680 def sourceChanged(self, flags): 9681 '''void QGraphicsEffect.sourceChanged(QGraphicsEffect.ChangeFlags flags)''' 9682 def draw(self, painter): 9683 '''abstract void QGraphicsEffect.draw(QPainter painter)''' 9684 enabledChanged = pyqtSignal() # void enabledChanged(bool) - signal 9685 def update(self): 9686 '''void QGraphicsEffect.update()''' 9687 def setEnabled(self, enable): 9688 '''void QGraphicsEffect.setEnabled(bool enable)''' 9689 def isEnabled(self): 9690 '''bool QGraphicsEffect.isEnabled()''' 9691 return bool() 9692 def boundingRect(self): 9693 '''QRectF QGraphicsEffect.boundingRect()''' 9694 return QRectF() 9695 def boundingRectFor(self, sourceRect): 9696 '''QRectF QGraphicsEffect.boundingRectFor(QRectF sourceRect)''' 9697 return QRectF() 9698 class ChangeFlags(): 9699 """""" 9700 def __init__(self): 9701 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__init__()''' 9702 return QGraphicsEffect.ChangeFlags() 9703 def __init__(self): 9704 '''int QGraphicsEffect.ChangeFlags.__init__()''' 9705 return int() 9706 def __init__(self): 9707 '''void QGraphicsEffect.ChangeFlags.__init__()''' 9708 def __bool__(self): 9709 '''int QGraphicsEffect.ChangeFlags.__bool__()''' 9710 return int() 9711 def __ne__(self, f): 9712 '''bool QGraphicsEffect.ChangeFlags.__ne__(QGraphicsEffect.ChangeFlags f)''' 9713 return bool() 9714 def __eq__(self, f): 9715 '''bool QGraphicsEffect.ChangeFlags.__eq__(QGraphicsEffect.ChangeFlags f)''' 9716 return bool() 9717 def __invert__(self): 9718 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__invert__()''' 9719 return QGraphicsEffect.ChangeFlags() 9720 def __and__(self, mask): 9721 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__and__(int mask)''' 9722 return QGraphicsEffect.ChangeFlags() 9723 def __xor__(self, f): 9724 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__xor__(QGraphicsEffect.ChangeFlags f)''' 9725 return QGraphicsEffect.ChangeFlags() 9726 def __xor__(self, f): 9727 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__xor__(int f)''' 9728 return QGraphicsEffect.ChangeFlags() 9729 def __or__(self, f): 9730 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__or__(QGraphicsEffect.ChangeFlags f)''' 9731 return QGraphicsEffect.ChangeFlags() 9732 def __or__(self, f): 9733 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__or__(int f)''' 9734 return QGraphicsEffect.ChangeFlags() 9735 def __int__(self): 9736 '''int QGraphicsEffect.ChangeFlags.__int__()''' 9737 return int() 9738 def __ixor__(self, f): 9739 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__ixor__(QGraphicsEffect.ChangeFlags f)''' 9740 return QGraphicsEffect.ChangeFlags() 9741 def __ior__(self, f): 9742 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__ior__(QGraphicsEffect.ChangeFlags f)''' 9743 return QGraphicsEffect.ChangeFlags() 9744 def __iand__(self, mask): 9745 '''QGraphicsEffect.ChangeFlags QGraphicsEffect.ChangeFlags.__iand__(int mask)''' 9746 return QGraphicsEffect.ChangeFlags() 9747 9748 9749 class QGraphicsColorizeEffect(QGraphicsEffect): 9750 """""" 9751 def __init__(self, parent = None): 9752 '''void QGraphicsColorizeEffect.__init__(QObject parent = None)''' 9753 def draw(self, painter): 9754 '''void QGraphicsColorizeEffect.draw(QPainter painter)''' 9755 strengthChanged = pyqtSignal() # void strengthChanged(qreal) - signal 9756 colorChanged = pyqtSignal() # void colorChanged(const QColoramp;) - signal 9757 def setStrength(self, strength): 9758 '''void QGraphicsColorizeEffect.setStrength(float strength)''' 9759 def setColor(self, c): 9760 '''void QGraphicsColorizeEffect.setColor(QColor c)''' 9761 def strength(self): 9762 '''float QGraphicsColorizeEffect.strength()''' 9763 return float() 9764 def color(self): 9765 '''QColor QGraphicsColorizeEffect.color()''' 9766 return QColor() 9767 9768 9769 class QGraphicsBlurEffect(QGraphicsEffect): 9770 """""" 9771 # Enum QGraphicsBlurEffect.BlurHint 9772 PerformanceHint = 0 9773 QualityHint = 0 9774 AnimationHint = 0 9775 9776 def __init__(self, parent = None): 9777 '''void QGraphicsBlurEffect.__init__(QObject parent = None)''' 9778 def draw(self, painter): 9779 '''void QGraphicsBlurEffect.draw(QPainter painter)''' 9780 blurHintsChanged = pyqtSignal() # void blurHintsChanged(QGraphicsBlurEffect::BlurHints) - signal 9781 blurRadiusChanged = pyqtSignal() # void blurRadiusChanged(qreal) - signal 9782 def setBlurHints(self, hints): 9783 '''void QGraphicsBlurEffect.setBlurHints(QGraphicsBlurEffect.BlurHints hints)''' 9784 def setBlurRadius(self, blurRadius): 9785 '''void QGraphicsBlurEffect.setBlurRadius(float blurRadius)''' 9786 def blurHints(self): 9787 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.blurHints()''' 9788 return QGraphicsBlurEffect.BlurHints() 9789 def blurRadius(self): 9790 '''float QGraphicsBlurEffect.blurRadius()''' 9791 return float() 9792 def boundingRectFor(self, rect): 9793 '''QRectF QGraphicsBlurEffect.boundingRectFor(QRectF rect)''' 9794 return QRectF() 9795 class BlurHints(): 9796 """""" 9797 def __init__(self): 9798 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__init__()''' 9799 return QGraphicsBlurEffect.BlurHints() 9800 def __init__(self): 9801 '''int QGraphicsBlurEffect.BlurHints.__init__()''' 9802 return int() 9803 def __init__(self): 9804 '''void QGraphicsBlurEffect.BlurHints.__init__()''' 9805 def __bool__(self): 9806 '''int QGraphicsBlurEffect.BlurHints.__bool__()''' 9807 return int() 9808 def __ne__(self, f): 9809 '''bool QGraphicsBlurEffect.BlurHints.__ne__(QGraphicsBlurEffect.BlurHints f)''' 9810 return bool() 9811 def __eq__(self, f): 9812 '''bool QGraphicsBlurEffect.BlurHints.__eq__(QGraphicsBlurEffect.BlurHints f)''' 9813 return bool() 9814 def __invert__(self): 9815 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__invert__()''' 9816 return QGraphicsBlurEffect.BlurHints() 9817 def __and__(self, mask): 9818 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__and__(int mask)''' 9819 return QGraphicsBlurEffect.BlurHints() 9820 def __xor__(self, f): 9821 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__xor__(QGraphicsBlurEffect.BlurHints f)''' 9822 return QGraphicsBlurEffect.BlurHints() 9823 def __xor__(self, f): 9824 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__xor__(int f)''' 9825 return QGraphicsBlurEffect.BlurHints() 9826 def __or__(self, f): 9827 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__or__(QGraphicsBlurEffect.BlurHints f)''' 9828 return QGraphicsBlurEffect.BlurHints() 9829 def __or__(self, f): 9830 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__or__(int f)''' 9831 return QGraphicsBlurEffect.BlurHints() 9832 def __int__(self): 9833 '''int QGraphicsBlurEffect.BlurHints.__int__()''' 9834 return int() 9835 def __ixor__(self, f): 9836 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__ixor__(QGraphicsBlurEffect.BlurHints f)''' 9837 return QGraphicsBlurEffect.BlurHints() 9838 def __ior__(self, f): 9839 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__ior__(QGraphicsBlurEffect.BlurHints f)''' 9840 return QGraphicsBlurEffect.BlurHints() 9841 def __iand__(self, mask): 9842 '''QGraphicsBlurEffect.BlurHints QGraphicsBlurEffect.BlurHints.__iand__(int mask)''' 9843 return QGraphicsBlurEffect.BlurHints() 9844 9845 9846 class QGraphicsDropShadowEffect(QGraphicsEffect): 9847 """""" 9848 def __init__(self, parent = None): 9849 '''void QGraphicsDropShadowEffect.__init__(QObject parent = None)''' 9850 def draw(self, painter): 9851 '''void QGraphicsDropShadowEffect.draw(QPainter painter)''' 9852 colorChanged = pyqtSignal() # void colorChanged(const QColoramp;) - signal 9853 blurRadiusChanged = pyqtSignal() # void blurRadiusChanged(qreal) - signal 9854 offsetChanged = pyqtSignal() # void offsetChanged(const QPointFamp;) - signal 9855 def setColor(self, color): 9856 '''void QGraphicsDropShadowEffect.setColor(QColor color)''' 9857 def setBlurRadius(self, blurRadius): 9858 '''void QGraphicsDropShadowEffect.setBlurRadius(float blurRadius)''' 9859 def setYOffset(self, dy): 9860 '''void QGraphicsDropShadowEffect.setYOffset(float dy)''' 9861 def setXOffset(self, dx): 9862 '''void QGraphicsDropShadowEffect.setXOffset(float dx)''' 9863 def setOffset(self, ofs): 9864 '''void QGraphicsDropShadowEffect.setOffset(QPointF ofs)''' 9865 def setOffset(self, dx, dy): 9866 '''void QGraphicsDropShadowEffect.setOffset(float dx, float dy)''' 9867 def setOffset(self, d): 9868 '''void QGraphicsDropShadowEffect.setOffset(float d)''' 9869 def color(self): 9870 '''QColor QGraphicsDropShadowEffect.color()''' 9871 return QColor() 9872 def blurRadius(self): 9873 '''float QGraphicsDropShadowEffect.blurRadius()''' 9874 return float() 9875 def yOffset(self): 9876 '''float QGraphicsDropShadowEffect.yOffset()''' 9877 return float() 9878 def xOffset(self): 9879 '''float QGraphicsDropShadowEffect.xOffset()''' 9880 return float() 9881 def offset(self): 9882 '''QPointF QGraphicsDropShadowEffect.offset()''' 9883 return QPointF() 9884 def boundingRectFor(self, rect): 9885 '''QRectF QGraphicsDropShadowEffect.boundingRectFor(QRectF rect)''' 9886 return QRectF() 9887 9888 9889 class QGraphicsOpacityEffect(QGraphicsEffect): 9890 """""" 9891 def __init__(self, parent = None): 9892 '''void QGraphicsOpacityEffect.__init__(QObject parent = None)''' 9893 def draw(self, painter): 9894 '''void QGraphicsOpacityEffect.draw(QPainter painter)''' 9895 opacityMaskChanged = pyqtSignal() # void opacityMaskChanged(const QBrushamp;) - signal 9896 opacityChanged = pyqtSignal() # void opacityChanged(qreal) - signal 9897 def setOpacityMask(self, mask): 9898 '''void QGraphicsOpacityEffect.setOpacityMask(QBrush mask)''' 9899 def setOpacity(self, opacity): 9900 '''void QGraphicsOpacityEffect.setOpacity(float opacity)''' 9901 def opacityMask(self): 9902 '''QBrush QGraphicsOpacityEffect.opacityMask()''' 9903 return QBrush() 9904 def opacity(self): 9905 '''float QGraphicsOpacityEffect.opacity()''' 9906 return float() 9907 9908 9909 class QGraphicsGridLayout(QGraphicsLayout): 9910 """""" 9911 def __init__(self, parent = None): 9912 '''void QGraphicsGridLayout.__init__(QGraphicsLayoutItem parent = None)''' 9913 def removeItem(self, item): 9914 '''void QGraphicsGridLayout.removeItem(QGraphicsLayoutItem item)''' 9915 def sizeHint(self, which, constraint = QSizeF()): 9916 '''QSizeF QGraphicsGridLayout.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 9917 return QSizeF() 9918 def setGeometry(self, rect): 9919 '''void QGraphicsGridLayout.setGeometry(QRectF rect)''' 9920 def invalidate(self): 9921 '''void QGraphicsGridLayout.invalidate()''' 9922 def removeAt(self, index): 9923 '''void QGraphicsGridLayout.removeAt(int index)''' 9924 def count(self): 9925 '''int QGraphicsGridLayout.count()''' 9926 return int() 9927 def itemAt(self, row, column): 9928 '''QGraphicsLayoutItem QGraphicsGridLayout.itemAt(int row, int column)''' 9929 return QGraphicsLayoutItem() 9930 def itemAt(self, index): 9931 '''QGraphicsLayoutItem QGraphicsGridLayout.itemAt(int index)''' 9932 return QGraphicsLayoutItem() 9933 def columnCount(self): 9934 '''int QGraphicsGridLayout.columnCount()''' 9935 return int() 9936 def rowCount(self): 9937 '''int QGraphicsGridLayout.rowCount()''' 9938 return int() 9939 def alignment(self, item): 9940 '''Qt.Alignment QGraphicsGridLayout.alignment(QGraphicsLayoutItem item)''' 9941 return Qt.Alignment() 9942 def setAlignment(self, item, alignment): 9943 '''void QGraphicsGridLayout.setAlignment(QGraphicsLayoutItem item, Qt.Alignment alignment)''' 9944 def columnAlignment(self, column): 9945 '''Qt.Alignment QGraphicsGridLayout.columnAlignment(int column)''' 9946 return Qt.Alignment() 9947 def setColumnAlignment(self, column, alignment): 9948 '''void QGraphicsGridLayout.setColumnAlignment(int column, Qt.Alignment alignment)''' 9949 def rowAlignment(self, row): 9950 '''Qt.Alignment QGraphicsGridLayout.rowAlignment(int row)''' 9951 return Qt.Alignment() 9952 def setRowAlignment(self, row, alignment): 9953 '''void QGraphicsGridLayout.setRowAlignment(int row, Qt.Alignment alignment)''' 9954 def setColumnFixedWidth(self, column, width): 9955 '''void QGraphicsGridLayout.setColumnFixedWidth(int column, float width)''' 9956 def columnMaximumWidth(self, column): 9957 '''float QGraphicsGridLayout.columnMaximumWidth(int column)''' 9958 return float() 9959 def setColumnMaximumWidth(self, column, width): 9960 '''void QGraphicsGridLayout.setColumnMaximumWidth(int column, float width)''' 9961 def columnPreferredWidth(self, column): 9962 '''float QGraphicsGridLayout.columnPreferredWidth(int column)''' 9963 return float() 9964 def setColumnPreferredWidth(self, column, width): 9965 '''void QGraphicsGridLayout.setColumnPreferredWidth(int column, float width)''' 9966 def columnMinimumWidth(self, column): 9967 '''float QGraphicsGridLayout.columnMinimumWidth(int column)''' 9968 return float() 9969 def setColumnMinimumWidth(self, column, width): 9970 '''void QGraphicsGridLayout.setColumnMinimumWidth(int column, float width)''' 9971 def setRowFixedHeight(self, row, height): 9972 '''void QGraphicsGridLayout.setRowFixedHeight(int row, float height)''' 9973 def rowMaximumHeight(self, row): 9974 '''float QGraphicsGridLayout.rowMaximumHeight(int row)''' 9975 return float() 9976 def setRowMaximumHeight(self, row, height): 9977 '''void QGraphicsGridLayout.setRowMaximumHeight(int row, float height)''' 9978 def rowPreferredHeight(self, row): 9979 '''float QGraphicsGridLayout.rowPreferredHeight(int row)''' 9980 return float() 9981 def setRowPreferredHeight(self, row, height): 9982 '''void QGraphicsGridLayout.setRowPreferredHeight(int row, float height)''' 9983 def rowMinimumHeight(self, row): 9984 '''float QGraphicsGridLayout.rowMinimumHeight(int row)''' 9985 return float() 9986 def setRowMinimumHeight(self, row, height): 9987 '''void QGraphicsGridLayout.setRowMinimumHeight(int row, float height)''' 9988 def columnStretchFactor(self, column): 9989 '''int QGraphicsGridLayout.columnStretchFactor(int column)''' 9990 return int() 9991 def setColumnStretchFactor(self, column, stretch): 9992 '''void QGraphicsGridLayout.setColumnStretchFactor(int column, int stretch)''' 9993 def rowStretchFactor(self, row): 9994 '''int QGraphicsGridLayout.rowStretchFactor(int row)''' 9995 return int() 9996 def setRowStretchFactor(self, row, stretch): 9997 '''void QGraphicsGridLayout.setRowStretchFactor(int row, int stretch)''' 9998 def columnSpacing(self, column): 9999 '''float QGraphicsGridLayout.columnSpacing(int column)''' 10000 return float() 10001 def setColumnSpacing(self, column, spacing): 10002 '''void QGraphicsGridLayout.setColumnSpacing(int column, float spacing)''' 10003 def rowSpacing(self, row): 10004 '''float QGraphicsGridLayout.rowSpacing(int row)''' 10005 return float() 10006 def setRowSpacing(self, row, spacing): 10007 '''void QGraphicsGridLayout.setRowSpacing(int row, float spacing)''' 10008 def setSpacing(self, spacing): 10009 '''void QGraphicsGridLayout.setSpacing(float spacing)''' 10010 def verticalSpacing(self): 10011 '''float QGraphicsGridLayout.verticalSpacing()''' 10012 return float() 10013 def setVerticalSpacing(self, spacing): 10014 '''void QGraphicsGridLayout.setVerticalSpacing(float spacing)''' 10015 def horizontalSpacing(self): 10016 '''float QGraphicsGridLayout.horizontalSpacing()''' 10017 return float() 10018 def setHorizontalSpacing(self, spacing): 10019 '''void QGraphicsGridLayout.setHorizontalSpacing(float spacing)''' 10020 def addItem(self, item, row, column, rowSpan, columnSpan, alignment = 0): 10021 '''void QGraphicsGridLayout.addItem(QGraphicsLayoutItem item, int row, int column, int rowSpan, int columnSpan, Qt.Alignment alignment = 0)''' 10022 def addItem(self, aitem, arow, acolumn, alignment = 0): 10023 '''void QGraphicsGridLayout.addItem(QGraphicsLayoutItem aitem, int arow, int acolumn, Qt.Alignment alignment = 0)''' 10024 10025 10026 class QGraphicsItem(): 10027 """""" 10028 # Enum QGraphicsItem.PanelModality 10029 NonModal = 0 10030 PanelModal = 0 10031 SceneModal = 0 10032 10033 UserType = None # int - member 10034 # Enum QGraphicsItem.GraphicsItemFlag 10035 ItemIsMovable = 0 10036 ItemIsSelectable = 0 10037 ItemIsFocusable = 0 10038 ItemClipsToShape = 0 10039 ItemClipsChildrenToShape = 0 10040 ItemIgnoresTransformations = 0 10041 ItemIgnoresParentOpacity = 0 10042 ItemDoesntPropagateOpacityToChildren = 0 10043 ItemStacksBehindParent = 0 10044 ItemUsesExtendedStyleOption = 0 10045 ItemHasNoContents = 0 10046 ItemSendsGeometryChanges = 0 10047 ItemAcceptsInputMethod = 0 10048 ItemNegativeZStacksBehindParent = 0 10049 ItemIsPanel = 0 10050 ItemSendsScenePositionChanges = 0 10051 10052 # Enum QGraphicsItem.GraphicsItemChange 10053 ItemPositionChange = 0 10054 ItemMatrixChange = 0 10055 ItemVisibleChange = 0 10056 ItemEnabledChange = 0 10057 ItemSelectedChange = 0 10058 ItemParentChange = 0 10059 ItemChildAddedChange = 0 10060 ItemChildRemovedChange = 0 10061 ItemTransformChange = 0 10062 ItemPositionHasChanged = 0 10063 ItemTransformHasChanged = 0 10064 ItemSceneChange = 0 10065 ItemVisibleHasChanged = 0 10066 ItemEnabledHasChanged = 0 10067 ItemSelectedHasChanged = 0 10068 ItemParentHasChanged = 0 10069 ItemSceneHasChanged = 0 10070 ItemCursorChange = 0 10071 ItemCursorHasChanged = 0 10072 ItemToolTipChange = 0 10073 ItemToolTipHasChanged = 0 10074 ItemFlagsChange = 0 10075 ItemFlagsHaveChanged = 0 10076 ItemZValueChange = 0 10077 ItemZValueHasChanged = 0 10078 ItemOpacityChange = 0 10079 ItemOpacityHasChanged = 0 10080 ItemScenePositionHasChanged = 0 10081 ItemRotationChange = 0 10082 ItemRotationHasChanged = 0 10083 ItemScaleChange = 0 10084 ItemScaleHasChanged = 0 10085 ItemTransformOriginPointChange = 0 10086 ItemTransformOriginPointHasChanged = 0 10087 10088 # Enum QGraphicsItem.CacheMode 10089 NoCache = 0 10090 ItemCoordinateCache = 0 10091 DeviceCoordinateCache = 0 10092 10093 def __init__(self, parent = None, scene = None): 10094 '''void QGraphicsItem.__init__(QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10095 def updateMicroFocus(self): 10096 '''void QGraphicsItem.updateMicroFocus()''' 10097 def setInputMethodHints(self, hints): 10098 '''void QGraphicsItem.setInputMethodHints(Qt.InputMethodHints hints)''' 10099 def inputMethodHints(self): 10100 '''Qt.InputMethodHints QGraphicsItem.inputMethodHints()''' 10101 return Qt.InputMethodHints() 10102 def stackBefore(self, sibling): 10103 '''void QGraphicsItem.stackBefore(QGraphicsItem sibling)''' 10104 def setTransformOriginPoint(self, origin): 10105 '''void QGraphicsItem.setTransformOriginPoint(QPointF origin)''' 10106 def setTransformOriginPoint(self, ax, ay): 10107 '''void QGraphicsItem.setTransformOriginPoint(float ax, float ay)''' 10108 def transformOriginPoint(self): 10109 '''QPointF QGraphicsItem.transformOriginPoint()''' 10110 return QPointF() 10111 def setTransformations(self, transformations): 10112 '''void QGraphicsItem.setTransformations(list-of-QGraphicsTransform transformations)''' 10113 def transformations(self): 10114 '''list-of-QGraphicsTransform QGraphicsItem.transformations()''' 10115 return [QGraphicsTransform()] 10116 def setScale(self, scale): 10117 '''void QGraphicsItem.setScale(float scale)''' 10118 def rotation(self): 10119 '''float QGraphicsItem.rotation()''' 10120 return float() 10121 def setRotation(self, angle): 10122 '''void QGraphicsItem.setRotation(float angle)''' 10123 def setY(self, y): 10124 '''void QGraphicsItem.setY(float y)''' 10125 def setX(self, x): 10126 '''void QGraphicsItem.setX(float x)''' 10127 def focusItem(self): 10128 '''QGraphicsItem QGraphicsItem.focusItem()''' 10129 return QGraphicsItem() 10130 def setFocusProxy(self, item): 10131 '''void QGraphicsItem.setFocusProxy(QGraphicsItem item)''' 10132 def focusProxy(self): 10133 '''QGraphicsItem QGraphicsItem.focusProxy()''' 10134 return QGraphicsItem() 10135 def setActive(self, active): 10136 '''void QGraphicsItem.setActive(bool active)''' 10137 def isActive(self): 10138 '''bool QGraphicsItem.isActive()''' 10139 return bool() 10140 def setFiltersChildEvents(self, enabled): 10141 '''void QGraphicsItem.setFiltersChildEvents(bool enabled)''' 10142 def filtersChildEvents(self): 10143 '''bool QGraphicsItem.filtersChildEvents()''' 10144 return bool() 10145 def setAcceptTouchEvents(self, enabled): 10146 '''void QGraphicsItem.setAcceptTouchEvents(bool enabled)''' 10147 def acceptTouchEvents(self): 10148 '''bool QGraphicsItem.acceptTouchEvents()''' 10149 return bool() 10150 def setGraphicsEffect(self, effect): 10151 '''void QGraphicsItem.setGraphicsEffect(QGraphicsEffect effect)''' 10152 def graphicsEffect(self): 10153 '''QGraphicsEffect QGraphicsItem.graphicsEffect()''' 10154 return QGraphicsEffect() 10155 def isBlockedByModalPanel(self, blockingPanel): 10156 '''bool QGraphicsItem.isBlockedByModalPanel(QGraphicsItem blockingPanel)''' 10157 return bool() 10158 def setPanelModality(self, panelModality): 10159 '''void QGraphicsItem.setPanelModality(QGraphicsItem.PanelModality panelModality)''' 10160 def panelModality(self): 10161 '''QGraphicsItem.PanelModality QGraphicsItem.panelModality()''' 10162 return QGraphicsItem.PanelModality() 10163 def toGraphicsObject(self): 10164 '''QGraphicsObject QGraphicsItem.toGraphicsObject()''' 10165 return QGraphicsObject() 10166 def isPanel(self): 10167 '''bool QGraphicsItem.isPanel()''' 10168 return bool() 10169 def panel(self): 10170 '''QGraphicsItem QGraphicsItem.panel()''' 10171 return QGraphicsItem() 10172 def parentObject(self): 10173 '''QGraphicsObject QGraphicsItem.parentObject()''' 10174 return QGraphicsObject() 10175 def mapRectFromScene(self, rect): 10176 '''QRectF QGraphicsItem.mapRectFromScene(QRectF rect)''' 10177 return QRectF() 10178 def mapRectFromScene(self, ax, ay, w, h): 10179 '''QRectF QGraphicsItem.mapRectFromScene(float ax, float ay, float w, float h)''' 10180 return QRectF() 10181 def mapRectFromParent(self, rect): 10182 '''QRectF QGraphicsItem.mapRectFromParent(QRectF rect)''' 10183 return QRectF() 10184 def mapRectFromParent(self, ax, ay, w, h): 10185 '''QRectF QGraphicsItem.mapRectFromParent(float ax, float ay, float w, float h)''' 10186 return QRectF() 10187 def mapRectFromItem(self, item, rect): 10188 '''QRectF QGraphicsItem.mapRectFromItem(QGraphicsItem item, QRectF rect)''' 10189 return QRectF() 10190 def mapRectFromItem(self, item, ax, ay, w, h): 10191 '''QRectF QGraphicsItem.mapRectFromItem(QGraphicsItem item, float ax, float ay, float w, float h)''' 10192 return QRectF() 10193 def mapRectToScene(self, rect): 10194 '''QRectF QGraphicsItem.mapRectToScene(QRectF rect)''' 10195 return QRectF() 10196 def mapRectToScene(self, ax, ay, w, h): 10197 '''QRectF QGraphicsItem.mapRectToScene(float ax, float ay, float w, float h)''' 10198 return QRectF() 10199 def mapRectToParent(self, rect): 10200 '''QRectF QGraphicsItem.mapRectToParent(QRectF rect)''' 10201 return QRectF() 10202 def mapRectToParent(self, ax, ay, w, h): 10203 '''QRectF QGraphicsItem.mapRectToParent(float ax, float ay, float w, float h)''' 10204 return QRectF() 10205 def mapRectToItem(self, item, rect): 10206 '''QRectF QGraphicsItem.mapRectToItem(QGraphicsItem item, QRectF rect)''' 10207 return QRectF() 10208 def mapRectToItem(self, item, ax, ay, w, h): 10209 '''QRectF QGraphicsItem.mapRectToItem(QGraphicsItem item, float ax, float ay, float w, float h)''' 10210 return QRectF() 10211 def clipPath(self): 10212 '''QPainterPath QGraphicsItem.clipPath()''' 10213 return QPainterPath() 10214 def isClipped(self): 10215 '''bool QGraphicsItem.isClipped()''' 10216 return bool() 10217 def itemTransform(self, other, ok): 10218 '''QTransform QGraphicsItem.itemTransform(QGraphicsItem other, bool ok)''' 10219 return QTransform() 10220 def setOpacity(self, opacity): 10221 '''void QGraphicsItem.setOpacity(float opacity)''' 10222 def effectiveOpacity(self): 10223 '''float QGraphicsItem.effectiveOpacity()''' 10224 return float() 10225 def opacity(self): 10226 '''float QGraphicsItem.opacity()''' 10227 return float() 10228 def isUnderMouse(self): 10229 '''bool QGraphicsItem.isUnderMouse()''' 10230 return bool() 10231 def commonAncestorItem(self, other): 10232 '''QGraphicsItem QGraphicsItem.commonAncestorItem(QGraphicsItem other)''' 10233 return QGraphicsItem() 10234 def scroll(self, dx, dy, rect = QRectF()): 10235 '''void QGraphicsItem.scroll(float dx, float dy, QRectF rect = QRectF())''' 10236 def setBoundingRegionGranularity(self, granularity): 10237 '''void QGraphicsItem.setBoundingRegionGranularity(float granularity)''' 10238 def boundingRegionGranularity(self): 10239 '''float QGraphicsItem.boundingRegionGranularity()''' 10240 return float() 10241 def boundingRegion(self, itemToDeviceTransform): 10242 '''QRegion QGraphicsItem.boundingRegion(QTransform itemToDeviceTransform)''' 10243 return QRegion() 10244 def ungrabKeyboard(self): 10245 '''void QGraphicsItem.ungrabKeyboard()''' 10246 def grabKeyboard(self): 10247 '''void QGraphicsItem.grabKeyboard()''' 10248 def ungrabMouse(self): 10249 '''void QGraphicsItem.ungrabMouse()''' 10250 def grabMouse(self): 10251 '''void QGraphicsItem.grabMouse()''' 10252 def setAcceptHoverEvents(self, enabled): 10253 '''void QGraphicsItem.setAcceptHoverEvents(bool enabled)''' 10254 def acceptHoverEvents(self): 10255 '''bool QGraphicsItem.acceptHoverEvents()''' 10256 return bool() 10257 def isVisibleTo(self, parent): 10258 '''bool QGraphicsItem.isVisibleTo(QGraphicsItem parent)''' 10259 return bool() 10260 def setCacheMode(self, mode, logicalCacheSize = QSize()): 10261 '''void QGraphicsItem.setCacheMode(QGraphicsItem.CacheMode mode, QSize logicalCacheSize = QSize())''' 10262 def cacheMode(self): 10263 '''QGraphicsItem.CacheMode QGraphicsItem.cacheMode()''' 10264 return QGraphicsItem.CacheMode() 10265 def isWindow(self): 10266 '''bool QGraphicsItem.isWindow()''' 10267 return bool() 10268 def isWidget(self): 10269 '''bool QGraphicsItem.isWidget()''' 10270 return bool() 10271 def childItems(self): 10272 '''list-of-QGraphicsItem QGraphicsItem.childItems()''' 10273 return [QGraphicsItem()] 10274 def window(self): 10275 '''QGraphicsWidget QGraphicsItem.window()''' 10276 return QGraphicsWidget() 10277 def topLevelWidget(self): 10278 '''QGraphicsWidget QGraphicsItem.topLevelWidget()''' 10279 return QGraphicsWidget() 10280 def parentWidget(self): 10281 '''QGraphicsWidget QGraphicsItem.parentWidget()''' 10282 return QGraphicsWidget() 10283 def resetTransform(self): 10284 '''void QGraphicsItem.resetTransform()''' 10285 def setTransform(self, matrix, combine = False): 10286 '''void QGraphicsItem.setTransform(QTransform matrix, bool combine = False)''' 10287 def deviceTransform(self, viewportTransform): 10288 '''QTransform QGraphicsItem.deviceTransform(QTransform viewportTransform)''' 10289 return QTransform() 10290 def sceneTransform(self): 10291 '''QTransform QGraphicsItem.sceneTransform()''' 10292 return QTransform() 10293 def transform(self): 10294 '''QTransform QGraphicsItem.transform()''' 10295 return QTransform() 10296 def wheelEvent(self, event): 10297 '''void QGraphicsItem.wheelEvent(QGraphicsSceneWheelEvent event)''' 10298 def sceneEventFilter(self, watched, event): 10299 '''bool QGraphicsItem.sceneEventFilter(QGraphicsItem watched, QEvent event)''' 10300 return bool() 10301 def sceneEvent(self, event): 10302 '''bool QGraphicsItem.sceneEvent(QEvent event)''' 10303 return bool() 10304 def prepareGeometryChange(self): 10305 '''void QGraphicsItem.prepareGeometryChange()''' 10306 def mouseReleaseEvent(self, event): 10307 '''void QGraphicsItem.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 10308 def mousePressEvent(self, event): 10309 '''void QGraphicsItem.mousePressEvent(QGraphicsSceneMouseEvent event)''' 10310 def mouseMoveEvent(self, event): 10311 '''void QGraphicsItem.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 10312 def mouseDoubleClickEvent(self, event): 10313 '''void QGraphicsItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent event)''' 10314 def keyReleaseEvent(self, event): 10315 '''void QGraphicsItem.keyReleaseEvent(QKeyEvent event)''' 10316 def keyPressEvent(self, event): 10317 '''void QGraphicsItem.keyPressEvent(QKeyEvent event)''' 10318 def itemChange(self, change, value): 10319 '''QVariant QGraphicsItem.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 10320 return QVariant() 10321 def inputMethodQuery(self, query): 10322 '''QVariant QGraphicsItem.inputMethodQuery(Qt.InputMethodQuery query)''' 10323 return QVariant() 10324 def inputMethodEvent(self, event): 10325 '''void QGraphicsItem.inputMethodEvent(QInputMethodEvent event)''' 10326 def hoverMoveEvent(self, event): 10327 '''void QGraphicsItem.hoverMoveEvent(QGraphicsSceneHoverEvent event)''' 10328 def hoverLeaveEvent(self, event): 10329 '''void QGraphicsItem.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 10330 def hoverEnterEvent(self, event): 10331 '''void QGraphicsItem.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 10332 def focusOutEvent(self, event): 10333 '''void QGraphicsItem.focusOutEvent(QFocusEvent event)''' 10334 def focusInEvent(self, event): 10335 '''void QGraphicsItem.focusInEvent(QFocusEvent event)''' 10336 def dropEvent(self, event): 10337 '''void QGraphicsItem.dropEvent(QGraphicsSceneDragDropEvent event)''' 10338 def dragMoveEvent(self, event): 10339 '''void QGraphicsItem.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 10340 def dragLeaveEvent(self, event): 10341 '''void QGraphicsItem.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 10342 def dragEnterEvent(self, event): 10343 '''void QGraphicsItem.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 10344 def contextMenuEvent(self, event): 10345 '''void QGraphicsItem.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 10346 def removeSceneEventFilter(self, filterItem): 10347 '''void QGraphicsItem.removeSceneEventFilter(QGraphicsItem filterItem)''' 10348 def installSceneEventFilter(self, filterItem): 10349 '''void QGraphicsItem.installSceneEventFilter(QGraphicsItem filterItem)''' 10350 def type(self): 10351 '''int QGraphicsItem.type()''' 10352 return int() 10353 def setData(self, key, value): 10354 '''void QGraphicsItem.setData(int key, QVariant value)''' 10355 def data(self, key): 10356 '''QVariant QGraphicsItem.data(int key)''' 10357 return QVariant() 10358 def isAncestorOf(self, child): 10359 '''bool QGraphicsItem.isAncestorOf(QGraphicsItem child)''' 10360 return bool() 10361 def mapFromScene(self, point): 10362 '''QPointF QGraphicsItem.mapFromScene(QPointF point)''' 10363 return QPointF() 10364 def mapFromScene(self, rect): 10365 '''QPolygonF QGraphicsItem.mapFromScene(QRectF rect)''' 10366 return QPolygonF() 10367 def mapFromScene(self, polygon): 10368 '''QPolygonF QGraphicsItem.mapFromScene(QPolygonF polygon)''' 10369 return QPolygonF() 10370 def mapFromScene(self, path): 10371 '''QPainterPath QGraphicsItem.mapFromScene(QPainterPath path)''' 10372 return QPainterPath() 10373 def mapFromScene(self, ax, ay): 10374 '''QPointF QGraphicsItem.mapFromScene(float ax, float ay)''' 10375 return QPointF() 10376 def mapFromScene(self, ax, ay, w, h): 10377 '''QPolygonF QGraphicsItem.mapFromScene(float ax, float ay, float w, float h)''' 10378 return QPolygonF() 10379 def mapFromParent(self, point): 10380 '''QPointF QGraphicsItem.mapFromParent(QPointF point)''' 10381 return QPointF() 10382 def mapFromParent(self, rect): 10383 '''QPolygonF QGraphicsItem.mapFromParent(QRectF rect)''' 10384 return QPolygonF() 10385 def mapFromParent(self, polygon): 10386 '''QPolygonF QGraphicsItem.mapFromParent(QPolygonF polygon)''' 10387 return QPolygonF() 10388 def mapFromParent(self, path): 10389 '''QPainterPath QGraphicsItem.mapFromParent(QPainterPath path)''' 10390 return QPainterPath() 10391 def mapFromParent(self, ax, ay): 10392 '''QPointF QGraphicsItem.mapFromParent(float ax, float ay)''' 10393 return QPointF() 10394 def mapFromParent(self, ax, ay, w, h): 10395 '''QPolygonF QGraphicsItem.mapFromParent(float ax, float ay, float w, float h)''' 10396 return QPolygonF() 10397 def mapFromItem(self, item, point): 10398 '''QPointF QGraphicsItem.mapFromItem(QGraphicsItem item, QPointF point)''' 10399 return QPointF() 10400 def mapFromItem(self, item, rect): 10401 '''QPolygonF QGraphicsItem.mapFromItem(QGraphicsItem item, QRectF rect)''' 10402 return QPolygonF() 10403 def mapFromItem(self, item, polygon): 10404 '''QPolygonF QGraphicsItem.mapFromItem(QGraphicsItem item, QPolygonF polygon)''' 10405 return QPolygonF() 10406 def mapFromItem(self, item, path): 10407 '''QPainterPath QGraphicsItem.mapFromItem(QGraphicsItem item, QPainterPath path)''' 10408 return QPainterPath() 10409 def mapFromItem(self, item, ax, ay): 10410 '''QPointF QGraphicsItem.mapFromItem(QGraphicsItem item, float ax, float ay)''' 10411 return QPointF() 10412 def mapFromItem(self, item, ax, ay, w, h): 10413 '''QPolygonF QGraphicsItem.mapFromItem(QGraphicsItem item, float ax, float ay, float w, float h)''' 10414 return QPolygonF() 10415 def mapToScene(self, point): 10416 '''QPointF QGraphicsItem.mapToScene(QPointF point)''' 10417 return QPointF() 10418 def mapToScene(self, rect): 10419 '''QPolygonF QGraphicsItem.mapToScene(QRectF rect)''' 10420 return QPolygonF() 10421 def mapToScene(self, polygon): 10422 '''QPolygonF QGraphicsItem.mapToScene(QPolygonF polygon)''' 10423 return QPolygonF() 10424 def mapToScene(self, path): 10425 '''QPainterPath QGraphicsItem.mapToScene(QPainterPath path)''' 10426 return QPainterPath() 10427 def mapToScene(self, ax, ay): 10428 '''QPointF QGraphicsItem.mapToScene(float ax, float ay)''' 10429 return QPointF() 10430 def mapToScene(self, ax, ay, w, h): 10431 '''QPolygonF QGraphicsItem.mapToScene(float ax, float ay, float w, float h)''' 10432 return QPolygonF() 10433 def mapToParent(self, point): 10434 '''QPointF QGraphicsItem.mapToParent(QPointF point)''' 10435 return QPointF() 10436 def mapToParent(self, rect): 10437 '''QPolygonF QGraphicsItem.mapToParent(QRectF rect)''' 10438 return QPolygonF() 10439 def mapToParent(self, polygon): 10440 '''QPolygonF QGraphicsItem.mapToParent(QPolygonF polygon)''' 10441 return QPolygonF() 10442 def mapToParent(self, path): 10443 '''QPainterPath QGraphicsItem.mapToParent(QPainterPath path)''' 10444 return QPainterPath() 10445 def mapToParent(self, ax, ay): 10446 '''QPointF QGraphicsItem.mapToParent(float ax, float ay)''' 10447 return QPointF() 10448 def mapToParent(self, ax, ay, w, h): 10449 '''QPolygonF QGraphicsItem.mapToParent(float ax, float ay, float w, float h)''' 10450 return QPolygonF() 10451 def mapToItem(self, item, point): 10452 '''QPointF QGraphicsItem.mapToItem(QGraphicsItem item, QPointF point)''' 10453 return QPointF() 10454 def mapToItem(self, item, rect): 10455 '''QPolygonF QGraphicsItem.mapToItem(QGraphicsItem item, QRectF rect)''' 10456 return QPolygonF() 10457 def mapToItem(self, item, polygon): 10458 '''QPolygonF QGraphicsItem.mapToItem(QGraphicsItem item, QPolygonF polygon)''' 10459 return QPolygonF() 10460 def mapToItem(self, item, path): 10461 '''QPainterPath QGraphicsItem.mapToItem(QGraphicsItem item, QPainterPath path)''' 10462 return QPainterPath() 10463 def mapToItem(self, item, ax, ay): 10464 '''QPointF QGraphicsItem.mapToItem(QGraphicsItem item, float ax, float ay)''' 10465 return QPointF() 10466 def mapToItem(self, item, ax, ay, w, h): 10467 '''QPolygonF QGraphicsItem.mapToItem(QGraphicsItem item, float ax, float ay, float w, float h)''' 10468 return QPolygonF() 10469 def update(self, rect = QRectF()): 10470 '''void QGraphicsItem.update(QRectF rect = QRectF())''' 10471 def update(self, ax, ay, width, height): 10472 '''void QGraphicsItem.update(float ax, float ay, float width, float height)''' 10473 def paint(self, painter, option, widget = None): 10474 '''abstract void QGraphicsItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 10475 def opaqueArea(self): 10476 '''QPainterPath QGraphicsItem.opaqueArea()''' 10477 return QPainterPath() 10478 def isObscuredBy(self, item): 10479 '''bool QGraphicsItem.isObscuredBy(QGraphicsItem item)''' 10480 return bool() 10481 def isObscured(self): 10482 '''bool QGraphicsItem.isObscured()''' 10483 return bool() 10484 def isObscured(self, rect): 10485 '''bool QGraphicsItem.isObscured(QRectF rect)''' 10486 return bool() 10487 def isObscured(self, ax, ay, w, h): 10488 '''bool QGraphicsItem.isObscured(float ax, float ay, float w, float h)''' 10489 return bool() 10490 def collidingItems(self, mode = None): 10491 '''list-of-QGraphicsItem QGraphicsItem.collidingItems(Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 10492 return [QGraphicsItem()] 10493 def collidesWithPath(self, path, mode = None): 10494 '''bool QGraphicsItem.collidesWithPath(QPainterPath path, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 10495 return bool() 10496 def collidesWithItem(self, other, mode = None): 10497 '''bool QGraphicsItem.collidesWithItem(QGraphicsItem other, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 10498 return bool() 10499 def contains(self, point): 10500 '''bool QGraphicsItem.contains(QPointF point)''' 10501 return bool() 10502 def shape(self): 10503 '''QPainterPath QGraphicsItem.shape()''' 10504 return QPainterPath() 10505 def sceneBoundingRect(self): 10506 '''QRectF QGraphicsItem.sceneBoundingRect()''' 10507 return QRectF() 10508 def childrenBoundingRect(self): 10509 '''QRectF QGraphicsItem.childrenBoundingRect()''' 10510 return QRectF() 10511 def boundingRect(self): 10512 '''abstract QRectF QGraphicsItem.boundingRect()''' 10513 return QRectF() 10514 def setZValue(self, z): 10515 '''void QGraphicsItem.setZValue(float z)''' 10516 def zValue(self): 10517 '''float QGraphicsItem.zValue()''' 10518 return float() 10519 def advance(self, phase): 10520 '''void QGraphicsItem.advance(int phase)''' 10521 def translate(self, dx, dy): 10522 '''void QGraphicsItem.translate(float dx, float dy)''' 10523 def shear(self, sh, sv): 10524 '''void QGraphicsItem.shear(float sh, float sv)''' 10525 def scale(self, sx, sy): 10526 '''void QGraphicsItem.scale(float sx, float sy)''' 10527 def scale(self): 10528 '''float QGraphicsItem.scale()''' 10529 return float() 10530 def rotate(self, angle): 10531 '''void QGraphicsItem.rotate(float angle)''' 10532 def resetMatrix(self): 10533 '''void QGraphicsItem.resetMatrix()''' 10534 def setMatrix(self, matrix, combine = False): 10535 '''void QGraphicsItem.setMatrix(QMatrix matrix, bool combine = False)''' 10536 def sceneMatrix(self): 10537 '''QMatrix QGraphicsItem.sceneMatrix()''' 10538 return QMatrix() 10539 def matrix(self): 10540 '''QMatrix QGraphicsItem.matrix()''' 10541 return QMatrix() 10542 def ensureVisible(self, rect = QRectF(), xMargin = 50, yMargin = 50): 10543 '''void QGraphicsItem.ensureVisible(QRectF rect = QRectF(), int xMargin = 50, int yMargin = 50)''' 10544 def ensureVisible(self, x, y, w, h, xMargin = 50, yMargin = 50): 10545 '''void QGraphicsItem.ensureVisible(float x, float y, float w, float h, int xMargin = 50, int yMargin = 50)''' 10546 def moveBy(self, dx, dy): 10547 '''void QGraphicsItem.moveBy(float dx, float dy)''' 10548 def setPos(self, pos): 10549 '''void QGraphicsItem.setPos(QPointF pos)''' 10550 def setPos(self, ax, ay): 10551 '''void QGraphicsItem.setPos(float ax, float ay)''' 10552 def scenePos(self): 10553 '''QPointF QGraphicsItem.scenePos()''' 10554 return QPointF() 10555 def y(self): 10556 '''float QGraphicsItem.y()''' 10557 return float() 10558 def x(self): 10559 '''float QGraphicsItem.x()''' 10560 return float() 10561 def pos(self): 10562 '''QPointF QGraphicsItem.pos()''' 10563 return QPointF() 10564 def clearFocus(self): 10565 '''void QGraphicsItem.clearFocus()''' 10566 def setFocus(self, focusReason = None): 10567 '''void QGraphicsItem.setFocus(Qt.FocusReason focusReason = Qt.OtherFocusReason)''' 10568 def hasFocus(self): 10569 '''bool QGraphicsItem.hasFocus()''' 10570 return bool() 10571 def setHandlesChildEvents(self, enabled): 10572 '''void QGraphicsItem.setHandlesChildEvents(bool enabled)''' 10573 def handlesChildEvents(self): 10574 '''bool QGraphicsItem.handlesChildEvents()''' 10575 return bool() 10576 def setAcceptsHoverEvents(self, enabled): 10577 '''void QGraphicsItem.setAcceptsHoverEvents(bool enabled)''' 10578 def acceptsHoverEvents(self): 10579 '''bool QGraphicsItem.acceptsHoverEvents()''' 10580 return bool() 10581 def setAcceptedMouseButtons(self, buttons): 10582 '''void QGraphicsItem.setAcceptedMouseButtons(Qt.MouseButtons buttons)''' 10583 def acceptedMouseButtons(self): 10584 '''Qt.MouseButtons QGraphicsItem.acceptedMouseButtons()''' 10585 return Qt.MouseButtons() 10586 def setAcceptDrops(self, on): 10587 '''void QGraphicsItem.setAcceptDrops(bool on)''' 10588 def acceptDrops(self): 10589 '''bool QGraphicsItem.acceptDrops()''' 10590 return bool() 10591 def setSelected(self, selected): 10592 '''void QGraphicsItem.setSelected(bool selected)''' 10593 def isSelected(self): 10594 '''bool QGraphicsItem.isSelected()''' 10595 return bool() 10596 def setEnabled(self, enabled): 10597 '''void QGraphicsItem.setEnabled(bool enabled)''' 10598 def isEnabled(self): 10599 '''bool QGraphicsItem.isEnabled()''' 10600 return bool() 10601 def show(self): 10602 '''void QGraphicsItem.show()''' 10603 def hide(self): 10604 '''void QGraphicsItem.hide()''' 10605 def setVisible(self, visible): 10606 '''void QGraphicsItem.setVisible(bool visible)''' 10607 def isVisible(self): 10608 '''bool QGraphicsItem.isVisible()''' 10609 return bool() 10610 def unsetCursor(self): 10611 '''void QGraphicsItem.unsetCursor()''' 10612 def hasCursor(self): 10613 '''bool QGraphicsItem.hasCursor()''' 10614 return bool() 10615 def setCursor(self, cursor): 10616 '''void QGraphicsItem.setCursor(QCursor cursor)''' 10617 def cursor(self): 10618 '''QCursor QGraphicsItem.cursor()''' 10619 return QCursor() 10620 def setToolTip(self, toolTip): 10621 '''void QGraphicsItem.setToolTip(QString toolTip)''' 10622 def toolTip(self): 10623 '''QString QGraphicsItem.toolTip()''' 10624 return QString() 10625 def setFlags(self, flags): 10626 '''void QGraphicsItem.setFlags(QGraphicsItem.GraphicsItemFlags flags)''' 10627 def setFlag(self, flag, enabled = True): 10628 '''void QGraphicsItem.setFlag(QGraphicsItem.GraphicsItemFlag flag, bool enabled = True)''' 10629 def flags(self): 10630 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.flags()''' 10631 return QGraphicsItem.GraphicsItemFlags() 10632 def setGroup(self, group): 10633 '''void QGraphicsItem.setGroup(QGraphicsItemGroup group)''' 10634 def group(self): 10635 '''QGraphicsItemGroup QGraphicsItem.group()''' 10636 return QGraphicsItemGroup() 10637 def setParentItem(self, parent): 10638 '''void QGraphicsItem.setParentItem(QGraphicsItem parent)''' 10639 def topLevelItem(self): 10640 '''QGraphicsItem QGraphicsItem.topLevelItem()''' 10641 return QGraphicsItem() 10642 def parentItem(self): 10643 '''QGraphicsItem QGraphicsItem.parentItem()''' 10644 return QGraphicsItem() 10645 def scene(self): 10646 '''QGraphicsScene QGraphicsItem.scene()''' 10647 return QGraphicsScene() 10648 class GraphicsItemFlags(): 10649 """""" 10650 def __init__(self): 10651 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__init__()''' 10652 return QGraphicsItem.GraphicsItemFlags() 10653 def __init__(self): 10654 '''int QGraphicsItem.GraphicsItemFlags.__init__()''' 10655 return int() 10656 def __init__(self): 10657 '''void QGraphicsItem.GraphicsItemFlags.__init__()''' 10658 def __bool__(self): 10659 '''int QGraphicsItem.GraphicsItemFlags.__bool__()''' 10660 return int() 10661 def __ne__(self, f): 10662 '''bool QGraphicsItem.GraphicsItemFlags.__ne__(QGraphicsItem.GraphicsItemFlags f)''' 10663 return bool() 10664 def __eq__(self, f): 10665 '''bool QGraphicsItem.GraphicsItemFlags.__eq__(QGraphicsItem.GraphicsItemFlags f)''' 10666 return bool() 10667 def __invert__(self): 10668 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__invert__()''' 10669 return QGraphicsItem.GraphicsItemFlags() 10670 def __and__(self, mask): 10671 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__and__(int mask)''' 10672 return QGraphicsItem.GraphicsItemFlags() 10673 def __xor__(self, f): 10674 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__xor__(QGraphicsItem.GraphicsItemFlags f)''' 10675 return QGraphicsItem.GraphicsItemFlags() 10676 def __xor__(self, f): 10677 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__xor__(int f)''' 10678 return QGraphicsItem.GraphicsItemFlags() 10679 def __or__(self, f): 10680 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__or__(QGraphicsItem.GraphicsItemFlags f)''' 10681 return QGraphicsItem.GraphicsItemFlags() 10682 def __or__(self, f): 10683 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__or__(int f)''' 10684 return QGraphicsItem.GraphicsItemFlags() 10685 def __int__(self): 10686 '''int QGraphicsItem.GraphicsItemFlags.__int__()''' 10687 return int() 10688 def __ixor__(self, f): 10689 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__ixor__(QGraphicsItem.GraphicsItemFlags f)''' 10690 return QGraphicsItem.GraphicsItemFlags() 10691 def __ior__(self, f): 10692 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__ior__(QGraphicsItem.GraphicsItemFlags f)''' 10693 return QGraphicsItem.GraphicsItemFlags() 10694 def __iand__(self, mask): 10695 '''QGraphicsItem.GraphicsItemFlags QGraphicsItem.GraphicsItemFlags.__iand__(int mask)''' 10696 return QGraphicsItem.GraphicsItemFlags() 10697 10698 10699 class QAbstractGraphicsShapeItem(QGraphicsItem): 10700 """""" 10701 def __init__(self, parent = None, scene = None): 10702 '''void QAbstractGraphicsShapeItem.__init__(QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10703 def opaqueArea(self): 10704 '''QPainterPath QAbstractGraphicsShapeItem.opaqueArea()''' 10705 return QPainterPath() 10706 def isObscuredBy(self, item): 10707 '''bool QAbstractGraphicsShapeItem.isObscuredBy(QGraphicsItem item)''' 10708 return bool() 10709 def setBrush(self, brush): 10710 '''void QAbstractGraphicsShapeItem.setBrush(QBrush brush)''' 10711 def brush(self): 10712 '''QBrush QAbstractGraphicsShapeItem.brush()''' 10713 return QBrush() 10714 def setPen(self, pen): 10715 '''void QAbstractGraphicsShapeItem.setPen(QPen pen)''' 10716 def pen(self): 10717 '''QPen QAbstractGraphicsShapeItem.pen()''' 10718 return QPen() 10719 10720 10721 class QGraphicsPathItem(QAbstractGraphicsShapeItem): 10722 """""" 10723 def __init__(self, parent = None, scene = None): 10724 '''void QGraphicsPathItem.__init__(QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10725 def __init__(self, path, parent = None, scene = None): 10726 '''void QGraphicsPathItem.__init__(QPainterPath path, QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10727 def type(self): 10728 '''int QGraphicsPathItem.type()''' 10729 return int() 10730 def opaqueArea(self): 10731 '''QPainterPath QGraphicsPathItem.opaqueArea()''' 10732 return QPainterPath() 10733 def isObscuredBy(self, item): 10734 '''bool QGraphicsPathItem.isObscuredBy(QGraphicsItem item)''' 10735 return bool() 10736 def paint(self, painter, option, widget = None): 10737 '''void QGraphicsPathItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 10738 def contains(self, point): 10739 '''bool QGraphicsPathItem.contains(QPointF point)''' 10740 return bool() 10741 def shape(self): 10742 '''QPainterPath QGraphicsPathItem.shape()''' 10743 return QPainterPath() 10744 def boundingRect(self): 10745 '''QRectF QGraphicsPathItem.boundingRect()''' 10746 return QRectF() 10747 def setPath(self, path): 10748 '''void QGraphicsPathItem.setPath(QPainterPath path)''' 10749 def path(self): 10750 '''QPainterPath QGraphicsPathItem.path()''' 10751 return QPainterPath() 10752 10753 10754 class QGraphicsRectItem(QAbstractGraphicsShapeItem): 10755 """""" 10756 def __init__(self, parent = None, scene = None): 10757 '''void QGraphicsRectItem.__init__(QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10758 def __init__(self, rect, parent = None, scene = None): 10759 '''void QGraphicsRectItem.__init__(QRectF rect, QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10760 def __init__(self, x, y, w, h, parent = None, scene = None): 10761 '''void QGraphicsRectItem.__init__(float x, float y, float w, float h, QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10762 def type(self): 10763 '''int QGraphicsRectItem.type()''' 10764 return int() 10765 def opaqueArea(self): 10766 '''QPainterPath QGraphicsRectItem.opaqueArea()''' 10767 return QPainterPath() 10768 def isObscuredBy(self, item): 10769 '''bool QGraphicsRectItem.isObscuredBy(QGraphicsItem item)''' 10770 return bool() 10771 def paint(self, painter, option, widget = None): 10772 '''void QGraphicsRectItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 10773 def contains(self, point): 10774 '''bool QGraphicsRectItem.contains(QPointF point)''' 10775 return bool() 10776 def shape(self): 10777 '''QPainterPath QGraphicsRectItem.shape()''' 10778 return QPainterPath() 10779 def boundingRect(self): 10780 '''QRectF QGraphicsRectItem.boundingRect()''' 10781 return QRectF() 10782 def setRect(self, rect): 10783 '''void QGraphicsRectItem.setRect(QRectF rect)''' 10784 def setRect(self, ax, ay, w, h): 10785 '''void QGraphicsRectItem.setRect(float ax, float ay, float w, float h)''' 10786 def rect(self): 10787 '''QRectF QGraphicsRectItem.rect()''' 10788 return QRectF() 10789 10790 10791 class QGraphicsEllipseItem(QAbstractGraphicsShapeItem): 10792 """""" 10793 def __init__(self, parent = None, scene = None): 10794 '''void QGraphicsEllipseItem.__init__(QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10795 def __init__(self, rect, parent = None, scene = None): 10796 '''void QGraphicsEllipseItem.__init__(QRectF rect, QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10797 def __init__(self, x, y, w, h, parent = None, scene = None): 10798 '''void QGraphicsEllipseItem.__init__(float x, float y, float w, float h, QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10799 def type(self): 10800 '''int QGraphicsEllipseItem.type()''' 10801 return int() 10802 def opaqueArea(self): 10803 '''QPainterPath QGraphicsEllipseItem.opaqueArea()''' 10804 return QPainterPath() 10805 def isObscuredBy(self, item): 10806 '''bool QGraphicsEllipseItem.isObscuredBy(QGraphicsItem item)''' 10807 return bool() 10808 def paint(self, painter, option, widget = None): 10809 '''void QGraphicsEllipseItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 10810 def contains(self, point): 10811 '''bool QGraphicsEllipseItem.contains(QPointF point)''' 10812 return bool() 10813 def shape(self): 10814 '''QPainterPath QGraphicsEllipseItem.shape()''' 10815 return QPainterPath() 10816 def boundingRect(self): 10817 '''QRectF QGraphicsEllipseItem.boundingRect()''' 10818 return QRectF() 10819 def setSpanAngle(self, angle): 10820 '''void QGraphicsEllipseItem.setSpanAngle(int angle)''' 10821 def spanAngle(self): 10822 '''int QGraphicsEllipseItem.spanAngle()''' 10823 return int() 10824 def setStartAngle(self, angle): 10825 '''void QGraphicsEllipseItem.setStartAngle(int angle)''' 10826 def startAngle(self): 10827 '''int QGraphicsEllipseItem.startAngle()''' 10828 return int() 10829 def setRect(self, rect): 10830 '''void QGraphicsEllipseItem.setRect(QRectF rect)''' 10831 def setRect(self, ax, ay, w, h): 10832 '''void QGraphicsEllipseItem.setRect(float ax, float ay, float w, float h)''' 10833 def rect(self): 10834 '''QRectF QGraphicsEllipseItem.rect()''' 10835 return QRectF() 10836 10837 10838 class QGraphicsPolygonItem(QAbstractGraphicsShapeItem): 10839 """""" 10840 def __init__(self, parent = None, scene = None): 10841 '''void QGraphicsPolygonItem.__init__(QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10842 def __init__(self, polygon, parent = None, scene = None): 10843 '''void QGraphicsPolygonItem.__init__(QPolygonF polygon, QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10844 def type(self): 10845 '''int QGraphicsPolygonItem.type()''' 10846 return int() 10847 def opaqueArea(self): 10848 '''QPainterPath QGraphicsPolygonItem.opaqueArea()''' 10849 return QPainterPath() 10850 def isObscuredBy(self, item): 10851 '''bool QGraphicsPolygonItem.isObscuredBy(QGraphicsItem item)''' 10852 return bool() 10853 def paint(self, painter, option, widget = None): 10854 '''void QGraphicsPolygonItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 10855 def contains(self, point): 10856 '''bool QGraphicsPolygonItem.contains(QPointF point)''' 10857 return bool() 10858 def shape(self): 10859 '''QPainterPath QGraphicsPolygonItem.shape()''' 10860 return QPainterPath() 10861 def boundingRect(self): 10862 '''QRectF QGraphicsPolygonItem.boundingRect()''' 10863 return QRectF() 10864 def setFillRule(self, rule): 10865 '''void QGraphicsPolygonItem.setFillRule(Qt.FillRule rule)''' 10866 def fillRule(self): 10867 '''Qt.FillRule QGraphicsPolygonItem.fillRule()''' 10868 return Qt.FillRule() 10869 def setPolygon(self, polygon): 10870 '''void QGraphicsPolygonItem.setPolygon(QPolygonF polygon)''' 10871 def polygon(self): 10872 '''QPolygonF QGraphicsPolygonItem.polygon()''' 10873 return QPolygonF() 10874 10875 10876 class QGraphicsLineItem(QGraphicsItem): 10877 """""" 10878 def __init__(self, parent = None, scene = None): 10879 '''void QGraphicsLineItem.__init__(QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10880 def __init__(self, line, parent = None, scene = None): 10881 '''void QGraphicsLineItem.__init__(QLineF line, QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10882 def __init__(self, x1, y1, x2, y2, parent = None, scene = None): 10883 '''void QGraphicsLineItem.__init__(float x1, float y1, float x2, float y2, QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10884 def type(self): 10885 '''int QGraphicsLineItem.type()''' 10886 return int() 10887 def opaqueArea(self): 10888 '''QPainterPath QGraphicsLineItem.opaqueArea()''' 10889 return QPainterPath() 10890 def isObscuredBy(self, item): 10891 '''bool QGraphicsLineItem.isObscuredBy(QGraphicsItem item)''' 10892 return bool() 10893 def paint(self, painter, option, widget = None): 10894 '''void QGraphicsLineItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 10895 def contains(self, point): 10896 '''bool QGraphicsLineItem.contains(QPointF point)''' 10897 return bool() 10898 def shape(self): 10899 '''QPainterPath QGraphicsLineItem.shape()''' 10900 return QPainterPath() 10901 def boundingRect(self): 10902 '''QRectF QGraphicsLineItem.boundingRect()''' 10903 return QRectF() 10904 def setLine(self, line): 10905 '''void QGraphicsLineItem.setLine(QLineF line)''' 10906 def setLine(self, x1, y1, x2, y2): 10907 '''void QGraphicsLineItem.setLine(float x1, float y1, float x2, float y2)''' 10908 def line(self): 10909 '''QLineF QGraphicsLineItem.line()''' 10910 return QLineF() 10911 def setPen(self, pen): 10912 '''void QGraphicsLineItem.setPen(QPen pen)''' 10913 def pen(self): 10914 '''QPen QGraphicsLineItem.pen()''' 10915 return QPen() 10916 10917 10918 class QGraphicsPixmapItem(QGraphicsItem): 10919 """""" 10920 # Enum QGraphicsPixmapItem.ShapeMode 10921 MaskShape = 0 10922 BoundingRectShape = 0 10923 HeuristicMaskShape = 0 10924 10925 def __init__(self, parent = None, scene = None): 10926 '''void QGraphicsPixmapItem.__init__(QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10927 def __init__(self, pixmap, parent = None, scene = None): 10928 '''void QGraphicsPixmapItem.__init__(QPixmap pixmap, QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10929 def setShapeMode(self, mode): 10930 '''void QGraphicsPixmapItem.setShapeMode(QGraphicsPixmapItem.ShapeMode mode)''' 10931 def shapeMode(self): 10932 '''QGraphicsPixmapItem.ShapeMode QGraphicsPixmapItem.shapeMode()''' 10933 return QGraphicsPixmapItem.ShapeMode() 10934 def type(self): 10935 '''int QGraphicsPixmapItem.type()''' 10936 return int() 10937 def opaqueArea(self): 10938 '''QPainterPath QGraphicsPixmapItem.opaqueArea()''' 10939 return QPainterPath() 10940 def isObscuredBy(self, item): 10941 '''bool QGraphicsPixmapItem.isObscuredBy(QGraphicsItem item)''' 10942 return bool() 10943 def paint(self, painter, option, widget): 10944 '''void QGraphicsPixmapItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 10945 def contains(self, point): 10946 '''bool QGraphicsPixmapItem.contains(QPointF point)''' 10947 return bool() 10948 def shape(self): 10949 '''QPainterPath QGraphicsPixmapItem.shape()''' 10950 return QPainterPath() 10951 def boundingRect(self): 10952 '''QRectF QGraphicsPixmapItem.boundingRect()''' 10953 return QRectF() 10954 def setOffset(self, offset): 10955 '''void QGraphicsPixmapItem.setOffset(QPointF offset)''' 10956 def setOffset(self, ax, ay): 10957 '''void QGraphicsPixmapItem.setOffset(float ax, float ay)''' 10958 def offset(self): 10959 '''QPointF QGraphicsPixmapItem.offset()''' 10960 return QPointF() 10961 def setTransformationMode(self, mode): 10962 '''void QGraphicsPixmapItem.setTransformationMode(Qt.TransformationMode mode)''' 10963 def transformationMode(self): 10964 '''Qt.TransformationMode QGraphicsPixmapItem.transformationMode()''' 10965 return Qt.TransformationMode() 10966 def setPixmap(self, pixmap): 10967 '''void QGraphicsPixmapItem.setPixmap(QPixmap pixmap)''' 10968 def pixmap(self): 10969 '''QPixmap QGraphicsPixmapItem.pixmap()''' 10970 return QPixmap() 10971 10972 10973 class QGraphicsSimpleTextItem(QAbstractGraphicsShapeItem): 10974 """""" 10975 def __init__(self, parent = None, scene = None): 10976 '''void QGraphicsSimpleTextItem.__init__(QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10977 def __init__(self, text, parent = None, scene = None): 10978 '''void QGraphicsSimpleTextItem.__init__(QString text, QGraphicsItem parent = None, QGraphicsScene scene = None)''' 10979 def type(self): 10980 '''int QGraphicsSimpleTextItem.type()''' 10981 return int() 10982 def opaqueArea(self): 10983 '''QPainterPath QGraphicsSimpleTextItem.opaqueArea()''' 10984 return QPainterPath() 10985 def isObscuredBy(self, item): 10986 '''bool QGraphicsSimpleTextItem.isObscuredBy(QGraphicsItem item)''' 10987 return bool() 10988 def paint(self, painter, option, widget): 10989 '''void QGraphicsSimpleTextItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 10990 def contains(self, point): 10991 '''bool QGraphicsSimpleTextItem.contains(QPointF point)''' 10992 return bool() 10993 def shape(self): 10994 '''QPainterPath QGraphicsSimpleTextItem.shape()''' 10995 return QPainterPath() 10996 def boundingRect(self): 10997 '''QRectF QGraphicsSimpleTextItem.boundingRect()''' 10998 return QRectF() 10999 def font(self): 11000 '''QFont QGraphicsSimpleTextItem.font()''' 11001 return QFont() 11002 def setFont(self, font): 11003 '''void QGraphicsSimpleTextItem.setFont(QFont font)''' 11004 def text(self): 11005 '''QString QGraphicsSimpleTextItem.text()''' 11006 return QString() 11007 def setText(self, text): 11008 '''void QGraphicsSimpleTextItem.setText(QString text)''' 11009 11010 11011 class QGraphicsItemGroup(QGraphicsItem): 11012 """""" 11013 def __init__(self, parent = None, scene = None): 11014 '''void QGraphicsItemGroup.__init__(QGraphicsItem parent = None, QGraphicsScene scene = None)''' 11015 def type(self): 11016 '''int QGraphicsItemGroup.type()''' 11017 return int() 11018 def opaqueArea(self): 11019 '''QPainterPath QGraphicsItemGroup.opaqueArea()''' 11020 return QPainterPath() 11021 def isObscuredBy(self, item): 11022 '''bool QGraphicsItemGroup.isObscuredBy(QGraphicsItem item)''' 11023 return bool() 11024 def paint(self, painter, option, widget = None): 11025 '''void QGraphicsItemGroup.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 11026 def boundingRect(self): 11027 '''QRectF QGraphicsItemGroup.boundingRect()''' 11028 return QRectF() 11029 def removeFromGroup(self, item): 11030 '''void QGraphicsItemGroup.removeFromGroup(QGraphicsItem item)''' 11031 def addToGroup(self, item): 11032 '''void QGraphicsItemGroup.addToGroup(QGraphicsItem item)''' 11033 11034 11035 class QGraphicsObject(QObject, QGraphicsItem): 11036 """""" 11037 def __init__(self, parent = None): 11038 '''void QGraphicsObject.__init__(QGraphicsItem parent = None)''' 11039 def updateMicroFocus(self): 11040 '''void QGraphicsObject.updateMicroFocus()''' 11041 scaleChanged = pyqtSignal() # void scaleChanged() - signal 11042 rotationChanged = pyqtSignal() # void rotationChanged() - signal 11043 zChanged = pyqtSignal() # void zChanged() - signal 11044 yChanged = pyqtSignal() # void yChanged() - signal 11045 xChanged = pyqtSignal() # void xChanged() - signal 11046 enabledChanged = pyqtSignal() # void enabledChanged() - signal 11047 visibleChanged = pyqtSignal() # void visibleChanged() - signal 11048 opacityChanged = pyqtSignal() # void opacityChanged() - signal 11049 parentChanged = pyqtSignal() # void parentChanged() - signal 11050 def ungrabGesture(self, type): 11051 '''void QGraphicsObject.ungrabGesture(Qt.GestureType type)''' 11052 def grabGesture(self, type, flags = None): 11053 '''void QGraphicsObject.grabGesture(Qt.GestureType type, Qt.GestureFlags flags = Qt.GestureFlags(0))''' 11054 11055 11056 class QGraphicsTextItem(QGraphicsObject): 11057 """""" 11058 def __init__(self, parent = None, scene = None): 11059 '''void QGraphicsTextItem.__init__(QGraphicsItem parent = None, QGraphicsScene scene = None)''' 11060 def __init__(self, text, parent = None, scene = None): 11061 '''void QGraphicsTextItem.__init__(QString text, QGraphicsItem parent = None, QGraphicsScene scene = None)''' 11062 def inputMethodQuery(self, query): 11063 '''QVariant QGraphicsTextItem.inputMethodQuery(Qt.InputMethodQuery query)''' 11064 return QVariant() 11065 def hoverLeaveEvent(self, event): 11066 '''void QGraphicsTextItem.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 11067 def hoverMoveEvent(self, event): 11068 '''void QGraphicsTextItem.hoverMoveEvent(QGraphicsSceneHoverEvent event)''' 11069 def hoverEnterEvent(self, event): 11070 '''void QGraphicsTextItem.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 11071 def inputMethodEvent(self, event): 11072 '''void QGraphicsTextItem.inputMethodEvent(QInputMethodEvent event)''' 11073 def dropEvent(self, event): 11074 '''void QGraphicsTextItem.dropEvent(QGraphicsSceneDragDropEvent event)''' 11075 def dragMoveEvent(self, event): 11076 '''void QGraphicsTextItem.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 11077 def dragLeaveEvent(self, event): 11078 '''void QGraphicsTextItem.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 11079 def dragEnterEvent(self, event): 11080 '''void QGraphicsTextItem.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 11081 def focusOutEvent(self, event): 11082 '''void QGraphicsTextItem.focusOutEvent(QFocusEvent event)''' 11083 def focusInEvent(self, event): 11084 '''void QGraphicsTextItem.focusInEvent(QFocusEvent event)''' 11085 def keyReleaseEvent(self, event): 11086 '''void QGraphicsTextItem.keyReleaseEvent(QKeyEvent event)''' 11087 def keyPressEvent(self, event): 11088 '''void QGraphicsTextItem.keyPressEvent(QKeyEvent event)''' 11089 def contextMenuEvent(self, event): 11090 '''void QGraphicsTextItem.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 11091 def mouseDoubleClickEvent(self, event): 11092 '''void QGraphicsTextItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent event)''' 11093 def mouseReleaseEvent(self, event): 11094 '''void QGraphicsTextItem.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 11095 def mouseMoveEvent(self, event): 11096 '''void QGraphicsTextItem.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 11097 def mousePressEvent(self, event): 11098 '''void QGraphicsTextItem.mousePressEvent(QGraphicsSceneMouseEvent event)''' 11099 def sceneEvent(self, event): 11100 '''bool QGraphicsTextItem.sceneEvent(QEvent event)''' 11101 return bool() 11102 linkHovered = pyqtSignal() # void linkHovered(const QStringamp;) - signal 11103 linkActivated = pyqtSignal() # void linkActivated(const QStringamp;) - signal 11104 def textCursor(self): 11105 '''QTextCursor QGraphicsTextItem.textCursor()''' 11106 return QTextCursor() 11107 def setTextCursor(self, cursor): 11108 '''void QGraphicsTextItem.setTextCursor(QTextCursor cursor)''' 11109 def openExternalLinks(self): 11110 '''bool QGraphicsTextItem.openExternalLinks()''' 11111 return bool() 11112 def setOpenExternalLinks(self, open): 11113 '''void QGraphicsTextItem.setOpenExternalLinks(bool open)''' 11114 def tabChangesFocus(self): 11115 '''bool QGraphicsTextItem.tabChangesFocus()''' 11116 return bool() 11117 def setTabChangesFocus(self, b): 11118 '''void QGraphicsTextItem.setTabChangesFocus(bool b)''' 11119 def textInteractionFlags(self): 11120 '''Qt.TextInteractionFlags QGraphicsTextItem.textInteractionFlags()''' 11121 return Qt.TextInteractionFlags() 11122 def setTextInteractionFlags(self, flags): 11123 '''void QGraphicsTextItem.setTextInteractionFlags(Qt.TextInteractionFlags flags)''' 11124 def document(self): 11125 '''QTextDocument QGraphicsTextItem.document()''' 11126 return QTextDocument() 11127 def setDocument(self, document): 11128 '''void QGraphicsTextItem.setDocument(QTextDocument document)''' 11129 def adjustSize(self): 11130 '''void QGraphicsTextItem.adjustSize()''' 11131 def textWidth(self): 11132 '''float QGraphicsTextItem.textWidth()''' 11133 return float() 11134 def setTextWidth(self, width): 11135 '''void QGraphicsTextItem.setTextWidth(float width)''' 11136 def type(self): 11137 '''int QGraphicsTextItem.type()''' 11138 return int() 11139 def opaqueArea(self): 11140 '''QPainterPath QGraphicsTextItem.opaqueArea()''' 11141 return QPainterPath() 11142 def isObscuredBy(self, item): 11143 '''bool QGraphicsTextItem.isObscuredBy(QGraphicsItem item)''' 11144 return bool() 11145 def paint(self, painter, option, widget): 11146 '''void QGraphicsTextItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 11147 def contains(self, point): 11148 '''bool QGraphicsTextItem.contains(QPointF point)''' 11149 return bool() 11150 def shape(self): 11151 '''QPainterPath QGraphicsTextItem.shape()''' 11152 return QPainterPath() 11153 def boundingRect(self): 11154 '''QRectF QGraphicsTextItem.boundingRect()''' 11155 return QRectF() 11156 def defaultTextColor(self): 11157 '''QColor QGraphicsTextItem.defaultTextColor()''' 11158 return QColor() 11159 def setDefaultTextColor(self, c): 11160 '''void QGraphicsTextItem.setDefaultTextColor(QColor c)''' 11161 def setFont(self, font): 11162 '''void QGraphicsTextItem.setFont(QFont font)''' 11163 def font(self): 11164 '''QFont QGraphicsTextItem.font()''' 11165 return QFont() 11166 def setPlainText(self, text): 11167 '''void QGraphicsTextItem.setPlainText(QString text)''' 11168 def toPlainText(self): 11169 '''QString QGraphicsTextItem.toPlainText()''' 11170 return QString() 11171 def setHtml(self, html): 11172 '''void QGraphicsTextItem.setHtml(QString html)''' 11173 def toHtml(self): 11174 '''QString QGraphicsTextItem.toHtml()''' 11175 return QString() 11176 11177 11178 class QGraphicsItemAnimation(QObject): 11179 """""" 11180 def __init__(self, parent = None): 11181 '''void QGraphicsItemAnimation.__init__(QObject parent = None)''' 11182 def shearList(self): 11183 '''list-of-tuple-of-float-QPointF QGraphicsItemAnimation.shearList()''' 11184 return [tuple-of-float-QPointF()] 11185 def scaleList(self): 11186 '''list-of-tuple-of-float-QPointF QGraphicsItemAnimation.scaleList()''' 11187 return [tuple-of-float-QPointF()] 11188 def translationList(self): 11189 '''list-of-tuple-of-float-QPointF QGraphicsItemAnimation.translationList()''' 11190 return [tuple-of-float-QPointF()] 11191 def rotationList(self): 11192 '''list-of-tuple-of-float-float QGraphicsItemAnimation.rotationList()''' 11193 return [tuple-of-float-float()] 11194 def posList(self): 11195 '''list-of-tuple-of-float-QPointF QGraphicsItemAnimation.posList()''' 11196 return [tuple-of-float-QPointF()] 11197 def beforeAnimationStep(self, step): 11198 '''void QGraphicsItemAnimation.beforeAnimationStep(float step)''' 11199 def afterAnimationStep(self, step): 11200 '''void QGraphicsItemAnimation.afterAnimationStep(float step)''' 11201 def setStep(self, x): 11202 '''void QGraphicsItemAnimation.setStep(float x)''' 11203 def reset(self): 11204 '''void QGraphicsItemAnimation.reset()''' 11205 def clear(self): 11206 '''void QGraphicsItemAnimation.clear()''' 11207 def setShearAt(self, step, sh, sv): 11208 '''void QGraphicsItemAnimation.setShearAt(float step, float sh, float sv)''' 11209 def horizontalShearAt(self, step): 11210 '''float QGraphicsItemAnimation.horizontalShearAt(float step)''' 11211 return float() 11212 def verticalShearAt(self, step): 11213 '''float QGraphicsItemAnimation.verticalShearAt(float step)''' 11214 return float() 11215 def setScaleAt(self, step, sx, sy): 11216 '''void QGraphicsItemAnimation.setScaleAt(float step, float sx, float sy)''' 11217 def horizontalScaleAt(self, step): 11218 '''float QGraphicsItemAnimation.horizontalScaleAt(float step)''' 11219 return float() 11220 def verticalScaleAt(self, step): 11221 '''float QGraphicsItemAnimation.verticalScaleAt(float step)''' 11222 return float() 11223 def setTranslationAt(self, step, dx, dy): 11224 '''void QGraphicsItemAnimation.setTranslationAt(float step, float dx, float dy)''' 11225 def yTranslationAt(self, step): 11226 '''float QGraphicsItemAnimation.yTranslationAt(float step)''' 11227 return float() 11228 def xTranslationAt(self, step): 11229 '''float QGraphicsItemAnimation.xTranslationAt(float step)''' 11230 return float() 11231 def setRotationAt(self, step, angle): 11232 '''void QGraphicsItemAnimation.setRotationAt(float step, float angle)''' 11233 def rotationAt(self, step): 11234 '''float QGraphicsItemAnimation.rotationAt(float step)''' 11235 return float() 11236 def matrixAt(self, step): 11237 '''QMatrix QGraphicsItemAnimation.matrixAt(float step)''' 11238 return QMatrix() 11239 def setPosAt(self, step, pos): 11240 '''void QGraphicsItemAnimation.setPosAt(float step, QPointF pos)''' 11241 def posAt(self, step): 11242 '''QPointF QGraphicsItemAnimation.posAt(float step)''' 11243 return QPointF() 11244 def setTimeLine(self, timeLine): 11245 '''void QGraphicsItemAnimation.setTimeLine(QTimeLine timeLine)''' 11246 def timeLine(self): 11247 '''QTimeLine QGraphicsItemAnimation.timeLine()''' 11248 return QTimeLine() 11249 def setItem(self, item): 11250 '''void QGraphicsItemAnimation.setItem(QGraphicsItem item)''' 11251 def item(self): 11252 '''QGraphicsItem QGraphicsItemAnimation.item()''' 11253 return QGraphicsItem() 11254 11255 11256 class QGraphicsLinearLayout(QGraphicsLayout): 11257 """""" 11258 def __init__(self, parent = None): 11259 '''void QGraphicsLinearLayout.__init__(QGraphicsLayoutItem parent = None)''' 11260 def __init__(self, orientation, parent = None): 11261 '''void QGraphicsLinearLayout.__init__(Qt.Orientation orientation, QGraphicsLayoutItem parent = None)''' 11262 def sizeHint(self, which, constraint = QSizeF()): 11263 '''QSizeF QGraphicsLinearLayout.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 11264 return QSizeF() 11265 def invalidate(self): 11266 '''void QGraphicsLinearLayout.invalidate()''' 11267 def itemAt(self, index): 11268 '''QGraphicsLayoutItem QGraphicsLinearLayout.itemAt(int index)''' 11269 return QGraphicsLayoutItem() 11270 def count(self): 11271 '''int QGraphicsLinearLayout.count()''' 11272 return int() 11273 def setGeometry(self, rect): 11274 '''void QGraphicsLinearLayout.setGeometry(QRectF rect)''' 11275 def alignment(self, item): 11276 '''Qt.Alignment QGraphicsLinearLayout.alignment(QGraphicsLayoutItem item)''' 11277 return Qt.Alignment() 11278 def setAlignment(self, item, alignment): 11279 '''void QGraphicsLinearLayout.setAlignment(QGraphicsLayoutItem item, Qt.Alignment alignment)''' 11280 def stretchFactor(self, item): 11281 '''int QGraphicsLinearLayout.stretchFactor(QGraphicsLayoutItem item)''' 11282 return int() 11283 def setStretchFactor(self, item, stretch): 11284 '''void QGraphicsLinearLayout.setStretchFactor(QGraphicsLayoutItem item, int stretch)''' 11285 def itemSpacing(self, index): 11286 '''float QGraphicsLinearLayout.itemSpacing(int index)''' 11287 return float() 11288 def setItemSpacing(self, index, spacing): 11289 '''void QGraphicsLinearLayout.setItemSpacing(int index, float spacing)''' 11290 def spacing(self): 11291 '''float QGraphicsLinearLayout.spacing()''' 11292 return float() 11293 def setSpacing(self, spacing): 11294 '''void QGraphicsLinearLayout.setSpacing(float spacing)''' 11295 def removeAt(self, index): 11296 '''void QGraphicsLinearLayout.removeAt(int index)''' 11297 def removeItem(self, item): 11298 '''void QGraphicsLinearLayout.removeItem(QGraphicsLayoutItem item)''' 11299 def insertStretch(self, index, stretch = 1): 11300 '''void QGraphicsLinearLayout.insertStretch(int index, int stretch = 1)''' 11301 def insertItem(self, index, item): 11302 '''void QGraphicsLinearLayout.insertItem(int index, QGraphicsLayoutItem item)''' 11303 def addStretch(self, stretch = 1): 11304 '''void QGraphicsLinearLayout.addStretch(int stretch = 1)''' 11305 def addItem(self, item): 11306 '''void QGraphicsLinearLayout.addItem(QGraphicsLayoutItem item)''' 11307 def orientation(self): 11308 '''Qt.Orientation QGraphicsLinearLayout.orientation()''' 11309 return Qt.Orientation() 11310 def setOrientation(self, orientation): 11311 '''void QGraphicsLinearLayout.setOrientation(Qt.Orientation orientation)''' 11312 11313 11314 class QGraphicsWidget(QGraphicsObject, QGraphicsLayoutItem): 11315 """""" 11316 def __init__(self, parent = None, flags = 0): 11317 '''void QGraphicsWidget.__init__(QGraphicsItem parent = None, Qt.WindowFlags flags = 0)''' 11318 geometryChanged = pyqtSignal() # void geometryChanged() - signal 11319 def setAutoFillBackground(self, enabled): 11320 '''void QGraphicsWidget.setAutoFillBackground(bool enabled)''' 11321 def autoFillBackground(self): 11322 '''bool QGraphicsWidget.autoFillBackground()''' 11323 return bool() 11324 def ungrabKeyboardEvent(self, event): 11325 '''void QGraphicsWidget.ungrabKeyboardEvent(QEvent event)''' 11326 def grabKeyboardEvent(self, event): 11327 '''void QGraphicsWidget.grabKeyboardEvent(QEvent event)''' 11328 def ungrabMouseEvent(self, event): 11329 '''void QGraphicsWidget.ungrabMouseEvent(QEvent event)''' 11330 def grabMouseEvent(self, event): 11331 '''void QGraphicsWidget.grabMouseEvent(QEvent event)''' 11332 def hoverLeaveEvent(self, event): 11333 '''void QGraphicsWidget.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 11334 def hoverMoveEvent(self, event): 11335 '''void QGraphicsWidget.hoverMoveEvent(QGraphicsSceneHoverEvent event)''' 11336 def showEvent(self, event): 11337 '''void QGraphicsWidget.showEvent(QShowEvent event)''' 11338 def resizeEvent(self, event): 11339 '''void QGraphicsWidget.resizeEvent(QGraphicsSceneResizeEvent event)''' 11340 def polishEvent(self): 11341 '''void QGraphicsWidget.polishEvent()''' 11342 def moveEvent(self, event): 11343 '''void QGraphicsWidget.moveEvent(QGraphicsSceneMoveEvent event)''' 11344 def hideEvent(self, event): 11345 '''void QGraphicsWidget.hideEvent(QHideEvent event)''' 11346 def focusOutEvent(self, event): 11347 '''void QGraphicsWidget.focusOutEvent(QFocusEvent event)''' 11348 def focusNextPrevChild(self, next): 11349 '''bool QGraphicsWidget.focusNextPrevChild(bool next)''' 11350 return bool() 11351 def focusInEvent(self, event): 11352 '''void QGraphicsWidget.focusInEvent(QFocusEvent event)''' 11353 def closeEvent(self, event): 11354 '''void QGraphicsWidget.closeEvent(QCloseEvent event)''' 11355 def changeEvent(self, event): 11356 '''void QGraphicsWidget.changeEvent(QEvent event)''' 11357 def event(self, event): 11358 '''bool QGraphicsWidget.event(QEvent event)''' 11359 return bool() 11360 def windowFrameSectionAt(self, pos): 11361 '''Qt.WindowFrameSection QGraphicsWidget.windowFrameSectionAt(QPointF pos)''' 11362 return Qt.WindowFrameSection() 11363 def windowFrameEvent(self, e): 11364 '''bool QGraphicsWidget.windowFrameEvent(QEvent e)''' 11365 return bool() 11366 def sceneEvent(self, event): 11367 '''bool QGraphicsWidget.sceneEvent(QEvent event)''' 11368 return bool() 11369 def itemChange(self, change, value): 11370 '''QVariant QGraphicsWidget.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 11371 return QVariant() 11372 def updateGeometry(self): 11373 '''void QGraphicsWidget.updateGeometry()''' 11374 def sizeHint(self, which, constraint = QSizeF()): 11375 '''QSizeF QGraphicsWidget.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 11376 return QSizeF() 11377 def initStyleOption(self, option): 11378 '''void QGraphicsWidget.initStyleOption(QStyleOption option)''' 11379 def close(self): 11380 '''bool QGraphicsWidget.close()''' 11381 return bool() 11382 def shape(self): 11383 '''QPainterPath QGraphicsWidget.shape()''' 11384 return QPainterPath() 11385 def boundingRect(self): 11386 '''QRectF QGraphicsWidget.boundingRect()''' 11387 return QRectF() 11388 def paintWindowFrame(self, painter, option, widget = None): 11389 '''void QGraphicsWidget.paintWindowFrame(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 11390 def paint(self, painter, option, widget = None): 11391 '''void QGraphicsWidget.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 11392 def type(self): 11393 '''int QGraphicsWidget.type()''' 11394 return int() 11395 def testAttribute(self, attribute): 11396 '''bool QGraphicsWidget.testAttribute(Qt.WidgetAttribute attribute)''' 11397 return bool() 11398 def setAttribute(self, attribute, on = True): 11399 '''void QGraphicsWidget.setAttribute(Qt.WidgetAttribute attribute, bool on = True)''' 11400 def actions(self): 11401 '''list-of-QAction QGraphicsWidget.actions()''' 11402 return [QAction()] 11403 def removeAction(self, action): 11404 '''void QGraphicsWidget.removeAction(QAction action)''' 11405 def insertActions(self, before, actions): 11406 '''void QGraphicsWidget.insertActions(QAction before, list-of-QAction actions)''' 11407 def insertAction(self, before, action): 11408 '''void QGraphicsWidget.insertAction(QAction before, QAction action)''' 11409 def addActions(self, actions): 11410 '''void QGraphicsWidget.addActions(list-of-QAction actions)''' 11411 def addAction(self, action): 11412 '''void QGraphicsWidget.addAction(QAction action)''' 11413 def setShortcutAutoRepeat(self, id, enabled = True): 11414 '''void QGraphicsWidget.setShortcutAutoRepeat(int id, bool enabled = True)''' 11415 def setShortcutEnabled(self, id, enabled = True): 11416 '''void QGraphicsWidget.setShortcutEnabled(int id, bool enabled = True)''' 11417 def releaseShortcut(self, id): 11418 '''void QGraphicsWidget.releaseShortcut(int id)''' 11419 def grabShortcut(self, sequence, context = None): 11420 '''int QGraphicsWidget.grabShortcut(QKeySequence sequence, Qt.ShortcutContext context = Qt.WindowShortcut)''' 11421 return int() 11422 def focusWidget(self): 11423 '''QGraphicsWidget QGraphicsWidget.focusWidget()''' 11424 return QGraphicsWidget() 11425 def setTabOrder(self, first, second): 11426 '''static void QGraphicsWidget.setTabOrder(QGraphicsWidget first, QGraphicsWidget second)''' 11427 def setFocusPolicy(self, policy): 11428 '''void QGraphicsWidget.setFocusPolicy(Qt.FocusPolicy policy)''' 11429 def focusPolicy(self): 11430 '''Qt.FocusPolicy QGraphicsWidget.focusPolicy()''' 11431 return Qt.FocusPolicy() 11432 def windowTitle(self): 11433 '''QString QGraphicsWidget.windowTitle()''' 11434 return QString() 11435 def setWindowTitle(self, title): 11436 '''void QGraphicsWidget.setWindowTitle(QString title)''' 11437 def isActiveWindow(self): 11438 '''bool QGraphicsWidget.isActiveWindow()''' 11439 return bool() 11440 def setWindowFlags(self, wFlags): 11441 '''void QGraphicsWidget.setWindowFlags(Qt.WindowFlags wFlags)''' 11442 def windowType(self): 11443 '''Qt.WindowType QGraphicsWidget.windowType()''' 11444 return Qt.WindowType() 11445 def windowFlags(self): 11446 '''Qt.WindowFlags QGraphicsWidget.windowFlags()''' 11447 return Qt.WindowFlags() 11448 def windowFrameRect(self): 11449 '''QRectF QGraphicsWidget.windowFrameRect()''' 11450 return QRectF() 11451 def windowFrameGeometry(self): 11452 '''QRectF QGraphicsWidget.windowFrameGeometry()''' 11453 return QRectF() 11454 def unsetWindowFrameMargins(self): 11455 '''void QGraphicsWidget.unsetWindowFrameMargins()''' 11456 def getWindowFrameMargins(self, left, top, right, bottom): 11457 '''void QGraphicsWidget.getWindowFrameMargins(float left, float top, float right, float bottom)''' 11458 def setWindowFrameMargins(self, left, top, right, bottom): 11459 '''void QGraphicsWidget.setWindowFrameMargins(float left, float top, float right, float bottom)''' 11460 def getContentsMargins(self, left, top, right, bottom): 11461 '''void QGraphicsWidget.getContentsMargins(float left, float top, float right, float bottom)''' 11462 def setContentsMargins(self, left, top, right, bottom): 11463 '''void QGraphicsWidget.setContentsMargins(float left, float top, float right, float bottom)''' 11464 def rect(self): 11465 '''QRectF QGraphicsWidget.rect()''' 11466 return QRectF() 11467 def setGeometry(self, rect): 11468 '''void QGraphicsWidget.setGeometry(QRectF rect)''' 11469 def setGeometry(self, ax, ay, aw, ah): 11470 '''void QGraphicsWidget.setGeometry(float ax, float ay, float aw, float ah)''' 11471 def size(self): 11472 '''QSizeF QGraphicsWidget.size()''' 11473 return QSizeF() 11474 def resize(self, size): 11475 '''void QGraphicsWidget.resize(QSizeF size)''' 11476 def resize(self, w, h): 11477 '''void QGraphicsWidget.resize(float w, float h)''' 11478 def setPalette(self, palette): 11479 '''void QGraphicsWidget.setPalette(QPalette palette)''' 11480 def palette(self): 11481 '''QPalette QGraphicsWidget.palette()''' 11482 return QPalette() 11483 def setFont(self, font): 11484 '''void QGraphicsWidget.setFont(QFont font)''' 11485 def font(self): 11486 '''QFont QGraphicsWidget.font()''' 11487 return QFont() 11488 def setStyle(self, style): 11489 '''void QGraphicsWidget.setStyle(QStyle style)''' 11490 def style(self): 11491 '''QStyle QGraphicsWidget.style()''' 11492 return QStyle() 11493 def unsetLayoutDirection(self): 11494 '''void QGraphicsWidget.unsetLayoutDirection()''' 11495 def setLayoutDirection(self, direction): 11496 '''void QGraphicsWidget.setLayoutDirection(Qt.LayoutDirection direction)''' 11497 def layoutDirection(self): 11498 '''Qt.LayoutDirection QGraphicsWidget.layoutDirection()''' 11499 return Qt.LayoutDirection() 11500 def adjustSize(self): 11501 '''void QGraphicsWidget.adjustSize()''' 11502 def setLayout(self, layout): 11503 '''void QGraphicsWidget.setLayout(QGraphicsLayout layout)''' 11504 def layout(self): 11505 '''QGraphicsLayout QGraphicsWidget.layout()''' 11506 return QGraphicsLayout() 11507 11508 11509 class QGraphicsProxyWidget(QGraphicsWidget): 11510 """""" 11511 def __init__(self, parent = None, flags = 0): 11512 '''void QGraphicsProxyWidget.__init__(QGraphicsItem parent = None, Qt.WindowFlags flags = 0)''' 11513 def newProxyWidget(self): 11514 '''QWidget QGraphicsProxyWidget.newProxyWidget()''' 11515 return QWidget() 11516 def dropEvent(self, event): 11517 '''void QGraphicsProxyWidget.dropEvent(QGraphicsSceneDragDropEvent event)''' 11518 def dragMoveEvent(self, event): 11519 '''void QGraphicsProxyWidget.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 11520 def dragLeaveEvent(self, event): 11521 '''void QGraphicsProxyWidget.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 11522 def dragEnterEvent(self, event): 11523 '''void QGraphicsProxyWidget.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 11524 def resizeEvent(self, event): 11525 '''void QGraphicsProxyWidget.resizeEvent(QGraphicsSceneResizeEvent event)''' 11526 def sizeHint(self, which, constraint = QSizeF()): 11527 '''QSizeF QGraphicsProxyWidget.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 11528 return QSizeF() 11529 def focusNextPrevChild(self, next): 11530 '''bool QGraphicsProxyWidget.focusNextPrevChild(bool next)''' 11531 return bool() 11532 def focusOutEvent(self, event): 11533 '''void QGraphicsProxyWidget.focusOutEvent(QFocusEvent event)''' 11534 def focusInEvent(self, event): 11535 '''void QGraphicsProxyWidget.focusInEvent(QFocusEvent event)''' 11536 def keyReleaseEvent(self, event): 11537 '''void QGraphicsProxyWidget.keyReleaseEvent(QKeyEvent event)''' 11538 def keyPressEvent(self, event): 11539 '''void QGraphicsProxyWidget.keyPressEvent(QKeyEvent event)''' 11540 def wheelEvent(self, event): 11541 '''void QGraphicsProxyWidget.wheelEvent(QGraphicsSceneWheelEvent event)''' 11542 def mouseDoubleClickEvent(self, event): 11543 '''void QGraphicsProxyWidget.mouseDoubleClickEvent(QGraphicsSceneMouseEvent event)''' 11544 def mouseReleaseEvent(self, event): 11545 '''void QGraphicsProxyWidget.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 11546 def mousePressEvent(self, event): 11547 '''void QGraphicsProxyWidget.mousePressEvent(QGraphicsSceneMouseEvent event)''' 11548 def mouseMoveEvent(self, event): 11549 '''void QGraphicsProxyWidget.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 11550 def ungrabMouseEvent(self, event): 11551 '''void QGraphicsProxyWidget.ungrabMouseEvent(QEvent event)''' 11552 def grabMouseEvent(self, event): 11553 '''void QGraphicsProxyWidget.grabMouseEvent(QEvent event)''' 11554 def hoverMoveEvent(self, event): 11555 '''void QGraphicsProxyWidget.hoverMoveEvent(QGraphicsSceneHoverEvent event)''' 11556 def hoverLeaveEvent(self, event): 11557 '''void QGraphicsProxyWidget.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 11558 def hoverEnterEvent(self, event): 11559 '''void QGraphicsProxyWidget.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 11560 def contextMenuEvent(self, event): 11561 '''void QGraphicsProxyWidget.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 11562 def hideEvent(self, event): 11563 '''void QGraphicsProxyWidget.hideEvent(QHideEvent event)''' 11564 def showEvent(self, event): 11565 '''void QGraphicsProxyWidget.showEvent(QShowEvent event)''' 11566 def eventFilter(self, object, event): 11567 '''bool QGraphicsProxyWidget.eventFilter(QObject object, QEvent event)''' 11568 return bool() 11569 def event(self, event): 11570 '''bool QGraphicsProxyWidget.event(QEvent event)''' 11571 return bool() 11572 def itemChange(self, change, value): 11573 '''QVariant QGraphicsProxyWidget.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 11574 return QVariant() 11575 def createProxyForChildWidget(self, child): 11576 '''QGraphicsProxyWidget QGraphicsProxyWidget.createProxyForChildWidget(QWidget child)''' 11577 return QGraphicsProxyWidget() 11578 def type(self): 11579 '''int QGraphicsProxyWidget.type()''' 11580 return int() 11581 def paint(self, painter, option, widget): 11582 '''void QGraphicsProxyWidget.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 11583 def setGeometry(self, rect): 11584 '''void QGraphicsProxyWidget.setGeometry(QRectF rect)''' 11585 def subWidgetRect(self, widget): 11586 '''QRectF QGraphicsProxyWidget.subWidgetRect(QWidget widget)''' 11587 return QRectF() 11588 def widget(self): 11589 '''QWidget QGraphicsProxyWidget.widget()''' 11590 return QWidget() 11591 def setWidget(self, widget): 11592 '''void QGraphicsProxyWidget.setWidget(QWidget widget)''' 11593 11594 11595 class QGraphicsScene(QObject): 11596 """""" 11597 # Enum QGraphicsScene.SceneLayer 11598 ItemLayer = 0 11599 BackgroundLayer = 0 11600 ForegroundLayer = 0 11601 AllLayers = 0 11602 11603 # Enum QGraphicsScene.ItemIndexMethod 11604 BspTreeIndex = 0 11605 NoIndex = 0 11606 11607 def __init__(self, parent = None): 11608 '''void QGraphicsScene.__init__(QObject parent = None)''' 11609 def __init__(self, sceneRect, parent = None): 11610 '''void QGraphicsScene.__init__(QRectF sceneRect, QObject parent = None)''' 11611 def __init__(self, x, y, width, height, parent = None): 11612 '''void QGraphicsScene.__init__(float x, float y, float width, float height, QObject parent = None)''' 11613 def sendEvent(self, item, event): 11614 '''bool QGraphicsScene.sendEvent(QGraphicsItem item, QEvent event)''' 11615 return bool() 11616 def setActivePanel(self, item): 11617 '''void QGraphicsScene.setActivePanel(QGraphicsItem item)''' 11618 def activePanel(self): 11619 '''QGraphicsItem QGraphicsScene.activePanel()''' 11620 return QGraphicsItem() 11621 def isActive(self): 11622 '''bool QGraphicsScene.isActive()''' 11623 return bool() 11624 def stickyFocus(self): 11625 '''bool QGraphicsScene.stickyFocus()''' 11626 return bool() 11627 def setStickyFocus(self, enabled): 11628 '''void QGraphicsScene.setStickyFocus(bool enabled)''' 11629 def setSortCacheEnabled(self, enabled): 11630 '''void QGraphicsScene.setSortCacheEnabled(bool enabled)''' 11631 def isSortCacheEnabled(self): 11632 '''bool QGraphicsScene.isSortCacheEnabled()''' 11633 return bool() 11634 def focusNextPrevChild(self, next): 11635 '''bool QGraphicsScene.focusNextPrevChild(bool next)''' 11636 return bool() 11637 def eventFilter(self, watched, event): 11638 '''bool QGraphicsScene.eventFilter(QObject watched, QEvent event)''' 11639 return bool() 11640 def setActiveWindow(self, widget): 11641 '''void QGraphicsScene.setActiveWindow(QGraphicsWidget widget)''' 11642 def activeWindow(self): 11643 '''QGraphicsWidget QGraphicsScene.activeWindow()''' 11644 return QGraphicsWidget() 11645 def setPalette(self, palette): 11646 '''void QGraphicsScene.setPalette(QPalette palette)''' 11647 def palette(self): 11648 '''QPalette QGraphicsScene.palette()''' 11649 return QPalette() 11650 def setFont(self, font): 11651 '''void QGraphicsScene.setFont(QFont font)''' 11652 def font(self): 11653 '''QFont QGraphicsScene.font()''' 11654 return QFont() 11655 def setStyle(self, style): 11656 '''void QGraphicsScene.setStyle(QStyle style)''' 11657 def style(self): 11658 '''QStyle QGraphicsScene.style()''' 11659 return QStyle() 11660 def addWidget(self, widget, flags = 0): 11661 '''QGraphicsProxyWidget QGraphicsScene.addWidget(QWidget widget, Qt.WindowFlags flags = 0)''' 11662 return QGraphicsProxyWidget() 11663 def selectionArea(self): 11664 '''QPainterPath QGraphicsScene.selectionArea()''' 11665 return QPainterPath() 11666 def setBspTreeDepth(self, depth): 11667 '''void QGraphicsScene.setBspTreeDepth(int depth)''' 11668 def bspTreeDepth(self): 11669 '''int QGraphicsScene.bspTreeDepth()''' 11670 return int() 11671 def drawItems(self, painter, items, options, widget = None): 11672 '''void QGraphicsScene.drawItems(QPainter painter, list-of-QGraphicsItem items, list-of-QStyleOptionGraphicsItem options, QWidget widget = None)''' 11673 def drawForeground(self, painter, rect): 11674 '''void QGraphicsScene.drawForeground(QPainter painter, QRectF rect)''' 11675 def drawBackground(self, painter, rect): 11676 '''void QGraphicsScene.drawBackground(QPainter painter, QRectF rect)''' 11677 def inputMethodEvent(self, event): 11678 '''void QGraphicsScene.inputMethodEvent(QInputMethodEvent event)''' 11679 def wheelEvent(self, event): 11680 '''void QGraphicsScene.wheelEvent(QGraphicsSceneWheelEvent event)''' 11681 def mouseDoubleClickEvent(self, event): 11682 '''void QGraphicsScene.mouseDoubleClickEvent(QGraphicsSceneMouseEvent event)''' 11683 def mouseReleaseEvent(self, event): 11684 '''void QGraphicsScene.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 11685 def mouseMoveEvent(self, event): 11686 '''void QGraphicsScene.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 11687 def mousePressEvent(self, event): 11688 '''void QGraphicsScene.mousePressEvent(QGraphicsSceneMouseEvent event)''' 11689 def keyReleaseEvent(self, event): 11690 '''void QGraphicsScene.keyReleaseEvent(QKeyEvent event)''' 11691 def keyPressEvent(self, event): 11692 '''void QGraphicsScene.keyPressEvent(QKeyEvent event)''' 11693 def helpEvent(self, event): 11694 '''void QGraphicsScene.helpEvent(QGraphicsSceneHelpEvent event)''' 11695 def focusOutEvent(self, event): 11696 '''void QGraphicsScene.focusOutEvent(QFocusEvent event)''' 11697 def focusInEvent(self, event): 11698 '''void QGraphicsScene.focusInEvent(QFocusEvent event)''' 11699 def dropEvent(self, event): 11700 '''void QGraphicsScene.dropEvent(QGraphicsSceneDragDropEvent event)''' 11701 def dragLeaveEvent(self, event): 11702 '''void QGraphicsScene.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 11703 def dragMoveEvent(self, event): 11704 '''void QGraphicsScene.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 11705 def dragEnterEvent(self, event): 11706 '''void QGraphicsScene.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 11707 def contextMenuEvent(self, event): 11708 '''void QGraphicsScene.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 11709 def event(self, event): 11710 '''bool QGraphicsScene.event(QEvent event)''' 11711 return bool() 11712 selectionChanged = pyqtSignal() # void selectionChanged() - signal 11713 sceneRectChanged = pyqtSignal() # void sceneRectChanged(const QRectFamp;) - signal 11714 changed = pyqtSignal() # void changed(const QListlt;QRectFgt;amp;) - signal 11715 def clear(self): 11716 '''void QGraphicsScene.clear()''' 11717 def invalidate(self, rect = QRectF(), layers = None): 11718 '''void QGraphicsScene.invalidate(QRectF rect = QRectF(), QGraphicsScene.SceneLayers layers = QGraphicsScene.AllLayers)''' 11719 def invalidate(self, x, y, w, h, layers = None): 11720 '''void QGraphicsScene.invalidate(float x, float y, float w, float h, QGraphicsScene.SceneLayers layers = QGraphicsScene.AllLayers)''' 11721 def update(self, rect = QRectF()): 11722 '''void QGraphicsScene.update(QRectF rect = QRectF())''' 11723 def update(self, x, y, w, h): 11724 '''void QGraphicsScene.update(float x, float y, float w, float h)''' 11725 def advance(self): 11726 '''void QGraphicsScene.advance()''' 11727 def views(self): 11728 '''list-of-QGraphicsView QGraphicsScene.views()''' 11729 return [QGraphicsView()] 11730 def inputMethodQuery(self, query): 11731 '''QVariant QGraphicsScene.inputMethodQuery(Qt.InputMethodQuery query)''' 11732 return QVariant() 11733 def setForegroundBrush(self, brush): 11734 '''void QGraphicsScene.setForegroundBrush(QBrush brush)''' 11735 def foregroundBrush(self): 11736 '''QBrush QGraphicsScene.foregroundBrush()''' 11737 return QBrush() 11738 def setBackgroundBrush(self, brush): 11739 '''void QGraphicsScene.setBackgroundBrush(QBrush brush)''' 11740 def backgroundBrush(self): 11741 '''QBrush QGraphicsScene.backgroundBrush()''' 11742 return QBrush() 11743 def mouseGrabberItem(self): 11744 '''QGraphicsItem QGraphicsScene.mouseGrabberItem()''' 11745 return QGraphicsItem() 11746 def clearFocus(self): 11747 '''void QGraphicsScene.clearFocus()''' 11748 def setFocus(self, focusReason = None): 11749 '''void QGraphicsScene.setFocus(Qt.FocusReason focusReason = Qt.OtherFocusReason)''' 11750 def hasFocus(self): 11751 '''bool QGraphicsScene.hasFocus()''' 11752 return bool() 11753 def setFocusItem(self, item, focusReason = None): 11754 '''void QGraphicsScene.setFocusItem(QGraphicsItem item, Qt.FocusReason focusReason = Qt.OtherFocusReason)''' 11755 def focusItem(self): 11756 '''QGraphicsItem QGraphicsScene.focusItem()''' 11757 return QGraphicsItem() 11758 def removeItem(self, item): 11759 '''void QGraphicsScene.removeItem(QGraphicsItem item)''' 11760 def addText(self, text, font = QFont()): 11761 '''QGraphicsTextItem QGraphicsScene.addText(QString text, QFont font = QFont())''' 11762 return QGraphicsTextItem() 11763 def addSimpleText(self, text, font = QFont()): 11764 '''QGraphicsSimpleTextItem QGraphicsScene.addSimpleText(QString text, QFont font = QFont())''' 11765 return QGraphicsSimpleTextItem() 11766 def addRect(self, rect, pen = QPen(), brush = QBrush()): 11767 '''QGraphicsRectItem QGraphicsScene.addRect(QRectF rect, QPen pen = QPen(), QBrush brush = QBrush())''' 11768 return QGraphicsRectItem() 11769 def addRect(self, x, y, w, h, pen = QPen(), brush = QBrush()): 11770 '''QGraphicsRectItem QGraphicsScene.addRect(float x, float y, float w, float h, QPen pen = QPen(), QBrush brush = QBrush())''' 11771 return QGraphicsRectItem() 11772 def addPolygon(self, polygon, pen = QPen(), brush = QBrush()): 11773 '''QGraphicsPolygonItem QGraphicsScene.addPolygon(QPolygonF polygon, QPen pen = QPen(), QBrush brush = QBrush())''' 11774 return QGraphicsPolygonItem() 11775 def addPixmap(self, pixmap): 11776 '''QGraphicsPixmapItem QGraphicsScene.addPixmap(QPixmap pixmap)''' 11777 return QGraphicsPixmapItem() 11778 def addPath(self, path, pen = QPen(), brush = QBrush()): 11779 '''QGraphicsPathItem QGraphicsScene.addPath(QPainterPath path, QPen pen = QPen(), QBrush brush = QBrush())''' 11780 return QGraphicsPathItem() 11781 def addLine(self, line, pen = QPen()): 11782 '''QGraphicsLineItem QGraphicsScene.addLine(QLineF line, QPen pen = QPen())''' 11783 return QGraphicsLineItem() 11784 def addLine(self, x1, y1, x2, y2, pen = QPen()): 11785 '''QGraphicsLineItem QGraphicsScene.addLine(float x1, float y1, float x2, float y2, QPen pen = QPen())''' 11786 return QGraphicsLineItem() 11787 def addEllipse(self, rect, pen = QPen(), brush = QBrush()): 11788 '''QGraphicsEllipseItem QGraphicsScene.addEllipse(QRectF rect, QPen pen = QPen(), QBrush brush = QBrush())''' 11789 return QGraphicsEllipseItem() 11790 def addEllipse(self, x, y, w, h, pen = QPen(), brush = QBrush()): 11791 '''QGraphicsEllipseItem QGraphicsScene.addEllipse(float x, float y, float w, float h, QPen pen = QPen(), QBrush brush = QBrush())''' 11792 return QGraphicsEllipseItem() 11793 def addItem(self, item): 11794 '''void QGraphicsScene.addItem(QGraphicsItem item)''' 11795 def destroyItemGroup(self, group): 11796 '''void QGraphicsScene.destroyItemGroup(QGraphicsItemGroup group)''' 11797 def createItemGroup(self, items): 11798 '''QGraphicsItemGroup QGraphicsScene.createItemGroup(list-of-QGraphicsItem items)''' 11799 return QGraphicsItemGroup() 11800 def clearSelection(self): 11801 '''void QGraphicsScene.clearSelection()''' 11802 def setSelectionArea(self, path): 11803 '''void QGraphicsScene.setSelectionArea(QPainterPath path)''' 11804 def setSelectionArea(self, path): 11805 '''Qt.ItemSelectionMode QGraphicsScene.setSelectionArea(QPainterPath path)''' 11806 return Qt.ItemSelectionMode() 11807 def setSelectionArea(self, path, deviceTransform): 11808 '''void QGraphicsScene.setSelectionArea(QPainterPath path, QTransform deviceTransform)''' 11809 def setSelectionArea(self, path, mode, deviceTransform): 11810 '''void QGraphicsScene.setSelectionArea(QPainterPath path, Qt.ItemSelectionMode mode, QTransform deviceTransform)''' 11811 def selectedItems(self): 11812 '''list-of-QGraphicsItem QGraphicsScene.selectedItems()''' 11813 return [QGraphicsItem()] 11814 def itemAt(self, pos): 11815 '''QGraphicsItem QGraphicsScene.itemAt(QPointF pos)''' 11816 return QGraphicsItem() 11817 def itemAt(self, x, y): 11818 '''QGraphicsItem QGraphicsScene.itemAt(float x, float y)''' 11819 return QGraphicsItem() 11820 def itemAt(self, pos, deviceTransform): 11821 '''QGraphicsItem QGraphicsScene.itemAt(QPointF pos, QTransform deviceTransform)''' 11822 return QGraphicsItem() 11823 def itemAt(self, x, y, deviceTransform): 11824 '''QGraphicsItem QGraphicsScene.itemAt(float x, float y, QTransform deviceTransform)''' 11825 return QGraphicsItem() 11826 def collidingItems(self, item, mode = None): 11827 '''list-of-QGraphicsItem QGraphicsScene.collidingItems(QGraphicsItem item, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 11828 return [QGraphicsItem()] 11829 def items(self): 11830 '''list-of-QGraphicsItem QGraphicsScene.items()''' 11831 return [QGraphicsItem()] 11832 def items(self, pos): 11833 '''list-of-QGraphicsItem QGraphicsScene.items(QPointF pos)''' 11834 return [QGraphicsItem()] 11835 def items(self, rectangle, mode = None): 11836 '''list-of-QGraphicsItem QGraphicsScene.items(QRectF rectangle, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 11837 return [QGraphicsItem()] 11838 def items(self, polygon, mode = None): 11839 '''list-of-QGraphicsItem QGraphicsScene.items(QPolygonF polygon, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 11840 return [QGraphicsItem()] 11841 def items(self, path, mode = None): 11842 '''list-of-QGraphicsItem QGraphicsScene.items(QPainterPath path, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 11843 return [QGraphicsItem()] 11844 def items(self, x, y, w, h, mode = None): 11845 '''list-of-QGraphicsItem QGraphicsScene.items(float x, float y, float w, float h, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 11846 return [QGraphicsItem()] 11847 def items(self, order): 11848 '''list-of-QGraphicsItem QGraphicsScene.items(Qt.SortOrder order)''' 11849 return [QGraphicsItem()] 11850 def items(self, pos, mode, order, deviceTransform = QTransform()): 11851 '''list-of-QGraphicsItem QGraphicsScene.items(QPointF pos, Qt.ItemSelectionMode mode, Qt.SortOrder order, QTransform deviceTransform = QTransform())''' 11852 return [QGraphicsItem()] 11853 def items(self, rect, mode, order, deviceTransform = QTransform()): 11854 '''list-of-QGraphicsItem QGraphicsScene.items(QRectF rect, Qt.ItemSelectionMode mode, Qt.SortOrder order, QTransform deviceTransform = QTransform())''' 11855 return [QGraphicsItem()] 11856 def items(self, polygon, mode, order, deviceTransform = QTransform()): 11857 '''list-of-QGraphicsItem QGraphicsScene.items(QPolygonF polygon, Qt.ItemSelectionMode mode, Qt.SortOrder order, QTransform deviceTransform = QTransform())''' 11858 return [QGraphicsItem()] 11859 def items(self, path, mode, order, deviceTransform = QTransform()): 11860 '''list-of-QGraphicsItem QGraphicsScene.items(QPainterPath path, Qt.ItemSelectionMode mode, Qt.SortOrder order, QTransform deviceTransform = QTransform())''' 11861 return [QGraphicsItem()] 11862 def items(self, x, y, w, h, mode, order, deviceTransform = QTransform()): 11863 '''list-of-QGraphicsItem QGraphicsScene.items(float x, float y, float w, float h, Qt.ItemSelectionMode mode, Qt.SortOrder order, QTransform deviceTransform = QTransform())''' 11864 return [QGraphicsItem()] 11865 def itemsBoundingRect(self): 11866 '''QRectF QGraphicsScene.itemsBoundingRect()''' 11867 return QRectF() 11868 def setItemIndexMethod(self, method): 11869 '''void QGraphicsScene.setItemIndexMethod(QGraphicsScene.ItemIndexMethod method)''' 11870 def itemIndexMethod(self): 11871 '''QGraphicsScene.ItemIndexMethod QGraphicsScene.itemIndexMethod()''' 11872 return QGraphicsScene.ItemIndexMethod() 11873 def render(self, painter, target = QRectF(), source = QRectF(), mode = None): 11874 '''void QGraphicsScene.render(QPainter painter, QRectF target = QRectF(), QRectF source = QRectF(), Qt.AspectRatioMode mode = Qt.KeepAspectRatio)''' 11875 def setSceneRect(self, rect): 11876 '''void QGraphicsScene.setSceneRect(QRectF rect)''' 11877 def setSceneRect(self, x, y, w, h): 11878 '''void QGraphicsScene.setSceneRect(float x, float y, float w, float h)''' 11879 def height(self): 11880 '''float QGraphicsScene.height()''' 11881 return float() 11882 def width(self): 11883 '''float QGraphicsScene.width()''' 11884 return float() 11885 def sceneRect(self): 11886 '''QRectF QGraphicsScene.sceneRect()''' 11887 return QRectF() 11888 class SceneLayers(): 11889 """""" 11890 def __init__(self): 11891 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__init__()''' 11892 return QGraphicsScene.SceneLayers() 11893 def __init__(self): 11894 '''int QGraphicsScene.SceneLayers.__init__()''' 11895 return int() 11896 def __init__(self): 11897 '''void QGraphicsScene.SceneLayers.__init__()''' 11898 def __bool__(self): 11899 '''int QGraphicsScene.SceneLayers.__bool__()''' 11900 return int() 11901 def __ne__(self, f): 11902 '''bool QGraphicsScene.SceneLayers.__ne__(QGraphicsScene.SceneLayers f)''' 11903 return bool() 11904 def __eq__(self, f): 11905 '''bool QGraphicsScene.SceneLayers.__eq__(QGraphicsScene.SceneLayers f)''' 11906 return bool() 11907 def __invert__(self): 11908 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__invert__()''' 11909 return QGraphicsScene.SceneLayers() 11910 def __and__(self, mask): 11911 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__and__(int mask)''' 11912 return QGraphicsScene.SceneLayers() 11913 def __xor__(self, f): 11914 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__xor__(QGraphicsScene.SceneLayers f)''' 11915 return QGraphicsScene.SceneLayers() 11916 def __xor__(self, f): 11917 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__xor__(int f)''' 11918 return QGraphicsScene.SceneLayers() 11919 def __or__(self, f): 11920 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__or__(QGraphicsScene.SceneLayers f)''' 11921 return QGraphicsScene.SceneLayers() 11922 def __or__(self, f): 11923 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__or__(int f)''' 11924 return QGraphicsScene.SceneLayers() 11925 def __int__(self): 11926 '''int QGraphicsScene.SceneLayers.__int__()''' 11927 return int() 11928 def __ixor__(self, f): 11929 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__ixor__(QGraphicsScene.SceneLayers f)''' 11930 return QGraphicsScene.SceneLayers() 11931 def __ior__(self, f): 11932 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__ior__(QGraphicsScene.SceneLayers f)''' 11933 return QGraphicsScene.SceneLayers() 11934 def __iand__(self, mask): 11935 '''QGraphicsScene.SceneLayers QGraphicsScene.SceneLayers.__iand__(int mask)''' 11936 return QGraphicsScene.SceneLayers() 11937 11938 11939 class QGraphicsSceneEvent(QEvent): 11940 """""" 11941 def setWidget(self, widget): 11942 '''void QGraphicsSceneEvent.setWidget(QWidget widget)''' 11943 def widget(self): 11944 '''QWidget QGraphicsSceneEvent.widget()''' 11945 return QWidget() 11946 11947 11948 class QGraphicsSceneMouseEvent(QGraphicsSceneEvent): 11949 """""" 11950 def modifiers(self): 11951 '''Qt.KeyboardModifiers QGraphicsSceneMouseEvent.modifiers()''' 11952 return Qt.KeyboardModifiers() 11953 def button(self): 11954 '''Qt.MouseButton QGraphicsSceneMouseEvent.button()''' 11955 return Qt.MouseButton() 11956 def buttons(self): 11957 '''Qt.MouseButtons QGraphicsSceneMouseEvent.buttons()''' 11958 return Qt.MouseButtons() 11959 def lastScreenPos(self): 11960 '''QPoint QGraphicsSceneMouseEvent.lastScreenPos()''' 11961 return QPoint() 11962 def lastScenePos(self): 11963 '''QPointF QGraphicsSceneMouseEvent.lastScenePos()''' 11964 return QPointF() 11965 def lastPos(self): 11966 '''QPointF QGraphicsSceneMouseEvent.lastPos()''' 11967 return QPointF() 11968 def buttonDownScreenPos(self, button): 11969 '''QPoint QGraphicsSceneMouseEvent.buttonDownScreenPos(Qt.MouseButton button)''' 11970 return QPoint() 11971 def buttonDownScenePos(self, button): 11972 '''QPointF QGraphicsSceneMouseEvent.buttonDownScenePos(Qt.MouseButton button)''' 11973 return QPointF() 11974 def buttonDownPos(self, button): 11975 '''QPointF QGraphicsSceneMouseEvent.buttonDownPos(Qt.MouseButton button)''' 11976 return QPointF() 11977 def screenPos(self): 11978 '''QPoint QGraphicsSceneMouseEvent.screenPos()''' 11979 return QPoint() 11980 def scenePos(self): 11981 '''QPointF QGraphicsSceneMouseEvent.scenePos()''' 11982 return QPointF() 11983 def pos(self): 11984 '''QPointF QGraphicsSceneMouseEvent.pos()''' 11985 return QPointF() 11986 11987 11988 class QGraphicsSceneWheelEvent(QGraphicsSceneEvent): 11989 """""" 11990 def orientation(self): 11991 '''Qt.Orientation QGraphicsSceneWheelEvent.orientation()''' 11992 return Qt.Orientation() 11993 def delta(self): 11994 '''int QGraphicsSceneWheelEvent.delta()''' 11995 return int() 11996 def modifiers(self): 11997 '''Qt.KeyboardModifiers QGraphicsSceneWheelEvent.modifiers()''' 11998 return Qt.KeyboardModifiers() 11999 def buttons(self): 12000 '''Qt.MouseButtons QGraphicsSceneWheelEvent.buttons()''' 12001 return Qt.MouseButtons() 12002 def screenPos(self): 12003 '''QPoint QGraphicsSceneWheelEvent.screenPos()''' 12004 return QPoint() 12005 def scenePos(self): 12006 '''QPointF QGraphicsSceneWheelEvent.scenePos()''' 12007 return QPointF() 12008 def pos(self): 12009 '''QPointF QGraphicsSceneWheelEvent.pos()''' 12010 return QPointF() 12011 12012 12013 class QGraphicsSceneContextMenuEvent(QGraphicsSceneEvent): 12014 """""" 12015 # Enum QGraphicsSceneContextMenuEvent.Reason 12016 Mouse = 0 12017 Keyboard = 0 12018 Other = 0 12019 12020 def reason(self): 12021 '''QGraphicsSceneContextMenuEvent.Reason QGraphicsSceneContextMenuEvent.reason()''' 12022 return QGraphicsSceneContextMenuEvent.Reason() 12023 def modifiers(self): 12024 '''Qt.KeyboardModifiers QGraphicsSceneContextMenuEvent.modifiers()''' 12025 return Qt.KeyboardModifiers() 12026 def screenPos(self): 12027 '''QPoint QGraphicsSceneContextMenuEvent.screenPos()''' 12028 return QPoint() 12029 def scenePos(self): 12030 '''QPointF QGraphicsSceneContextMenuEvent.scenePos()''' 12031 return QPointF() 12032 def pos(self): 12033 '''QPointF QGraphicsSceneContextMenuEvent.pos()''' 12034 return QPointF() 12035 12036 12037 class QGraphicsSceneHoverEvent(QGraphicsSceneEvent): 12038 """""" 12039 def modifiers(self): 12040 '''Qt.KeyboardModifiers QGraphicsSceneHoverEvent.modifiers()''' 12041 return Qt.KeyboardModifiers() 12042 def lastScreenPos(self): 12043 '''QPoint QGraphicsSceneHoverEvent.lastScreenPos()''' 12044 return QPoint() 12045 def lastScenePos(self): 12046 '''QPointF QGraphicsSceneHoverEvent.lastScenePos()''' 12047 return QPointF() 12048 def lastPos(self): 12049 '''QPointF QGraphicsSceneHoverEvent.lastPos()''' 12050 return QPointF() 12051 def screenPos(self): 12052 '''QPoint QGraphicsSceneHoverEvent.screenPos()''' 12053 return QPoint() 12054 def scenePos(self): 12055 '''QPointF QGraphicsSceneHoverEvent.scenePos()''' 12056 return QPointF() 12057 def pos(self): 12058 '''QPointF QGraphicsSceneHoverEvent.pos()''' 12059 return QPointF() 12060 12061 12062 class QGraphicsSceneHelpEvent(QGraphicsSceneEvent): 12063 """""" 12064 def screenPos(self): 12065 '''QPoint QGraphicsSceneHelpEvent.screenPos()''' 12066 return QPoint() 12067 def scenePos(self): 12068 '''QPointF QGraphicsSceneHelpEvent.scenePos()''' 12069 return QPointF() 12070 12071 12072 class QGraphicsSceneDragDropEvent(QGraphicsSceneEvent): 12073 """""" 12074 def mimeData(self): 12075 '''QMimeData QGraphicsSceneDragDropEvent.mimeData()''' 12076 return QMimeData() 12077 def source(self): 12078 '''QWidget QGraphicsSceneDragDropEvent.source()''' 12079 return QWidget() 12080 def setDropAction(self, action): 12081 '''void QGraphicsSceneDragDropEvent.setDropAction(Qt.DropAction action)''' 12082 def dropAction(self): 12083 '''Qt.DropAction QGraphicsSceneDragDropEvent.dropAction()''' 12084 return Qt.DropAction() 12085 def acceptProposedAction(self): 12086 '''void QGraphicsSceneDragDropEvent.acceptProposedAction()''' 12087 def proposedAction(self): 12088 '''Qt.DropAction QGraphicsSceneDragDropEvent.proposedAction()''' 12089 return Qt.DropAction() 12090 def possibleActions(self): 12091 '''Qt.DropActions QGraphicsSceneDragDropEvent.possibleActions()''' 12092 return Qt.DropActions() 12093 def modifiers(self): 12094 '''Qt.KeyboardModifiers QGraphicsSceneDragDropEvent.modifiers()''' 12095 return Qt.KeyboardModifiers() 12096 def buttons(self): 12097 '''Qt.MouseButtons QGraphicsSceneDragDropEvent.buttons()''' 12098 return Qt.MouseButtons() 12099 def screenPos(self): 12100 '''QPoint QGraphicsSceneDragDropEvent.screenPos()''' 12101 return QPoint() 12102 def scenePos(self): 12103 '''QPointF QGraphicsSceneDragDropEvent.scenePos()''' 12104 return QPointF() 12105 def pos(self): 12106 '''QPointF QGraphicsSceneDragDropEvent.pos()''' 12107 return QPointF() 12108 12109 12110 class QGraphicsSceneResizeEvent(QGraphicsSceneEvent): 12111 """""" 12112 def __init__(self): 12113 '''void QGraphicsSceneResizeEvent.__init__()''' 12114 def newSize(self): 12115 '''QSizeF QGraphicsSceneResizeEvent.newSize()''' 12116 return QSizeF() 12117 def oldSize(self): 12118 '''QSizeF QGraphicsSceneResizeEvent.oldSize()''' 12119 return QSizeF() 12120 12121 12122 class QGraphicsSceneMoveEvent(QGraphicsSceneEvent): 12123 """""" 12124 def __init__(self): 12125 '''void QGraphicsSceneMoveEvent.__init__()''' 12126 def newPos(self): 12127 '''QPointF QGraphicsSceneMoveEvent.newPos()''' 12128 return QPointF() 12129 def oldPos(self): 12130 '''QPointF QGraphicsSceneMoveEvent.oldPos()''' 12131 return QPointF() 12132 12133 12134 class QGraphicsTransform(QObject): 12135 """""" 12136 def __init__(self, parent = None): 12137 '''void QGraphicsTransform.__init__(QObject parent = None)''' 12138 def update(self): 12139 '''void QGraphicsTransform.update()''' 12140 def applyTo(self, matrix): 12141 '''abstract void QGraphicsTransform.applyTo(QMatrix4x4 matrix)''' 12142 12143 12144 class QGraphicsScale(QGraphicsTransform): 12145 """""" 12146 def __init__(self, parent = None): 12147 '''void QGraphicsScale.__init__(QObject parent = None)''' 12148 zScaleChanged = pyqtSignal() # void zScaleChanged() - signal 12149 yScaleChanged = pyqtSignal() # void yScaleChanged() - signal 12150 xScaleChanged = pyqtSignal() # void xScaleChanged() - signal 12151 scaleChanged = pyqtSignal() # void scaleChanged() - signal 12152 originChanged = pyqtSignal() # void originChanged() - signal 12153 def applyTo(self, matrix): 12154 '''void QGraphicsScale.applyTo(QMatrix4x4 matrix)''' 12155 def setZScale(self): 12156 '''float QGraphicsScale.setZScale()''' 12157 return float() 12158 def zScale(self): 12159 '''float QGraphicsScale.zScale()''' 12160 return float() 12161 def setYScale(self): 12162 '''float QGraphicsScale.setYScale()''' 12163 return float() 12164 def yScale(self): 12165 '''float QGraphicsScale.yScale()''' 12166 return float() 12167 def setXScale(self): 12168 '''float QGraphicsScale.setXScale()''' 12169 return float() 12170 def xScale(self): 12171 '''float QGraphicsScale.xScale()''' 12172 return float() 12173 def setOrigin(self, point): 12174 '''void QGraphicsScale.setOrigin(QVector3D point)''' 12175 def origin(self): 12176 '''QVector3D QGraphicsScale.origin()''' 12177 return QVector3D() 12178 12179 12180 class QGraphicsRotation(QGraphicsTransform): 12181 """""" 12182 def __init__(self, parent = None): 12183 '''void QGraphicsRotation.__init__(QObject parent = None)''' 12184 axisChanged = pyqtSignal() # void axisChanged() - signal 12185 angleChanged = pyqtSignal() # void angleChanged() - signal 12186 originChanged = pyqtSignal() # void originChanged() - signal 12187 def applyTo(self, matrix): 12188 '''void QGraphicsRotation.applyTo(QMatrix4x4 matrix)''' 12189 def setAxis(self, axis): 12190 '''void QGraphicsRotation.setAxis(QVector3D axis)''' 12191 def setAxis(self, axis): 12192 '''void QGraphicsRotation.setAxis(Qt.Axis axis)''' 12193 def axis(self): 12194 '''QVector3D QGraphicsRotation.axis()''' 12195 return QVector3D() 12196 def setAngle(self): 12197 '''float QGraphicsRotation.setAngle()''' 12198 return float() 12199 def angle(self): 12200 '''float QGraphicsRotation.angle()''' 12201 return float() 12202 def setOrigin(self, point): 12203 '''void QGraphicsRotation.setOrigin(QVector3D point)''' 12204 def origin(self): 12205 '''QVector3D QGraphicsRotation.origin()''' 12206 return QVector3D() 12207 12208 12209 class QGraphicsView(QAbstractScrollArea): 12210 """""" 12211 # Enum QGraphicsView.OptimizationFlag 12212 DontClipPainter = 0 12213 DontSavePainterState = 0 12214 DontAdjustForAntialiasing = 0 12215 12216 # Enum QGraphicsView.ViewportUpdateMode 12217 FullViewportUpdate = 0 12218 MinimalViewportUpdate = 0 12219 SmartViewportUpdate = 0 12220 BoundingRectViewportUpdate = 0 12221 NoViewportUpdate = 0 12222 12223 # Enum QGraphicsView.ViewportAnchor 12224 NoAnchor = 0 12225 AnchorViewCenter = 0 12226 AnchorUnderMouse = 0 12227 12228 # Enum QGraphicsView.DragMode 12229 NoDrag = 0 12230 ScrollHandDrag = 0 12231 RubberBandDrag = 0 12232 12233 # Enum QGraphicsView.CacheModeFlag 12234 CacheNone = 0 12235 CacheBackground = 0 12236 12237 def __init__(self, parent = None): 12238 '''void QGraphicsView.__init__(QWidget parent = None)''' 12239 def __init__(self, scene, parent = None): 12240 '''void QGraphicsView.__init__(QGraphicsScene scene, QWidget parent = None)''' 12241 def isTransformed(self): 12242 '''bool QGraphicsView.isTransformed()''' 12243 return bool() 12244 def resetTransform(self): 12245 '''void QGraphicsView.resetTransform()''' 12246 def setTransform(self, matrix, combine = False): 12247 '''void QGraphicsView.setTransform(QTransform matrix, bool combine = False)''' 12248 def viewportTransform(self): 12249 '''QTransform QGraphicsView.viewportTransform()''' 12250 return QTransform() 12251 def transform(self): 12252 '''QTransform QGraphicsView.transform()''' 12253 return QTransform() 12254 def setRubberBandSelectionMode(self, mode): 12255 '''void QGraphicsView.setRubberBandSelectionMode(Qt.ItemSelectionMode mode)''' 12256 def rubberBandSelectionMode(self): 12257 '''Qt.ItemSelectionMode QGraphicsView.rubberBandSelectionMode()''' 12258 return Qt.ItemSelectionMode() 12259 def setOptimizationFlags(self, flags): 12260 '''void QGraphicsView.setOptimizationFlags(QGraphicsView.OptimizationFlags flags)''' 12261 def setOptimizationFlag(self, flag, enabled = True): 12262 '''void QGraphicsView.setOptimizationFlag(QGraphicsView.OptimizationFlag flag, bool enabled = True)''' 12263 def optimizationFlags(self): 12264 '''QGraphicsView.OptimizationFlags QGraphicsView.optimizationFlags()''' 12265 return QGraphicsView.OptimizationFlags() 12266 def setViewportUpdateMode(self, mode): 12267 '''void QGraphicsView.setViewportUpdateMode(QGraphicsView.ViewportUpdateMode mode)''' 12268 def viewportUpdateMode(self): 12269 '''QGraphicsView.ViewportUpdateMode QGraphicsView.viewportUpdateMode()''' 12270 return QGraphicsView.ViewportUpdateMode() 12271 def drawItems(self, painter, items, options): 12272 '''void QGraphicsView.drawItems(QPainter painter, list-of-QGraphicsItem items, list-of-QStyleOptionGraphicsItem options)''' 12273 def drawForeground(self, painter, rect): 12274 '''void QGraphicsView.drawForeground(QPainter painter, QRectF rect)''' 12275 def drawBackground(self, painter, rect): 12276 '''void QGraphicsView.drawBackground(QPainter painter, QRectF rect)''' 12277 def inputMethodEvent(self, event): 12278 '''void QGraphicsView.inputMethodEvent(QInputMethodEvent event)''' 12279 def showEvent(self, event): 12280 '''void QGraphicsView.showEvent(QShowEvent event)''' 12281 def scrollContentsBy(self, dx, dy): 12282 '''void QGraphicsView.scrollContentsBy(int dx, int dy)''' 12283 def resizeEvent(self, event): 12284 '''void QGraphicsView.resizeEvent(QResizeEvent event)''' 12285 def paintEvent(self, event): 12286 '''void QGraphicsView.paintEvent(QPaintEvent event)''' 12287 def wheelEvent(self, event): 12288 '''void QGraphicsView.wheelEvent(QWheelEvent event)''' 12289 def mouseReleaseEvent(self, event): 12290 '''void QGraphicsView.mouseReleaseEvent(QMouseEvent event)''' 12291 def mouseMoveEvent(self, event): 12292 '''void QGraphicsView.mouseMoveEvent(QMouseEvent event)''' 12293 def mousePressEvent(self, event): 12294 '''void QGraphicsView.mousePressEvent(QMouseEvent event)''' 12295 def mouseDoubleClickEvent(self, event): 12296 '''void QGraphicsView.mouseDoubleClickEvent(QMouseEvent event)''' 12297 def keyReleaseEvent(self, event): 12298 '''void QGraphicsView.keyReleaseEvent(QKeyEvent event)''' 12299 def keyPressEvent(self, event): 12300 '''void QGraphicsView.keyPressEvent(QKeyEvent event)''' 12301 def focusNextPrevChild(self, next): 12302 '''bool QGraphicsView.focusNextPrevChild(bool next)''' 12303 return bool() 12304 def focusOutEvent(self, event): 12305 '''void QGraphicsView.focusOutEvent(QFocusEvent event)''' 12306 def focusInEvent(self, event): 12307 '''void QGraphicsView.focusInEvent(QFocusEvent event)''' 12308 def dropEvent(self, event): 12309 '''void QGraphicsView.dropEvent(QDropEvent event)''' 12310 def dragMoveEvent(self, event): 12311 '''void QGraphicsView.dragMoveEvent(QDragMoveEvent event)''' 12312 def dragLeaveEvent(self, event): 12313 '''void QGraphicsView.dragLeaveEvent(QDragLeaveEvent event)''' 12314 def dragEnterEvent(self, event): 12315 '''void QGraphicsView.dragEnterEvent(QDragEnterEvent event)''' 12316 def contextMenuEvent(self, event): 12317 '''void QGraphicsView.contextMenuEvent(QContextMenuEvent event)''' 12318 def viewportEvent(self, event): 12319 '''bool QGraphicsView.viewportEvent(QEvent event)''' 12320 return bool() 12321 def event(self, event): 12322 '''bool QGraphicsView.event(QEvent event)''' 12323 return bool() 12324 def setupViewport(self, widget): 12325 '''void QGraphicsView.setupViewport(QWidget widget)''' 12326 def updateSceneRect(self, rect): 12327 '''void QGraphicsView.updateSceneRect(QRectF rect)''' 12328 def updateScene(self, rects): 12329 '''void QGraphicsView.updateScene(list-of-QRectF rects)''' 12330 def invalidateScene(self, rect = QRectF(), layers = None): 12331 '''void QGraphicsView.invalidateScene(QRectF rect = QRectF(), QGraphicsScene.SceneLayers layers = QGraphicsScene.AllLayers)''' 12332 def setForegroundBrush(self, brush): 12333 '''void QGraphicsView.setForegroundBrush(QBrush brush)''' 12334 def foregroundBrush(self): 12335 '''QBrush QGraphicsView.foregroundBrush()''' 12336 return QBrush() 12337 def setBackgroundBrush(self, brush): 12338 '''void QGraphicsView.setBackgroundBrush(QBrush brush)''' 12339 def backgroundBrush(self): 12340 '''QBrush QGraphicsView.backgroundBrush()''' 12341 return QBrush() 12342 def inputMethodQuery(self, query): 12343 '''QVariant QGraphicsView.inputMethodQuery(Qt.InputMethodQuery query)''' 12344 return QVariant() 12345 def mapFromScene(self, point): 12346 '''QPoint QGraphicsView.mapFromScene(QPointF point)''' 12347 return QPoint() 12348 def mapFromScene(self, rect): 12349 '''QPolygon QGraphicsView.mapFromScene(QRectF rect)''' 12350 return QPolygon() 12351 def mapFromScene(self, polygon): 12352 '''QPolygon QGraphicsView.mapFromScene(QPolygonF polygon)''' 12353 return QPolygon() 12354 def mapFromScene(self, path): 12355 '''QPainterPath QGraphicsView.mapFromScene(QPainterPath path)''' 12356 return QPainterPath() 12357 def mapFromScene(self, ax, ay): 12358 '''QPoint QGraphicsView.mapFromScene(float ax, float ay)''' 12359 return QPoint() 12360 def mapFromScene(self, ax, ay, w, h): 12361 '''QPolygon QGraphicsView.mapFromScene(float ax, float ay, float w, float h)''' 12362 return QPolygon() 12363 def mapToScene(self, point): 12364 '''QPointF QGraphicsView.mapToScene(QPoint point)''' 12365 return QPointF() 12366 def mapToScene(self, rect): 12367 '''QPolygonF QGraphicsView.mapToScene(QRect rect)''' 12368 return QPolygonF() 12369 def mapToScene(self, polygon): 12370 '''QPolygonF QGraphicsView.mapToScene(QPolygon polygon)''' 12371 return QPolygonF() 12372 def mapToScene(self, path): 12373 '''QPainterPath QGraphicsView.mapToScene(QPainterPath path)''' 12374 return QPainterPath() 12375 def mapToScene(self, ax, ay): 12376 '''QPointF QGraphicsView.mapToScene(int ax, int ay)''' 12377 return QPointF() 12378 def mapToScene(self, ax, ay, w, h): 12379 '''QPolygonF QGraphicsView.mapToScene(int ax, int ay, int w, int h)''' 12380 return QPolygonF() 12381 def itemAt(self, pos): 12382 '''QGraphicsItem QGraphicsView.itemAt(QPoint pos)''' 12383 return QGraphicsItem() 12384 def itemAt(self, ax, ay): 12385 '''QGraphicsItem QGraphicsView.itemAt(int ax, int ay)''' 12386 return QGraphicsItem() 12387 def items(self): 12388 '''list-of-QGraphicsItem QGraphicsView.items()''' 12389 return [QGraphicsItem()] 12390 def items(self, pos): 12391 '''list-of-QGraphicsItem QGraphicsView.items(QPoint pos)''' 12392 return [QGraphicsItem()] 12393 def items(self, ax, ay): 12394 '''list-of-QGraphicsItem QGraphicsView.items(int ax, int ay)''' 12395 return [QGraphicsItem()] 12396 def items(self, x, y, w, h, mode = None): 12397 '''list-of-QGraphicsItem QGraphicsView.items(int x, int y, int w, int h, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 12398 return [QGraphicsItem()] 12399 def items(self, rect, mode = None): 12400 '''list-of-QGraphicsItem QGraphicsView.items(QRect rect, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 12401 return [QGraphicsItem()] 12402 def items(self, polygon, mode = None): 12403 '''list-of-QGraphicsItem QGraphicsView.items(QPolygon polygon, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 12404 return [QGraphicsItem()] 12405 def items(self, path, mode = None): 12406 '''list-of-QGraphicsItem QGraphicsView.items(QPainterPath path, Qt.ItemSelectionMode mode = Qt.IntersectsItemShape)''' 12407 return [QGraphicsItem()] 12408 def render(self, painter, target = QRectF(), source = QRect(), mode = None): 12409 '''void QGraphicsView.render(QPainter painter, QRectF target = QRectF(), QRect source = QRect(), Qt.AspectRatioMode mode = Qt.KeepAspectRatio)''' 12410 def fitInView(self, rect, mode = None): 12411 '''void QGraphicsView.fitInView(QRectF rect, Qt.AspectRatioMode mode = Qt.IgnoreAspectRatio)''' 12412 def fitInView(self, item, mode = None): 12413 '''void QGraphicsView.fitInView(QGraphicsItem item, Qt.AspectRatioMode mode = Qt.IgnoreAspectRatio)''' 12414 def fitInView(self, x, y, w, h, mode = None): 12415 '''void QGraphicsView.fitInView(float x, float y, float w, float h, Qt.AspectRatioMode mode = Qt.IgnoreAspectRatio)''' 12416 def ensureVisible(self, rect, xMargin = 50, yMargin = 50): 12417 '''void QGraphicsView.ensureVisible(QRectF rect, int xMargin = 50, int yMargin = 50)''' 12418 def ensureVisible(self, item, xMargin = 50, yMargin = 50): 12419 '''void QGraphicsView.ensureVisible(QGraphicsItem item, int xMargin = 50, int yMargin = 50)''' 12420 def ensureVisible(self, x, y, w, h, xMargin = 50, yMargin = 50): 12421 '''void QGraphicsView.ensureVisible(float x, float y, float w, float h, int xMargin = 50, int yMargin = 50)''' 12422 def centerOn(self, pos): 12423 '''void QGraphicsView.centerOn(QPointF pos)''' 12424 def centerOn(self, item): 12425 '''void QGraphicsView.centerOn(QGraphicsItem item)''' 12426 def centerOn(self, ax, ay): 12427 '''void QGraphicsView.centerOn(float ax, float ay)''' 12428 def translate(self, dx, dy): 12429 '''void QGraphicsView.translate(float dx, float dy)''' 12430 def shear(self, sh, sv): 12431 '''void QGraphicsView.shear(float sh, float sv)''' 12432 def scale(self, sx, sy): 12433 '''void QGraphicsView.scale(float sx, float sy)''' 12434 def rotate(self, angle): 12435 '''void QGraphicsView.rotate(float angle)''' 12436 def resetMatrix(self): 12437 '''void QGraphicsView.resetMatrix()''' 12438 def setMatrix(self, matrix, combine = False): 12439 '''void QGraphicsView.setMatrix(QMatrix matrix, bool combine = False)''' 12440 def matrix(self): 12441 '''QMatrix QGraphicsView.matrix()''' 12442 return QMatrix() 12443 def setSceneRect(self, rect): 12444 '''void QGraphicsView.setSceneRect(QRectF rect)''' 12445 def setSceneRect(self, ax, ay, aw, ah): 12446 '''void QGraphicsView.setSceneRect(float ax, float ay, float aw, float ah)''' 12447 def sceneRect(self): 12448 '''QRectF QGraphicsView.sceneRect()''' 12449 return QRectF() 12450 def setScene(self, scene): 12451 '''void QGraphicsView.setScene(QGraphicsScene scene)''' 12452 def scene(self): 12453 '''QGraphicsScene QGraphicsView.scene()''' 12454 return QGraphicsScene() 12455 def setInteractive(self, allowed): 12456 '''void QGraphicsView.setInteractive(bool allowed)''' 12457 def isInteractive(self): 12458 '''bool QGraphicsView.isInteractive()''' 12459 return bool() 12460 def resetCachedContent(self): 12461 '''void QGraphicsView.resetCachedContent()''' 12462 def setCacheMode(self, mode): 12463 '''void QGraphicsView.setCacheMode(QGraphicsView.CacheMode mode)''' 12464 def cacheMode(self): 12465 '''QGraphicsView.CacheMode QGraphicsView.cacheMode()''' 12466 return QGraphicsView.CacheMode() 12467 def setDragMode(self, mode): 12468 '''void QGraphicsView.setDragMode(QGraphicsView.DragMode mode)''' 12469 def dragMode(self): 12470 '''QGraphicsView.DragMode QGraphicsView.dragMode()''' 12471 return QGraphicsView.DragMode() 12472 def setResizeAnchor(self, anchor): 12473 '''void QGraphicsView.setResizeAnchor(QGraphicsView.ViewportAnchor anchor)''' 12474 def resizeAnchor(self): 12475 '''QGraphicsView.ViewportAnchor QGraphicsView.resizeAnchor()''' 12476 return QGraphicsView.ViewportAnchor() 12477 def setTransformationAnchor(self, anchor): 12478 '''void QGraphicsView.setTransformationAnchor(QGraphicsView.ViewportAnchor anchor)''' 12479 def transformationAnchor(self): 12480 '''QGraphicsView.ViewportAnchor QGraphicsView.transformationAnchor()''' 12481 return QGraphicsView.ViewportAnchor() 12482 def setAlignment(self, alignment): 12483 '''void QGraphicsView.setAlignment(Qt.Alignment alignment)''' 12484 def alignment(self): 12485 '''Qt.Alignment QGraphicsView.alignment()''' 12486 return Qt.Alignment() 12487 def setRenderHints(self, hints): 12488 '''void QGraphicsView.setRenderHints(QPainter.RenderHints hints)''' 12489 def setRenderHint(self, hint, on = True): 12490 '''void QGraphicsView.setRenderHint(QPainter.RenderHint hint, bool on = True)''' 12491 def renderHints(self): 12492 '''QPainter.RenderHints QGraphicsView.renderHints()''' 12493 return QPainter.RenderHints() 12494 def sizeHint(self): 12495 '''QSize QGraphicsView.sizeHint()''' 12496 return QSize() 12497 class CacheMode(): 12498 """""" 12499 def __init__(self): 12500 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__init__()''' 12501 return QGraphicsView.CacheMode() 12502 def __init__(self): 12503 '''int QGraphicsView.CacheMode.__init__()''' 12504 return int() 12505 def __init__(self): 12506 '''void QGraphicsView.CacheMode.__init__()''' 12507 def __bool__(self): 12508 '''int QGraphicsView.CacheMode.__bool__()''' 12509 return int() 12510 def __ne__(self, f): 12511 '''bool QGraphicsView.CacheMode.__ne__(QGraphicsView.CacheMode f)''' 12512 return bool() 12513 def __eq__(self, f): 12514 '''bool QGraphicsView.CacheMode.__eq__(QGraphicsView.CacheMode f)''' 12515 return bool() 12516 def __invert__(self): 12517 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__invert__()''' 12518 return QGraphicsView.CacheMode() 12519 def __and__(self, mask): 12520 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__and__(int mask)''' 12521 return QGraphicsView.CacheMode() 12522 def __xor__(self, f): 12523 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__xor__(QGraphicsView.CacheMode f)''' 12524 return QGraphicsView.CacheMode() 12525 def __xor__(self, f): 12526 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__xor__(int f)''' 12527 return QGraphicsView.CacheMode() 12528 def __or__(self, f): 12529 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__or__(QGraphicsView.CacheMode f)''' 12530 return QGraphicsView.CacheMode() 12531 def __or__(self, f): 12532 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__or__(int f)''' 12533 return QGraphicsView.CacheMode() 12534 def __int__(self): 12535 '''int QGraphicsView.CacheMode.__int__()''' 12536 return int() 12537 def __ixor__(self, f): 12538 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__ixor__(QGraphicsView.CacheMode f)''' 12539 return QGraphicsView.CacheMode() 12540 def __ior__(self, f): 12541 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__ior__(QGraphicsView.CacheMode f)''' 12542 return QGraphicsView.CacheMode() 12543 def __iand__(self, mask): 12544 '''QGraphicsView.CacheMode QGraphicsView.CacheMode.__iand__(int mask)''' 12545 return QGraphicsView.CacheMode() 12546 class OptimizationFlags(): 12547 """""" 12548 def __init__(self): 12549 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__init__()''' 12550 return QGraphicsView.OptimizationFlags() 12551 def __init__(self): 12552 '''int QGraphicsView.OptimizationFlags.__init__()''' 12553 return int() 12554 def __init__(self): 12555 '''void QGraphicsView.OptimizationFlags.__init__()''' 12556 def __bool__(self): 12557 '''int QGraphicsView.OptimizationFlags.__bool__()''' 12558 return int() 12559 def __ne__(self, f): 12560 '''bool QGraphicsView.OptimizationFlags.__ne__(QGraphicsView.OptimizationFlags f)''' 12561 return bool() 12562 def __eq__(self, f): 12563 '''bool QGraphicsView.OptimizationFlags.__eq__(QGraphicsView.OptimizationFlags f)''' 12564 return bool() 12565 def __invert__(self): 12566 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__invert__()''' 12567 return QGraphicsView.OptimizationFlags() 12568 def __and__(self, mask): 12569 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__and__(int mask)''' 12570 return QGraphicsView.OptimizationFlags() 12571 def __xor__(self, f): 12572 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__xor__(QGraphicsView.OptimizationFlags f)''' 12573 return QGraphicsView.OptimizationFlags() 12574 def __xor__(self, f): 12575 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__xor__(int f)''' 12576 return QGraphicsView.OptimizationFlags() 12577 def __or__(self, f): 12578 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__or__(QGraphicsView.OptimizationFlags f)''' 12579 return QGraphicsView.OptimizationFlags() 12580 def __or__(self, f): 12581 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__or__(int f)''' 12582 return QGraphicsView.OptimizationFlags() 12583 def __int__(self): 12584 '''int QGraphicsView.OptimizationFlags.__int__()''' 12585 return int() 12586 def __ixor__(self, f): 12587 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__ixor__(QGraphicsView.OptimizationFlags f)''' 12588 return QGraphicsView.OptimizationFlags() 12589 def __ior__(self, f): 12590 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__ior__(QGraphicsView.OptimizationFlags f)''' 12591 return QGraphicsView.OptimizationFlags() 12592 def __iand__(self, mask): 12593 '''QGraphicsView.OptimizationFlags QGraphicsView.OptimizationFlags.__iand__(int mask)''' 12594 return QGraphicsView.OptimizationFlags() 12595 12596 12597 class QGridLayout(QLayout): 12598 """""" 12599 def __init__(self, parent): 12600 '''void QGridLayout.__init__(QWidget parent)''' 12601 def __init__(self): 12602 '''void QGridLayout.__init__()''' 12603 def itemAtPosition(self, row, column): 12604 '''QLayoutItem QGridLayout.itemAtPosition(int row, int column)''' 12605 return QLayoutItem() 12606 def spacing(self): 12607 '''int QGridLayout.spacing()''' 12608 return int() 12609 def setSpacing(self, spacing): 12610 '''void QGridLayout.setSpacing(int spacing)''' 12611 def verticalSpacing(self): 12612 '''int QGridLayout.verticalSpacing()''' 12613 return int() 12614 def setVerticalSpacing(self, spacing): 12615 '''void QGridLayout.setVerticalSpacing(int spacing)''' 12616 def horizontalSpacing(self): 12617 '''int QGridLayout.horizontalSpacing()''' 12618 return int() 12619 def setHorizontalSpacing(self, spacing): 12620 '''void QGridLayout.setHorizontalSpacing(int spacing)''' 12621 def getItemPosition(self, idx, row, column, rowSpan, columnSpan): 12622 '''void QGridLayout.getItemPosition(int idx, int row, int column, int rowSpan, int columnSpan)''' 12623 def setDefaultPositioning(self, n, orient): 12624 '''void QGridLayout.setDefaultPositioning(int n, Qt.Orientation orient)''' 12625 def addItem(self, item, row, column, rowSpan = 1, columnSpan = 1, alignment = 0): 12626 '''void QGridLayout.addItem(QLayoutItem item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt.Alignment alignment = 0)''' 12627 def addItem(self): 12628 '''QLayoutItem QGridLayout.addItem()''' 12629 return QLayoutItem() 12630 def setGeometry(self): 12631 '''QRect QGridLayout.setGeometry()''' 12632 return QRect() 12633 def count(self): 12634 '''int QGridLayout.count()''' 12635 return int() 12636 def takeAt(self): 12637 '''int QGridLayout.takeAt()''' 12638 return int() 12639 def itemAt(self): 12640 '''int QGridLayout.itemAt()''' 12641 return int() 12642 def originCorner(self): 12643 '''Qt.Corner QGridLayout.originCorner()''' 12644 return Qt.Corner() 12645 def setOriginCorner(self): 12646 '''Qt.Corner QGridLayout.setOriginCorner()''' 12647 return Qt.Corner() 12648 def addLayout(self, row, column, alignment = 0): 12649 '''QLayout QGridLayout.addLayout(int row, int column, Qt.Alignment alignment = 0)''' 12650 return QLayout() 12651 def addLayout(self, row, column, rowSpan, columnSpan, alignment = 0): 12652 '''QLayout QGridLayout.addLayout(int row, int column, int rowSpan, int columnSpan, Qt.Alignment alignment = 0)''' 12653 return QLayout() 12654 def addWidget(self, w): 12655 '''void QGridLayout.addWidget(QWidget w)''' 12656 def addWidget(self, row, column, alignment = 0): 12657 '''QWidget QGridLayout.addWidget(int row, int column, Qt.Alignment alignment = 0)''' 12658 return QWidget() 12659 def addWidget(self, row, column, rowSpan, columnSpan, alignment = 0): 12660 '''QWidget QGridLayout.addWidget(int row, int column, int rowSpan, int columnSpan, Qt.Alignment alignment = 0)''' 12661 return QWidget() 12662 def invalidate(self): 12663 '''void QGridLayout.invalidate()''' 12664 def expandingDirections(self): 12665 '''Qt.Orientations QGridLayout.expandingDirections()''' 12666 return Qt.Orientations() 12667 def minimumHeightForWidth(self): 12668 '''int QGridLayout.minimumHeightForWidth()''' 12669 return int() 12670 def heightForWidth(self): 12671 '''int QGridLayout.heightForWidth()''' 12672 return int() 12673 def hasHeightForWidth(self): 12674 '''bool QGridLayout.hasHeightForWidth()''' 12675 return bool() 12676 def cellRect(self, row, column): 12677 '''QRect QGridLayout.cellRect(int row, int column)''' 12678 return QRect() 12679 def rowCount(self): 12680 '''int QGridLayout.rowCount()''' 12681 return int() 12682 def columnCount(self): 12683 '''int QGridLayout.columnCount()''' 12684 return int() 12685 def columnMinimumWidth(self, column): 12686 '''int QGridLayout.columnMinimumWidth(int column)''' 12687 return int() 12688 def rowMinimumHeight(self, row): 12689 '''int QGridLayout.rowMinimumHeight(int row)''' 12690 return int() 12691 def setColumnMinimumWidth(self, column, minSize): 12692 '''void QGridLayout.setColumnMinimumWidth(int column, int minSize)''' 12693 def setRowMinimumHeight(self, row, minSize): 12694 '''void QGridLayout.setRowMinimumHeight(int row, int minSize)''' 12695 def columnStretch(self, column): 12696 '''int QGridLayout.columnStretch(int column)''' 12697 return int() 12698 def rowStretch(self, row): 12699 '''int QGridLayout.rowStretch(int row)''' 12700 return int() 12701 def setColumnStretch(self, column, stretch): 12702 '''void QGridLayout.setColumnStretch(int column, int stretch)''' 12703 def setRowStretch(self, row, stretch): 12704 '''void QGridLayout.setRowStretch(int row, int stretch)''' 12705 def maximumSize(self): 12706 '''QSize QGridLayout.maximumSize()''' 12707 return QSize() 12708 def minimumSize(self): 12709 '''QSize QGridLayout.minimumSize()''' 12710 return QSize() 12711 def sizeHint(self): 12712 '''QSize QGridLayout.sizeHint()''' 12713 return QSize() 12714 12715 12716 class QGroupBox(QWidget): 12717 """""" 12718 def __init__(self, parent = None): 12719 '''void QGroupBox.__init__(QWidget parent = None)''' 12720 def __init__(self, title, parent = None): 12721 '''void QGroupBox.__init__(QString title, QWidget parent = None)''' 12722 def mouseReleaseEvent(self, event): 12723 '''void QGroupBox.mouseReleaseEvent(QMouseEvent event)''' 12724 def mouseMoveEvent(self, event): 12725 '''void QGroupBox.mouseMoveEvent(QMouseEvent event)''' 12726 def mousePressEvent(self, event): 12727 '''void QGroupBox.mousePressEvent(QMouseEvent event)''' 12728 def changeEvent(self): 12729 '''QEvent QGroupBox.changeEvent()''' 12730 return QEvent() 12731 def focusInEvent(self): 12732 '''QFocusEvent QGroupBox.focusInEvent()''' 12733 return QFocusEvent() 12734 def paintEvent(self): 12735 '''QPaintEvent QGroupBox.paintEvent()''' 12736 return QPaintEvent() 12737 def resizeEvent(self): 12738 '''QResizeEvent QGroupBox.resizeEvent()''' 12739 return QResizeEvent() 12740 def childEvent(self): 12741 '''QChildEvent QGroupBox.childEvent()''' 12742 return QChildEvent() 12743 def event(self): 12744 '''QEvent QGroupBox.event()''' 12745 return QEvent() 12746 def initStyleOption(self, option): 12747 '''void QGroupBox.initStyleOption(QStyleOptionGroupBox option)''' 12748 toggled = pyqtSignal() # void toggled(bool) - signal 12749 clicked = pyqtSignal() # void clicked(bool = 0) - signal 12750 def setChecked(self, b): 12751 '''void QGroupBox.setChecked(bool b)''' 12752 def isChecked(self): 12753 '''bool QGroupBox.isChecked()''' 12754 return bool() 12755 def setCheckable(self, b): 12756 '''void QGroupBox.setCheckable(bool b)''' 12757 def isCheckable(self): 12758 '''bool QGroupBox.isCheckable()''' 12759 return bool() 12760 def setFlat(self, b): 12761 '''void QGroupBox.setFlat(bool b)''' 12762 def isFlat(self): 12763 '''bool QGroupBox.isFlat()''' 12764 return bool() 12765 def minimumSizeHint(self): 12766 '''QSize QGroupBox.minimumSizeHint()''' 12767 return QSize() 12768 def setAlignment(self): 12769 '''int QGroupBox.setAlignment()''' 12770 return int() 12771 def alignment(self): 12772 '''Qt.Alignment QGroupBox.alignment()''' 12773 return Qt.Alignment() 12774 def setTitle(self): 12775 '''QString QGroupBox.setTitle()''' 12776 return QString() 12777 def title(self): 12778 '''QString QGroupBox.title()''' 12779 return QString() 12780 12781 12782 class QHeaderView(QAbstractItemView): 12783 """""" 12784 # Enum QHeaderView.ResizeMode 12785 Interactive = 0 12786 Fixed = 0 12787 Stretch = 0 12788 ResizeToContents = 0 12789 Custom = 0 12790 12791 def __init__(self, orientation, parent = None): 12792 '''void QHeaderView.__init__(Qt.Orientation orientation, QWidget parent = None)''' 12793 def initStyleOption(self, option): 12794 '''void QHeaderView.initStyleOption(QStyleOptionHeader option)''' 12795 sortIndicatorChanged = pyqtSignal() # void sortIndicatorChanged(int,Qt::SortOrder) - signal 12796 sectionEntered = pyqtSignal() # void sectionEntered(int) - signal 12797 def setOffsetToLastSection(self): 12798 '''void QHeaderView.setOffsetToLastSection()''' 12799 def reset(self): 12800 '''void QHeaderView.reset()''' 12801 def restoreState(self, state): 12802 '''bool QHeaderView.restoreState(QByteArray state)''' 12803 return bool() 12804 def saveState(self): 12805 '''QByteArray QHeaderView.saveState()''' 12806 return QByteArray() 12807 def setMinimumSectionSize(self, size): 12808 '''void QHeaderView.setMinimumSectionSize(int size)''' 12809 def minimumSectionSize(self): 12810 '''int QHeaderView.minimumSectionSize()''' 12811 return int() 12812 def setCascadingSectionResizes(self, enable): 12813 '''void QHeaderView.setCascadingSectionResizes(bool enable)''' 12814 def cascadingSectionResizes(self): 12815 '''bool QHeaderView.cascadingSectionResizes()''' 12816 return bool() 12817 def swapSections(self, first, second): 12818 '''void QHeaderView.swapSections(int first, int second)''' 12819 def sectionsHidden(self): 12820 '''bool QHeaderView.sectionsHidden()''' 12821 return bool() 12822 def setDefaultAlignment(self, alignment): 12823 '''void QHeaderView.setDefaultAlignment(Qt.Alignment alignment)''' 12824 def defaultAlignment(self): 12825 '''Qt.Alignment QHeaderView.defaultAlignment()''' 12826 return Qt.Alignment() 12827 def setDefaultSectionSize(self, size): 12828 '''void QHeaderView.setDefaultSectionSize(int size)''' 12829 def defaultSectionSize(self): 12830 '''int QHeaderView.defaultSectionSize()''' 12831 return int() 12832 def hiddenSectionCount(self): 12833 '''int QHeaderView.hiddenSectionCount()''' 12834 return int() 12835 def showSection(self, alogicalIndex): 12836 '''void QHeaderView.showSection(int alogicalIndex)''' 12837 def hideSection(self, alogicalIndex): 12838 '''void QHeaderView.hideSection(int alogicalIndex)''' 12839 def visualRegionForSelection(self, selection): 12840 '''QRegion QHeaderView.visualRegionForSelection(QItemSelection selection)''' 12841 return QRegion() 12842 def setSelection(self): 12843 '''QItemSelectionModel.SelectionFlags QHeaderView.setSelection()''' 12844 return QItemSelectionModel.SelectionFlags() 12845 def moveCursor(self): 12846 '''Qt.KeyboardModifiers QHeaderView.moveCursor()''' 12847 return Qt.KeyboardModifiers() 12848 def isIndexHidden(self, index): 12849 '''bool QHeaderView.isIndexHidden(QModelIndex index)''' 12850 return bool() 12851 def indexAt(self, p): 12852 '''QModelIndex QHeaderView.indexAt(QPoint p)''' 12853 return QModelIndex() 12854 def scrollTo(self, index, hint): 12855 '''void QHeaderView.scrollTo(QModelIndex index, QAbstractItemView.ScrollHint hint)''' 12856 def visualRect(self, index): 12857 '''QRect QHeaderView.visualRect(QModelIndex index)''' 12858 return QRect() 12859 def rowsInserted(self, parent, start, end): 12860 '''void QHeaderView.rowsInserted(QModelIndex parent, int start, int end)''' 12861 def dataChanged(self, topLeft, bottomRight): 12862 '''void QHeaderView.dataChanged(QModelIndex topLeft, QModelIndex bottomRight)''' 12863 def scrollContentsBy(self, dx, dy): 12864 '''void QHeaderView.scrollContentsBy(int dx, int dy)''' 12865 def updateGeometries(self): 12866 '''void QHeaderView.updateGeometries()''' 12867 def verticalOffset(self): 12868 '''int QHeaderView.verticalOffset()''' 12869 return int() 12870 def horizontalOffset(self): 12871 '''int QHeaderView.horizontalOffset()''' 12872 return int() 12873 def sectionSizeFromContents(self, logicalIndex): 12874 '''QSize QHeaderView.sectionSizeFromContents(int logicalIndex)''' 12875 return QSize() 12876 def paintSection(self, painter, rect, logicalIndex): 12877 '''void QHeaderView.paintSection(QPainter painter, QRect rect, int logicalIndex)''' 12878 def mouseDoubleClickEvent(self, e): 12879 '''void QHeaderView.mouseDoubleClickEvent(QMouseEvent e)''' 12880 def mouseReleaseEvent(self, e): 12881 '''void QHeaderView.mouseReleaseEvent(QMouseEvent e)''' 12882 def mouseMoveEvent(self, e): 12883 '''void QHeaderView.mouseMoveEvent(QMouseEvent e)''' 12884 def mousePressEvent(self, e): 12885 '''void QHeaderView.mousePressEvent(QMouseEvent e)''' 12886 def paintEvent(self, e): 12887 '''void QHeaderView.paintEvent(QPaintEvent e)''' 12888 def viewportEvent(self, e): 12889 '''bool QHeaderView.viewportEvent(QEvent e)''' 12890 return bool() 12891 def event(self, e): 12892 '''bool QHeaderView.event(QEvent e)''' 12893 return bool() 12894 def currentChanged(self, current, old): 12895 '''void QHeaderView.currentChanged(QModelIndex current, QModelIndex old)''' 12896 def initializeSections(self): 12897 '''void QHeaderView.initializeSections()''' 12898 def initializeSections(self, start, end): 12899 '''void QHeaderView.initializeSections(int start, int end)''' 12900 def initialize(self): 12901 '''void QHeaderView.initialize()''' 12902 def sectionsAboutToBeRemoved(self, parent, logicalFirst, logicalLast): 12903 '''void QHeaderView.sectionsAboutToBeRemoved(QModelIndex parent, int logicalFirst, int logicalLast)''' 12904 def sectionsInserted(self, parent, logicalFirst, logicalLast): 12905 '''void QHeaderView.sectionsInserted(QModelIndex parent, int logicalFirst, int logicalLast)''' 12906 def resizeSections(self): 12907 '''void QHeaderView.resizeSections()''' 12908 def resizeSections(self, mode): 12909 '''void QHeaderView.resizeSections(QHeaderView.ResizeMode mode)''' 12910 def updateSection(self, logicalIndex): 12911 '''void QHeaderView.updateSection(int logicalIndex)''' 12912 sectionAutoResize = pyqtSignal() # void sectionAutoResize(int,QHeaderView::ResizeMode) - signal 12913 sectionHandleDoubleClicked = pyqtSignal() # void sectionHandleDoubleClicked(int) - signal 12914 sectionCountChanged = pyqtSignal() # void sectionCountChanged(int,int) - signal 12915 sectionDoubleClicked = pyqtSignal() # void sectionDoubleClicked(int) - signal 12916 sectionClicked = pyqtSignal() # void sectionClicked(int) - signal 12917 sectionPressed = pyqtSignal() # void sectionPressed(int) - signal 12918 sectionResized = pyqtSignal() # void sectionResized(int,int,int) - signal 12919 sectionMoved = pyqtSignal() # void sectionMoved(int,int,int) - signal 12920 geometriesChanged = pyqtSignal() # void geometriesChanged() - signal 12921 def setOffsetToSectionPosition(self, visualIndex): 12922 '''void QHeaderView.setOffsetToSectionPosition(int visualIndex)''' 12923 def headerDataChanged(self, orientation, logicalFirst, logicalLast): 12924 '''void QHeaderView.headerDataChanged(Qt.Orientation orientation, int logicalFirst, int logicalLast)''' 12925 def setOffset(self, offset): 12926 '''void QHeaderView.setOffset(int offset)''' 12927 def sectionsMoved(self): 12928 '''bool QHeaderView.sectionsMoved()''' 12929 return bool() 12930 def setStretchLastSection(self, stretch): 12931 '''void QHeaderView.setStretchLastSection(bool stretch)''' 12932 def stretchLastSection(self): 12933 '''bool QHeaderView.stretchLastSection()''' 12934 return bool() 12935 def sortIndicatorOrder(self): 12936 '''Qt.SortOrder QHeaderView.sortIndicatorOrder()''' 12937 return Qt.SortOrder() 12938 def sortIndicatorSection(self): 12939 '''int QHeaderView.sortIndicatorSection()''' 12940 return int() 12941 def setSortIndicator(self, logicalIndex, order): 12942 '''void QHeaderView.setSortIndicator(int logicalIndex, Qt.SortOrder order)''' 12943 def isSortIndicatorShown(self): 12944 '''bool QHeaderView.isSortIndicatorShown()''' 12945 return bool() 12946 def setSortIndicatorShown(self, show): 12947 '''void QHeaderView.setSortIndicatorShown(bool show)''' 12948 def stretchSectionCount(self): 12949 '''int QHeaderView.stretchSectionCount()''' 12950 return int() 12951 def resizeMode(self, logicalIndex): 12952 '''QHeaderView.ResizeMode QHeaderView.resizeMode(int logicalIndex)''' 12953 return QHeaderView.ResizeMode() 12954 def setResizeMode(self, mode): 12955 '''void QHeaderView.setResizeMode(QHeaderView.ResizeMode mode)''' 12956 def setResizeMode(self, logicalIndex, mode): 12957 '''void QHeaderView.setResizeMode(int logicalIndex, QHeaderView.ResizeMode mode)''' 12958 def highlightSections(self): 12959 '''bool QHeaderView.highlightSections()''' 12960 return bool() 12961 def setHighlightSections(self, highlight): 12962 '''void QHeaderView.setHighlightSections(bool highlight)''' 12963 def isClickable(self): 12964 '''bool QHeaderView.isClickable()''' 12965 return bool() 12966 def setClickable(self, clickable): 12967 '''void QHeaderView.setClickable(bool clickable)''' 12968 def isMovable(self): 12969 '''bool QHeaderView.isMovable()''' 12970 return bool() 12971 def setMovable(self, movable): 12972 '''void QHeaderView.setMovable(bool movable)''' 12973 def logicalIndex(self, visualIndex): 12974 '''int QHeaderView.logicalIndex(int visualIndex)''' 12975 return int() 12976 def visualIndex(self, logicalIndex): 12977 '''int QHeaderView.visualIndex(int logicalIndex)''' 12978 return int() 12979 def __len__(self): 12980 '''None QHeaderView.__len__()''' 12981 return None() 12982 def count(self): 12983 '''int QHeaderView.count()''' 12984 return int() 12985 def setSectionHidden(self, logicalIndex, hide): 12986 '''void QHeaderView.setSectionHidden(int logicalIndex, bool hide)''' 12987 def isSectionHidden(self, logicalIndex): 12988 '''bool QHeaderView.isSectionHidden(int logicalIndex)''' 12989 return bool() 12990 def resizeSection(self, logicalIndex, size): 12991 '''void QHeaderView.resizeSection(int logicalIndex, int size)''' 12992 def moveSection(self, from_, to): 12993 '''void QHeaderView.moveSection(int from, int to)''' 12994 def sectionViewportPosition(self, logicalIndex): 12995 '''int QHeaderView.sectionViewportPosition(int logicalIndex)''' 12996 return int() 12997 def sectionPosition(self, logicalIndex): 12998 '''int QHeaderView.sectionPosition(int logicalIndex)''' 12999 return int() 13000 def sectionSize(self, logicalIndex): 13001 '''int QHeaderView.sectionSize(int logicalIndex)''' 13002 return int() 13003 def logicalIndexAt(self, position): 13004 '''int QHeaderView.logicalIndexAt(int position)''' 13005 return int() 13006 def logicalIndexAt(self, ax, ay): 13007 '''int QHeaderView.logicalIndexAt(int ax, int ay)''' 13008 return int() 13009 def logicalIndexAt(self, apos): 13010 '''int QHeaderView.logicalIndexAt(QPoint apos)''' 13011 return int() 13012 def visualIndexAt(self, position): 13013 '''int QHeaderView.visualIndexAt(int position)''' 13014 return int() 13015 def sectionSizeHint(self, logicalIndex): 13016 '''int QHeaderView.sectionSizeHint(int logicalIndex)''' 13017 return int() 13018 def sizeHint(self): 13019 '''QSize QHeaderView.sizeHint()''' 13020 return QSize() 13021 def length(self): 13022 '''int QHeaderView.length()''' 13023 return int() 13024 def offset(self): 13025 '''int QHeaderView.offset()''' 13026 return int() 13027 def orientation(self): 13028 '''Qt.Orientation QHeaderView.orientation()''' 13029 return Qt.Orientation() 13030 def setModel(self, model): 13031 '''void QHeaderView.setModel(QAbstractItemModel model)''' 13032 13033 13034 class QIcon(): 13035 """""" 13036 # Enum QIcon.State 13037 On = 0 13038 Off = 0 13039 13040 # Enum QIcon.Mode 13041 Normal = 0 13042 Disabled = 0 13043 Active = 0 13044 Selected = 0 13045 13046 def __init__(self): 13047 '''void QIcon.__init__()''' 13048 def __init__(self, pixmap): 13049 '''void QIcon.__init__(QPixmap pixmap)''' 13050 def __init__(self, other): 13051 '''void QIcon.__init__(QIcon other)''' 13052 def __init__(self, fileName): 13053 '''void QIcon.__init__(QString fileName)''' 13054 def __init__(self, engine): 13055 '''void QIcon.__init__(QIconEngine engine)''' 13056 def __init__(self, engine): 13057 '''void QIcon.__init__(QIconEngineV2 engine)''' 13058 def __init__(self, variant): 13059 '''void QIcon.__init__(QVariant variant)''' 13060 def swap(self, other): 13061 '''void QIcon.swap(QIcon other)''' 13062 def name(self): 13063 '''QString QIcon.name()''' 13064 return QString() 13065 def setThemeName(self, path): 13066 '''static void QIcon.setThemeName(QString path)''' 13067 def themeName(self): 13068 '''static QString QIcon.themeName()''' 13069 return QString() 13070 def setThemeSearchPaths(self, searchpath): 13071 '''static void QIcon.setThemeSearchPaths(QStringList searchpath)''' 13072 def themeSearchPaths(self): 13073 '''static QStringList QIcon.themeSearchPaths()''' 13074 return QStringList() 13075 def hasThemeIcon(self, name): 13076 '''static bool QIcon.hasThemeIcon(QString name)''' 13077 return bool() 13078 def fromTheme(self, name, fallback = QIcon()): 13079 '''static QIcon QIcon.fromTheme(QString name, QIcon fallback = QIcon())''' 13080 return QIcon() 13081 def cacheKey(self): 13082 '''int QIcon.cacheKey()''' 13083 return int() 13084 def addFile(self, fileName, size = QSize(), mode = None, state = None): 13085 '''void QIcon.addFile(QString fileName, QSize size = QSize(), QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 13086 def addPixmap(self, pixmap, mode = None, state = None): 13087 '''void QIcon.addPixmap(QPixmap pixmap, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 13088 def serialNumber(self): 13089 '''int QIcon.serialNumber()''' 13090 return int() 13091 def isDetached(self): 13092 '''bool QIcon.isDetached()''' 13093 return bool() 13094 def isNull(self): 13095 '''bool QIcon.isNull()''' 13096 return bool() 13097 def paint(self, painter, rect, alignment = None, mode = None, state = None): 13098 '''void QIcon.paint(QPainter painter, QRect rect, Qt.Alignment alignment = Qt.AlignCenter, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 13099 def paint(self, painter, x, y, w, h, alignment = None, mode = None, state = None): 13100 '''void QIcon.paint(QPainter painter, int x, int y, int w, int h, Qt.Alignment alignment = Qt.AlignCenter, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 13101 def availableSizes(self, mode = None, state = None): 13102 '''list-of-QSize QIcon.availableSizes(QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 13103 return [QSize()] 13104 def actualSize(self, size, mode = None, state = None): 13105 '''QSize QIcon.actualSize(QSize size, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 13106 return QSize() 13107 def pixmap(self, size, mode = None, state = None): 13108 '''QPixmap QIcon.pixmap(QSize size, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 13109 return QPixmap() 13110 def pixmap(self, w, h, mode = None, state = None): 13111 '''QPixmap QIcon.pixmap(int w, int h, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 13112 return QPixmap() 13113 def pixmap(self, extent, mode = None, state = None): 13114 '''QPixmap QIcon.pixmap(int extent, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 13115 return QPixmap() 13116 13117 13118 class QIconEngine(): 13119 """""" 13120 def __init__(self): 13121 '''void QIconEngine.__init__()''' 13122 def __init__(self): 13123 '''QIconEngine QIconEngine.__init__()''' 13124 return QIconEngine() 13125 def addFile(self, fileName, size, mode, state): 13126 '''void QIconEngine.addFile(QString fileName, QSize size, QIcon.Mode mode, QIcon.State state)''' 13127 def addPixmap(self, pixmap, mode, state): 13128 '''void QIconEngine.addPixmap(QPixmap pixmap, QIcon.Mode mode, QIcon.State state)''' 13129 def pixmap(self, size, mode, state): 13130 '''QPixmap QIconEngine.pixmap(QSize size, QIcon.Mode mode, QIcon.State state)''' 13131 return QPixmap() 13132 def actualSize(self, size, mode, state): 13133 '''QSize QIconEngine.actualSize(QSize size, QIcon.Mode mode, QIcon.State state)''' 13134 return QSize() 13135 def paint(self, painter, rect, mode, state): 13136 '''abstract void QIconEngine.paint(QPainter painter, QRect rect, QIcon.Mode mode, QIcon.State state)''' 13137 13138 13139 class QIconEngineV2(QIconEngine): 13140 """""" 13141 # Enum QIconEngineV2.IconEngineHook 13142 AvailableSizesHook = 0 13143 IconNameHook = 0 13144 13145 def __init__(self): 13146 '''void QIconEngineV2.__init__()''' 13147 def __init__(self): 13148 '''QIconEngineV2 QIconEngineV2.__init__()''' 13149 return QIconEngineV2() 13150 def iconName(self): 13151 '''QString QIconEngineV2.iconName()''' 13152 return QString() 13153 def availableSizes(self, mode = None, state = None): 13154 '''list-of-QSize QIconEngineV2.availableSizes(QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 13155 return [QSize()] 13156 def write(self, out): 13157 '''bool QIconEngineV2.write(QDataStream out)''' 13158 return bool() 13159 def read(self, in_): 13160 '''bool QIconEngineV2.read(QDataStream in)''' 13161 return bool() 13162 def clone(self): 13163 '''QIconEngineV2 QIconEngineV2.clone()''' 13164 return QIconEngineV2() 13165 def key(self): 13166 '''QString QIconEngineV2.key()''' 13167 return QString() 13168 class AvailableSizesArgument(): 13169 """""" 13170 mode = None # QIcon.Mode - member 13171 sizes = None # list-of-QSize - member 13172 state = None # QIcon.State - member 13173 def __init__(self): 13174 '''void QIconEngineV2.AvailableSizesArgument.__init__()''' 13175 def __init__(self): 13176 '''QIconEngineV2.AvailableSizesArgument QIconEngineV2.AvailableSizesArgument.__init__()''' 13177 return QIconEngineV2.AvailableSizesArgument() 13178 13179 13180 class QIdentityProxyModel(QAbstractProxyModel): 13181 """""" 13182 def __init__(self, parent = None): 13183 '''void QIdentityProxyModel.__init__(QObject parent = None)''' 13184 def removeRows(self, row, count, parent = QModelIndex()): 13185 '''bool QIdentityProxyModel.removeRows(int row, int count, QModelIndex parent = QModelIndex())''' 13186 return bool() 13187 def removeColumns(self, column, count, parent = QModelIndex()): 13188 '''bool QIdentityProxyModel.removeColumns(int column, int count, QModelIndex parent = QModelIndex())''' 13189 return bool() 13190 def insertRows(self, row, count, parent = QModelIndex()): 13191 '''bool QIdentityProxyModel.insertRows(int row, int count, QModelIndex parent = QModelIndex())''' 13192 return bool() 13193 def insertColumns(self, column, count, parent = QModelIndex()): 13194 '''bool QIdentityProxyModel.insertColumns(int column, int count, QModelIndex parent = QModelIndex())''' 13195 return bool() 13196 def setSourceModel(self, sourceModel): 13197 '''void QIdentityProxyModel.setSourceModel(QAbstractItemModel sourceModel)''' 13198 def match(self, start, role, value, hits = 1, flags = None): 13199 '''list-of-QModelIndex QIdentityProxyModel.match(QModelIndex start, int role, QVariant value, int hits = 1, Qt.MatchFlags flags = Qt.MatchStartsWith|Qt.MatchWrap)''' 13200 return [QModelIndex()] 13201 def mapSelectionToSource(self, selection): 13202 '''QItemSelection QIdentityProxyModel.mapSelectionToSource(QItemSelection selection)''' 13203 return QItemSelection() 13204 def mapSelectionFromSource(self, selection): 13205 '''QItemSelection QIdentityProxyModel.mapSelectionFromSource(QItemSelection selection)''' 13206 return QItemSelection() 13207 def dropMimeData(self, data, action, row, column, parent): 13208 '''bool QIdentityProxyModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 13209 return bool() 13210 def rowCount(self, parent = QModelIndex()): 13211 '''int QIdentityProxyModel.rowCount(QModelIndex parent = QModelIndex())''' 13212 return int() 13213 def parent(self, child): 13214 '''QModelIndex QIdentityProxyModel.parent(QModelIndex child)''' 13215 return QModelIndex() 13216 def mapToSource(self, proxyIndex): 13217 '''QModelIndex QIdentityProxyModel.mapToSource(QModelIndex proxyIndex)''' 13218 return QModelIndex() 13219 def mapFromSource(self, sourceIndex): 13220 '''QModelIndex QIdentityProxyModel.mapFromSource(QModelIndex sourceIndex)''' 13221 return QModelIndex() 13222 def index(self, row, column, parent = QModelIndex()): 13223 '''QModelIndex QIdentityProxyModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 13224 return QModelIndex() 13225 def columnCount(self, parent = QModelIndex()): 13226 '''int QIdentityProxyModel.columnCount(QModelIndex parent = QModelIndex())''' 13227 return int() 13228 13229 13230 class QImage(QPaintDevice): 13231 """""" 13232 # Enum QImage.Format 13233 Format_Invalid = 0 13234 Format_Mono = 0 13235 Format_MonoLSB = 0 13236 Format_Indexed8 = 0 13237 Format_RGB32 = 0 13238 Format_ARGB32 = 0 13239 Format_ARGB32_Premultiplied = 0 13240 Format_RGB16 = 0 13241 Format_ARGB8565_Premultiplied = 0 13242 Format_RGB666 = 0 13243 Format_ARGB6666_Premultiplied = 0 13244 Format_RGB555 = 0 13245 Format_ARGB8555_Premultiplied = 0 13246 Format_RGB888 = 0 13247 Format_RGB444 = 0 13248 Format_ARGB4444_Premultiplied = 0 13249 13250 # Enum QImage.InvertMode 13251 InvertRgb = 0 13252 InvertRgba = 0 13253 13254 def __init__(self): 13255 '''void QImage.__init__()''' 13256 def __init__(self, size, format): 13257 '''void QImage.__init__(QSize size, QImage.Format format)''' 13258 def __init__(self, width, height, format): 13259 '''void QImage.__init__(int width, int height, QImage.Format format)''' 13260 def __init__(self, data, width, height, format): 13261 '''void QImage.__init__(str data, int width, int height, QImage.Format format)''' 13262 def __init__(self, data, width, height, format): 13263 '''void QImage.__init__(sip.voidptr data, int width, int height, QImage.Format format)''' 13264 def __init__(self, data, width, height, bytesPerLine, format): 13265 '''void QImage.__init__(str data, int width, int height, int bytesPerLine, QImage.Format format)''' 13266 def __init__(self, data, width, height, bytesPerLine, format): 13267 '''void QImage.__init__(sip.voidptr data, int width, int height, int bytesPerLine, QImage.Format format)''' 13268 def __init__(self, xpm): 13269 '''void QImage.__init__(list-of-str xpm)''' 13270 def __init__(self, fileName, format = None): 13271 '''void QImage.__init__(QString fileName, str format = None)''' 13272 def __init__(self): 13273 '''QImage QImage.__init__()''' 13274 return QImage() 13275 def __init__(self, variant): 13276 '''void QImage.__init__(QVariant variant)''' 13277 def swap(self, other): 13278 '''void QImage.swap(QImage other)''' 13279 def bitPlaneCount(self): 13280 '''int QImage.bitPlaneCount()''' 13281 return int() 13282 def byteCount(self): 13283 '''int QImage.byteCount()''' 13284 return int() 13285 def setColorCount(self): 13286 '''int QImage.setColorCount()''' 13287 return int() 13288 def colorCount(self): 13289 '''int QImage.colorCount()''' 13290 return int() 13291 def cacheKey(self): 13292 '''int QImage.cacheKey()''' 13293 return int() 13294 def createMaskFromColor(self, color, mode = None): 13295 '''QImage QImage.createMaskFromColor(int color, Qt.MaskMode mode = Qt.MaskInColor)''' 13296 return QImage() 13297 def metric(self, metric): 13298 '''int QImage.metric(QPaintDevice.PaintDeviceMetric metric)''' 13299 return int() 13300 def setText(self, key, value): 13301 '''void QImage.setText(QString key, QString value)''' 13302 def text(self, key = QString()): 13303 '''QString QImage.text(QString key = QString())''' 13304 return QString() 13305 def textKeys(self): 13306 '''QStringList QImage.textKeys()''' 13307 return QStringList() 13308 def setOffset(self): 13309 '''QPoint QImage.setOffset()''' 13310 return QPoint() 13311 def offset(self): 13312 '''QPoint QImage.offset()''' 13313 return QPoint() 13314 def setDotsPerMeterY(self): 13315 '''int QImage.setDotsPerMeterY()''' 13316 return int() 13317 def setDotsPerMeterX(self): 13318 '''int QImage.setDotsPerMeterX()''' 13319 return int() 13320 def dotsPerMeterY(self): 13321 '''int QImage.dotsPerMeterY()''' 13322 return int() 13323 def dotsPerMeterX(self): 13324 '''int QImage.dotsPerMeterX()''' 13325 return int() 13326 def paintEngine(self): 13327 '''QPaintEngine QImage.paintEngine()''' 13328 return QPaintEngine() 13329 def serialNumber(self): 13330 '''int QImage.serialNumber()''' 13331 return int() 13332 def fromData(self, data, format = None): 13333 '''static QImage QImage.fromData(str data, str format = None)''' 13334 return QImage() 13335 def fromData(self, data, format = None): 13336 '''static QImage QImage.fromData(QByteArray data, str format = None)''' 13337 return QImage() 13338 def save(self, fileName, format = None, quality = None): 13339 '''bool QImage.save(QString fileName, str format = None, int quality = -1)''' 13340 return bool() 13341 def save(self, device, format = None, quality = None): 13342 '''bool QImage.save(QIODevice device, str format = None, int quality = -1)''' 13343 return bool() 13344 def loadFromData(self, data, format = None): 13345 '''bool QImage.loadFromData(str data, str format = None)''' 13346 return bool() 13347 def loadFromData(self, data, format = None): 13348 '''bool QImage.loadFromData(QByteArray data, str format = None)''' 13349 return bool() 13350 def load(self, device, format): 13351 '''bool QImage.load(QIODevice device, str format)''' 13352 return bool() 13353 def load(self, fileName, format = None): 13354 '''bool QImage.load(QString fileName, str format = None)''' 13355 return bool() 13356 def invertPixels(self, mode = None): 13357 '''void QImage.invertPixels(QImage.InvertMode mode = QImage.InvertRgb)''' 13358 def rgbSwapped(self): 13359 '''QImage QImage.rgbSwapped()''' 13360 return QImage() 13361 def mirrored(self, horizontal = False, vertical = True): 13362 '''QImage QImage.mirrored(bool horizontal = False, bool vertical = True)''' 13363 return QImage() 13364 def trueMatrix(self, w, h): 13365 '''static QMatrix QImage.trueMatrix(int w, int h)''' 13366 return QMatrix() 13367 def trueMatrix(self, w, h): 13368 '''static QTransform QImage.trueMatrix(int w, int h)''' 13369 return QTransform() 13370 def transformed(self, matrix, mode = None): 13371 '''QImage QImage.transformed(QMatrix matrix, Qt.TransformationMode mode = Qt.FastTransformation)''' 13372 return QImage() 13373 def transformed(self, matrix, mode = None): 13374 '''QImage QImage.transformed(QTransform matrix, Qt.TransformationMode mode = Qt.FastTransformation)''' 13375 return QImage() 13376 def scaledToHeight(self, height, mode = None): 13377 '''QImage QImage.scaledToHeight(int height, Qt.TransformationMode mode = Qt.FastTransformation)''' 13378 return QImage() 13379 def scaledToWidth(self, width, mode = None): 13380 '''QImage QImage.scaledToWidth(int width, Qt.TransformationMode mode = Qt.FastTransformation)''' 13381 return QImage() 13382 def scaled(self, width, height, aspectRatioMode = None, transformMode = None): 13383 '''QImage QImage.scaled(int width, int height, Qt.AspectRatioMode aspectRatioMode = Qt.IgnoreAspectRatio, Qt.TransformationMode transformMode = Qt.FastTransformation)''' 13384 return QImage() 13385 def scaled(self, size, aspectRatioMode = None, transformMode = None): 13386 '''QImage QImage.scaled(QSize size, Qt.AspectRatioMode aspectRatioMode = Qt.IgnoreAspectRatio, Qt.TransformationMode transformMode = Qt.FastTransformation)''' 13387 return QImage() 13388 def createHeuristicMask(self, clipTight = True): 13389 '''QImage QImage.createHeuristicMask(bool clipTight = True)''' 13390 return QImage() 13391 def createAlphaMask(self, flags = None): 13392 '''QImage QImage.createAlphaMask(Qt.ImageConversionFlags flags = Qt.AutoColor)''' 13393 return QImage() 13394 def alphaChannel(self): 13395 '''QImage QImage.alphaChannel()''' 13396 return QImage() 13397 def setAlphaChannel(self, alphaChannel): 13398 '''void QImage.setAlphaChannel(QImage alphaChannel)''' 13399 def hasAlphaChannel(self): 13400 '''bool QImage.hasAlphaChannel()''' 13401 return bool() 13402 def fill(self, color): 13403 '''void QImage.fill(Qt.GlobalColor color)''' 13404 def fill(self, color): 13405 '''void QImage.fill(QColor color)''' 13406 def fill(self, pixel): 13407 '''void QImage.fill(int pixel)''' 13408 def setColorTable(self, colors): 13409 '''void QImage.setColorTable(list-of-int colors)''' 13410 def colorTable(self): 13411 '''list-of-int QImage.colorTable()''' 13412 return [int()] 13413 def setPixel(self, pt, index_or_rgb): 13414 '''void QImage.setPixel(QPoint pt, int index_or_rgb)''' 13415 def setPixel(self, x, y, index_or_rgb): 13416 '''void QImage.setPixel(int x, int y, int index_or_rgb)''' 13417 def pixel(self, pt): 13418 '''int QImage.pixel(QPoint pt)''' 13419 return int() 13420 def pixel(self, x, y): 13421 '''int QImage.pixel(int x, int y)''' 13422 return int() 13423 def pixelIndex(self, pt): 13424 '''int QImage.pixelIndex(QPoint pt)''' 13425 return int() 13426 def pixelIndex(self, x, y): 13427 '''int QImage.pixelIndex(int x, int y)''' 13428 return int() 13429 def valid(self, pt): 13430 '''bool QImage.valid(QPoint pt)''' 13431 return bool() 13432 def valid(self, x, y): 13433 '''bool QImage.valid(int x, int y)''' 13434 return bool() 13435 def bytesPerLine(self): 13436 '''int QImage.bytesPerLine()''' 13437 return int() 13438 def scanLine(self): 13439 '''int QImage.scanLine()''' 13440 return int() 13441 def numBytes(self): 13442 '''int QImage.numBytes()''' 13443 return int() 13444 def bits(self): 13445 '''sip.voidptr QImage.bits()''' 13446 return sip.voidptr() 13447 def isGrayscale(self): 13448 '''bool QImage.isGrayscale()''' 13449 return bool() 13450 def allGray(self): 13451 '''bool QImage.allGray()''' 13452 return bool() 13453 def setNumColors(self): 13454 '''int QImage.setNumColors()''' 13455 return int() 13456 def setColor(self, i, c): 13457 '''void QImage.setColor(int i, int c)''' 13458 def color(self, i): 13459 '''int QImage.color(int i)''' 13460 return int() 13461 def numColors(self): 13462 '''int QImage.numColors()''' 13463 return int() 13464 def depth(self): 13465 '''int QImage.depth()''' 13466 return int() 13467 def rect(self): 13468 '''QRect QImage.rect()''' 13469 return QRect() 13470 def size(self): 13471 '''QSize QImage.size()''' 13472 return QSize() 13473 def height(self): 13474 '''int QImage.height()''' 13475 return int() 13476 def width(self): 13477 '''int QImage.width()''' 13478 return int() 13479 def convertToFormat(self, format, flags = None): 13480 '''QImage QImage.convertToFormat(QImage.Format format, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 13481 return QImage() 13482 def convertToFormat(self, format, colorTable, flags = None): 13483 '''QImage QImage.convertToFormat(QImage.Format format, list-of-int colorTable, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 13484 return QImage() 13485 def format(self): 13486 '''QImage.Format QImage.format()''' 13487 return QImage.Format() 13488 def copy(self, rect = QRect()): 13489 '''QImage QImage.copy(QRect rect = QRect())''' 13490 return QImage() 13491 def copy(self, x, y, w, h): 13492 '''QImage QImage.copy(int x, int y, int w, int h)''' 13493 return QImage() 13494 def isDetached(self): 13495 '''bool QImage.isDetached()''' 13496 return bool() 13497 def detach(self): 13498 '''void QImage.detach()''' 13499 def __ne__(self): 13500 '''QImage QImage.__ne__()''' 13501 return QImage() 13502 def __eq__(self): 13503 '''QImage QImage.__eq__()''' 13504 return QImage() 13505 def devType(self): 13506 '''int QImage.devType()''' 13507 return int() 13508 def isNull(self): 13509 '''bool QImage.isNull()''' 13510 return bool() 13511 13512 13513 class QImageIOHandler(): 13514 """""" 13515 # Enum QImageIOHandler.ImageOption 13516 Size = 0 13517 ClipRect = 0 13518 Description = 0 13519 ScaledClipRect = 0 13520 ScaledSize = 0 13521 CompressionRatio = 0 13522 Gamma = 0 13523 Quality = 0 13524 Name = 0 13525 SubType = 0 13526 IncrementalReading = 0 13527 Endianness = 0 13528 Animation = 0 13529 BackgroundColor = 0 13530 13531 def __init__(self): 13532 '''void QImageIOHandler.__init__()''' 13533 def currentImageRect(self): 13534 '''QRect QImageIOHandler.currentImageRect()''' 13535 return QRect() 13536 def currentImageNumber(self): 13537 '''int QImageIOHandler.currentImageNumber()''' 13538 return int() 13539 def nextImageDelay(self): 13540 '''int QImageIOHandler.nextImageDelay()''' 13541 return int() 13542 def imageCount(self): 13543 '''int QImageIOHandler.imageCount()''' 13544 return int() 13545 def loopCount(self): 13546 '''int QImageIOHandler.loopCount()''' 13547 return int() 13548 def jumpToImage(self, imageNumber): 13549 '''bool QImageIOHandler.jumpToImage(int imageNumber)''' 13550 return bool() 13551 def jumpToNextImage(self): 13552 '''bool QImageIOHandler.jumpToNextImage()''' 13553 return bool() 13554 def supportsOption(self, option): 13555 '''bool QImageIOHandler.supportsOption(QImageIOHandler.ImageOption option)''' 13556 return bool() 13557 def setOption(self, option, value): 13558 '''void QImageIOHandler.setOption(QImageIOHandler.ImageOption option, QVariant value)''' 13559 def option(self, option): 13560 '''QVariant QImageIOHandler.option(QImageIOHandler.ImageOption option)''' 13561 return QVariant() 13562 def write(self, image): 13563 '''bool QImageIOHandler.write(QImage image)''' 13564 return bool() 13565 def read(self, image): 13566 '''abstract bool QImageIOHandler.read(QImage image)''' 13567 return bool() 13568 def canRead(self): 13569 '''abstract bool QImageIOHandler.canRead()''' 13570 return bool() 13571 def name(self): 13572 '''QByteArray QImageIOHandler.name()''' 13573 return QByteArray() 13574 def format(self): 13575 '''QByteArray QImageIOHandler.format()''' 13576 return QByteArray() 13577 def setFormat(self, format): 13578 '''void QImageIOHandler.setFormat(QByteArray format)''' 13579 def device(self): 13580 '''QIODevice QImageIOHandler.device()''' 13581 return QIODevice() 13582 def setDevice(self, device): 13583 '''void QImageIOHandler.setDevice(QIODevice device)''' 13584 13585 13586 class QImageReader(): 13587 """""" 13588 # Enum QImageReader.ImageReaderError 13589 UnknownError = 0 13590 FileNotFoundError = 0 13591 DeviceError = 0 13592 UnsupportedFormatError = 0 13593 InvalidDataError = 0 13594 13595 def __init__(self): 13596 '''void QImageReader.__init__()''' 13597 def __init__(self, device, format = QByteArray()): 13598 '''void QImageReader.__init__(QIODevice device, QByteArray format = QByteArray())''' 13599 def __init__(self, fileName, format = QByteArray()): 13600 '''void QImageReader.__init__(QString fileName, QByteArray format = QByteArray())''' 13601 def decideFormatFromContent(self): 13602 '''bool QImageReader.decideFormatFromContent()''' 13603 return bool() 13604 def setDecideFormatFromContent(self, ignored): 13605 '''void QImageReader.setDecideFormatFromContent(bool ignored)''' 13606 def autoDetectImageFormat(self): 13607 '''bool QImageReader.autoDetectImageFormat()''' 13608 return bool() 13609 def setAutoDetectImageFormat(self, enabled): 13610 '''void QImageReader.setAutoDetectImageFormat(bool enabled)''' 13611 def supportsOption(self, option): 13612 '''bool QImageReader.supportsOption(QImageIOHandler.ImageOption option)''' 13613 return bool() 13614 def quality(self): 13615 '''int QImageReader.quality()''' 13616 return int() 13617 def setQuality(self, quality): 13618 '''void QImageReader.setQuality(int quality)''' 13619 def supportsAnimation(self): 13620 '''bool QImageReader.supportsAnimation()''' 13621 return bool() 13622 def backgroundColor(self): 13623 '''QColor QImageReader.backgroundColor()''' 13624 return QColor() 13625 def setBackgroundColor(self, color): 13626 '''void QImageReader.setBackgroundColor(QColor color)''' 13627 def text(self, key): 13628 '''QString QImageReader.text(QString key)''' 13629 return QString() 13630 def textKeys(self): 13631 '''QStringList QImageReader.textKeys()''' 13632 return QStringList() 13633 def supportedImageFormats(self): 13634 '''static list-of-QByteArray QImageReader.supportedImageFormats()''' 13635 return [QByteArray()] 13636 def imageFormat(self, fileName): 13637 '''static QByteArray QImageReader.imageFormat(QString fileName)''' 13638 return QByteArray() 13639 def imageFormat(self, device): 13640 '''static QByteArray QImageReader.imageFormat(QIODevice device)''' 13641 return QByteArray() 13642 def imageFormat(self): 13643 '''QImage.Format QImageReader.imageFormat()''' 13644 return QImage.Format() 13645 def errorString(self): 13646 '''QString QImageReader.errorString()''' 13647 return QString() 13648 def error(self): 13649 '''QImageReader.ImageReaderError QImageReader.error()''' 13650 return QImageReader.ImageReaderError() 13651 def currentImageRect(self): 13652 '''QRect QImageReader.currentImageRect()''' 13653 return QRect() 13654 def currentImageNumber(self): 13655 '''int QImageReader.currentImageNumber()''' 13656 return int() 13657 def nextImageDelay(self): 13658 '''int QImageReader.nextImageDelay()''' 13659 return int() 13660 def imageCount(self): 13661 '''int QImageReader.imageCount()''' 13662 return int() 13663 def loopCount(self): 13664 '''int QImageReader.loopCount()''' 13665 return int() 13666 def jumpToImage(self, imageNumber): 13667 '''bool QImageReader.jumpToImage(int imageNumber)''' 13668 return bool() 13669 def jumpToNextImage(self): 13670 '''bool QImageReader.jumpToNextImage()''' 13671 return bool() 13672 def read(self): 13673 '''QImage QImageReader.read()''' 13674 return QImage() 13675 def read(self, image): 13676 '''bool QImageReader.read(QImage image)''' 13677 return bool() 13678 def canRead(self): 13679 '''bool QImageReader.canRead()''' 13680 return bool() 13681 def scaledClipRect(self): 13682 '''QRect QImageReader.scaledClipRect()''' 13683 return QRect() 13684 def setScaledClipRect(self, rect): 13685 '''void QImageReader.setScaledClipRect(QRect rect)''' 13686 def scaledSize(self): 13687 '''QSize QImageReader.scaledSize()''' 13688 return QSize() 13689 def setScaledSize(self, size): 13690 '''void QImageReader.setScaledSize(QSize size)''' 13691 def clipRect(self): 13692 '''QRect QImageReader.clipRect()''' 13693 return QRect() 13694 def setClipRect(self, rect): 13695 '''void QImageReader.setClipRect(QRect rect)''' 13696 def size(self): 13697 '''QSize QImageReader.size()''' 13698 return QSize() 13699 def fileName(self): 13700 '''QString QImageReader.fileName()''' 13701 return QString() 13702 def setFileName(self, fileName): 13703 '''void QImageReader.setFileName(QString fileName)''' 13704 def device(self): 13705 '''QIODevice QImageReader.device()''' 13706 return QIODevice() 13707 def setDevice(self, device): 13708 '''void QImageReader.setDevice(QIODevice device)''' 13709 def format(self): 13710 '''QByteArray QImageReader.format()''' 13711 return QByteArray() 13712 def setFormat(self, format): 13713 '''void QImageReader.setFormat(QByteArray format)''' 13714 13715 13716 class QImageWriter(): 13717 """""" 13718 # Enum QImageWriter.ImageWriterError 13719 UnknownError = 0 13720 DeviceError = 0 13721 UnsupportedFormatError = 0 13722 13723 def __init__(self): 13724 '''void QImageWriter.__init__()''' 13725 def __init__(self, device, format): 13726 '''void QImageWriter.__init__(QIODevice device, QByteArray format)''' 13727 def __init__(self, fileName, format = QByteArray()): 13728 '''void QImageWriter.__init__(QString fileName, QByteArray format = QByteArray())''' 13729 def compression(self): 13730 '''int QImageWriter.compression()''' 13731 return int() 13732 def setCompression(self, compression): 13733 '''void QImageWriter.setCompression(int compression)''' 13734 def supportsOption(self, option): 13735 '''bool QImageWriter.supportsOption(QImageIOHandler.ImageOption option)''' 13736 return bool() 13737 def setText(self, key, text): 13738 '''void QImageWriter.setText(QString key, QString text)''' 13739 def supportedImageFormats(self): 13740 '''static list-of-QByteArray QImageWriter.supportedImageFormats()''' 13741 return [QByteArray()] 13742 def errorString(self): 13743 '''QString QImageWriter.errorString()''' 13744 return QString() 13745 def error(self): 13746 '''QImageWriter.ImageWriterError QImageWriter.error()''' 13747 return QImageWriter.ImageWriterError() 13748 def write(self, image): 13749 '''bool QImageWriter.write(QImage image)''' 13750 return bool() 13751 def canWrite(self): 13752 '''bool QImageWriter.canWrite()''' 13753 return bool() 13754 def description(self): 13755 '''QString QImageWriter.description()''' 13756 return QString() 13757 def setDescription(self, description): 13758 '''void QImageWriter.setDescription(QString description)''' 13759 def gamma(self): 13760 '''float QImageWriter.gamma()''' 13761 return float() 13762 def setGamma(self, gamma): 13763 '''void QImageWriter.setGamma(float gamma)''' 13764 def quality(self): 13765 '''int QImageWriter.quality()''' 13766 return int() 13767 def setQuality(self, quality): 13768 '''void QImageWriter.setQuality(int quality)''' 13769 def fileName(self): 13770 '''QString QImageWriter.fileName()''' 13771 return QString() 13772 def setFileName(self, fileName): 13773 '''void QImageWriter.setFileName(QString fileName)''' 13774 def device(self): 13775 '''QIODevice QImageWriter.device()''' 13776 return QIODevice() 13777 def setDevice(self, device): 13778 '''void QImageWriter.setDevice(QIODevice device)''' 13779 def format(self): 13780 '''QByteArray QImageWriter.format()''' 13781 return QByteArray() 13782 def setFormat(self, format): 13783 '''void QImageWriter.setFormat(QByteArray format)''' 13784 13785 13786 class QInputContext(QObject): 13787 """""" 13788 # Enum QInputContext.StandardFormat 13789 PreeditFormat = 0 13790 SelectionFormat = 0 13791 13792 def __init__(self, parent = None): 13793 '''void QInputContext.__init__(QObject parent = None)''' 13794 def standardFormat(self, s): 13795 '''QTextFormat QInputContext.standardFormat(QInputContext.StandardFormat s)''' 13796 return QTextFormat() 13797 def sendEvent(self, event): 13798 '''void QInputContext.sendEvent(QInputMethodEvent event)''' 13799 def filterEvent(self, event): 13800 '''bool QInputContext.filterEvent(QEvent event)''' 13801 return bool() 13802 def actions(self): 13803 '''list-of-QAction QInputContext.actions()''' 13804 return [QAction()] 13805 def widgetDestroyed(self, w): 13806 '''void QInputContext.widgetDestroyed(QWidget w)''' 13807 def setFocusWidget(self, w): 13808 '''void QInputContext.setFocusWidget(QWidget w)''' 13809 def focusWidget(self): 13810 '''QWidget QInputContext.focusWidget()''' 13811 return QWidget() 13812 def isComposing(self): 13813 '''abstract bool QInputContext.isComposing()''' 13814 return bool() 13815 def font(self): 13816 '''QFont QInputContext.font()''' 13817 return QFont() 13818 def mouseHandler(self, x, event): 13819 '''void QInputContext.mouseHandler(int x, QMouseEvent event)''' 13820 def update(self): 13821 '''void QInputContext.update()''' 13822 def reset(self): 13823 '''abstract void QInputContext.reset()''' 13824 def language(self): 13825 '''abstract QString QInputContext.language()''' 13826 return QString() 13827 def identifierName(self): 13828 '''abstract QString QInputContext.identifierName()''' 13829 return QString() 13830 13831 13832 class QInputContextFactory(): 13833 """""" 13834 def __init__(self): 13835 '''void QInputContextFactory.__init__()''' 13836 def __init__(self): 13837 '''QInputContextFactory QInputContextFactory.__init__()''' 13838 return QInputContextFactory() 13839 def description(self, key): 13840 '''static QString QInputContextFactory.description(QString key)''' 13841 return QString() 13842 def displayName(self, key): 13843 '''static QString QInputContextFactory.displayName(QString key)''' 13844 return QString() 13845 def languages(self, key): 13846 '''static QStringList QInputContextFactory.languages(QString key)''' 13847 return QStringList() 13848 def create(self, key, parent): 13849 '''static QInputContext QInputContextFactory.create(QString key, QObject parent)''' 13850 return QInputContext() 13851 def keys(self): 13852 '''static QStringList QInputContextFactory.keys()''' 13853 return QStringList() 13854 13855 13856 class QInputDialog(QDialog): 13857 """""" 13858 # Enum QInputDialog.InputMode 13859 TextInput = 0 13860 IntInput = 0 13861 DoubleInput = 0 13862 13863 # Enum QInputDialog.InputDialogOption 13864 NoButtons = 0 13865 UseListViewForComboBoxItems = 0 13866 13867 def __init__(self, parent = None, flags = 0): 13868 '''void QInputDialog.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 13869 doubleValueSelected = pyqtSignal() # void doubleValueSelected(double) - signal 13870 doubleValueChanged = pyqtSignal() # void doubleValueChanged(double) - signal 13871 intValueSelected = pyqtSignal() # void intValueSelected(int) - signal 13872 intValueChanged = pyqtSignal() # void intValueChanged(int) - signal 13873 textValueSelected = pyqtSignal() # void textValueSelected(const QStringamp;) - signal 13874 textValueChanged = pyqtSignal() # void textValueChanged(const QStringamp;) - signal 13875 def done(self, result): 13876 '''void QInputDialog.done(int result)''' 13877 def setVisible(self, visible): 13878 '''void QInputDialog.setVisible(bool visible)''' 13879 def sizeHint(self): 13880 '''QSize QInputDialog.sizeHint()''' 13881 return QSize() 13882 def minimumSizeHint(self): 13883 '''QSize QInputDialog.minimumSizeHint()''' 13884 return QSize() 13885 def open(self): 13886 '''void QInputDialog.open()''' 13887 def open(self, receiver, member): 13888 '''void QInputDialog.open(QObject receiver, SLOT() member)''' 13889 def open(self, receiver): 13890 '''void QInputDialog.open(callable receiver)''' 13891 def cancelButtonText(self): 13892 '''QString QInputDialog.cancelButtonText()''' 13893 return QString() 13894 def setCancelButtonText(self, text): 13895 '''void QInputDialog.setCancelButtonText(QString text)''' 13896 def okButtonText(self): 13897 '''QString QInputDialog.okButtonText()''' 13898 return QString() 13899 def setOkButtonText(self, text): 13900 '''void QInputDialog.setOkButtonText(QString text)''' 13901 def doubleDecimals(self): 13902 '''int QInputDialog.doubleDecimals()''' 13903 return int() 13904 def setDoubleDecimals(self, decimals): 13905 '''void QInputDialog.setDoubleDecimals(int decimals)''' 13906 def setDoubleRange(self, min, max): 13907 '''void QInputDialog.setDoubleRange(float min, float max)''' 13908 def doubleMaximum(self): 13909 '''float QInputDialog.doubleMaximum()''' 13910 return float() 13911 def setDoubleMaximum(self, max): 13912 '''void QInputDialog.setDoubleMaximum(float max)''' 13913 def doubleMinimum(self): 13914 '''float QInputDialog.doubleMinimum()''' 13915 return float() 13916 def setDoubleMinimum(self, min): 13917 '''void QInputDialog.setDoubleMinimum(float min)''' 13918 def doubleValue(self): 13919 '''float QInputDialog.doubleValue()''' 13920 return float() 13921 def setDoubleValue(self, value): 13922 '''void QInputDialog.setDoubleValue(float value)''' 13923 def intStep(self): 13924 '''int QInputDialog.intStep()''' 13925 return int() 13926 def setIntStep(self, step): 13927 '''void QInputDialog.setIntStep(int step)''' 13928 def setIntRange(self, min, max): 13929 '''void QInputDialog.setIntRange(int min, int max)''' 13930 def intMaximum(self): 13931 '''int QInputDialog.intMaximum()''' 13932 return int() 13933 def setIntMaximum(self, max): 13934 '''void QInputDialog.setIntMaximum(int max)''' 13935 def intMinimum(self): 13936 '''int QInputDialog.intMinimum()''' 13937 return int() 13938 def setIntMinimum(self, min): 13939 '''void QInputDialog.setIntMinimum(int min)''' 13940 def intValue(self): 13941 '''int QInputDialog.intValue()''' 13942 return int() 13943 def setIntValue(self, value): 13944 '''void QInputDialog.setIntValue(int value)''' 13945 def comboBoxItems(self): 13946 '''QStringList QInputDialog.comboBoxItems()''' 13947 return QStringList() 13948 def setComboBoxItems(self, items): 13949 '''void QInputDialog.setComboBoxItems(QStringList items)''' 13950 def isComboBoxEditable(self): 13951 '''bool QInputDialog.isComboBoxEditable()''' 13952 return bool() 13953 def setComboBoxEditable(self, editable): 13954 '''void QInputDialog.setComboBoxEditable(bool editable)''' 13955 def textEchoMode(self): 13956 '''QLineEdit.EchoMode QInputDialog.textEchoMode()''' 13957 return QLineEdit.EchoMode() 13958 def setTextEchoMode(self, mode): 13959 '''void QInputDialog.setTextEchoMode(QLineEdit.EchoMode mode)''' 13960 def textValue(self): 13961 '''QString QInputDialog.textValue()''' 13962 return QString() 13963 def setTextValue(self, text): 13964 '''void QInputDialog.setTextValue(QString text)''' 13965 def options(self): 13966 '''QInputDialog.InputDialogOptions QInputDialog.options()''' 13967 return QInputDialog.InputDialogOptions() 13968 def setOptions(self, options): 13969 '''void QInputDialog.setOptions(QInputDialog.InputDialogOptions options)''' 13970 def testOption(self, option): 13971 '''bool QInputDialog.testOption(QInputDialog.InputDialogOption option)''' 13972 return bool() 13973 def setOption(self, option, on = True): 13974 '''void QInputDialog.setOption(QInputDialog.InputDialogOption option, bool on = True)''' 13975 def labelText(self): 13976 '''QString QInputDialog.labelText()''' 13977 return QString() 13978 def setLabelText(self, text): 13979 '''void QInputDialog.setLabelText(QString text)''' 13980 def inputMode(self): 13981 '''QInputDialog.InputMode QInputDialog.inputMode()''' 13982 return QInputDialog.InputMode() 13983 def setInputMode(self, mode): 13984 '''void QInputDialog.setInputMode(QInputDialog.InputMode mode)''' 13985 def getItem(self, parent, title, label, list, current = 0, editable = True, ok = None, flags = 0): 13986 '''static QString QInputDialog.getItem(QWidget parent, QString title, QString label, QStringList list, int current = 0, bool editable = True, bool ok, Qt.WindowFlags flags = 0)''' 13987 return QString() 13988 def getItem(self, parent, title, label, list, current, editable, ok, flags, inputMethodHints): 13989 '''static QString QInputDialog.getItem(QWidget parent, QString title, QString label, QStringList list, int current, bool editable, bool ok, Qt.WindowFlags flags, Qt.InputMethodHints inputMethodHints)''' 13990 return QString() 13991 def getDouble(self, parent, title, label, value = 0, min = None, max = 2147483647, decimals = 1, ok = None, flags = 0): 13992 '''static float QInputDialog.getDouble(QWidget parent, QString title, QString label, float value = 0, float min = -2147483647, float max = 2147483647, int decimals = 1, bool ok, Qt.WindowFlags flags = 0)''' 13993 return float() 13994 def getInteger(self, parent, title, label, value = 0, min = None, max = 2147483647, step = 1, ok = None, flags = 0): 13995 '''static int QInputDialog.getInteger(QWidget parent, QString title, QString label, int value = 0, int min = -2147483647, int max = 2147483647, int step = 1, bool ok, Qt.WindowFlags flags = 0)''' 13996 return int() 13997 def getInt(self, parent, title, label, value = 0, min = None, max = 2147483647, step = 1, ok = None, flags = 0): 13998 '''static int QInputDialog.getInt(QWidget parent, QString title, QString label, int value = 0, int min = -2147483647, int max = 2147483647, int step = 1, bool ok, Qt.WindowFlags flags = 0)''' 13999 return int() 14000 def getText(self, parent, title, label, mode = None, text = QString(), ok = None, flags = 0): 14001 '''static QString QInputDialog.getText(QWidget parent, QString title, QString label, QLineEdit.EchoMode mode = QLineEdit.Normal, QString text = QString(), bool ok, Qt.WindowFlags flags = 0)''' 14002 return QString() 14003 def getText(self, parent, title, label, mode, text, ok, flags, inputMethodHints): 14004 '''static QString QInputDialog.getText(QWidget parent, QString title, QString label, QLineEdit.EchoMode mode, QString text, bool ok, Qt.WindowFlags flags, Qt.InputMethodHints inputMethodHints)''' 14005 return QString() 14006 class InputDialogOptions(): 14007 """""" 14008 def __init__(self): 14009 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__init__()''' 14010 return QInputDialog.InputDialogOptions() 14011 def __init__(self): 14012 '''int QInputDialog.InputDialogOptions.__init__()''' 14013 return int() 14014 def __init__(self): 14015 '''void QInputDialog.InputDialogOptions.__init__()''' 14016 def __bool__(self): 14017 '''int QInputDialog.InputDialogOptions.__bool__()''' 14018 return int() 14019 def __ne__(self, f): 14020 '''bool QInputDialog.InputDialogOptions.__ne__(QInputDialog.InputDialogOptions f)''' 14021 return bool() 14022 def __eq__(self, f): 14023 '''bool QInputDialog.InputDialogOptions.__eq__(QInputDialog.InputDialogOptions f)''' 14024 return bool() 14025 def __invert__(self): 14026 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__invert__()''' 14027 return QInputDialog.InputDialogOptions() 14028 def __and__(self, mask): 14029 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__and__(int mask)''' 14030 return QInputDialog.InputDialogOptions() 14031 def __xor__(self, f): 14032 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__xor__(QInputDialog.InputDialogOptions f)''' 14033 return QInputDialog.InputDialogOptions() 14034 def __xor__(self, f): 14035 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__xor__(int f)''' 14036 return QInputDialog.InputDialogOptions() 14037 def __or__(self, f): 14038 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__or__(QInputDialog.InputDialogOptions f)''' 14039 return QInputDialog.InputDialogOptions() 14040 def __or__(self, f): 14041 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__or__(int f)''' 14042 return QInputDialog.InputDialogOptions() 14043 def __int__(self): 14044 '''int QInputDialog.InputDialogOptions.__int__()''' 14045 return int() 14046 def __ixor__(self, f): 14047 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__ixor__(QInputDialog.InputDialogOptions f)''' 14048 return QInputDialog.InputDialogOptions() 14049 def __ior__(self, f): 14050 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__ior__(QInputDialog.InputDialogOptions f)''' 14051 return QInputDialog.InputDialogOptions() 14052 def __iand__(self, mask): 14053 '''QInputDialog.InputDialogOptions QInputDialog.InputDialogOptions.__iand__(int mask)''' 14054 return QInputDialog.InputDialogOptions() 14055 14056 14057 class QItemDelegate(QAbstractItemDelegate): 14058 """""" 14059 def __init__(self, parent = None): 14060 '''void QItemDelegate.__init__(QObject parent = None)''' 14061 def editorEvent(self, event, model, option, index): 14062 '''bool QItemDelegate.editorEvent(QEvent event, QAbstractItemModel model, QStyleOptionViewItem option, QModelIndex index)''' 14063 return bool() 14064 def eventFilter(self, object, event): 14065 '''bool QItemDelegate.eventFilter(QObject object, QEvent event)''' 14066 return bool() 14067 def drawFocus(self, painter, option, rect): 14068 '''void QItemDelegate.drawFocus(QPainter painter, QStyleOptionViewItem option, QRect rect)''' 14069 def drawDisplay(self, painter, option, rect, text): 14070 '''void QItemDelegate.drawDisplay(QPainter painter, QStyleOptionViewItem option, QRect rect, QString text)''' 14071 def drawDecoration(self, painter, option, rect, pixmap): 14072 '''void QItemDelegate.drawDecoration(QPainter painter, QStyleOptionViewItem option, QRect rect, QPixmap pixmap)''' 14073 def drawCheck(self, painter, option, rect, state): 14074 '''void QItemDelegate.drawCheck(QPainter painter, QStyleOptionViewItem option, QRect rect, Qt.CheckState state)''' 14075 def drawBackground(self, painter, option, index): 14076 '''void QItemDelegate.drawBackground(QPainter painter, QStyleOptionViewItem option, QModelIndex index)''' 14077 def setClipping(self, clip): 14078 '''void QItemDelegate.setClipping(bool clip)''' 14079 def hasClipping(self): 14080 '''bool QItemDelegate.hasClipping()''' 14081 return bool() 14082 def setItemEditorFactory(self, factory): 14083 '''void QItemDelegate.setItemEditorFactory(QItemEditorFactory factory)''' 14084 def itemEditorFactory(self): 14085 '''QItemEditorFactory QItemDelegate.itemEditorFactory()''' 14086 return QItemEditorFactory() 14087 def updateEditorGeometry(self, editor, option, index): 14088 '''void QItemDelegate.updateEditorGeometry(QWidget editor, QStyleOptionViewItem option, QModelIndex index)''' 14089 def setModelData(self, editor, model, index): 14090 '''void QItemDelegate.setModelData(QWidget editor, QAbstractItemModel model, QModelIndex index)''' 14091 def setEditorData(self, editor, index): 14092 '''void QItemDelegate.setEditorData(QWidget editor, QModelIndex index)''' 14093 def createEditor(self, parent, option, index): 14094 '''QWidget QItemDelegate.createEditor(QWidget parent, QStyleOptionViewItem option, QModelIndex index)''' 14095 return QWidget() 14096 def sizeHint(self, option, index): 14097 '''QSize QItemDelegate.sizeHint(QStyleOptionViewItem option, QModelIndex index)''' 14098 return QSize() 14099 def paint(self, painter, option, index): 14100 '''void QItemDelegate.paint(QPainter painter, QStyleOptionViewItem option, QModelIndex index)''' 14101 14102 14103 class QItemEditorCreatorBase(): 14104 """""" 14105 def __init__(self): 14106 '''void QItemEditorCreatorBase.__init__()''' 14107 def __init__(self): 14108 '''QItemEditorCreatorBase QItemEditorCreatorBase.__init__()''' 14109 return QItemEditorCreatorBase() 14110 def valuePropertyName(self): 14111 '''abstract QByteArray QItemEditorCreatorBase.valuePropertyName()''' 14112 return QByteArray() 14113 def createWidget(self, parent): 14114 '''abstract QWidget QItemEditorCreatorBase.createWidget(QWidget parent)''' 14115 return QWidget() 14116 14117 14118 class QItemEditorFactory(): 14119 """""" 14120 def __init__(self): 14121 '''void QItemEditorFactory.__init__()''' 14122 def __init__(self): 14123 '''QItemEditorFactory QItemEditorFactory.__init__()''' 14124 return QItemEditorFactory() 14125 def setDefaultFactory(self, factory): 14126 '''static void QItemEditorFactory.setDefaultFactory(QItemEditorFactory factory)''' 14127 def defaultFactory(self): 14128 '''static QItemEditorFactory QItemEditorFactory.defaultFactory()''' 14129 return QItemEditorFactory() 14130 def registerEditor(self, type, creator): 14131 '''void QItemEditorFactory.registerEditor(Type type, QItemEditorCreatorBase creator)''' 14132 def valuePropertyName(self, type): 14133 '''QByteArray QItemEditorFactory.valuePropertyName(Type type)''' 14134 return QByteArray() 14135 def createEditor(self, type, parent): 14136 '''QWidget QItemEditorFactory.createEditor(Type type, QWidget parent)''' 14137 return QWidget() 14138 14139 14140 class QItemSelectionRange(): 14141 """""" 14142 def __init__(self): 14143 '''void QItemSelectionRange.__init__()''' 14144 def __init__(self, other): 14145 '''void QItemSelectionRange.__init__(QItemSelectionRange other)''' 14146 def __init__(self, atopLeft, abottomRight): 14147 '''void QItemSelectionRange.__init__(QModelIndex atopLeft, QModelIndex abottomRight)''' 14148 def __init__(self, index): 14149 '''void QItemSelectionRange.__init__(QModelIndex index)''' 14150 def __ge__(self, other): 14151 '''bool QItemSelectionRange.__ge__(QItemSelectionRange other)''' 14152 return bool() 14153 def __lt__(self, other): 14154 '''bool QItemSelectionRange.__lt__(QItemSelectionRange other)''' 14155 return bool() 14156 def isEmpty(self): 14157 '''bool QItemSelectionRange.isEmpty()''' 14158 return bool() 14159 def __hash__(self): 14160 '''int QItemSelectionRange.__hash__()''' 14161 return int() 14162 def intersected(self, other): 14163 '''QItemSelectionRange QItemSelectionRange.intersected(QItemSelectionRange other)''' 14164 return QItemSelectionRange() 14165 def indexes(self): 14166 '''list-of-QModelIndex QItemSelectionRange.indexes()''' 14167 return [QModelIndex()] 14168 def isValid(self): 14169 '''bool QItemSelectionRange.isValid()''' 14170 return bool() 14171 def __ne__(self, other): 14172 '''bool QItemSelectionRange.__ne__(QItemSelectionRange other)''' 14173 return bool() 14174 def __eq__(self, other): 14175 '''bool QItemSelectionRange.__eq__(QItemSelectionRange other)''' 14176 return bool() 14177 def intersect(self, other): 14178 '''QItemSelectionRange QItemSelectionRange.intersect(QItemSelectionRange other)''' 14179 return QItemSelectionRange() 14180 def intersects(self, other): 14181 '''bool QItemSelectionRange.intersects(QItemSelectionRange other)''' 14182 return bool() 14183 def contains(self, index): 14184 '''bool QItemSelectionRange.contains(QModelIndex index)''' 14185 return bool() 14186 def contains(self, row, column, parentIndex): 14187 '''bool QItemSelectionRange.contains(int row, int column, QModelIndex parentIndex)''' 14188 return bool() 14189 def model(self): 14190 '''QAbstractItemModel QItemSelectionRange.model()''' 14191 return QAbstractItemModel() 14192 def parent(self): 14193 '''QModelIndex QItemSelectionRange.parent()''' 14194 return QModelIndex() 14195 def bottomRight(self): 14196 '''QModelIndex QItemSelectionRange.bottomRight()''' 14197 return QModelIndex() 14198 def topLeft(self): 14199 '''QModelIndex QItemSelectionRange.topLeft()''' 14200 return QModelIndex() 14201 def height(self): 14202 '''int QItemSelectionRange.height()''' 14203 return int() 14204 def width(self): 14205 '''int QItemSelectionRange.width()''' 14206 return int() 14207 def right(self): 14208 '''int QItemSelectionRange.right()''' 14209 return int() 14210 def bottom(self): 14211 '''int QItemSelectionRange.bottom()''' 14212 return int() 14213 def left(self): 14214 '''int QItemSelectionRange.left()''' 14215 return int() 14216 def top(self): 14217 '''int QItemSelectionRange.top()''' 14218 return int() 14219 14220 14221 class QItemSelectionModel(QObject): 14222 """""" 14223 # Enum QItemSelectionModel.SelectionFlag 14224 NoUpdate = 0 14225 Clear = 0 14226 Select = 0 14227 Deselect = 0 14228 Toggle = 0 14229 Current = 0 14230 Rows = 0 14231 Columns = 0 14232 SelectCurrent = 0 14233 ToggleCurrent = 0 14234 ClearAndSelect = 0 14235 14236 def __init__(self, model): 14237 '''void QItemSelectionModel.__init__(QAbstractItemModel model)''' 14238 def __init__(self, model, parent): 14239 '''void QItemSelectionModel.__init__(QAbstractItemModel model, QObject parent)''' 14240 def selectedColumns(self, row = 0): 14241 '''list-of-QModelIndex QItemSelectionModel.selectedColumns(int row = 0)''' 14242 return [QModelIndex()] 14243 def selectedRows(self, column = 0): 14244 '''list-of-QModelIndex QItemSelectionModel.selectedRows(int column = 0)''' 14245 return [QModelIndex()] 14246 def hasSelection(self): 14247 '''bool QItemSelectionModel.hasSelection()''' 14248 return bool() 14249 def emitSelectionChanged(self, newSelection, oldSelection): 14250 '''void QItemSelectionModel.emitSelectionChanged(QItemSelection newSelection, QItemSelection oldSelection)''' 14251 currentColumnChanged = pyqtSignal() # void currentColumnChanged(const QModelIndexamp;,const QModelIndexamp;) - signal 14252 currentRowChanged = pyqtSignal() # void currentRowChanged(const QModelIndexamp;,const QModelIndexamp;) - signal 14253 currentChanged = pyqtSignal() # void currentChanged(const QModelIndexamp;,const QModelIndexamp;) - signal 14254 selectionChanged = pyqtSignal() # void selectionChanged(const QItemSelectionamp;,const QItemSelectionamp;) - signal 14255 def setCurrentIndex(self, index, command): 14256 '''void QItemSelectionModel.setCurrentIndex(QModelIndex index, QItemSelectionModel.SelectionFlags command)''' 14257 def select(self, index, command): 14258 '''void QItemSelectionModel.select(QModelIndex index, QItemSelectionModel.SelectionFlags command)''' 14259 def select(self, selection, command): 14260 '''void QItemSelectionModel.select(QItemSelection selection, QItemSelectionModel.SelectionFlags command)''' 14261 def reset(self): 14262 '''void QItemSelectionModel.reset()''' 14263 def clearSelection(self): 14264 '''void QItemSelectionModel.clearSelection()''' 14265 def clear(self): 14266 '''void QItemSelectionModel.clear()''' 14267 def model(self): 14268 '''QAbstractItemModel QItemSelectionModel.model()''' 14269 return QAbstractItemModel() 14270 def selection(self): 14271 '''QItemSelection QItemSelectionModel.selection()''' 14272 return QItemSelection() 14273 def selectedIndexes(self): 14274 '''list-of-QModelIndex QItemSelectionModel.selectedIndexes()''' 14275 return [QModelIndex()] 14276 def columnIntersectsSelection(self, column, parent): 14277 '''bool QItemSelectionModel.columnIntersectsSelection(int column, QModelIndex parent)''' 14278 return bool() 14279 def rowIntersectsSelection(self, row, parent): 14280 '''bool QItemSelectionModel.rowIntersectsSelection(int row, QModelIndex parent)''' 14281 return bool() 14282 def isColumnSelected(self, column, parent): 14283 '''bool QItemSelectionModel.isColumnSelected(int column, QModelIndex parent)''' 14284 return bool() 14285 def isRowSelected(self, row, parent): 14286 '''bool QItemSelectionModel.isRowSelected(int row, QModelIndex parent)''' 14287 return bool() 14288 def isSelected(self, index): 14289 '''bool QItemSelectionModel.isSelected(QModelIndex index)''' 14290 return bool() 14291 def currentIndex(self): 14292 '''QModelIndex QItemSelectionModel.currentIndex()''' 14293 return QModelIndex() 14294 class SelectionFlags(): 14295 """""" 14296 def __init__(self): 14297 '''QItemSelectionModel.SelectionFlags QItemSelectionModel.SelectionFlags.__init__()''' 14298 return QItemSelectionModel.SelectionFlags() 14299 def __init__(self): 14300 '''int QItemSelectionModel.SelectionFlags.__init__()''' 14301 return int() 14302 def __init__(self): 14303 '''void QItemSelectionModel.SelectionFlags.__init__()''' 14304 def __bool__(self): 14305 '''int QItemSelectionModel.SelectionFlags.__bool__()''' 14306 return int() 14307 def __ne__(self, f): 14308 '''bool QItemSelectionModel.SelectionFlags.__ne__(QItemSelectionModel.SelectionFlags f)''' 14309 return bool() 14310 def __eq__(self, f): 14311 '''bool QItemSelectionModel.SelectionFlags.__eq__(QItemSelectionModel.SelectionFlags f)''' 14312 return bool() 14313 def __invert__(self): 14314 '''QItemSelectionModel.SelectionFlags QItemSelectionModel.SelectionFlags.__invert__()''' 14315 return QItemSelectionModel.SelectionFlags() 14316 def __and__(self, mask): 14317 '''QItemSelectionModel.SelectionFlags QItemSelectionModel.SelectionFlags.__and__(int mask)''' 14318 return QItemSelectionModel.SelectionFlags() 14319 def __xor__(self, f): 14320 '''QItemSelectionModel.SelectionFlags QItemSelectionModel.SelectionFlags.__xor__(QItemSelectionModel.SelectionFlags f)''' 14321 return QItemSelectionModel.SelectionFlags() 14322 def __xor__(self, f): 14323 '''QItemSelectionModel.SelectionFlags QItemSelectionModel.SelectionFlags.__xor__(int f)''' 14324 return QItemSelectionModel.SelectionFlags() 14325 def __or__(self, f): 14326 '''QItemSelectionModel.SelectionFlags QItemSelectionModel.SelectionFlags.__or__(QItemSelectionModel.SelectionFlags f)''' 14327 return QItemSelectionModel.SelectionFlags() 14328 def __or__(self, f): 14329 '''QItemSelectionModel.SelectionFlags QItemSelectionModel.SelectionFlags.__or__(int f)''' 14330 return QItemSelectionModel.SelectionFlags() 14331 def __int__(self): 14332 '''int QItemSelectionModel.SelectionFlags.__int__()''' 14333 return int() 14334 def __ixor__(self, f): 14335 '''QItemSelectionModel.SelectionFlags QItemSelectionModel.SelectionFlags.__ixor__(QItemSelectionModel.SelectionFlags f)''' 14336 return QItemSelectionModel.SelectionFlags() 14337 def __ior__(self, f): 14338 '''QItemSelectionModel.SelectionFlags QItemSelectionModel.SelectionFlags.__ior__(QItemSelectionModel.SelectionFlags f)''' 14339 return QItemSelectionModel.SelectionFlags() 14340 def __iand__(self, mask): 14341 '''QItemSelectionModel.SelectionFlags QItemSelectionModel.SelectionFlags.__iand__(int mask)''' 14342 return QItemSelectionModel.SelectionFlags() 14343 14344 14345 class QItemSelection(): 14346 """""" 14347 def __init__(self): 14348 '''void QItemSelection.__init__()''' 14349 def __init__(self, topLeft, bottomRight): 14350 '''void QItemSelection.__init__(QModelIndex topLeft, QModelIndex bottomRight)''' 14351 def __init__(self): 14352 '''QItemSelection QItemSelection.__init__()''' 14353 return QItemSelection() 14354 def __iadd__(self, other): 14355 '''QItemSelection QItemSelection.__iadd__(QItemSelection other)''' 14356 return QItemSelection() 14357 def __iadd__(self, value): 14358 '''QItemSelection QItemSelection.__iadd__(QItemSelectionRange value)''' 14359 return QItemSelection() 14360 def lastIndexOf(self, value, from_ = None): 14361 '''int QItemSelection.lastIndexOf(QItemSelectionRange value, int from = -1)''' 14362 return int() 14363 def indexOf(self, value, from_ = 0): 14364 '''int QItemSelection.indexOf(QItemSelectionRange value, int from = 0)''' 14365 return int() 14366 def last(self): 14367 '''QItemSelectionRange QItemSelection.last()''' 14368 return QItemSelectionRange() 14369 def first(self): 14370 '''QItemSelectionRange QItemSelection.first()''' 14371 return QItemSelectionRange() 14372 def __len__(self): 14373 '''None QItemSelection.__len__()''' 14374 return None() 14375 def count(self, range): 14376 '''int QItemSelection.count(QItemSelectionRange range)''' 14377 return int() 14378 def count(self): 14379 '''int QItemSelection.count()''' 14380 return int() 14381 def swap(self, i, j): 14382 '''void QItemSelection.swap(int i, int j)''' 14383 def move(self, from_, to): 14384 '''void QItemSelection.move(int from, int to)''' 14385 def takeLast(self): 14386 '''QItemSelectionRange QItemSelection.takeLast()''' 14387 return QItemSelectionRange() 14388 def takeFirst(self): 14389 '''QItemSelectionRange QItemSelection.takeFirst()''' 14390 return QItemSelectionRange() 14391 def takeAt(self, i): 14392 '''QItemSelectionRange QItemSelection.takeAt(int i)''' 14393 return QItemSelectionRange() 14394 def removeAll(self, range): 14395 '''int QItemSelection.removeAll(QItemSelectionRange range)''' 14396 return int() 14397 def removeAt(self, i): 14398 '''void QItemSelection.removeAt(int i)''' 14399 def replace(self, i, range): 14400 '''void QItemSelection.replace(int i, QItemSelectionRange range)''' 14401 def insert(self, i, range): 14402 '''void QItemSelection.insert(int i, QItemSelectionRange range)''' 14403 def prepend(self, range): 14404 '''void QItemSelection.prepend(QItemSelectionRange range)''' 14405 def append(self, range): 14406 '''void QItemSelection.append(QItemSelectionRange range)''' 14407 def isEmpty(self): 14408 '''bool QItemSelection.isEmpty()''' 14409 return bool() 14410 def clear(self): 14411 '''void QItemSelection.clear()''' 14412 def __eq__(self, other): 14413 '''bool QItemSelection.__eq__(QItemSelection other)''' 14414 return bool() 14415 def __ne__(self, other): 14416 '''bool QItemSelection.__ne__(QItemSelection other)''' 14417 return bool() 14418 def __getitem__(self, i): 14419 '''QItemSelectionRange QItemSelection.__getitem__(int i)''' 14420 return QItemSelectionRange() 14421 def __getitem__(self, slice): 14422 '''QItemSelection QItemSelection.__getitem__(slice slice)''' 14423 return QItemSelection() 14424 def __delitem__(self, i): 14425 '''void QItemSelection.__delitem__(int i)''' 14426 def __delitem__(self, slice): 14427 '''void QItemSelection.__delitem__(slice slice)''' 14428 def __setitem__(self, i, range): 14429 '''void QItemSelection.__setitem__(int i, QItemSelectionRange range)''' 14430 def __setitem__(self, slice, list): 14431 '''void QItemSelection.__setitem__(slice slice, QItemSelection list)''' 14432 def split(self, range, other, result): 14433 '''static void QItemSelection.split(QItemSelectionRange range, QItemSelectionRange other, QItemSelection result)''' 14434 def merge(self, other, command): 14435 '''void QItemSelection.merge(QItemSelection other, QItemSelectionModel.SelectionFlags command)''' 14436 def indexes(self): 14437 '''list-of-QModelIndex QItemSelection.indexes()''' 14438 return [QModelIndex()] 14439 def __contains__(self, index): 14440 '''int QItemSelection.__contains__(QModelIndex index)''' 14441 return int() 14442 def contains(self, index): 14443 '''bool QItemSelection.contains(QModelIndex index)''' 14444 return bool() 14445 def select(self, topLeft, bottomRight): 14446 '''void QItemSelection.select(QModelIndex topLeft, QModelIndex bottomRight)''' 14447 14448 14449 class QKeyEventTransition(QEventTransition): 14450 """""" 14451 def __init__(self, sourceState = None): 14452 '''void QKeyEventTransition.__init__(QState sourceState = None)''' 14453 def __init__(self, object, type, key, sourceState = None): 14454 '''void QKeyEventTransition.__init__(QObject object, QEvent.Type type, int key, QState sourceState = None)''' 14455 def eventTest(self, event): 14456 '''bool QKeyEventTransition.eventTest(QEvent event)''' 14457 return bool() 14458 def onTransition(self, event): 14459 '''void QKeyEventTransition.onTransition(QEvent event)''' 14460 def setModifierMask(self, modifiers): 14461 '''void QKeyEventTransition.setModifierMask(Qt.KeyboardModifiers modifiers)''' 14462 def modifierMask(self): 14463 '''Qt.KeyboardModifiers QKeyEventTransition.modifierMask()''' 14464 return Qt.KeyboardModifiers() 14465 def setKey(self, key): 14466 '''void QKeyEventTransition.setKey(int key)''' 14467 def key(self): 14468 '''int QKeyEventTransition.key()''' 14469 return int() 14470 14471 14472 class QKeySequence(): 14473 """""" 14474 # Enum QKeySequence.StandardKey 14475 UnknownKey = 0 14476 HelpContents = 0 14477 WhatsThis = 0 14478 Open = 0 14479 Close = 0 14480 Save = 0 14481 New = 0 14482 Delete = 0 14483 Cut = 0 14484 Copy = 0 14485 Paste = 0 14486 Undo = 0 14487 Redo = 0 14488 Back = 0 14489 Forward = 0 14490 Refresh = 0 14491 ZoomIn = 0 14492 ZoomOut = 0 14493 Print = 0 14494 AddTab = 0 14495 NextChild = 0 14496 PreviousChild = 0 14497 Find = 0 14498 FindNext = 0 14499 FindPrevious = 0 14500 Replace = 0 14501 SelectAll = 0 14502 Bold = 0 14503 Italic = 0 14504 Underline = 0 14505 MoveToNextChar = 0 14506 MoveToPreviousChar = 0 14507 MoveToNextWord = 0 14508 MoveToPreviousWord = 0 14509 MoveToNextLine = 0 14510 MoveToPreviousLine = 0 14511 MoveToNextPage = 0 14512 MoveToPreviousPage = 0 14513 MoveToStartOfLine = 0 14514 MoveToEndOfLine = 0 14515 MoveToStartOfBlock = 0 14516 MoveToEndOfBlock = 0 14517 MoveToStartOfDocument = 0 14518 MoveToEndOfDocument = 0 14519 SelectNextChar = 0 14520 SelectPreviousChar = 0 14521 SelectNextWord = 0 14522 SelectPreviousWord = 0 14523 SelectNextLine = 0 14524 SelectPreviousLine = 0 14525 SelectNextPage = 0 14526 SelectPreviousPage = 0 14527 SelectStartOfLine = 0 14528 SelectEndOfLine = 0 14529 SelectStartOfBlock = 0 14530 SelectEndOfBlock = 0 14531 SelectStartOfDocument = 0 14532 SelectEndOfDocument = 0 14533 DeleteStartOfWord = 0 14534 DeleteEndOfWord = 0 14535 DeleteEndOfLine = 0 14536 InsertParagraphSeparator = 0 14537 InsertLineSeparator = 0 14538 SaveAs = 0 14539 Preferences = 0 14540 Quit = 0 14541 14542 # Enum QKeySequence.SequenceMatch 14543 NoMatch = 0 14544 PartialMatch = 0 14545 ExactMatch = 0 14546 14547 # Enum QKeySequence.SequenceFormat 14548 NativeText = 0 14549 PortableText = 0 14550 14551 def __init__(self): 14552 '''void QKeySequence.__init__()''' 14553 def __init__(self, ks): 14554 '''void QKeySequence.__init__(QKeySequence ks)''' 14555 def __init__(self, key, format): 14556 '''void QKeySequence.__init__(QString key, QKeySequence.SequenceFormat format)''' 14557 def __init__(self, k1, key2 = 0, key3 = 0, key4 = 0): 14558 '''void QKeySequence.__init__(int k1, int key2 = 0, int key3 = 0, int key4 = 0)''' 14559 def __init__(self, variant): 14560 '''void QKeySequence.__init__(QVariant variant)''' 14561 def swap(self, other): 14562 '''void QKeySequence.swap(QKeySequence other)''' 14563 def keyBindings(self, key): 14564 '''static list-of-QKeySequence QKeySequence.keyBindings(QKeySequence.StandardKey key)''' 14565 return [QKeySequence()] 14566 def fromString(self, str, format = None): 14567 '''static QKeySequence QKeySequence.fromString(QString str, QKeySequence.SequenceFormat format = QKeySequence.PortableText)''' 14568 return QKeySequence() 14569 def toString(self, format = None): 14570 '''QString QKeySequence.toString(QKeySequence.SequenceFormat format = QKeySequence.PortableText)''' 14571 return QString() 14572 def isDetached(self): 14573 '''bool QKeySequence.isDetached()''' 14574 return bool() 14575 def __ge__(self, other): 14576 '''bool QKeySequence.__ge__(QKeySequence other)''' 14577 return bool() 14578 def __le__(self, other): 14579 '''bool QKeySequence.__le__(QKeySequence other)''' 14580 return bool() 14581 def __gt__(self, other): 14582 '''bool QKeySequence.__gt__(QKeySequence other)''' 14583 return bool() 14584 def __lt__(self, ks): 14585 '''bool QKeySequence.__lt__(QKeySequence ks)''' 14586 return bool() 14587 def __ne__(self, other): 14588 '''bool QKeySequence.__ne__(QKeySequence other)''' 14589 return bool() 14590 def __eq__(self, other): 14591 '''bool QKeySequence.__eq__(QKeySequence other)''' 14592 return bool() 14593 def __getitem__(self, i): 14594 '''int QKeySequence.__getitem__(int i)''' 14595 return int() 14596 def __int__(self): 14597 '''int QKeySequence.__int__()''' 14598 return int() 14599 def mnemonic(self, text): 14600 '''static QKeySequence QKeySequence.mnemonic(QString text)''' 14601 return QKeySequence() 14602 def matches(self, seq): 14603 '''QKeySequence.SequenceMatch QKeySequence.matches(QKeySequence seq)''' 14604 return QKeySequence.SequenceMatch() 14605 def isEmpty(self): 14606 '''bool QKeySequence.isEmpty()''' 14607 return bool() 14608 def __len__(self): 14609 '''None QKeySequence.__len__()''' 14610 return None() 14611 def count(self): 14612 '''int QKeySequence.count()''' 14613 return int() 14614 14615 14616 class QLabel(QFrame): 14617 """""" 14618 def __init__(self, parent = None, flags = 0): 14619 '''void QLabel.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 14620 def __init__(self, text, parent = None, flags = 0): 14621 '''void QLabel.__init__(QString text, QWidget parent = None, Qt.WindowFlags flags = 0)''' 14622 def selectionStart(self): 14623 '''int QLabel.selectionStart()''' 14624 return int() 14625 def selectedText(self): 14626 '''QString QLabel.selectedText()''' 14627 return QString() 14628 def hasSelectedText(self): 14629 '''bool QLabel.hasSelectedText()''' 14630 return bool() 14631 def setSelection(self): 14632 '''int QLabel.setSelection()''' 14633 return int() 14634 def focusNextPrevChild(self, next): 14635 '''bool QLabel.focusNextPrevChild(bool next)''' 14636 return bool() 14637 def focusOutEvent(self, ev): 14638 '''void QLabel.focusOutEvent(QFocusEvent ev)''' 14639 def focusInEvent(self, ev): 14640 '''void QLabel.focusInEvent(QFocusEvent ev)''' 14641 def contextMenuEvent(self, ev): 14642 '''void QLabel.contextMenuEvent(QContextMenuEvent ev)''' 14643 def mouseReleaseEvent(self, ev): 14644 '''void QLabel.mouseReleaseEvent(QMouseEvent ev)''' 14645 def mouseMoveEvent(self, ev): 14646 '''void QLabel.mouseMoveEvent(QMouseEvent ev)''' 14647 def mousePressEvent(self, ev): 14648 '''void QLabel.mousePressEvent(QMouseEvent ev)''' 14649 def keyPressEvent(self, ev): 14650 '''void QLabel.keyPressEvent(QKeyEvent ev)''' 14651 def changeEvent(self): 14652 '''QEvent QLabel.changeEvent()''' 14653 return QEvent() 14654 def paintEvent(self): 14655 '''QPaintEvent QLabel.paintEvent()''' 14656 return QPaintEvent() 14657 def event(self, e): 14658 '''bool QLabel.event(QEvent e)''' 14659 return bool() 14660 linkHovered = pyqtSignal() # void linkHovered(const QStringamp;) - signal 14661 linkActivated = pyqtSignal() # void linkActivated(const QStringamp;) - signal 14662 def setText(self): 14663 '''QString QLabel.setText()''' 14664 return QString() 14665 def setPixmap(self): 14666 '''QPixmap QLabel.setPixmap()''' 14667 return QPixmap() 14668 def setPicture(self): 14669 '''QPicture QLabel.setPicture()''' 14670 return QPicture() 14671 def setNum(self): 14672 '''float QLabel.setNum()''' 14673 return float() 14674 def setNum(self): 14675 '''int QLabel.setNum()''' 14676 return int() 14677 def setMovie(self, movie): 14678 '''void QLabel.setMovie(QMovie movie)''' 14679 def clear(self): 14680 '''void QLabel.clear()''' 14681 def setOpenExternalLinks(self, open): 14682 '''void QLabel.setOpenExternalLinks(bool open)''' 14683 def textInteractionFlags(self): 14684 '''Qt.TextInteractionFlags QLabel.textInteractionFlags()''' 14685 return Qt.TextInteractionFlags() 14686 def setTextInteractionFlags(self, flags): 14687 '''void QLabel.setTextInteractionFlags(Qt.TextInteractionFlags flags)''' 14688 def openExternalLinks(self): 14689 '''bool QLabel.openExternalLinks()''' 14690 return bool() 14691 def heightForWidth(self): 14692 '''int QLabel.heightForWidth()''' 14693 return int() 14694 def buddy(self): 14695 '''QWidget QLabel.buddy()''' 14696 return QWidget() 14697 def setBuddy(self): 14698 '''QWidget QLabel.setBuddy()''' 14699 return QWidget() 14700 def minimumSizeHint(self): 14701 '''QSize QLabel.minimumSizeHint()''' 14702 return QSize() 14703 def sizeHint(self): 14704 '''QSize QLabel.sizeHint()''' 14705 return QSize() 14706 def setScaledContents(self): 14707 '''bool QLabel.setScaledContents()''' 14708 return bool() 14709 def hasScaledContents(self): 14710 '''bool QLabel.hasScaledContents()''' 14711 return bool() 14712 def setMargin(self): 14713 '''int QLabel.setMargin()''' 14714 return int() 14715 def margin(self): 14716 '''int QLabel.margin()''' 14717 return int() 14718 def setIndent(self): 14719 '''int QLabel.setIndent()''' 14720 return int() 14721 def indent(self): 14722 '''int QLabel.indent()''' 14723 return int() 14724 def wordWrap(self): 14725 '''bool QLabel.wordWrap()''' 14726 return bool() 14727 def setWordWrap(self, on): 14728 '''void QLabel.setWordWrap(bool on)''' 14729 def setAlignment(self): 14730 '''Qt.Alignment QLabel.setAlignment()''' 14731 return Qt.Alignment() 14732 def alignment(self): 14733 '''Qt.Alignment QLabel.alignment()''' 14734 return Qt.Alignment() 14735 def setTextFormat(self): 14736 '''Qt.TextFormat QLabel.setTextFormat()''' 14737 return Qt.TextFormat() 14738 def textFormat(self): 14739 '''Qt.TextFormat QLabel.textFormat()''' 14740 return Qt.TextFormat() 14741 def movie(self): 14742 '''QMovie QLabel.movie()''' 14743 return QMovie() 14744 def picture(self): 14745 '''QPicture QLabel.picture()''' 14746 return QPicture() 14747 def pixmap(self): 14748 '''QPixmap QLabel.pixmap()''' 14749 return QPixmap() 14750 def text(self): 14751 '''QString QLabel.text()''' 14752 return QString() 14753 14754 14755 class QSpacerItem(QLayoutItem): 14756 """""" 14757 def __init__(self, w, h, hPolicy = None, vPolicy = None): 14758 '''void QSpacerItem.__init__(int w, int h, QSizePolicy.Policy hPolicy = QSizePolicy.Minimum, QSizePolicy.Policy vPolicy = QSizePolicy.Minimum)''' 14759 def __init__(self): 14760 '''QSpacerItem QSpacerItem.__init__()''' 14761 return QSpacerItem() 14762 def spacerItem(self): 14763 '''QSpacerItem QSpacerItem.spacerItem()''' 14764 return QSpacerItem() 14765 def geometry(self): 14766 '''QRect QSpacerItem.geometry()''' 14767 return QRect() 14768 def setGeometry(self): 14769 '''QRect QSpacerItem.setGeometry()''' 14770 return QRect() 14771 def isEmpty(self): 14772 '''bool QSpacerItem.isEmpty()''' 14773 return bool() 14774 def expandingDirections(self): 14775 '''Qt.Orientations QSpacerItem.expandingDirections()''' 14776 return Qt.Orientations() 14777 def maximumSize(self): 14778 '''QSize QSpacerItem.maximumSize()''' 14779 return QSize() 14780 def minimumSize(self): 14781 '''QSize QSpacerItem.minimumSize()''' 14782 return QSize() 14783 def sizeHint(self): 14784 '''QSize QSpacerItem.sizeHint()''' 14785 return QSize() 14786 def changeSize(self, w, h, hPolicy = None, vPolicy = None): 14787 '''void QSpacerItem.changeSize(int w, int h, QSizePolicy.Policy hPolicy = QSizePolicy.Minimum, QSizePolicy.Policy vPolicy = QSizePolicy.Minimum)''' 14788 14789 14790 class QWidgetItem(QLayoutItem): 14791 """""" 14792 def __init__(self, w): 14793 '''void QWidgetItem.__init__(QWidget w)''' 14794 def heightForWidth(self): 14795 '''int QWidgetItem.heightForWidth()''' 14796 return int() 14797 def hasHeightForWidth(self): 14798 '''bool QWidgetItem.hasHeightForWidth()''' 14799 return bool() 14800 def widget(self): 14801 '''QWidget QWidgetItem.widget()''' 14802 return QWidget() 14803 def geometry(self): 14804 '''QRect QWidgetItem.geometry()''' 14805 return QRect() 14806 def setGeometry(self): 14807 '''QRect QWidgetItem.setGeometry()''' 14808 return QRect() 14809 def isEmpty(self): 14810 '''bool QWidgetItem.isEmpty()''' 14811 return bool() 14812 def expandingDirections(self): 14813 '''Qt.Orientations QWidgetItem.expandingDirections()''' 14814 return Qt.Orientations() 14815 def maximumSize(self): 14816 '''QSize QWidgetItem.maximumSize()''' 14817 return QSize() 14818 def minimumSize(self): 14819 '''QSize QWidgetItem.minimumSize()''' 14820 return QSize() 14821 def sizeHint(self): 14822 '''QSize QWidgetItem.sizeHint()''' 14823 return QSize() 14824 14825 14826 class QLCDNumber(QFrame): 14827 """""" 14828 # Enum QLCDNumber.SegmentStyle 14829 Outline = 0 14830 Filled = 0 14831 Flat = 0 14832 14833 # Enum QLCDNumber.Mode 14834 Hex = 0 14835 Dec = 0 14836 Oct = 0 14837 Bin = 0 14838 14839 def __init__(self, parent = None): 14840 '''void QLCDNumber.__init__(QWidget parent = None)''' 14841 def __init__(self, numDigits, parent = None): 14842 '''void QLCDNumber.__init__(int numDigits, QWidget parent = None)''' 14843 def setDigitCount(self, nDigits): 14844 '''void QLCDNumber.setDigitCount(int nDigits)''' 14845 def digitCount(self): 14846 '''int QLCDNumber.digitCount()''' 14847 return int() 14848 def paintEvent(self): 14849 '''QPaintEvent QLCDNumber.paintEvent()''' 14850 return QPaintEvent() 14851 def event(self, e): 14852 '''bool QLCDNumber.event(QEvent e)''' 14853 return bool() 14854 overflow = pyqtSignal() # void overflow() - signal 14855 def setSmallDecimalPoint(self): 14856 '''bool QLCDNumber.setSmallDecimalPoint()''' 14857 return bool() 14858 def setBinMode(self): 14859 '''void QLCDNumber.setBinMode()''' 14860 def setOctMode(self): 14861 '''void QLCDNumber.setOctMode()''' 14862 def setDecMode(self): 14863 '''void QLCDNumber.setDecMode()''' 14864 def setHexMode(self): 14865 '''void QLCDNumber.setHexMode()''' 14866 def display(self, str): 14867 '''void QLCDNumber.display(QString str)''' 14868 def display(self, num): 14869 '''void QLCDNumber.display(float num)''' 14870 def display(self, num): 14871 '''void QLCDNumber.display(int num)''' 14872 def sizeHint(self): 14873 '''QSize QLCDNumber.sizeHint()''' 14874 return QSize() 14875 def intValue(self): 14876 '''int QLCDNumber.intValue()''' 14877 return int() 14878 def value(self): 14879 '''float QLCDNumber.value()''' 14880 return float() 14881 def setSegmentStyle(self): 14882 '''QLCDNumber.SegmentStyle QLCDNumber.setSegmentStyle()''' 14883 return QLCDNumber.SegmentStyle() 14884 def segmentStyle(self): 14885 '''QLCDNumber.SegmentStyle QLCDNumber.segmentStyle()''' 14886 return QLCDNumber.SegmentStyle() 14887 def setMode(self): 14888 '''QLCDNumber.Mode QLCDNumber.setMode()''' 14889 return QLCDNumber.Mode() 14890 def mode(self): 14891 '''QLCDNumber.Mode QLCDNumber.mode()''' 14892 return QLCDNumber.Mode() 14893 def checkOverflow(self, num): 14894 '''bool QLCDNumber.checkOverflow(float num)''' 14895 return bool() 14896 def checkOverflow(self, num): 14897 '''bool QLCDNumber.checkOverflow(int num)''' 14898 return bool() 14899 def setNumDigits(self, nDigits): 14900 '''void QLCDNumber.setNumDigits(int nDigits)''' 14901 def numDigits(self): 14902 '''int QLCDNumber.numDigits()''' 14903 return int() 14904 def smallDecimalPoint(self): 14905 '''bool QLCDNumber.smallDecimalPoint()''' 14906 return bool() 14907 14908 14909 class QLineEdit(QWidget): 14910 """""" 14911 # Enum QLineEdit.EchoMode 14912 Normal = 0 14913 NoEcho = 0 14914 Password = 0 14915 PasswordEchoOnEdit = 0 14916 14917 def __init__(self, parent = None): 14918 '''void QLineEdit.__init__(QWidget parent = None)''' 14919 def __init__(self, contents, parent = None): 14920 '''void QLineEdit.__init__(QString contents, QWidget parent = None)''' 14921 def cursorMoveStyle(self): 14922 '''Qt.CursorMoveStyle QLineEdit.cursorMoveStyle()''' 14923 return Qt.CursorMoveStyle() 14924 def setCursorMoveStyle(self, style): 14925 '''void QLineEdit.setCursorMoveStyle(Qt.CursorMoveStyle style)''' 14926 def setPlaceholderText(self): 14927 '''QString QLineEdit.setPlaceholderText()''' 14928 return QString() 14929 def placeholderText(self): 14930 '''QString QLineEdit.placeholderText()''' 14931 return QString() 14932 def textMargins(self): 14933 '''QMargins QLineEdit.textMargins()''' 14934 return QMargins() 14935 def getTextMargins(self, left, top, right, bottom): 14936 '''void QLineEdit.getTextMargins(int left, int top, int right, int bottom)''' 14937 def setTextMargins(self, left, top, right, bottom): 14938 '''void QLineEdit.setTextMargins(int left, int top, int right, int bottom)''' 14939 def setTextMargins(self, margins): 14940 '''void QLineEdit.setTextMargins(QMargins margins)''' 14941 def completer(self): 14942 '''QCompleter QLineEdit.completer()''' 14943 return QCompleter() 14944 def setCompleter(self, completer): 14945 '''void QLineEdit.setCompleter(QCompleter completer)''' 14946 def event(self): 14947 '''QEvent QLineEdit.event()''' 14948 return QEvent() 14949 def inputMethodQuery(self): 14950 '''Qt.InputMethodQuery QLineEdit.inputMethodQuery()''' 14951 return Qt.InputMethodQuery() 14952 def cursorRect(self): 14953 '''QRect QLineEdit.cursorRect()''' 14954 return QRect() 14955 def inputMethodEvent(self): 14956 '''QInputMethodEvent QLineEdit.inputMethodEvent()''' 14957 return QInputMethodEvent() 14958 def contextMenuEvent(self): 14959 '''QContextMenuEvent QLineEdit.contextMenuEvent()''' 14960 return QContextMenuEvent() 14961 def changeEvent(self): 14962 '''QEvent QLineEdit.changeEvent()''' 14963 return QEvent() 14964 def dropEvent(self): 14965 '''QDropEvent QLineEdit.dropEvent()''' 14966 return QDropEvent() 14967 def dragLeaveEvent(self, e): 14968 '''void QLineEdit.dragLeaveEvent(QDragLeaveEvent e)''' 14969 def dragMoveEvent(self, e): 14970 '''void QLineEdit.dragMoveEvent(QDragMoveEvent e)''' 14971 def dragEnterEvent(self): 14972 '''QDragEnterEvent QLineEdit.dragEnterEvent()''' 14973 return QDragEnterEvent() 14974 def paintEvent(self): 14975 '''QPaintEvent QLineEdit.paintEvent()''' 14976 return QPaintEvent() 14977 def focusOutEvent(self): 14978 '''QFocusEvent QLineEdit.focusOutEvent()''' 14979 return QFocusEvent() 14980 def focusInEvent(self): 14981 '''QFocusEvent QLineEdit.focusInEvent()''' 14982 return QFocusEvent() 14983 def keyPressEvent(self): 14984 '''QKeyEvent QLineEdit.keyPressEvent()''' 14985 return QKeyEvent() 14986 def mouseDoubleClickEvent(self): 14987 '''QMouseEvent QLineEdit.mouseDoubleClickEvent()''' 14988 return QMouseEvent() 14989 def mouseReleaseEvent(self): 14990 '''QMouseEvent QLineEdit.mouseReleaseEvent()''' 14991 return QMouseEvent() 14992 def mouseMoveEvent(self): 14993 '''QMouseEvent QLineEdit.mouseMoveEvent()''' 14994 return QMouseEvent() 14995 def mousePressEvent(self): 14996 '''QMouseEvent QLineEdit.mousePressEvent()''' 14997 return QMouseEvent() 14998 def initStyleOption(self, option): 14999 '''void QLineEdit.initStyleOption(QStyleOptionFrame option)''' 15000 selectionChanged = pyqtSignal() # void selectionChanged() - signal 15001 editingFinished = pyqtSignal() # void editingFinished() - signal 15002 returnPressed = pyqtSignal() # void returnPressed() - signal 15003 cursorPositionChanged = pyqtSignal() # void cursorPositionChanged(int,int) - signal 15004 textEdited = pyqtSignal() # void textEdited(const QStringamp;) - signal 15005 textChanged = pyqtSignal() # void textChanged(const QStringamp;) - signal 15006 def createStandardContextMenu(self): 15007 '''QMenu QLineEdit.createStandardContextMenu()''' 15008 return QMenu() 15009 def insert(self): 15010 '''QString QLineEdit.insert()''' 15011 return QString() 15012 def deselect(self): 15013 '''void QLineEdit.deselect()''' 15014 def paste(self): 15015 '''void QLineEdit.paste()''' 15016 def copy(self): 15017 '''void QLineEdit.copy()''' 15018 def cut(self): 15019 '''void QLineEdit.cut()''' 15020 def redo(self): 15021 '''void QLineEdit.redo()''' 15022 def undo(self): 15023 '''void QLineEdit.undo()''' 15024 def selectAll(self): 15025 '''void QLineEdit.selectAll()''' 15026 def clear(self): 15027 '''void QLineEdit.clear()''' 15028 def setText(self): 15029 '''QString QLineEdit.setText()''' 15030 return QString() 15031 def hasAcceptableInput(self): 15032 '''bool QLineEdit.hasAcceptableInput()''' 15033 return bool() 15034 def setInputMask(self, inputMask): 15035 '''void QLineEdit.setInputMask(QString inputMask)''' 15036 def inputMask(self): 15037 '''QString QLineEdit.inputMask()''' 15038 return QString() 15039 def dragEnabled(self): 15040 '''bool QLineEdit.dragEnabled()''' 15041 return bool() 15042 def setDragEnabled(self, b): 15043 '''void QLineEdit.setDragEnabled(bool b)''' 15044 def isRedoAvailable(self): 15045 '''bool QLineEdit.isRedoAvailable()''' 15046 return bool() 15047 def isUndoAvailable(self): 15048 '''bool QLineEdit.isUndoAvailable()''' 15049 return bool() 15050 def selectionStart(self): 15051 '''int QLineEdit.selectionStart()''' 15052 return int() 15053 def selectedText(self): 15054 '''QString QLineEdit.selectedText()''' 15055 return QString() 15056 def hasSelectedText(self): 15057 '''bool QLineEdit.hasSelectedText()''' 15058 return bool() 15059 def setSelection(self): 15060 '''int QLineEdit.setSelection()''' 15061 return int() 15062 def setModified(self): 15063 '''bool QLineEdit.setModified()''' 15064 return bool() 15065 def isModified(self): 15066 '''bool QLineEdit.isModified()''' 15067 return bool() 15068 def end(self, mark): 15069 '''void QLineEdit.end(bool mark)''' 15070 def home(self, mark): 15071 '''void QLineEdit.home(bool mark)''' 15072 def del_(self): 15073 '''void QLineEdit.del_()''' 15074 def backspace(self): 15075 '''void QLineEdit.backspace()''' 15076 def cursorWordBackward(self, mark): 15077 '''void QLineEdit.cursorWordBackward(bool mark)''' 15078 def cursorWordForward(self, mark): 15079 '''void QLineEdit.cursorWordForward(bool mark)''' 15080 def cursorBackward(self, mark, steps = 1): 15081 '''void QLineEdit.cursorBackward(bool mark, int steps = 1)''' 15082 def cursorForward(self, mark, steps = 1): 15083 '''void QLineEdit.cursorForward(bool mark, int steps = 1)''' 15084 def alignment(self): 15085 '''Qt.Alignment QLineEdit.alignment()''' 15086 return Qt.Alignment() 15087 def setAlignment(self, flag): 15088 '''void QLineEdit.setAlignment(Qt.Alignment flag)''' 15089 def cursorPositionAt(self, pos): 15090 '''int QLineEdit.cursorPositionAt(QPoint pos)''' 15091 return int() 15092 def setCursorPosition(self): 15093 '''int QLineEdit.setCursorPosition()''' 15094 return int() 15095 def cursorPosition(self): 15096 '''int QLineEdit.cursorPosition()''' 15097 return int() 15098 def minimumSizeHint(self): 15099 '''QSize QLineEdit.minimumSizeHint()''' 15100 return QSize() 15101 def sizeHint(self): 15102 '''QSize QLineEdit.sizeHint()''' 15103 return QSize() 15104 def validator(self): 15105 '''QValidator QLineEdit.validator()''' 15106 return QValidator() 15107 def setValidator(self): 15108 '''QValidator QLineEdit.setValidator()''' 15109 return QValidator() 15110 def setReadOnly(self): 15111 '''bool QLineEdit.setReadOnly()''' 15112 return bool() 15113 def isReadOnly(self): 15114 '''bool QLineEdit.isReadOnly()''' 15115 return bool() 15116 def setEchoMode(self): 15117 '''QLineEdit.EchoMode QLineEdit.setEchoMode()''' 15118 return QLineEdit.EchoMode() 15119 def echoMode(self): 15120 '''QLineEdit.EchoMode QLineEdit.echoMode()''' 15121 return QLineEdit.EchoMode() 15122 def hasFrame(self): 15123 '''bool QLineEdit.hasFrame()''' 15124 return bool() 15125 def setFrame(self): 15126 '''bool QLineEdit.setFrame()''' 15127 return bool() 15128 def setMaxLength(self): 15129 '''int QLineEdit.setMaxLength()''' 15130 return int() 15131 def maxLength(self): 15132 '''int QLineEdit.maxLength()''' 15133 return int() 15134 def displayText(self): 15135 '''QString QLineEdit.displayText()''' 15136 return QString() 15137 def text(self): 15138 '''QString QLineEdit.text()''' 15139 return QString() 15140 15141 15142 class QListView(QAbstractItemView): 15143 """""" 15144 # Enum QListView.ViewMode 15145 ListMode = 0 15146 IconMode = 0 15147 15148 # Enum QListView.LayoutMode 15149 SinglePass = 0 15150 Batched = 0 15151 15152 # Enum QListView.ResizeMode 15153 Fixed = 0 15154 Adjust = 0 15155 15156 # Enum QListView.Flow 15157 LeftToRight = 0 15158 TopToBottom = 0 15159 15160 # Enum QListView.Movement 15161 Static = 0 15162 Free = 0 15163 Snap = 0 15164 15165 def __init__(self, parent = None): 15166 '''void QListView.__init__(QWidget parent = None)''' 15167 def currentChanged(self, current, previous): 15168 '''void QListView.currentChanged(QModelIndex current, QModelIndex previous)''' 15169 def selectionChanged(self, selected, deselected): 15170 '''void QListView.selectionChanged(QItemSelection selected, QItemSelection deselected)''' 15171 def isSelectionRectVisible(self): 15172 '''bool QListView.isSelectionRectVisible()''' 15173 return bool() 15174 def setSelectionRectVisible(self, show): 15175 '''void QListView.setSelectionRectVisible(bool show)''' 15176 def wordWrap(self): 15177 '''bool QListView.wordWrap()''' 15178 return bool() 15179 def setWordWrap(self, on): 15180 '''void QListView.setWordWrap(bool on)''' 15181 def batchSize(self): 15182 '''int QListView.batchSize()''' 15183 return int() 15184 def setBatchSize(self, batchSize): 15185 '''void QListView.setBatchSize(int batchSize)''' 15186 def isIndexHidden(self, index): 15187 '''bool QListView.isIndexHidden(QModelIndex index)''' 15188 return bool() 15189 def updateGeometries(self): 15190 '''void QListView.updateGeometries()''' 15191 def selectedIndexes(self): 15192 '''list-of-QModelIndex QListView.selectedIndexes()''' 15193 return [QModelIndex()] 15194 def visualRegionForSelection(self, selection): 15195 '''QRegion QListView.visualRegionForSelection(QItemSelection selection)''' 15196 return QRegion() 15197 def setSelection(self, rect, command): 15198 '''void QListView.setSelection(QRect rect, QItemSelectionModel.SelectionFlags command)''' 15199 def setPositionForIndex(self, position, index): 15200 '''void QListView.setPositionForIndex(QPoint position, QModelIndex index)''' 15201 def rectForIndex(self, index): 15202 '''QRect QListView.rectForIndex(QModelIndex index)''' 15203 return QRect() 15204 def moveCursor(self, cursorAction, modifiers): 15205 '''QModelIndex QListView.moveCursor(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers)''' 15206 return QModelIndex() 15207 def verticalOffset(self): 15208 '''int QListView.verticalOffset()''' 15209 return int() 15210 def horizontalOffset(self): 15211 '''int QListView.horizontalOffset()''' 15212 return int() 15213 def paintEvent(self, e): 15214 '''void QListView.paintEvent(QPaintEvent e)''' 15215 def viewOptions(self): 15216 '''QStyleOptionViewItem QListView.viewOptions()''' 15217 return QStyleOptionViewItem() 15218 def startDrag(self, supportedActions): 15219 '''void QListView.startDrag(Qt.DropActions supportedActions)''' 15220 def dropEvent(self, e): 15221 '''void QListView.dropEvent(QDropEvent e)''' 15222 def dragLeaveEvent(self, e): 15223 '''void QListView.dragLeaveEvent(QDragLeaveEvent e)''' 15224 def dragMoveEvent(self, e): 15225 '''void QListView.dragMoveEvent(QDragMoveEvent e)''' 15226 def resizeEvent(self, e): 15227 '''void QListView.resizeEvent(QResizeEvent e)''' 15228 def timerEvent(self, e): 15229 '''void QListView.timerEvent(QTimerEvent e)''' 15230 def mouseReleaseEvent(self, e): 15231 '''void QListView.mouseReleaseEvent(QMouseEvent e)''' 15232 def mouseMoveEvent(self, e): 15233 '''void QListView.mouseMoveEvent(QMouseEvent e)''' 15234 def event(self, e): 15235 '''bool QListView.event(QEvent e)''' 15236 return bool() 15237 def rowsAboutToBeRemoved(self, parent, start, end): 15238 '''void QListView.rowsAboutToBeRemoved(QModelIndex parent, int start, int end)''' 15239 def rowsInserted(self, parent, start, end): 15240 '''void QListView.rowsInserted(QModelIndex parent, int start, int end)''' 15241 def dataChanged(self, topLeft, bottomRight): 15242 '''void QListView.dataChanged(QModelIndex topLeft, QModelIndex bottomRight)''' 15243 def scrollContentsBy(self, dx, dy): 15244 '''void QListView.scrollContentsBy(int dx, int dy)''' 15245 indexesMoved = pyqtSignal() # void indexesMoved(const QModelIndexListamp;) - signal 15246 def setRootIndex(self, index): 15247 '''void QListView.setRootIndex(QModelIndex index)''' 15248 def reset(self): 15249 '''void QListView.reset()''' 15250 def indexAt(self, p): 15251 '''QModelIndex QListView.indexAt(QPoint p)''' 15252 return QModelIndex() 15253 def scrollTo(self, index, hint = None): 15254 '''void QListView.scrollTo(QModelIndex index, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 15255 def visualRect(self, index): 15256 '''QRect QListView.visualRect(QModelIndex index)''' 15257 return QRect() 15258 def uniformItemSizes(self): 15259 '''bool QListView.uniformItemSizes()''' 15260 return bool() 15261 def setUniformItemSizes(self, enable): 15262 '''void QListView.setUniformItemSizes(bool enable)''' 15263 def modelColumn(self): 15264 '''int QListView.modelColumn()''' 15265 return int() 15266 def setModelColumn(self, column): 15267 '''void QListView.setModelColumn(int column)''' 15268 def setRowHidden(self, row, hide): 15269 '''void QListView.setRowHidden(int row, bool hide)''' 15270 def isRowHidden(self, row): 15271 '''bool QListView.isRowHidden(int row)''' 15272 return bool() 15273 def clearPropertyFlags(self): 15274 '''void QListView.clearPropertyFlags()''' 15275 def viewMode(self): 15276 '''QListView.ViewMode QListView.viewMode()''' 15277 return QListView.ViewMode() 15278 def setViewMode(self, mode): 15279 '''void QListView.setViewMode(QListView.ViewMode mode)''' 15280 def gridSize(self): 15281 '''QSize QListView.gridSize()''' 15282 return QSize() 15283 def setGridSize(self, size): 15284 '''void QListView.setGridSize(QSize size)''' 15285 def spacing(self): 15286 '''int QListView.spacing()''' 15287 return int() 15288 def setSpacing(self, space): 15289 '''void QListView.setSpacing(int space)''' 15290 def layoutMode(self): 15291 '''QListView.LayoutMode QListView.layoutMode()''' 15292 return QListView.LayoutMode() 15293 def setLayoutMode(self, mode): 15294 '''void QListView.setLayoutMode(QListView.LayoutMode mode)''' 15295 def resizeMode(self): 15296 '''QListView.ResizeMode QListView.resizeMode()''' 15297 return QListView.ResizeMode() 15298 def setResizeMode(self, mode): 15299 '''void QListView.setResizeMode(QListView.ResizeMode mode)''' 15300 def isWrapping(self): 15301 '''bool QListView.isWrapping()''' 15302 return bool() 15303 def setWrapping(self, enable): 15304 '''void QListView.setWrapping(bool enable)''' 15305 def flow(self): 15306 '''QListView.Flow QListView.flow()''' 15307 return QListView.Flow() 15308 def setFlow(self, flow): 15309 '''void QListView.setFlow(QListView.Flow flow)''' 15310 def movement(self): 15311 '''QListView.Movement QListView.movement()''' 15312 return QListView.Movement() 15313 def setMovement(self, movement): 15314 '''void QListView.setMovement(QListView.Movement movement)''' 15315 15316 15317 class QListWidgetItem(): 15318 """""" 15319 # Enum QListWidgetItem.ItemType 15320 Type = 0 15321 UserType = 0 15322 15323 def __init__(self, parent = None, type = None): 15324 '''void QListWidgetItem.__init__(QListWidget parent = None, int type = QListWidgetItem.Type)''' 15325 def __init__(self, text, parent = None, type = None): 15326 '''void QListWidgetItem.__init__(QString text, QListWidget parent = None, int type = QListWidgetItem.Type)''' 15327 def __init__(self, icon, text, parent = None, type = None): 15328 '''void QListWidgetItem.__init__(QIcon icon, QString text, QListWidget parent = None, int type = QListWidgetItem.Type)''' 15329 def __init__(self, other): 15330 '''void QListWidgetItem.__init__(QListWidgetItem other)''' 15331 def __ge__(self, other): 15332 '''bool QListWidgetItem.__ge__(QListWidgetItem other)''' 15333 return bool() 15334 def isHidden(self): 15335 '''bool QListWidgetItem.isHidden()''' 15336 return bool() 15337 def setHidden(self, ahide): 15338 '''void QListWidgetItem.setHidden(bool ahide)''' 15339 def isSelected(self): 15340 '''bool QListWidgetItem.isSelected()''' 15341 return bool() 15342 def setSelected(self, aselect): 15343 '''void QListWidgetItem.setSelected(bool aselect)''' 15344 def setForeground(self, brush): 15345 '''void QListWidgetItem.setForeground(QBrush brush)''' 15346 def foreground(self): 15347 '''QBrush QListWidgetItem.foreground()''' 15348 return QBrush() 15349 def setBackground(self, brush): 15350 '''void QListWidgetItem.setBackground(QBrush brush)''' 15351 def background(self): 15352 '''QBrush QListWidgetItem.background()''' 15353 return QBrush() 15354 def setFont(self, afont): 15355 '''void QListWidgetItem.setFont(QFont afont)''' 15356 def setWhatsThis(self, awhatsThis): 15357 '''void QListWidgetItem.setWhatsThis(QString awhatsThis)''' 15358 def setToolTip(self, atoolTip): 15359 '''void QListWidgetItem.setToolTip(QString atoolTip)''' 15360 def setStatusTip(self, astatusTip): 15361 '''void QListWidgetItem.setStatusTip(QString astatusTip)''' 15362 def setIcon(self, aicon): 15363 '''void QListWidgetItem.setIcon(QIcon aicon)''' 15364 def setText(self, atext): 15365 '''void QListWidgetItem.setText(QString atext)''' 15366 def setFlags(self, aflags): 15367 '''void QListWidgetItem.setFlags(Qt.ItemFlags aflags)''' 15368 def type(self): 15369 '''int QListWidgetItem.type()''' 15370 return int() 15371 def write(self, out): 15372 '''void QListWidgetItem.write(QDataStream out)''' 15373 def read(self, in_): 15374 '''void QListWidgetItem.read(QDataStream in)''' 15375 def __lt__(self, other): 15376 '''bool QListWidgetItem.__lt__(QListWidgetItem other)''' 15377 return bool() 15378 def setData(self, role, value): 15379 '''void QListWidgetItem.setData(int role, QVariant value)''' 15380 def data(self, role): 15381 '''QVariant QListWidgetItem.data(int role)''' 15382 return QVariant() 15383 def setSizeHint(self, size): 15384 '''void QListWidgetItem.setSizeHint(QSize size)''' 15385 def sizeHint(self): 15386 '''QSize QListWidgetItem.sizeHint()''' 15387 return QSize() 15388 def setCheckState(self, state): 15389 '''void QListWidgetItem.setCheckState(Qt.CheckState state)''' 15390 def checkState(self): 15391 '''Qt.CheckState QListWidgetItem.checkState()''' 15392 return Qt.CheckState() 15393 def setTextColor(self, color): 15394 '''void QListWidgetItem.setTextColor(QColor color)''' 15395 def textColor(self): 15396 '''QColor QListWidgetItem.textColor()''' 15397 return QColor() 15398 def setBackgroundColor(self, color): 15399 '''void QListWidgetItem.setBackgroundColor(QColor color)''' 15400 def backgroundColor(self): 15401 '''QColor QListWidgetItem.backgroundColor()''' 15402 return QColor() 15403 def setTextAlignment(self, alignment): 15404 '''void QListWidgetItem.setTextAlignment(int alignment)''' 15405 def textAlignment(self): 15406 '''int QListWidgetItem.textAlignment()''' 15407 return int() 15408 def font(self): 15409 '''QFont QListWidgetItem.font()''' 15410 return QFont() 15411 def whatsThis(self): 15412 '''QString QListWidgetItem.whatsThis()''' 15413 return QString() 15414 def toolTip(self): 15415 '''QString QListWidgetItem.toolTip()''' 15416 return QString() 15417 def statusTip(self): 15418 '''QString QListWidgetItem.statusTip()''' 15419 return QString() 15420 def icon(self): 15421 '''QIcon QListWidgetItem.icon()''' 15422 return QIcon() 15423 def text(self): 15424 '''QString QListWidgetItem.text()''' 15425 return QString() 15426 def flags(self): 15427 '''Qt.ItemFlags QListWidgetItem.flags()''' 15428 return Qt.ItemFlags() 15429 def listWidget(self): 15430 '''QListWidget QListWidgetItem.listWidget()''' 15431 return QListWidget() 15432 def clone(self): 15433 '''QListWidgetItem QListWidgetItem.clone()''' 15434 return QListWidgetItem() 15435 15436 15437 class QListWidget(QListView): 15438 """""" 15439 def __init__(self, parent = None): 15440 '''void QListWidget.__init__(QWidget parent = None)''' 15441 def removeItemWidget(self, aItem): 15442 '''void QListWidget.removeItemWidget(QListWidgetItem aItem)''' 15443 def dropEvent(self, event): 15444 '''void QListWidget.dropEvent(QDropEvent event)''' 15445 def isSortingEnabled(self): 15446 '''bool QListWidget.isSortingEnabled()''' 15447 return bool() 15448 def setSortingEnabled(self, enable): 15449 '''void QListWidget.setSortingEnabled(bool enable)''' 15450 def event(self, e): 15451 '''bool QListWidget.event(QEvent e)''' 15452 return bool() 15453 def itemFromIndex(self, index): 15454 '''QListWidgetItem QListWidget.itemFromIndex(QModelIndex index)''' 15455 return QListWidgetItem() 15456 def indexFromItem(self, item): 15457 '''QModelIndex QListWidget.indexFromItem(QListWidgetItem item)''' 15458 return QModelIndex() 15459 def items(self, data): 15460 '''list-of-QListWidgetItem QListWidget.items(QMimeData data)''' 15461 return [QListWidgetItem()] 15462 def supportedDropActions(self): 15463 '''Qt.DropActions QListWidget.supportedDropActions()''' 15464 return Qt.DropActions() 15465 def dropMimeData(self, index, data, action): 15466 '''bool QListWidget.dropMimeData(int index, QMimeData data, Qt.DropAction action)''' 15467 return bool() 15468 def mimeData(self, items): 15469 '''QMimeData QListWidget.mimeData(list-of-QListWidgetItem items)''' 15470 return QMimeData() 15471 def mimeTypes(self): 15472 '''QStringList QListWidget.mimeTypes()''' 15473 return QStringList() 15474 itemSelectionChanged = pyqtSignal() # void itemSelectionChanged() - signal 15475 currentRowChanged = pyqtSignal() # void currentRowChanged(int) - signal 15476 currentTextChanged = pyqtSignal() # void currentTextChanged(const QStringamp;) - signal 15477 currentItemChanged = pyqtSignal() # void currentItemChanged(QListWidgetItem *,QListWidgetItem *) - signal 15478 itemChanged = pyqtSignal() # void itemChanged(QListWidgetItem *) - signal 15479 itemEntered = pyqtSignal() # void itemEntered(QListWidgetItem *) - signal 15480 itemActivated = pyqtSignal() # void itemActivated(QListWidgetItem *) - signal 15481 itemDoubleClicked = pyqtSignal() # void itemDoubleClicked(QListWidgetItem *) - signal 15482 itemClicked = pyqtSignal() # void itemClicked(QListWidgetItem *) - signal 15483 itemPressed = pyqtSignal() # void itemPressed(QListWidgetItem *) - signal 15484 def scrollToItem(self, item, hint = None): 15485 '''void QListWidget.scrollToItem(QListWidgetItem item, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 15486 def clear(self): 15487 '''void QListWidget.clear()''' 15488 def setItemHidden(self, item, hide): 15489 '''void QListWidget.setItemHidden(QListWidgetItem item, bool hide)''' 15490 def isItemHidden(self, item): 15491 '''bool QListWidget.isItemHidden(QListWidgetItem item)''' 15492 return bool() 15493 def findItems(self, text, flags): 15494 '''list-of-QListWidgetItem QListWidget.findItems(QString text, Qt.MatchFlags flags)''' 15495 return [QListWidgetItem()] 15496 def selectedItems(self): 15497 '''list-of-QListWidgetItem QListWidget.selectedItems()''' 15498 return [QListWidgetItem()] 15499 def setItemSelected(self, item, select): 15500 '''void QListWidget.setItemSelected(QListWidgetItem item, bool select)''' 15501 def isItemSelected(self, item): 15502 '''bool QListWidget.isItemSelected(QListWidgetItem item)''' 15503 return bool() 15504 def closePersistentEditor(self, item): 15505 '''void QListWidget.closePersistentEditor(QListWidgetItem item)''' 15506 def openPersistentEditor(self, item): 15507 '''void QListWidget.openPersistentEditor(QListWidgetItem item)''' 15508 def editItem(self, item): 15509 '''void QListWidget.editItem(QListWidgetItem item)''' 15510 def sortItems(self, order = None): 15511 '''void QListWidget.sortItems(Qt.SortOrder order = Qt.AscendingOrder)''' 15512 def visualItemRect(self, item): 15513 '''QRect QListWidget.visualItemRect(QListWidgetItem item)''' 15514 return QRect() 15515 def setItemWidget(self, item, widget): 15516 '''void QListWidget.setItemWidget(QListWidgetItem item, QWidget widget)''' 15517 def itemWidget(self, item): 15518 '''QWidget QListWidget.itemWidget(QListWidgetItem item)''' 15519 return QWidget() 15520 def itemAt(self, p): 15521 '''QListWidgetItem QListWidget.itemAt(QPoint p)''' 15522 return QListWidgetItem() 15523 def itemAt(self, ax, ay): 15524 '''QListWidgetItem QListWidget.itemAt(int ax, int ay)''' 15525 return QListWidgetItem() 15526 def setCurrentRow(self, row): 15527 '''void QListWidget.setCurrentRow(int row)''' 15528 def setCurrentRow(self, row, command): 15529 '''void QListWidget.setCurrentRow(int row, QItemSelectionModel.SelectionFlags command)''' 15530 def currentRow(self): 15531 '''int QListWidget.currentRow()''' 15532 return int() 15533 def setCurrentItem(self, item): 15534 '''void QListWidget.setCurrentItem(QListWidgetItem item)''' 15535 def setCurrentItem(self, item, command): 15536 '''void QListWidget.setCurrentItem(QListWidgetItem item, QItemSelectionModel.SelectionFlags command)''' 15537 def currentItem(self): 15538 '''QListWidgetItem QListWidget.currentItem()''' 15539 return QListWidgetItem() 15540 def __len__(self): 15541 '''None QListWidget.__len__()''' 15542 return None() 15543 def count(self): 15544 '''int QListWidget.count()''' 15545 return int() 15546 def takeItem(self, row): 15547 '''QListWidgetItem QListWidget.takeItem(int row)''' 15548 return QListWidgetItem() 15549 def addItems(self, labels): 15550 '''void QListWidget.addItems(QStringList labels)''' 15551 def addItem(self, aitem): 15552 '''void QListWidget.addItem(QListWidgetItem aitem)''' 15553 def addItem(self, label): 15554 '''void QListWidget.addItem(QString label)''' 15555 def insertItems(self, row, labels): 15556 '''void QListWidget.insertItems(int row, QStringList labels)''' 15557 def insertItem(self, row, item): 15558 '''void QListWidget.insertItem(int row, QListWidgetItem item)''' 15559 def insertItem(self, row, label): 15560 '''void QListWidget.insertItem(int row, QString label)''' 15561 def row(self, item): 15562 '''int QListWidget.row(QListWidgetItem item)''' 15563 return int() 15564 def item(self, row): 15565 '''QListWidgetItem QListWidget.item(int row)''' 15566 return QListWidgetItem() 15567 15568 15569 class QMainWindow(QWidget): 15570 """""" 15571 # Enum QMainWindow.DockOption 15572 AnimatedDocks = 0 15573 AllowNestedDocks = 0 15574 AllowTabbedDocks = 0 15575 ForceTabbedDocks = 0 15576 VerticalTabs = 0 15577 15578 def __init__(self, parent = None, flags = 0): 15579 '''void QMainWindow.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 15580 def tabifiedDockWidgets(self, dockwidget): 15581 '''list-of-QDockWidget QMainWindow.tabifiedDockWidgets(QDockWidget dockwidget)''' 15582 return [QDockWidget()] 15583 def setTabPosition(self, areas, tabPosition): 15584 '''void QMainWindow.setTabPosition(Qt.DockWidgetAreas areas, QTabWidget.TabPosition tabPosition)''' 15585 def tabPosition(self, area): 15586 '''QTabWidget.TabPosition QMainWindow.tabPosition(Qt.DockWidgetArea area)''' 15587 return QTabWidget.TabPosition() 15588 def setTabShape(self, tabShape): 15589 '''void QMainWindow.setTabShape(QTabWidget.TabShape tabShape)''' 15590 def tabShape(self): 15591 '''QTabWidget.TabShape QMainWindow.tabShape()''' 15592 return QTabWidget.TabShape() 15593 def setDocumentMode(self, enabled): 15594 '''void QMainWindow.setDocumentMode(bool enabled)''' 15595 def documentMode(self): 15596 '''bool QMainWindow.documentMode()''' 15597 return bool() 15598 def restoreDockWidget(self, dockwidget): 15599 '''bool QMainWindow.restoreDockWidget(QDockWidget dockwidget)''' 15600 return bool() 15601 def unifiedTitleAndToolBarOnMac(self): 15602 '''bool QMainWindow.unifiedTitleAndToolBarOnMac()''' 15603 return bool() 15604 def setUnifiedTitleAndToolBarOnMac(self, set): 15605 '''void QMainWindow.setUnifiedTitleAndToolBarOnMac(bool set)''' 15606 def toolBarBreak(self, toolbar): 15607 '''bool QMainWindow.toolBarBreak(QToolBar toolbar)''' 15608 return bool() 15609 def removeToolBarBreak(self, before): 15610 '''void QMainWindow.removeToolBarBreak(QToolBar before)''' 15611 def dockOptions(self): 15612 '''QMainWindow.DockOptions QMainWindow.dockOptions()''' 15613 return QMainWindow.DockOptions() 15614 def setDockOptions(self, options): 15615 '''void QMainWindow.setDockOptions(QMainWindow.DockOptions options)''' 15616 def tabifyDockWidget(self, first, second): 15617 '''void QMainWindow.tabifyDockWidget(QDockWidget first, QDockWidget second)''' 15618 def setMenuWidget(self, menubar): 15619 '''void QMainWindow.setMenuWidget(QWidget menubar)''' 15620 def menuWidget(self): 15621 '''QWidget QMainWindow.menuWidget()''' 15622 return QWidget() 15623 def isSeparator(self, pos): 15624 '''bool QMainWindow.isSeparator(QPoint pos)''' 15625 return bool() 15626 def isDockNestingEnabled(self): 15627 '''bool QMainWindow.isDockNestingEnabled()''' 15628 return bool() 15629 def isAnimated(self): 15630 '''bool QMainWindow.isAnimated()''' 15631 return bool() 15632 def event(self, event): 15633 '''bool QMainWindow.event(QEvent event)''' 15634 return bool() 15635 def contextMenuEvent(self, event): 15636 '''void QMainWindow.contextMenuEvent(QContextMenuEvent event)''' 15637 toolButtonStyleChanged = pyqtSignal() # void toolButtonStyleChanged(Qt::ToolButtonStyle) - signal 15638 iconSizeChanged = pyqtSignal() # void iconSizeChanged(const QSizeamp;) - signal 15639 def setDockNestingEnabled(self, enabled): 15640 '''void QMainWindow.setDockNestingEnabled(bool enabled)''' 15641 def setAnimated(self, enabled): 15642 '''void QMainWindow.setAnimated(bool enabled)''' 15643 def createPopupMenu(self): 15644 '''QMenu QMainWindow.createPopupMenu()''' 15645 return QMenu() 15646 def restoreState(self, state, version = 0): 15647 '''bool QMainWindow.restoreState(QByteArray state, int version = 0)''' 15648 return bool() 15649 def saveState(self, version = 0): 15650 '''QByteArray QMainWindow.saveState(int version = 0)''' 15651 return QByteArray() 15652 def dockWidgetArea(self, dockwidget): 15653 '''Qt.DockWidgetArea QMainWindow.dockWidgetArea(QDockWidget dockwidget)''' 15654 return Qt.DockWidgetArea() 15655 def removeDockWidget(self, dockwidget): 15656 '''void QMainWindow.removeDockWidget(QDockWidget dockwidget)''' 15657 def splitDockWidget(self, after, dockwidget, orientation): 15658 '''void QMainWindow.splitDockWidget(QDockWidget after, QDockWidget dockwidget, Qt.Orientation orientation)''' 15659 def addDockWidget(self, area, dockwidget): 15660 '''void QMainWindow.addDockWidget(Qt.DockWidgetArea area, QDockWidget dockwidget)''' 15661 def addDockWidget(self, area, dockwidget, orientation): 15662 '''void QMainWindow.addDockWidget(Qt.DockWidgetArea area, QDockWidget dockwidget, Qt.Orientation orientation)''' 15663 def toolBarArea(self, toolbar): 15664 '''Qt.ToolBarArea QMainWindow.toolBarArea(QToolBar toolbar)''' 15665 return Qt.ToolBarArea() 15666 def removeToolBar(self, toolbar): 15667 '''void QMainWindow.removeToolBar(QToolBar toolbar)''' 15668 def insertToolBar(self, before, toolbar): 15669 '''void QMainWindow.insertToolBar(QToolBar before, QToolBar toolbar)''' 15670 def addToolBar(self, area, toolbar): 15671 '''void QMainWindow.addToolBar(Qt.ToolBarArea area, QToolBar toolbar)''' 15672 def addToolBar(self, toolbar): 15673 '''void QMainWindow.addToolBar(QToolBar toolbar)''' 15674 def addToolBar(self, title): 15675 '''QToolBar QMainWindow.addToolBar(QString title)''' 15676 return QToolBar() 15677 def insertToolBarBreak(self, before): 15678 '''void QMainWindow.insertToolBarBreak(QToolBar before)''' 15679 def addToolBarBreak(self, area = None): 15680 '''void QMainWindow.addToolBarBreak(Qt.ToolBarArea area = Qt.TopToolBarArea)''' 15681 def corner(self, corner): 15682 '''Qt.DockWidgetArea QMainWindow.corner(Qt.Corner corner)''' 15683 return Qt.DockWidgetArea() 15684 def setCorner(self, corner, area): 15685 '''void QMainWindow.setCorner(Qt.Corner corner, Qt.DockWidgetArea area)''' 15686 def setCentralWidget(self, widget): 15687 '''void QMainWindow.setCentralWidget(QWidget widget)''' 15688 def centralWidget(self): 15689 '''QWidget QMainWindow.centralWidget()''' 15690 return QWidget() 15691 def setStatusBar(self, statusbar): 15692 '''void QMainWindow.setStatusBar(QStatusBar statusbar)''' 15693 def statusBar(self): 15694 '''QStatusBar QMainWindow.statusBar()''' 15695 return QStatusBar() 15696 def setMenuBar(self, menubar): 15697 '''void QMainWindow.setMenuBar(QMenuBar menubar)''' 15698 def menuBar(self): 15699 '''QMenuBar QMainWindow.menuBar()''' 15700 return QMenuBar() 15701 def setToolButtonStyle(self, toolButtonStyle): 15702 '''void QMainWindow.setToolButtonStyle(Qt.ToolButtonStyle toolButtonStyle)''' 15703 def toolButtonStyle(self): 15704 '''Qt.ToolButtonStyle QMainWindow.toolButtonStyle()''' 15705 return Qt.ToolButtonStyle() 15706 def setIconSize(self, iconSize): 15707 '''void QMainWindow.setIconSize(QSize iconSize)''' 15708 def iconSize(self): 15709 '''QSize QMainWindow.iconSize()''' 15710 return QSize() 15711 class DockOptions(): 15712 """""" 15713 def __init__(self): 15714 '''QMainWindow.DockOptions QMainWindow.DockOptions.__init__()''' 15715 return QMainWindow.DockOptions() 15716 def __init__(self): 15717 '''int QMainWindow.DockOptions.__init__()''' 15718 return int() 15719 def __init__(self): 15720 '''void QMainWindow.DockOptions.__init__()''' 15721 def __bool__(self): 15722 '''int QMainWindow.DockOptions.__bool__()''' 15723 return int() 15724 def __ne__(self, f): 15725 '''bool QMainWindow.DockOptions.__ne__(QMainWindow.DockOptions f)''' 15726 return bool() 15727 def __eq__(self, f): 15728 '''bool QMainWindow.DockOptions.__eq__(QMainWindow.DockOptions f)''' 15729 return bool() 15730 def __invert__(self): 15731 '''QMainWindow.DockOptions QMainWindow.DockOptions.__invert__()''' 15732 return QMainWindow.DockOptions() 15733 def __and__(self, mask): 15734 '''QMainWindow.DockOptions QMainWindow.DockOptions.__and__(int mask)''' 15735 return QMainWindow.DockOptions() 15736 def __xor__(self, f): 15737 '''QMainWindow.DockOptions QMainWindow.DockOptions.__xor__(QMainWindow.DockOptions f)''' 15738 return QMainWindow.DockOptions() 15739 def __xor__(self, f): 15740 '''QMainWindow.DockOptions QMainWindow.DockOptions.__xor__(int f)''' 15741 return QMainWindow.DockOptions() 15742 def __or__(self, f): 15743 '''QMainWindow.DockOptions QMainWindow.DockOptions.__or__(QMainWindow.DockOptions f)''' 15744 return QMainWindow.DockOptions() 15745 def __or__(self, f): 15746 '''QMainWindow.DockOptions QMainWindow.DockOptions.__or__(int f)''' 15747 return QMainWindow.DockOptions() 15748 def __int__(self): 15749 '''int QMainWindow.DockOptions.__int__()''' 15750 return int() 15751 def __ixor__(self, f): 15752 '''QMainWindow.DockOptions QMainWindow.DockOptions.__ixor__(QMainWindow.DockOptions f)''' 15753 return QMainWindow.DockOptions() 15754 def __ior__(self, f): 15755 '''QMainWindow.DockOptions QMainWindow.DockOptions.__ior__(QMainWindow.DockOptions f)''' 15756 return QMainWindow.DockOptions() 15757 def __iand__(self, mask): 15758 '''QMainWindow.DockOptions QMainWindow.DockOptions.__iand__(int mask)''' 15759 return QMainWindow.DockOptions() 15760 15761 15762 class QMatrix(): 15763 """""" 15764 def __init__(self): 15765 '''void QMatrix.__init__()''' 15766 def __init__(self, m11, m12, m21, m22, dx, dy): 15767 '''void QMatrix.__init__(float m11, float m12, float m21, float m22, float dx, float dy)''' 15768 def __init__(self, matrix): 15769 '''void QMatrix.__init__(QMatrix matrix)''' 15770 def determinant(self): 15771 '''float QMatrix.determinant()''' 15772 return float() 15773 def isIdentity(self): 15774 '''bool QMatrix.isIdentity()''' 15775 return bool() 15776 def __mul__(self, o): 15777 '''QMatrix QMatrix.__mul__(QMatrix o)''' 15778 return QMatrix() 15779 def __imul__(self): 15780 '''QMatrix QMatrix.__imul__()''' 15781 return QMatrix() 15782 def __ne__(self): 15783 '''QMatrix QMatrix.__ne__()''' 15784 return QMatrix() 15785 def __eq__(self): 15786 '''QMatrix QMatrix.__eq__()''' 15787 return QMatrix() 15788 def inverted(self, invertible): 15789 '''QMatrix QMatrix.inverted(bool invertible)''' 15790 return QMatrix() 15791 def det(self): 15792 '''float QMatrix.det()''' 15793 return float() 15794 def isInvertible(self): 15795 '''bool QMatrix.isInvertible()''' 15796 return bool() 15797 def rotate(self, a): 15798 '''QMatrix QMatrix.rotate(float a)''' 15799 return QMatrix() 15800 def shear(self, sh, sv): 15801 '''QMatrix QMatrix.shear(float sh, float sv)''' 15802 return QMatrix() 15803 def scale(self, sx, sy): 15804 '''QMatrix QMatrix.scale(float sx, float sy)''' 15805 return QMatrix() 15806 def translate(self, dx, dy): 15807 '''QMatrix QMatrix.translate(float dx, float dy)''' 15808 return QMatrix() 15809 def reset(self): 15810 '''void QMatrix.reset()''' 15811 def mapToPolygon(self, r): 15812 '''QPolygon QMatrix.mapToPolygon(QRect r)''' 15813 return QPolygon() 15814 def mapRect(self): 15815 '''QRect QMatrix.mapRect()''' 15816 return QRect() 15817 def mapRect(self): 15818 '''QRectF QMatrix.mapRect()''' 15819 return QRectF() 15820 def map(self, x, y, tx, ty): 15821 '''void QMatrix.map(int x, int y, int tx, int ty)''' 15822 def map(self, x, y, tx, ty): 15823 '''void QMatrix.map(float x, float y, float tx, float ty)''' 15824 def map(self, p): 15825 '''QPoint QMatrix.map(QPoint p)''' 15826 return QPoint() 15827 def map(self, p): 15828 '''QPointF QMatrix.map(QPointF p)''' 15829 return QPointF() 15830 def map(self, l): 15831 '''QLine QMatrix.map(QLine l)''' 15832 return QLine() 15833 def map(self, l): 15834 '''QLineF QMatrix.map(QLineF l)''' 15835 return QLineF() 15836 def map(self, a): 15837 '''QPolygonF QMatrix.map(QPolygonF a)''' 15838 return QPolygonF() 15839 def map(self, a): 15840 '''QPolygon QMatrix.map(QPolygon a)''' 15841 return QPolygon() 15842 def map(self, r): 15843 '''QRegion QMatrix.map(QRegion r)''' 15844 return QRegion() 15845 def map(self, p): 15846 '''QPainterPath QMatrix.map(QPainterPath p)''' 15847 return QPainterPath() 15848 def dy(self): 15849 '''float QMatrix.dy()''' 15850 return float() 15851 def dx(self): 15852 '''float QMatrix.dx()''' 15853 return float() 15854 def m22(self): 15855 '''float QMatrix.m22()''' 15856 return float() 15857 def m21(self): 15858 '''float QMatrix.m21()''' 15859 return float() 15860 def m12(self): 15861 '''float QMatrix.m12()''' 15862 return float() 15863 def m11(self): 15864 '''float QMatrix.m11()''' 15865 return float() 15866 def setMatrix(self, m11, m12, m21, m22, dx, dy): 15867 '''void QMatrix.setMatrix(float m11, float m12, float m21, float m22, float dx, float dy)''' 15868 15869 15870 class QMatrix4x4(): 15871 """""" 15872 def __init__(self): 15873 '''void QMatrix4x4.__init__()''' 15874 def __init__(self, values): 15875 '''void QMatrix4x4.__init__(sequence-of-float values)''' 15876 def __init__(self, m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44): 15877 '''void QMatrix4x4.__init__(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44)''' 15878 def __init__(self, transform): 15879 '''void QMatrix4x4.__init__(QTransform transform)''' 15880 def __init__(self, matrix): 15881 '''void QMatrix4x4.__init__(QMatrix matrix)''' 15882 def __init__(self): 15883 '''QMatrix4x4 QMatrix4x4.__init__()''' 15884 return QMatrix4x4() 15885 def __mul__(self, m2): 15886 '''QMatrix4x4 QMatrix4x4.__mul__(QMatrix4x4 m2)''' 15887 return QMatrix4x4() 15888 def __mul__(self, vector): 15889 '''QVector3D QMatrix4x4.__mul__(QVector3D vector)''' 15890 return QVector3D() 15891 def __mul__(self, vector): 15892 '''QVector4D QMatrix4x4.__mul__(QVector4D vector)''' 15893 return QVector4D() 15894 def __mul__(self, point): 15895 '''QPoint QMatrix4x4.__mul__(QPoint point)''' 15896 return QPoint() 15897 def __mul__(self, point): 15898 '''QPointF QMatrix4x4.__mul__(QPointF point)''' 15899 return QPointF() 15900 def __mul__(self, matrix): 15901 '''QMatrix4x4 QMatrix4x4.__mul__(QMatrix4x4 matrix)''' 15902 return QMatrix4x4() 15903 def __mul__(self, factor): 15904 '''QMatrix4x4 QMatrix4x4.__mul__(float factor)''' 15905 return QMatrix4x4() 15906 def __div__(self, divisor): 15907 '''QMatrix4x4 QMatrix4x4.__div__(float divisor)''' 15908 return QMatrix4x4() 15909 def __add__(self, m2): 15910 '''QMatrix4x4 QMatrix4x4.__add__(QMatrix4x4 m2)''' 15911 return QMatrix4x4() 15912 def __sub__(self, m2): 15913 '''QMatrix4x4 QMatrix4x4.__sub__(QMatrix4x4 m2)''' 15914 return QMatrix4x4() 15915 def __neg__(self): 15916 '''QMatrix4x4 QMatrix4x4.__neg__()''' 15917 return QMatrix4x4() 15918 def mapVector(self, vector): 15919 '''QVector3D QMatrix4x4.mapVector(QVector3D vector)''' 15920 return QVector3D() 15921 def map(self, point): 15922 '''QPoint QMatrix4x4.map(QPoint point)''' 15923 return QPoint() 15924 def map(self, point): 15925 '''QPointF QMatrix4x4.map(QPointF point)''' 15926 return QPointF() 15927 def map(self, point): 15928 '''QVector3D QMatrix4x4.map(QVector3D point)''' 15929 return QVector3D() 15930 def map(self, point): 15931 '''QVector4D QMatrix4x4.map(QVector4D point)''' 15932 return QVector4D() 15933 def __ne__(self, other): 15934 '''bool QMatrix4x4.__ne__(QMatrix4x4 other)''' 15935 return bool() 15936 def __eq__(self, other): 15937 '''bool QMatrix4x4.__eq__(QMatrix4x4 other)''' 15938 return bool() 15939 def __idiv__(self, divisor): 15940 '''QMatrix4x4 QMatrix4x4.__idiv__(float divisor)''' 15941 return QMatrix4x4() 15942 def __imul__(self, other): 15943 '''QMatrix4x4 QMatrix4x4.__imul__(QMatrix4x4 other)''' 15944 return QMatrix4x4() 15945 def __imul__(self, factor): 15946 '''QMatrix4x4 QMatrix4x4.__imul__(float factor)''' 15947 return QMatrix4x4() 15948 def __isub__(self, other): 15949 '''QMatrix4x4 QMatrix4x4.__isub__(QMatrix4x4 other)''' 15950 return QMatrix4x4() 15951 def __iadd__(self, other): 15952 '''QMatrix4x4 QMatrix4x4.__iadd__(QMatrix4x4 other)''' 15953 return QMatrix4x4() 15954 def fill(self, value): 15955 '''void QMatrix4x4.fill(float value)''' 15956 def setToIdentity(self): 15957 '''void QMatrix4x4.setToIdentity()''' 15958 def isIdentity(self): 15959 '''bool QMatrix4x4.isIdentity()''' 15960 return bool() 15961 def setRow(self, index, value): 15962 '''void QMatrix4x4.setRow(int index, QVector4D value)''' 15963 def row(self, index): 15964 '''QVector4D QMatrix4x4.row(int index)''' 15965 return QVector4D() 15966 def setColumn(self, index, value): 15967 '''void QMatrix4x4.setColumn(int index, QVector4D value)''' 15968 def column(self, index): 15969 '''QVector4D QMatrix4x4.column(int index)''' 15970 return QVector4D() 15971 def __setitem__(self): 15972 '''float QMatrix4x4.__setitem__()''' 15973 return float() 15974 def __getitem__(self): 15975 '''object QMatrix4x4.__getitem__()''' 15976 return object() 15977 def optimize(self): 15978 '''void QMatrix4x4.optimize()''' 15979 def data(self): 15980 '''list-of-float QMatrix4x4.data()''' 15981 return [float()] 15982 def mapRect(self, rect): 15983 '''QRect QMatrix4x4.mapRect(QRect rect)''' 15984 return QRect() 15985 def mapRect(self, rect): 15986 '''QRectF QMatrix4x4.mapRect(QRectF rect)''' 15987 return QRectF() 15988 def toTransform(self): 15989 '''QTransform QMatrix4x4.toTransform()''' 15990 return QTransform() 15991 def toTransform(self, distanceToPlane): 15992 '''QTransform QMatrix4x4.toTransform(float distanceToPlane)''' 15993 return QTransform() 15994 def toAffine(self): 15995 '''QMatrix QMatrix4x4.toAffine()''' 15996 return QMatrix() 15997 def copyDataTo(self): 15998 '''list-of-float QMatrix4x4.copyDataTo()''' 15999 return [float()] 16000 def flipCoordinates(self): 16001 '''void QMatrix4x4.flipCoordinates()''' 16002 def lookAt(self, eye, center, up): 16003 '''void QMatrix4x4.lookAt(QVector3D eye, QVector3D center, QVector3D up)''' 16004 def perspective(self, angle, aspect, nearPlane, farPlane): 16005 '''void QMatrix4x4.perspective(float angle, float aspect, float nearPlane, float farPlane)''' 16006 def frustum(self, left, right, bottom, top, nearPlane, farPlane): 16007 '''void QMatrix4x4.frustum(float left, float right, float bottom, float top, float nearPlane, float farPlane)''' 16008 def ortho(self, rect): 16009 '''void QMatrix4x4.ortho(QRect rect)''' 16010 def ortho(self, rect): 16011 '''void QMatrix4x4.ortho(QRectF rect)''' 16012 def ortho(self, left, right, bottom, top, nearPlane, farPlane): 16013 '''void QMatrix4x4.ortho(float left, float right, float bottom, float top, float nearPlane, float farPlane)''' 16014 def rotate(self, angle, vector): 16015 '''void QMatrix4x4.rotate(float angle, QVector3D vector)''' 16016 def rotate(self, angle, x, y, z = 0): 16017 '''void QMatrix4x4.rotate(float angle, float x, float y, float z = 0)''' 16018 def rotate(self, quaternion): 16019 '''void QMatrix4x4.rotate(QQuaternion quaternion)''' 16020 def translate(self, vector): 16021 '''void QMatrix4x4.translate(QVector3D vector)''' 16022 def translate(self, x, y): 16023 '''void QMatrix4x4.translate(float x, float y)''' 16024 def translate(self, x, y, z): 16025 '''void QMatrix4x4.translate(float x, float y, float z)''' 16026 def scale(self, vector): 16027 '''void QMatrix4x4.scale(QVector3D vector)''' 16028 def scale(self, x, y): 16029 '''void QMatrix4x4.scale(float x, float y)''' 16030 def scale(self, x, y, z): 16031 '''void QMatrix4x4.scale(float x, float y, float z)''' 16032 def scale(self, factor): 16033 '''void QMatrix4x4.scale(float factor)''' 16034 def normalMatrix(self): 16035 '''QMatrix3x3 QMatrix4x4.normalMatrix()''' 16036 return QMatrix3x3() 16037 def transposed(self): 16038 '''QMatrix4x4 QMatrix4x4.transposed()''' 16039 return QMatrix4x4() 16040 def inverted(self, invertible): 16041 '''QMatrix4x4 QMatrix4x4.inverted(bool invertible)''' 16042 return QMatrix4x4() 16043 def determinant(self): 16044 '''float QMatrix4x4.determinant()''' 16045 return float() 16046 def __repr__(self): 16047 '''str QMatrix4x4.__repr__()''' 16048 return str() 16049 16050 16051 class QMdiArea(QAbstractScrollArea): 16052 """""" 16053 # Enum QMdiArea.WindowOrder 16054 CreationOrder = 0 16055 StackingOrder = 0 16056 ActivationHistoryOrder = 0 16057 16058 # Enum QMdiArea.ViewMode 16059 SubWindowView = 0 16060 TabbedView = 0 16061 16062 # Enum QMdiArea.AreaOption 16063 DontMaximizeSubWindowOnActivation = 0 16064 16065 def __init__(self, parent = None): 16066 '''void QMdiArea.__init__(QWidget parent = None)''' 16067 def tabsMovable(self): 16068 '''bool QMdiArea.tabsMovable()''' 16069 return bool() 16070 def setTabsMovable(self, movable): 16071 '''void QMdiArea.setTabsMovable(bool movable)''' 16072 def tabsClosable(self): 16073 '''bool QMdiArea.tabsClosable()''' 16074 return bool() 16075 def setTabsClosable(self, closable): 16076 '''void QMdiArea.setTabsClosable(bool closable)''' 16077 def setDocumentMode(self, enabled): 16078 '''void QMdiArea.setDocumentMode(bool enabled)''' 16079 def documentMode(self): 16080 '''bool QMdiArea.documentMode()''' 16081 return bool() 16082 def tabPosition(self): 16083 '''QTabWidget.TabPosition QMdiArea.tabPosition()''' 16084 return QTabWidget.TabPosition() 16085 def setTabPosition(self, position): 16086 '''void QMdiArea.setTabPosition(QTabWidget.TabPosition position)''' 16087 def tabShape(self): 16088 '''QTabWidget.TabShape QMdiArea.tabShape()''' 16089 return QTabWidget.TabShape() 16090 def setTabShape(self, shape): 16091 '''void QMdiArea.setTabShape(QTabWidget.TabShape shape)''' 16092 def viewMode(self): 16093 '''QMdiArea.ViewMode QMdiArea.viewMode()''' 16094 return QMdiArea.ViewMode() 16095 def setViewMode(self, mode): 16096 '''void QMdiArea.setViewMode(QMdiArea.ViewMode mode)''' 16097 def setActivationOrder(self, order): 16098 '''void QMdiArea.setActivationOrder(QMdiArea.WindowOrder order)''' 16099 def activationOrder(self): 16100 '''QMdiArea.WindowOrder QMdiArea.activationOrder()''' 16101 return QMdiArea.WindowOrder() 16102 def scrollContentsBy(self, dx, dy): 16103 '''void QMdiArea.scrollContentsBy(int dx, int dy)''' 16104 def viewportEvent(self, event): 16105 '''bool QMdiArea.viewportEvent(QEvent event)''' 16106 return bool() 16107 def showEvent(self, showEvent): 16108 '''void QMdiArea.showEvent(QShowEvent showEvent)''' 16109 def timerEvent(self, timerEvent): 16110 '''void QMdiArea.timerEvent(QTimerEvent timerEvent)''' 16111 def resizeEvent(self, resizeEvent): 16112 '''void QMdiArea.resizeEvent(QResizeEvent resizeEvent)''' 16113 def childEvent(self, childEvent): 16114 '''void QMdiArea.childEvent(QChildEvent childEvent)''' 16115 def paintEvent(self, paintEvent): 16116 '''void QMdiArea.paintEvent(QPaintEvent paintEvent)''' 16117 def eventFilter(self, object, event): 16118 '''bool QMdiArea.eventFilter(QObject object, QEvent event)''' 16119 return bool() 16120 def event(self, event): 16121 '''bool QMdiArea.event(QEvent event)''' 16122 return bool() 16123 def setupViewport(self, viewport): 16124 '''void QMdiArea.setupViewport(QWidget viewport)''' 16125 def activatePreviousSubWindow(self): 16126 '''void QMdiArea.activatePreviousSubWindow()''' 16127 def activateNextSubWindow(self): 16128 '''void QMdiArea.activateNextSubWindow()''' 16129 def closeAllSubWindows(self): 16130 '''void QMdiArea.closeAllSubWindows()''' 16131 def closeActiveSubWindow(self): 16132 '''void QMdiArea.closeActiveSubWindow()''' 16133 def cascadeSubWindows(self): 16134 '''void QMdiArea.cascadeSubWindows()''' 16135 def tileSubWindows(self): 16136 '''void QMdiArea.tileSubWindows()''' 16137 def setActiveSubWindow(self, window): 16138 '''void QMdiArea.setActiveSubWindow(QMdiSubWindow window)''' 16139 subWindowActivated = pyqtSignal() # void subWindowActivated(QMdiSubWindow *) - signal 16140 def testOption(self, opton): 16141 '''bool QMdiArea.testOption(QMdiArea.AreaOption opton)''' 16142 return bool() 16143 def setOption(self, option, on = True): 16144 '''void QMdiArea.setOption(QMdiArea.AreaOption option, bool on = True)''' 16145 def setBackground(self, background): 16146 '''void QMdiArea.setBackground(QBrush background)''' 16147 def background(self): 16148 '''QBrush QMdiArea.background()''' 16149 return QBrush() 16150 def removeSubWindow(self, widget): 16151 '''void QMdiArea.removeSubWindow(QWidget widget)''' 16152 def currentSubWindow(self): 16153 '''QMdiSubWindow QMdiArea.currentSubWindow()''' 16154 return QMdiSubWindow() 16155 def subWindowList(self, order = None): 16156 '''list-of-QMdiSubWindow QMdiArea.subWindowList(QMdiArea.WindowOrder order = QMdiArea.CreationOrder)''' 16157 return [QMdiSubWindow()] 16158 def addSubWindow(self, widget, flags = 0): 16159 '''QMdiSubWindow QMdiArea.addSubWindow(QWidget widget, Qt.WindowFlags flags = 0)''' 16160 return QMdiSubWindow() 16161 def activeSubWindow(self): 16162 '''QMdiSubWindow QMdiArea.activeSubWindow()''' 16163 return QMdiSubWindow() 16164 def minimumSizeHint(self): 16165 '''QSize QMdiArea.minimumSizeHint()''' 16166 return QSize() 16167 def sizeHint(self): 16168 '''QSize QMdiArea.sizeHint()''' 16169 return QSize() 16170 class AreaOptions(): 16171 """""" 16172 def __init__(self): 16173 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__init__()''' 16174 return QMdiArea.AreaOptions() 16175 def __init__(self): 16176 '''int QMdiArea.AreaOptions.__init__()''' 16177 return int() 16178 def __init__(self): 16179 '''void QMdiArea.AreaOptions.__init__()''' 16180 def __bool__(self): 16181 '''int QMdiArea.AreaOptions.__bool__()''' 16182 return int() 16183 def __ne__(self, f): 16184 '''bool QMdiArea.AreaOptions.__ne__(QMdiArea.AreaOptions f)''' 16185 return bool() 16186 def __eq__(self, f): 16187 '''bool QMdiArea.AreaOptions.__eq__(QMdiArea.AreaOptions f)''' 16188 return bool() 16189 def __invert__(self): 16190 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__invert__()''' 16191 return QMdiArea.AreaOptions() 16192 def __and__(self, mask): 16193 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__and__(int mask)''' 16194 return QMdiArea.AreaOptions() 16195 def __xor__(self, f): 16196 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__xor__(QMdiArea.AreaOptions f)''' 16197 return QMdiArea.AreaOptions() 16198 def __xor__(self, f): 16199 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__xor__(int f)''' 16200 return QMdiArea.AreaOptions() 16201 def __or__(self, f): 16202 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__or__(QMdiArea.AreaOptions f)''' 16203 return QMdiArea.AreaOptions() 16204 def __or__(self, f): 16205 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__or__(int f)''' 16206 return QMdiArea.AreaOptions() 16207 def __int__(self): 16208 '''int QMdiArea.AreaOptions.__int__()''' 16209 return int() 16210 def __ixor__(self, f): 16211 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__ixor__(QMdiArea.AreaOptions f)''' 16212 return QMdiArea.AreaOptions() 16213 def __ior__(self, f): 16214 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__ior__(QMdiArea.AreaOptions f)''' 16215 return QMdiArea.AreaOptions() 16216 def __iand__(self, mask): 16217 '''QMdiArea.AreaOptions QMdiArea.AreaOptions.__iand__(int mask)''' 16218 return QMdiArea.AreaOptions() 16219 16220 16221 class QMdiSubWindow(QWidget): 16222 """""" 16223 # Enum QMdiSubWindow.SubWindowOption 16224 RubberBandResize = 0 16225 RubberBandMove = 0 16226 16227 def __init__(self, parent = None, flags = 0): 16228 '''void QMdiSubWindow.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 16229 def childEvent(self, childEvent): 16230 '''void QMdiSubWindow.childEvent(QChildEvent childEvent)''' 16231 def focusOutEvent(self, focusOutEvent): 16232 '''void QMdiSubWindow.focusOutEvent(QFocusEvent focusOutEvent)''' 16233 def focusInEvent(self, focusInEvent): 16234 '''void QMdiSubWindow.focusInEvent(QFocusEvent focusInEvent)''' 16235 def contextMenuEvent(self, contextMenuEvent): 16236 '''void QMdiSubWindow.contextMenuEvent(QContextMenuEvent contextMenuEvent)''' 16237 def keyPressEvent(self, keyEvent): 16238 '''void QMdiSubWindow.keyPressEvent(QKeyEvent keyEvent)''' 16239 def mouseMoveEvent(self, mouseEvent): 16240 '''void QMdiSubWindow.mouseMoveEvent(QMouseEvent mouseEvent)''' 16241 def mouseReleaseEvent(self, mouseEvent): 16242 '''void QMdiSubWindow.mouseReleaseEvent(QMouseEvent mouseEvent)''' 16243 def mouseDoubleClickEvent(self, mouseEvent): 16244 '''void QMdiSubWindow.mouseDoubleClickEvent(QMouseEvent mouseEvent)''' 16245 def mousePressEvent(self, mouseEvent): 16246 '''void QMdiSubWindow.mousePressEvent(QMouseEvent mouseEvent)''' 16247 def paintEvent(self, paintEvent): 16248 '''void QMdiSubWindow.paintEvent(QPaintEvent paintEvent)''' 16249 def moveEvent(self, moveEvent): 16250 '''void QMdiSubWindow.moveEvent(QMoveEvent moveEvent)''' 16251 def timerEvent(self, timerEvent): 16252 '''void QMdiSubWindow.timerEvent(QTimerEvent timerEvent)''' 16253 def resizeEvent(self, resizeEvent): 16254 '''void QMdiSubWindow.resizeEvent(QResizeEvent resizeEvent)''' 16255 def leaveEvent(self, leaveEvent): 16256 '''void QMdiSubWindow.leaveEvent(QEvent leaveEvent)''' 16257 def closeEvent(self, closeEvent): 16258 '''void QMdiSubWindow.closeEvent(QCloseEvent closeEvent)''' 16259 def changeEvent(self, changeEvent): 16260 '''void QMdiSubWindow.changeEvent(QEvent changeEvent)''' 16261 def hideEvent(self, hideEvent): 16262 '''void QMdiSubWindow.hideEvent(QHideEvent hideEvent)''' 16263 def showEvent(self, showEvent): 16264 '''void QMdiSubWindow.showEvent(QShowEvent showEvent)''' 16265 def event(self, event): 16266 '''bool QMdiSubWindow.event(QEvent event)''' 16267 return bool() 16268 def eventFilter(self, object, event): 16269 '''bool QMdiSubWindow.eventFilter(QObject object, QEvent event)''' 16270 return bool() 16271 def showShaded(self): 16272 '''void QMdiSubWindow.showShaded()''' 16273 def showSystemMenu(self): 16274 '''void QMdiSubWindow.showSystemMenu()''' 16275 aboutToActivate = pyqtSignal() # void aboutToActivate() - signal 16276 windowStateChanged = pyqtSignal() # void windowStateChanged(Qt::WindowStates,Qt::WindowStates) - signal 16277 def mdiArea(self): 16278 '''QMdiArea QMdiSubWindow.mdiArea()''' 16279 return QMdiArea() 16280 def systemMenu(self): 16281 '''QMenu QMdiSubWindow.systemMenu()''' 16282 return QMenu() 16283 def setSystemMenu(self, systemMenu): 16284 '''void QMdiSubWindow.setSystemMenu(QMenu systemMenu)''' 16285 def keyboardPageStep(self): 16286 '''int QMdiSubWindow.keyboardPageStep()''' 16287 return int() 16288 def setKeyboardPageStep(self, step): 16289 '''void QMdiSubWindow.setKeyboardPageStep(int step)''' 16290 def keyboardSingleStep(self): 16291 '''int QMdiSubWindow.keyboardSingleStep()''' 16292 return int() 16293 def setKeyboardSingleStep(self, step): 16294 '''void QMdiSubWindow.setKeyboardSingleStep(int step)''' 16295 def testOption(self): 16296 '''QMdiSubWindow.SubWindowOption QMdiSubWindow.testOption()''' 16297 return QMdiSubWindow.SubWindowOption() 16298 def setOption(self, option, on = True): 16299 '''void QMdiSubWindow.setOption(QMdiSubWindow.SubWindowOption option, bool on = True)''' 16300 def isShaded(self): 16301 '''bool QMdiSubWindow.isShaded()''' 16302 return bool() 16303 def widget(self): 16304 '''QWidget QMdiSubWindow.widget()''' 16305 return QWidget() 16306 def setWidget(self, widget): 16307 '''void QMdiSubWindow.setWidget(QWidget widget)''' 16308 def minimumSizeHint(self): 16309 '''QSize QMdiSubWindow.minimumSizeHint()''' 16310 return QSize() 16311 def sizeHint(self): 16312 '''QSize QMdiSubWindow.sizeHint()''' 16313 return QSize() 16314 class SubWindowOptions(): 16315 """""" 16316 def __init__(self): 16317 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__init__()''' 16318 return QMdiSubWindow.SubWindowOptions() 16319 def __init__(self): 16320 '''int QMdiSubWindow.SubWindowOptions.__init__()''' 16321 return int() 16322 def __init__(self): 16323 '''void QMdiSubWindow.SubWindowOptions.__init__()''' 16324 def __bool__(self): 16325 '''int QMdiSubWindow.SubWindowOptions.__bool__()''' 16326 return int() 16327 def __ne__(self, f): 16328 '''bool QMdiSubWindow.SubWindowOptions.__ne__(QMdiSubWindow.SubWindowOptions f)''' 16329 return bool() 16330 def __eq__(self, f): 16331 '''bool QMdiSubWindow.SubWindowOptions.__eq__(QMdiSubWindow.SubWindowOptions f)''' 16332 return bool() 16333 def __invert__(self): 16334 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__invert__()''' 16335 return QMdiSubWindow.SubWindowOptions() 16336 def __and__(self, mask): 16337 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__and__(int mask)''' 16338 return QMdiSubWindow.SubWindowOptions() 16339 def __xor__(self, f): 16340 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__xor__(QMdiSubWindow.SubWindowOptions f)''' 16341 return QMdiSubWindow.SubWindowOptions() 16342 def __xor__(self, f): 16343 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__xor__(int f)''' 16344 return QMdiSubWindow.SubWindowOptions() 16345 def __or__(self, f): 16346 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__or__(QMdiSubWindow.SubWindowOptions f)''' 16347 return QMdiSubWindow.SubWindowOptions() 16348 def __or__(self, f): 16349 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__or__(int f)''' 16350 return QMdiSubWindow.SubWindowOptions() 16351 def __int__(self): 16352 '''int QMdiSubWindow.SubWindowOptions.__int__()''' 16353 return int() 16354 def __ixor__(self, f): 16355 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__ixor__(QMdiSubWindow.SubWindowOptions f)''' 16356 return QMdiSubWindow.SubWindowOptions() 16357 def __ior__(self, f): 16358 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__ior__(QMdiSubWindow.SubWindowOptions f)''' 16359 return QMdiSubWindow.SubWindowOptions() 16360 def __iand__(self, mask): 16361 '''QMdiSubWindow.SubWindowOptions QMdiSubWindow.SubWindowOptions.__iand__(int mask)''' 16362 return QMdiSubWindow.SubWindowOptions() 16363 16364 16365 class QMenu(QWidget): 16366 """""" 16367 def __init__(self, parent = None): 16368 '''void QMenu.__init__(QWidget parent = None)''' 16369 def __init__(self, title, parent = None): 16370 '''void QMenu.__init__(QString title, QWidget parent = None)''' 16371 def setSeparatorsCollapsible(self, collapse): 16372 '''void QMenu.setSeparatorsCollapsible(bool collapse)''' 16373 def separatorsCollapsible(self): 16374 '''bool QMenu.separatorsCollapsible()''' 16375 return bool() 16376 def isEmpty(self): 16377 '''bool QMenu.isEmpty()''' 16378 return bool() 16379 def focusNextPrevChild(self, next): 16380 '''bool QMenu.focusNextPrevChild(bool next)''' 16381 return bool() 16382 def event(self): 16383 '''QEvent QMenu.event()''' 16384 return QEvent() 16385 def timerEvent(self): 16386 '''QTimerEvent QMenu.timerEvent()''' 16387 return QTimerEvent() 16388 def actionEvent(self): 16389 '''QActionEvent QMenu.actionEvent()''' 16390 return QActionEvent() 16391 def paintEvent(self): 16392 '''QPaintEvent QMenu.paintEvent()''' 16393 return QPaintEvent() 16394 def hideEvent(self): 16395 '''QHideEvent QMenu.hideEvent()''' 16396 return QHideEvent() 16397 def leaveEvent(self): 16398 '''QEvent QMenu.leaveEvent()''' 16399 return QEvent() 16400 def enterEvent(self): 16401 '''QEvent QMenu.enterEvent()''' 16402 return QEvent() 16403 def wheelEvent(self): 16404 '''QWheelEvent QMenu.wheelEvent()''' 16405 return QWheelEvent() 16406 def mouseMoveEvent(self): 16407 '''QMouseEvent QMenu.mouseMoveEvent()''' 16408 return QMouseEvent() 16409 def mousePressEvent(self): 16410 '''QMouseEvent QMenu.mousePressEvent()''' 16411 return QMouseEvent() 16412 def mouseReleaseEvent(self): 16413 '''QMouseEvent QMenu.mouseReleaseEvent()''' 16414 return QMouseEvent() 16415 def keyPressEvent(self): 16416 '''QKeyEvent QMenu.keyPressEvent()''' 16417 return QKeyEvent() 16418 def changeEvent(self): 16419 '''QEvent QMenu.changeEvent()''' 16420 return QEvent() 16421 def initStyleOption(self, option, action): 16422 '''void QMenu.initStyleOption(QStyleOptionMenuItem option, QAction action)''' 16423 def columnCount(self): 16424 '''int QMenu.columnCount()''' 16425 return int() 16426 triggered = pyqtSignal() # void triggered(QAction *) - signal 16427 hovered = pyqtSignal() # void hovered(QAction *) - signal 16428 aboutToShow = pyqtSignal() # void aboutToShow() - signal 16429 aboutToHide = pyqtSignal() # void aboutToHide() - signal 16430 def setNoReplayFor(self, widget): 16431 '''void QMenu.setNoReplayFor(QWidget widget)''' 16432 def setIcon(self, icon): 16433 '''void QMenu.setIcon(QIcon icon)''' 16434 def icon(self): 16435 '''QIcon QMenu.icon()''' 16436 return QIcon() 16437 def setTitle(self, title): 16438 '''void QMenu.setTitle(QString title)''' 16439 def title(self): 16440 '''QString QMenu.title()''' 16441 return QString() 16442 def menuAction(self): 16443 '''QAction QMenu.menuAction()''' 16444 return QAction() 16445 def actionAt(self): 16446 '''QPoint QMenu.actionAt()''' 16447 return QPoint() 16448 def actionGeometry(self): 16449 '''QAction QMenu.actionGeometry()''' 16450 return QAction() 16451 def sizeHint(self): 16452 '''QSize QMenu.sizeHint()''' 16453 return QSize() 16454 def exec_(self): 16455 '''QAction QMenu.exec_()''' 16456 return QAction() 16457 def exec_(self, p, action = None): 16458 '''QAction QMenu.exec_(QPoint p, QAction action = None)''' 16459 return QAction() 16460 def exec_(self, actions, pos, action = None): 16461 '''static QAction QMenu.exec_(list-of-QAction actions, QPoint pos, QAction action = None)''' 16462 return QAction() 16463 def exec_(self, actions, pos, at, parent): 16464 '''static QAction QMenu.exec_(list-of-QAction actions, QPoint pos, QAction at, QWidget parent)''' 16465 return QAction() 16466 def popup(self, p, action = None): 16467 '''void QMenu.popup(QPoint p, QAction action = None)''' 16468 def activeAction(self): 16469 '''QAction QMenu.activeAction()''' 16470 return QAction() 16471 def setActiveAction(self, act): 16472 '''void QMenu.setActiveAction(QAction act)''' 16473 def defaultAction(self): 16474 '''QAction QMenu.defaultAction()''' 16475 return QAction() 16476 def setDefaultAction(self): 16477 '''QAction QMenu.setDefaultAction()''' 16478 return QAction() 16479 def hideTearOffMenu(self): 16480 '''void QMenu.hideTearOffMenu()''' 16481 def isTearOffMenuVisible(self): 16482 '''bool QMenu.isTearOffMenuVisible()''' 16483 return bool() 16484 def isTearOffEnabled(self): 16485 '''bool QMenu.isTearOffEnabled()''' 16486 return bool() 16487 def setTearOffEnabled(self): 16488 '''bool QMenu.setTearOffEnabled()''' 16489 return bool() 16490 def clear(self): 16491 '''void QMenu.clear()''' 16492 def insertSeparator(self, before): 16493 '''QAction QMenu.insertSeparator(QAction before)''' 16494 return QAction() 16495 def insertMenu(self, before, menu): 16496 '''QAction QMenu.insertMenu(QAction before, QMenu menu)''' 16497 return QAction() 16498 def addSeparator(self): 16499 '''QAction QMenu.addSeparator()''' 16500 return QAction() 16501 def addMenu(self, menu): 16502 '''QAction QMenu.addMenu(QMenu menu)''' 16503 return QAction() 16504 def addMenu(self, title): 16505 '''QMenu QMenu.addMenu(QString title)''' 16506 return QMenu() 16507 def addMenu(self, icon, title): 16508 '''QMenu QMenu.addMenu(QIcon icon, QString title)''' 16509 return QMenu() 16510 def addAction(self, action): 16511 '''void QMenu.addAction(QAction action)''' 16512 def addAction(self, text): 16513 '''QAction QMenu.addAction(QString text)''' 16514 return QAction() 16515 def addAction(self, icon, text): 16516 '''QAction QMenu.addAction(QIcon icon, QString text)''' 16517 return QAction() 16518 def addAction(self, text, receiver, member, shortcut = 0): 16519 '''QAction QMenu.addAction(QString text, QObject receiver, SLOT() member, QKeySequence shortcut = 0)''' 16520 return QAction() 16521 def addAction(self, text, receiver, shortcut = 0): 16522 '''QAction QMenu.addAction(QString text, callable receiver, QKeySequence shortcut = 0)''' 16523 return QAction() 16524 def addAction(self, icon, text, receiver, member, shortcut = 0): 16525 '''QAction QMenu.addAction(QIcon icon, QString text, QObject receiver, SLOT() member, QKeySequence shortcut = 0)''' 16526 return QAction() 16527 def addAction(self, icon, text, receiver, shortcut = 0): 16528 '''QAction QMenu.addAction(QIcon icon, QString text, callable receiver, QKeySequence shortcut = 0)''' 16529 return QAction() 16530 16531 16532 class QMenuBar(QWidget): 16533 """""" 16534 def __init__(self, parent = None): 16535 '''void QMenuBar.__init__(QWidget parent = None)''' 16536 def setNativeMenuBar(self, nativeMenuBar): 16537 '''void QMenuBar.setNativeMenuBar(bool nativeMenuBar)''' 16538 def isNativeMenuBar(self): 16539 '''bool QMenuBar.isNativeMenuBar()''' 16540 return bool() 16541 def timerEvent(self): 16542 '''QTimerEvent QMenuBar.timerEvent()''' 16543 return QTimerEvent() 16544 def event(self): 16545 '''QEvent QMenuBar.event()''' 16546 return QEvent() 16547 def eventFilter(self): 16548 '''QEvent QMenuBar.eventFilter()''' 16549 return QEvent() 16550 def focusInEvent(self): 16551 '''QFocusEvent QMenuBar.focusInEvent()''' 16552 return QFocusEvent() 16553 def focusOutEvent(self): 16554 '''QFocusEvent QMenuBar.focusOutEvent()''' 16555 return QFocusEvent() 16556 def actionEvent(self): 16557 '''QActionEvent QMenuBar.actionEvent()''' 16558 return QActionEvent() 16559 def resizeEvent(self): 16560 '''QResizeEvent QMenuBar.resizeEvent()''' 16561 return QResizeEvent() 16562 def paintEvent(self): 16563 '''QPaintEvent QMenuBar.paintEvent()''' 16564 return QPaintEvent() 16565 def leaveEvent(self): 16566 '''QEvent QMenuBar.leaveEvent()''' 16567 return QEvent() 16568 def mouseMoveEvent(self): 16569 '''QMouseEvent QMenuBar.mouseMoveEvent()''' 16570 return QMouseEvent() 16571 def mousePressEvent(self): 16572 '''QMouseEvent QMenuBar.mousePressEvent()''' 16573 return QMouseEvent() 16574 def mouseReleaseEvent(self): 16575 '''QMouseEvent QMenuBar.mouseReleaseEvent()''' 16576 return QMouseEvent() 16577 def keyPressEvent(self): 16578 '''QKeyEvent QMenuBar.keyPressEvent()''' 16579 return QKeyEvent() 16580 def changeEvent(self): 16581 '''QEvent QMenuBar.changeEvent()''' 16582 return QEvent() 16583 def initStyleOption(self, option, action): 16584 '''void QMenuBar.initStyleOption(QStyleOptionMenuItem option, QAction action)''' 16585 hovered = pyqtSignal() # void hovered(QAction *) - signal 16586 triggered = pyqtSignal() # void triggered(QAction *) - signal 16587 def setVisible(self, visible): 16588 '''void QMenuBar.setVisible(bool visible)''' 16589 def cornerWidget(self, corner = None): 16590 '''QWidget QMenuBar.cornerWidget(Qt.Corner corner = Qt.TopRightCorner)''' 16591 return QWidget() 16592 def setCornerWidget(self, widget, corner = None): 16593 '''void QMenuBar.setCornerWidget(QWidget widget, Qt.Corner corner = Qt.TopRightCorner)''' 16594 def actionAt(self): 16595 '''QPoint QMenuBar.actionAt()''' 16596 return QPoint() 16597 def actionGeometry(self): 16598 '''QAction QMenuBar.actionGeometry()''' 16599 return QAction() 16600 def heightForWidth(self): 16601 '''int QMenuBar.heightForWidth()''' 16602 return int() 16603 def minimumSizeHint(self): 16604 '''QSize QMenuBar.minimumSizeHint()''' 16605 return QSize() 16606 def sizeHint(self): 16607 '''QSize QMenuBar.sizeHint()''' 16608 return QSize() 16609 def isDefaultUp(self): 16610 '''bool QMenuBar.isDefaultUp()''' 16611 return bool() 16612 def setDefaultUp(self): 16613 '''bool QMenuBar.setDefaultUp()''' 16614 return bool() 16615 def setActiveAction(self, action): 16616 '''void QMenuBar.setActiveAction(QAction action)''' 16617 def activeAction(self): 16618 '''QAction QMenuBar.activeAction()''' 16619 return QAction() 16620 def clear(self): 16621 '''void QMenuBar.clear()''' 16622 def insertSeparator(self, before): 16623 '''QAction QMenuBar.insertSeparator(QAction before)''' 16624 return QAction() 16625 def insertMenu(self, before, menu): 16626 '''QAction QMenuBar.insertMenu(QAction before, QMenu menu)''' 16627 return QAction() 16628 def addSeparator(self): 16629 '''QAction QMenuBar.addSeparator()''' 16630 return QAction() 16631 def addMenu(self, menu): 16632 '''QAction QMenuBar.addMenu(QMenu menu)''' 16633 return QAction() 16634 def addMenu(self, title): 16635 '''QMenu QMenuBar.addMenu(QString title)''' 16636 return QMenu() 16637 def addMenu(self, icon, title): 16638 '''QMenu QMenuBar.addMenu(QIcon icon, QString title)''' 16639 return QMenu() 16640 def addAction(self, action): 16641 '''void QMenuBar.addAction(QAction action)''' 16642 def addAction(self, text): 16643 '''QAction QMenuBar.addAction(QString text)''' 16644 return QAction() 16645 def addAction(self, text, receiver, member): 16646 '''QAction QMenuBar.addAction(QString text, QObject receiver, SLOT() member)''' 16647 return QAction() 16648 def addAction(self, text, receiver): 16649 '''QAction QMenuBar.addAction(QString text, callable receiver)''' 16650 return QAction() 16651 16652 16653 class QMessageBox(QDialog): 16654 """""" 16655 # Enum QMessageBox.StandardButton 16656 NoButton = 0 16657 Ok = 0 16658 Save = 0 16659 SaveAll = 0 16660 Open = 0 16661 Yes = 0 16662 YesToAll = 0 16663 No = 0 16664 NoToAll = 0 16665 Abort = 0 16666 Retry = 0 16667 Ignore = 0 16668 Close = 0 16669 Cancel = 0 16670 Discard = 0 16671 Help = 0 16672 Apply = 0 16673 Reset = 0 16674 RestoreDefaults = 0 16675 FirstButton = 0 16676 LastButton = 0 16677 YesAll = 0 16678 NoAll = 0 16679 Default = 0 16680 Escape = 0 16681 FlagMask = 0 16682 ButtonMask = 0 16683 16684 # Enum QMessageBox.Icon 16685 NoIcon = 0 16686 Information = 0 16687 Warning = 0 16688 Critical = 0 16689 Question = 0 16690 16691 # Enum QMessageBox.ButtonRole 16692 InvalidRole = 0 16693 AcceptRole = 0 16694 RejectRole = 0 16695 DestructiveRole = 0 16696 ActionRole = 0 16697 HelpRole = 0 16698 YesRole = 0 16699 NoRole = 0 16700 ResetRole = 0 16701 ApplyRole = 0 16702 16703 def __init__(self, parent = None): 16704 '''void QMessageBox.__init__(QWidget parent = None)''' 16705 def __init__(self, icon, title, text, buttons = None, parent = None, flags = None): 16706 '''void QMessageBox.__init__(QMessageBox.Icon icon, QString title, QString text, QMessageBox.StandardButtons buttons = QMessageBox.NoButton, QWidget parent = None, Qt.WindowFlags flags = Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint)''' 16707 def __init__(self, title, text, icon, button0, button1, button2, parent = None, flags = None): 16708 '''void QMessageBox.__init__(QString title, QString text, QMessageBox.Icon icon, int button0, int button1, int button2, QWidget parent = None, Qt.WindowFlags flags = Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint)''' 16709 buttonClicked = pyqtSignal() # void buttonClicked(QAbstractButton *) - signal 16710 def buttonRole(self, button): 16711 '''QMessageBox.ButtonRole QMessageBox.buttonRole(QAbstractButton button)''' 16712 return QMessageBox.ButtonRole() 16713 def buttons(self): 16714 '''list-of-QAbstractButton QMessageBox.buttons()''' 16715 return [QAbstractButton()] 16716 def open(self): 16717 '''void QMessageBox.open()''' 16718 def open(self, receiver, member): 16719 '''void QMessageBox.open(QObject receiver, SLOT() member)''' 16720 def open(self, receiver): 16721 '''void QMessageBox.open(callable receiver)''' 16722 def setWindowModality(self, windowModality): 16723 '''void QMessageBox.setWindowModality(Qt.WindowModality windowModality)''' 16724 def setWindowTitle(self, title): 16725 '''void QMessageBox.setWindowTitle(QString title)''' 16726 def setDetailedText(self, text): 16727 '''void QMessageBox.setDetailedText(QString text)''' 16728 def detailedText(self): 16729 '''QString QMessageBox.detailedText()''' 16730 return QString() 16731 def setInformativeText(self, text): 16732 '''void QMessageBox.setInformativeText(QString text)''' 16733 def informativeText(self): 16734 '''QString QMessageBox.informativeText()''' 16735 return QString() 16736 def clickedButton(self): 16737 '''QAbstractButton QMessageBox.clickedButton()''' 16738 return QAbstractButton() 16739 def setEscapeButton(self, button): 16740 '''void QMessageBox.setEscapeButton(QAbstractButton button)''' 16741 def setEscapeButton(self, button): 16742 '''void QMessageBox.setEscapeButton(QMessageBox.StandardButton button)''' 16743 def escapeButton(self): 16744 '''QAbstractButton QMessageBox.escapeButton()''' 16745 return QAbstractButton() 16746 def setDefaultButton(self, button): 16747 '''void QMessageBox.setDefaultButton(QPushButton button)''' 16748 def setDefaultButton(self, button): 16749 '''void QMessageBox.setDefaultButton(QMessageBox.StandardButton button)''' 16750 def defaultButton(self): 16751 '''QPushButton QMessageBox.defaultButton()''' 16752 return QPushButton() 16753 def button(self, which): 16754 '''QAbstractButton QMessageBox.button(QMessageBox.StandardButton which)''' 16755 return QAbstractButton() 16756 def standardButton(self, button): 16757 '''QMessageBox.StandardButton QMessageBox.standardButton(QAbstractButton button)''' 16758 return QMessageBox.StandardButton() 16759 def standardButtons(self): 16760 '''QMessageBox.StandardButtons QMessageBox.standardButtons()''' 16761 return QMessageBox.StandardButtons() 16762 def setStandardButtons(self, buttons): 16763 '''void QMessageBox.setStandardButtons(QMessageBox.StandardButtons buttons)''' 16764 def removeButton(self, button): 16765 '''void QMessageBox.removeButton(QAbstractButton button)''' 16766 def addButton(self, button, role): 16767 '''void QMessageBox.addButton(QAbstractButton button, QMessageBox.ButtonRole role)''' 16768 def addButton(self, text, role): 16769 '''QPushButton QMessageBox.addButton(QString text, QMessageBox.ButtonRole role)''' 16770 return QPushButton() 16771 def addButton(self, button): 16772 '''QPushButton QMessageBox.addButton(QMessageBox.StandardButton button)''' 16773 return QPushButton() 16774 def changeEvent(self): 16775 '''QEvent QMessageBox.changeEvent()''' 16776 return QEvent() 16777 def keyPressEvent(self): 16778 '''QKeyEvent QMessageBox.keyPressEvent()''' 16779 return QKeyEvent() 16780 def closeEvent(self): 16781 '''QCloseEvent QMessageBox.closeEvent()''' 16782 return QCloseEvent() 16783 def showEvent(self): 16784 '''QShowEvent QMessageBox.showEvent()''' 16785 return QShowEvent() 16786 def resizeEvent(self): 16787 '''QResizeEvent QMessageBox.resizeEvent()''' 16788 return QResizeEvent() 16789 def event(self, e): 16790 '''bool QMessageBox.event(QEvent e)''' 16791 return bool() 16792 def standardIcon(self, icon): 16793 '''static QPixmap QMessageBox.standardIcon(QMessageBox.Icon icon)''' 16794 return QPixmap() 16795 def sizeHint(self): 16796 '''QSize QMessageBox.sizeHint()''' 16797 return QSize() 16798 def aboutQt(self, parent, title = QString()): 16799 '''static void QMessageBox.aboutQt(QWidget parent, QString title = QString())''' 16800 def about(self, parent, caption, text): 16801 '''static void QMessageBox.about(QWidget parent, QString caption, QString text)''' 16802 def critical(self, parent, title, text, buttons = None, defaultButton = None): 16803 '''static QMessageBox.StandardButton QMessageBox.critical(QWidget parent, QString title, QString text, QMessageBox.StandardButtons buttons = QMessageBox.Ok, QMessageBox.StandardButton defaultButton = QMessageBox.NoButton)''' 16804 return QMessageBox.StandardButton() 16805 def critical(self, parent, title, text, button0, button1, button2 = 0): 16806 '''static int QMessageBox.critical(QWidget parent, QString title, QString text, int button0, int button1, int button2 = 0)''' 16807 return int() 16808 def critical(self, parent, title, text, button0Text, button1Text = QString(), button2Text = QString(), defaultButtonNumber = 0, escapeButtonNumber = None): 16809 '''static int QMessageBox.critical(QWidget parent, QString title, QString text, QString button0Text, QString button1Text = QString(), QString button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)''' 16810 return int() 16811 def warning(self, parent, title, text, buttons = None, defaultButton = None): 16812 '''static QMessageBox.StandardButton QMessageBox.warning(QWidget parent, QString title, QString text, QMessageBox.StandardButtons buttons = QMessageBox.Ok, QMessageBox.StandardButton defaultButton = QMessageBox.NoButton)''' 16813 return QMessageBox.StandardButton() 16814 def warning(self, parent, title, text, button0, button1, button2 = 0): 16815 '''static int QMessageBox.warning(QWidget parent, QString title, QString text, int button0, int button1, int button2 = 0)''' 16816 return int() 16817 def warning(self, parent, title, text, button0Text, button1Text = QString(), button2Text = QString(), defaultButtonNumber = 0, escapeButtonNumber = None): 16818 '''static int QMessageBox.warning(QWidget parent, QString title, QString text, QString button0Text, QString button1Text = QString(), QString button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)''' 16819 return int() 16820 def question(self, parent, title, text, buttons = None, defaultButton = None): 16821 '''static QMessageBox.StandardButton QMessageBox.question(QWidget parent, QString title, QString text, QMessageBox.StandardButtons buttons = QMessageBox.Ok, QMessageBox.StandardButton defaultButton = QMessageBox.NoButton)''' 16822 return QMessageBox.StandardButton() 16823 def question(self, parent, title, text, button0, button1 = 0, button2 = 0): 16824 '''static int QMessageBox.question(QWidget parent, QString title, QString text, int button0, int button1 = 0, int button2 = 0)''' 16825 return int() 16826 def question(self, parent, title, text, button0Text, button1Text = QString(), button2Text = QString(), defaultButtonNumber = 0, escapeButtonNumber = None): 16827 '''static int QMessageBox.question(QWidget parent, QString title, QString text, QString button0Text, QString button1Text = QString(), QString button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)''' 16828 return int() 16829 def information(self, parent, title, text, buttons = None, defaultButton = None): 16830 '''static QMessageBox.StandardButton QMessageBox.information(QWidget parent, QString title, QString text, QMessageBox.StandardButtons buttons = QMessageBox.Ok, QMessageBox.StandardButton defaultButton = QMessageBox.NoButton)''' 16831 return QMessageBox.StandardButton() 16832 def information(self, parent, title, text, button0, button1 = 0, button2 = 0): 16833 '''static int QMessageBox.information(QWidget parent, QString title, QString text, int button0, int button1 = 0, int button2 = 0)''' 16834 return int() 16835 def information(self, parent, title, text, button0Text, button1Text = QString(), button2Text = QString(), defaultButtonNumber = 0, escapeButtonNumber = None): 16836 '''static int QMessageBox.information(QWidget parent, QString title, QString text, QString button0Text, QString button1Text = QString(), QString button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)''' 16837 return int() 16838 def setTextFormat(self): 16839 '''Qt.TextFormat QMessageBox.setTextFormat()''' 16840 return Qt.TextFormat() 16841 def textFormat(self): 16842 '''Qt.TextFormat QMessageBox.textFormat()''' 16843 return Qt.TextFormat() 16844 def setButtonText(self, button): 16845 '''QString QMessageBox.setButtonText(int button)''' 16846 return QString() 16847 def buttonText(self, button): 16848 '''QString QMessageBox.buttonText(int button)''' 16849 return QString() 16850 def setIconPixmap(self): 16851 '''QPixmap QMessageBox.setIconPixmap()''' 16852 return QPixmap() 16853 def iconPixmap(self): 16854 '''QPixmap QMessageBox.iconPixmap()''' 16855 return QPixmap() 16856 def setIcon(self): 16857 '''QMessageBox.Icon QMessageBox.setIcon()''' 16858 return QMessageBox.Icon() 16859 def icon(self): 16860 '''QMessageBox.Icon QMessageBox.icon()''' 16861 return QMessageBox.Icon() 16862 def setText(self): 16863 '''QString QMessageBox.setText()''' 16864 return QString() 16865 def text(self): 16866 '''QString QMessageBox.text()''' 16867 return QString() 16868 class StandardButtons(): 16869 """""" 16870 def __init__(self): 16871 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__init__()''' 16872 return QMessageBox.StandardButtons() 16873 def __init__(self): 16874 '''int QMessageBox.StandardButtons.__init__()''' 16875 return int() 16876 def __init__(self): 16877 '''void QMessageBox.StandardButtons.__init__()''' 16878 def __bool__(self): 16879 '''int QMessageBox.StandardButtons.__bool__()''' 16880 return int() 16881 def __ne__(self, f): 16882 '''bool QMessageBox.StandardButtons.__ne__(QMessageBox.StandardButtons f)''' 16883 return bool() 16884 def __eq__(self, f): 16885 '''bool QMessageBox.StandardButtons.__eq__(QMessageBox.StandardButtons f)''' 16886 return bool() 16887 def __invert__(self): 16888 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__invert__()''' 16889 return QMessageBox.StandardButtons() 16890 def __and__(self, mask): 16891 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__and__(int mask)''' 16892 return QMessageBox.StandardButtons() 16893 def __xor__(self, f): 16894 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__xor__(QMessageBox.StandardButtons f)''' 16895 return QMessageBox.StandardButtons() 16896 def __xor__(self, f): 16897 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__xor__(int f)''' 16898 return QMessageBox.StandardButtons() 16899 def __or__(self, f): 16900 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__or__(QMessageBox.StandardButtons f)''' 16901 return QMessageBox.StandardButtons() 16902 def __or__(self, f): 16903 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__or__(int f)''' 16904 return QMessageBox.StandardButtons() 16905 def __int__(self): 16906 '''int QMessageBox.StandardButtons.__int__()''' 16907 return int() 16908 def __ixor__(self, f): 16909 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__ixor__(QMessageBox.StandardButtons f)''' 16910 return QMessageBox.StandardButtons() 16911 def __ior__(self, f): 16912 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__ior__(QMessageBox.StandardButtons f)''' 16913 return QMessageBox.StandardButtons() 16914 def __iand__(self, mask): 16915 '''QMessageBox.StandardButtons QMessageBox.StandardButtons.__iand__(int mask)''' 16916 return QMessageBox.StandardButtons() 16917 16918 16919 class QMouseEventTransition(QEventTransition): 16920 """""" 16921 def __init__(self, sourceState = None): 16922 '''void QMouseEventTransition.__init__(QState sourceState = None)''' 16923 def __init__(self, object, type, button, sourceState = None): 16924 '''void QMouseEventTransition.__init__(QObject object, QEvent.Type type, Qt.MouseButton button, QState sourceState = None)''' 16925 def eventTest(self, event): 16926 '''bool QMouseEventTransition.eventTest(QEvent event)''' 16927 return bool() 16928 def onTransition(self, event): 16929 '''void QMouseEventTransition.onTransition(QEvent event)''' 16930 def setHitTestPath(self, path): 16931 '''void QMouseEventTransition.setHitTestPath(QPainterPath path)''' 16932 def hitTestPath(self): 16933 '''QPainterPath QMouseEventTransition.hitTestPath()''' 16934 return QPainterPath() 16935 def setModifierMask(self, modifiers): 16936 '''void QMouseEventTransition.setModifierMask(Qt.KeyboardModifiers modifiers)''' 16937 def modifierMask(self): 16938 '''Qt.KeyboardModifiers QMouseEventTransition.modifierMask()''' 16939 return Qt.KeyboardModifiers() 16940 def setButton(self, button): 16941 '''void QMouseEventTransition.setButton(Qt.MouseButton button)''' 16942 def button(self): 16943 '''Qt.MouseButton QMouseEventTransition.button()''' 16944 return Qt.MouseButton() 16945 16946 16947 class QMovie(QObject): 16948 """""" 16949 # Enum QMovie.CacheMode 16950 CacheNone = 0 16951 CacheAll = 0 16952 16953 # Enum QMovie.MovieState 16954 NotRunning = 0 16955 Paused = 0 16956 Running = 0 16957 16958 def __init__(self, parent = None): 16959 '''void QMovie.__init__(QObject parent = None)''' 16960 def __init__(self, device, format = QByteArray(), parent = None): 16961 '''void QMovie.__init__(QIODevice device, QByteArray format = QByteArray(), QObject parent = None)''' 16962 def __init__(self, fileName, format = QByteArray(), parent = None): 16963 '''void QMovie.__init__(QString fileName, QByteArray format = QByteArray(), QObject parent = None)''' 16964 def stop(self): 16965 '''void QMovie.stop()''' 16966 def setPaused(self, paused): 16967 '''void QMovie.setPaused(bool paused)''' 16968 def jumpToNextFrame(self): 16969 '''bool QMovie.jumpToNextFrame()''' 16970 return bool() 16971 def start(self): 16972 '''void QMovie.start()''' 16973 frameChanged = pyqtSignal() # void frameChanged(int) - signal 16974 finished = pyqtSignal() # void finished() - signal 16975 error = pyqtSignal() # void error(QImageReader::ImageReaderError) - signal 16976 stateChanged = pyqtSignal() # void stateChanged(QMovie::MovieState) - signal 16977 updated = pyqtSignal() # void updated(const QRectamp;) - signal 16978 resized = pyqtSignal() # void resized(const QSizeamp;) - signal 16979 started = pyqtSignal() # void started() - signal 16980 def setCacheMode(self, mode): 16981 '''void QMovie.setCacheMode(QMovie.CacheMode mode)''' 16982 def cacheMode(self): 16983 '''QMovie.CacheMode QMovie.cacheMode()''' 16984 return QMovie.CacheMode() 16985 def setScaledSize(self, size): 16986 '''void QMovie.setScaledSize(QSize size)''' 16987 def scaledSize(self): 16988 '''QSize QMovie.scaledSize()''' 16989 return QSize() 16990 def speed(self): 16991 '''int QMovie.speed()''' 16992 return int() 16993 def setSpeed(self, percentSpeed): 16994 '''void QMovie.setSpeed(int percentSpeed)''' 16995 def currentFrameNumber(self): 16996 '''int QMovie.currentFrameNumber()''' 16997 return int() 16998 def nextFrameDelay(self): 16999 '''int QMovie.nextFrameDelay()''' 17000 return int() 17001 def frameCount(self): 17002 '''int QMovie.frameCount()''' 17003 return int() 17004 def loopCount(self): 17005 '''int QMovie.loopCount()''' 17006 return int() 17007 def jumpToFrame(self, frameNumber): 17008 '''bool QMovie.jumpToFrame(int frameNumber)''' 17009 return bool() 17010 def isValid(self): 17011 '''bool QMovie.isValid()''' 17012 return bool() 17013 def currentPixmap(self): 17014 '''QPixmap QMovie.currentPixmap()''' 17015 return QPixmap() 17016 def currentImage(self): 17017 '''QImage QMovie.currentImage()''' 17018 return QImage() 17019 def frameRect(self): 17020 '''QRect QMovie.frameRect()''' 17021 return QRect() 17022 def state(self): 17023 '''QMovie.MovieState QMovie.state()''' 17024 return QMovie.MovieState() 17025 def backgroundColor(self): 17026 '''QColor QMovie.backgroundColor()''' 17027 return QColor() 17028 def setBackgroundColor(self, color): 17029 '''void QMovie.setBackgroundColor(QColor color)''' 17030 def format(self): 17031 '''QByteArray QMovie.format()''' 17032 return QByteArray() 17033 def setFormat(self, format): 17034 '''void QMovie.setFormat(QByteArray format)''' 17035 def fileName(self): 17036 '''QString QMovie.fileName()''' 17037 return QString() 17038 def setFileName(self, fileName): 17039 '''void QMovie.setFileName(QString fileName)''' 17040 def device(self): 17041 '''QIODevice QMovie.device()''' 17042 return QIODevice() 17043 def setDevice(self, device): 17044 '''void QMovie.setDevice(QIODevice device)''' 17045 def supportedFormats(self): 17046 '''static list-of-QByteArray QMovie.supportedFormats()''' 17047 return [QByteArray()] 17048 17049 17050 class QPageSetupDialog(QDialog): 17051 """""" 17052 # Enum QPageSetupDialog.PageSetupDialogOption 17053 DontUseSheet = 0 17054 17055 def __init__(self, parent = None): 17056 '''void QPageSetupDialog.__init__(QWidget parent = None)''' 17057 def __init__(self, printer, parent = None): 17058 '''void QPageSetupDialog.__init__(QPrinter printer, QWidget parent = None)''' 17059 def open(self): 17060 '''void QPageSetupDialog.open()''' 17061 def open(self, receiver, member): 17062 '''void QPageSetupDialog.open(QObject receiver, SLOT() member)''' 17063 def open(self, receiver): 17064 '''void QPageSetupDialog.open(callable receiver)''' 17065 def options(self): 17066 '''QPageSetupDialog.PageSetupDialogOptions QPageSetupDialog.options()''' 17067 return QPageSetupDialog.PageSetupDialogOptions() 17068 def setOptions(self, options): 17069 '''void QPageSetupDialog.setOptions(QPageSetupDialog.PageSetupDialogOptions options)''' 17070 def testOption(self, option): 17071 '''bool QPageSetupDialog.testOption(QPageSetupDialog.PageSetupDialogOption option)''' 17072 return bool() 17073 def setOption(self, option, on = True): 17074 '''void QPageSetupDialog.setOption(QPageSetupDialog.PageSetupDialogOption option, bool on = True)''' 17075 def isOptionEnabled(self, option): 17076 '''bool QPageSetupDialog.isOptionEnabled(QPageSetupDialog.PageSetupDialogOption option)''' 17077 return bool() 17078 def enabledOptions(self): 17079 '''QPageSetupDialog.PageSetupDialogOptions QPageSetupDialog.enabledOptions()''' 17080 return QPageSetupDialog.PageSetupDialogOptions() 17081 def setEnabledOptions(self, options): 17082 '''void QPageSetupDialog.setEnabledOptions(QPageSetupDialog.PageSetupDialogOptions options)''' 17083 def addEnabledOption(self, option): 17084 '''void QPageSetupDialog.addEnabledOption(QPageSetupDialog.PageSetupDialogOption option)''' 17085 def printer(self): 17086 '''QPrinter QPageSetupDialog.printer()''' 17087 return QPrinter() 17088 def exec_(self): 17089 '''int QPageSetupDialog.exec_()''' 17090 return int() 17091 class PageSetupDialogOptions(): 17092 """""" 17093 def __init__(self): 17094 '''QPageSetupDialog.PageSetupDialogOptions QPageSetupDialog.PageSetupDialogOptions.__init__()''' 17095 return QPageSetupDialog.PageSetupDialogOptions() 17096 def __init__(self): 17097 '''int QPageSetupDialog.PageSetupDialogOptions.__init__()''' 17098 return int() 17099 def __init__(self): 17100 '''void QPageSetupDialog.PageSetupDialogOptions.__init__()''' 17101 def __bool__(self): 17102 '''int QPageSetupDialog.PageSetupDialogOptions.__bool__()''' 17103 return int() 17104 def __ne__(self, f): 17105 '''bool QPageSetupDialog.PageSetupDialogOptions.__ne__(QPageSetupDialog.PageSetupDialogOptions f)''' 17106 return bool() 17107 def __eq__(self, f): 17108 '''bool QPageSetupDialog.PageSetupDialogOptions.__eq__(QPageSetupDialog.PageSetupDialogOptions f)''' 17109 return bool() 17110 def __invert__(self): 17111 '''QPageSetupDialog.PageSetupDialogOptions QPageSetupDialog.PageSetupDialogOptions.__invert__()''' 17112 return QPageSetupDialog.PageSetupDialogOptions() 17113 def __and__(self, mask): 17114 '''QPageSetupDialog.PageSetupDialogOptions QPageSetupDialog.PageSetupDialogOptions.__and__(int mask)''' 17115 return QPageSetupDialog.PageSetupDialogOptions() 17116 def __xor__(self, f): 17117 '''QPageSetupDialog.PageSetupDialogOptions QPageSetupDialog.PageSetupDialogOptions.__xor__(QPageSetupDialog.PageSetupDialogOptions f)''' 17118 return QPageSetupDialog.PageSetupDialogOptions() 17119 def __xor__(self, f): 17120 '''QPageSetupDialog.PageSetupDialogOptions QPageSetupDialog.PageSetupDialogOptions.__xor__(int f)''' 17121 return QPageSetupDialog.PageSetupDialogOptions() 17122 def __or__(self, f): 17123 '''QPageSetupDialog.PageSetupDialogOptions QPageSetupDialog.PageSetupDialogOptions.__or__(QPageSetupDialog.PageSetupDialogOptions f)''' 17124 return QPageSetupDialog.PageSetupDialogOptions() 17125 def __or__(self, f): 17126 '''QPageSetupDialog.PageSetupDialogOptions QPageSetupDialog.PageSetupDialogOptions.__or__(int f)''' 17127 return QPageSetupDialog.PageSetupDialogOptions() 17128 def __int__(self): 17129 '''int QPageSetupDialog.PageSetupDialogOptions.__int__()''' 17130 return int() 17131 def __ixor__(self, f): 17132 '''QPageSetupDialog.PageSetupDialogOptions QPageSetupDialog.PageSetupDialogOptions.__ixor__(QPageSetupDialog.PageSetupDialogOptions f)''' 17133 return QPageSetupDialog.PageSetupDialogOptions() 17134 def __ior__(self, f): 17135 '''QPageSetupDialog.PageSetupDialogOptions QPageSetupDialog.PageSetupDialogOptions.__ior__(QPageSetupDialog.PageSetupDialogOptions f)''' 17136 return QPageSetupDialog.PageSetupDialogOptions() 17137 def __iand__(self, mask): 17138 '''QPageSetupDialog.PageSetupDialogOptions QPageSetupDialog.PageSetupDialogOptions.__iand__(int mask)''' 17139 return QPageSetupDialog.PageSetupDialogOptions() 17140 17141 17142 class QPainter(): 17143 """""" 17144 # Enum QPainter.PixmapFragmentHint 17145 OpaqueHint = 0 17146 17147 # Enum QPainter.CompositionMode 17148 CompositionMode_SourceOver = 0 17149 CompositionMode_DestinationOver = 0 17150 CompositionMode_Clear = 0 17151 CompositionMode_Source = 0 17152 CompositionMode_Destination = 0 17153 CompositionMode_SourceIn = 0 17154 CompositionMode_DestinationIn = 0 17155 CompositionMode_SourceOut = 0 17156 CompositionMode_DestinationOut = 0 17157 CompositionMode_SourceAtop = 0 17158 CompositionMode_DestinationAtop = 0 17159 CompositionMode_Xor = 0 17160 CompositionMode_Plus = 0 17161 CompositionMode_Multiply = 0 17162 CompositionMode_Screen = 0 17163 CompositionMode_Overlay = 0 17164 CompositionMode_Darken = 0 17165 CompositionMode_Lighten = 0 17166 CompositionMode_ColorDodge = 0 17167 CompositionMode_ColorBurn = 0 17168 CompositionMode_HardLight = 0 17169 CompositionMode_SoftLight = 0 17170 CompositionMode_Difference = 0 17171 CompositionMode_Exclusion = 0 17172 RasterOp_SourceOrDestination = 0 17173 RasterOp_SourceAndDestination = 0 17174 RasterOp_SourceXorDestination = 0 17175 RasterOp_NotSourceAndNotDestination = 0 17176 RasterOp_NotSourceOrNotDestination = 0 17177 RasterOp_NotSourceXorDestination = 0 17178 RasterOp_NotSource = 0 17179 RasterOp_NotSourceAndDestination = 0 17180 RasterOp_SourceAndNotDestination = 0 17181 17182 # Enum QPainter.RenderHint 17183 Antialiasing = 0 17184 TextAntialiasing = 0 17185 SmoothPixmapTransform = 0 17186 HighQualityAntialiasing = 0 17187 NonCosmeticDefaultPen = 0 17188 17189 def __init__(self): 17190 '''void QPainter.__init__()''' 17191 def __init__(self): 17192 '''QPaintDevice QPainter.__init__()''' 17193 return QPaintDevice() 17194 def drawGlyphRun(self, position, glyphRun): 17195 '''void QPainter.drawGlyphRun(QPointF position, QGlyphRun glyphRun)''' 17196 def clipBoundingRect(self): 17197 '''QRectF QPainter.clipBoundingRect()''' 17198 return QRectF() 17199 def drawStaticText(self, topLeftPosition, staticText): 17200 '''void QPainter.drawStaticText(QPointF topLeftPosition, QStaticText staticText)''' 17201 def drawStaticText(self, p, staticText): 17202 '''void QPainter.drawStaticText(QPoint p, QStaticText staticText)''' 17203 def drawStaticText(self, x, y, staticText): 17204 '''void QPainter.drawStaticText(int x, int y, QStaticText staticText)''' 17205 def drawPixmapFragments(self, fragments, pixmap, hints = 0): 17206 '''void QPainter.drawPixmapFragments(list-of-QPainter.PixmapFragment fragments, QPixmap pixmap, QPainter.PixmapFragmentHints hints = 0)''' 17207 def drawPixmapFragments(self, targetRects, sourceRects, pixmap, hints = 0): 17208 '''void QPainter.drawPixmapFragments(list-of-QRectF targetRects, list-of-QRectF sourceRects, QPixmap pixmap, QPainter.PixmapFragmentHints hints = 0)''' 17209 def endNativePainting(self): 17210 '''void QPainter.endNativePainting()''' 17211 def beginNativePainting(self): 17212 '''void QPainter.beginNativePainting()''' 17213 def drawRoundedRect(self, rect, xRadius, yRadius, mode = None): 17214 '''void QPainter.drawRoundedRect(QRectF rect, float xRadius, float yRadius, Qt.SizeMode mode = Qt.AbsoluteSize)''' 17215 def drawRoundedRect(self, x, y, w, h, xRadius, yRadius, mode = None): 17216 '''void QPainter.drawRoundedRect(int x, int y, int w, int h, float xRadius, float yRadius, Qt.SizeMode mode = Qt.AbsoluteSize)''' 17217 def drawRoundedRect(self, rect, xRadius, yRadius, mode = None): 17218 '''void QPainter.drawRoundedRect(QRect rect, float xRadius, float yRadius, Qt.SizeMode mode = Qt.AbsoluteSize)''' 17219 def testRenderHint(self, hint): 17220 '''bool QPainter.testRenderHint(QPainter.RenderHint hint)''' 17221 return bool() 17222 def combinedTransform(self): 17223 '''QTransform QPainter.combinedTransform()''' 17224 return QTransform() 17225 def worldTransform(self): 17226 '''QTransform QPainter.worldTransform()''' 17227 return QTransform() 17228 def setWorldTransform(self, matrix, combine = False): 17229 '''void QPainter.setWorldTransform(QTransform matrix, bool combine = False)''' 17230 def resetTransform(self): 17231 '''void QPainter.resetTransform()''' 17232 def deviceTransform(self): 17233 '''QTransform QPainter.deviceTransform()''' 17234 return QTransform() 17235 def transform(self): 17236 '''QTransform QPainter.transform()''' 17237 return QTransform() 17238 def setTransform(self, transform, combine = False): 17239 '''void QPainter.setTransform(QTransform transform, bool combine = False)''' 17240 def setWorldMatrixEnabled(self, enabled): 17241 '''void QPainter.setWorldMatrixEnabled(bool enabled)''' 17242 def worldMatrixEnabled(self): 17243 '''bool QPainter.worldMatrixEnabled()''' 17244 return bool() 17245 def setWorldMatrix(self, matrix, combine = False): 17246 '''void QPainter.setWorldMatrix(QMatrix matrix, bool combine = False)''' 17247 def worldMatrix(self): 17248 '''QMatrix QPainter.worldMatrix()''' 17249 return QMatrix() 17250 def setOpacity(self, opacity): 17251 '''void QPainter.setOpacity(float opacity)''' 17252 def opacity(self): 17253 '''float QPainter.opacity()''' 17254 return float() 17255 def combinedMatrix(self): 17256 '''QMatrix QPainter.combinedMatrix()''' 17257 return QMatrix() 17258 def drawImage(self, targetRect, image, sourceRect, flags = None): 17259 '''void QPainter.drawImage(QRectF targetRect, QImage image, QRectF sourceRect, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 17260 def drawImage(self, targetRect, image, sourceRect, flags = None): 17261 '''void QPainter.drawImage(QRect targetRect, QImage image, QRect sourceRect, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 17262 def drawImage(self, p, image, sr, flags = None): 17263 '''void QPainter.drawImage(QPointF p, QImage image, QRectF sr, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 17264 def drawImage(self, p, image, sr, flags = None): 17265 '''void QPainter.drawImage(QPoint p, QImage image, QRect sr, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 17266 def drawImage(self, r, image): 17267 '''void QPainter.drawImage(QRectF r, QImage image)''' 17268 def drawImage(self, r, image): 17269 '''void QPainter.drawImage(QRect r, QImage image)''' 17270 def drawImage(self, p, image): 17271 '''void QPainter.drawImage(QPointF p, QImage image)''' 17272 def drawImage(self, p, image): 17273 '''void QPainter.drawImage(QPoint p, QImage image)''' 17274 def drawImage(self, x, y, image, sx = 0, sy = 0, sw = None, sh = None, flags = None): 17275 '''void QPainter.drawImage(int x, int y, QImage image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 17276 def drawPoint(self, p): 17277 '''void QPainter.drawPoint(QPointF p)''' 17278 def drawPoint(self, x, y): 17279 '''void QPainter.drawPoint(int x, int y)''' 17280 def drawPoint(self, p): 17281 '''void QPainter.drawPoint(QPoint p)''' 17282 def drawRect(self, rect): 17283 '''void QPainter.drawRect(QRectF rect)''' 17284 def drawRect(self, x, y, w, h): 17285 '''void QPainter.drawRect(int x, int y, int w, int h)''' 17286 def drawRect(self, r): 17287 '''void QPainter.drawRect(QRect r)''' 17288 def drawLine(self, l): 17289 '''void QPainter.drawLine(QLineF l)''' 17290 def drawLine(self, line): 17291 '''void QPainter.drawLine(QLine line)''' 17292 def drawLine(self, x1, y1, x2, y2): 17293 '''void QPainter.drawLine(int x1, int y1, int x2, int y2)''' 17294 def drawLine(self, p1, p2): 17295 '''void QPainter.drawLine(QPoint p1, QPoint p2)''' 17296 def drawLine(self, p1, p2): 17297 '''void QPainter.drawLine(QPointF p1, QPointF p2)''' 17298 def restoreRedirected(self, device): 17299 '''static void QPainter.restoreRedirected(QPaintDevice device)''' 17300 def redirected(self, device, offset = None): 17301 '''static QPaintDevice QPainter.redirected(QPaintDevice device, QPoint offset = None)''' 17302 return QPaintDevice() 17303 def setRedirected(self, device, replacement, offset = QPoint()): 17304 '''static void QPainter.setRedirected(QPaintDevice device, QPaintDevice replacement, QPoint offset = QPoint())''' 17305 def paintEngine(self): 17306 '''QPaintEngine QPainter.paintEngine()''' 17307 return QPaintEngine() 17308 def setRenderHints(self, hints, on = True): 17309 '''void QPainter.setRenderHints(QPainter.RenderHints hints, bool on = True)''' 17310 def renderHints(self): 17311 '''QPainter.RenderHints QPainter.renderHints()''' 17312 return QPainter.RenderHints() 17313 def setRenderHint(self, hint, on = True): 17314 '''void QPainter.setRenderHint(QPainter.RenderHint hint, bool on = True)''' 17315 def eraseRect(self): 17316 '''QRectF QPainter.eraseRect()''' 17317 return QRectF() 17318 def eraseRect(self, rect): 17319 '''void QPainter.eraseRect(QRect rect)''' 17320 def eraseRect(self, x, y, w, h): 17321 '''void QPainter.eraseRect(int x, int y, int w, int h)''' 17322 def fillRect(self): 17323 '''QBrush QPainter.fillRect()''' 17324 return QBrush() 17325 def fillRect(self): 17326 '''QBrush QPainter.fillRect()''' 17327 return QBrush() 17328 def fillRect(self, x, y, w, h, b): 17329 '''void QPainter.fillRect(int x, int y, int w, int h, QBrush b)''' 17330 def fillRect(self, color): 17331 '''QRectF QPainter.fillRect(QColor color)''' 17332 return QRectF() 17333 def fillRect(self, color): 17334 '''QRect QPainter.fillRect(QColor color)''' 17335 return QRect() 17336 def fillRect(self, x, y, w, h, b): 17337 '''void QPainter.fillRect(int x, int y, int w, int h, QColor b)''' 17338 def fillRect(self, x, y, w, h, c): 17339 '''void QPainter.fillRect(int x, int y, int w, int h, Qt.GlobalColor c)''' 17340 def fillRect(self, r, c): 17341 '''void QPainter.fillRect(QRect r, Qt.GlobalColor c)''' 17342 def fillRect(self, r, c): 17343 '''void QPainter.fillRect(QRectF r, Qt.GlobalColor c)''' 17344 def fillRect(self, x, y, w, h, style): 17345 '''void QPainter.fillRect(int x, int y, int w, int h, Qt.BrushStyle style)''' 17346 def fillRect(self, r, style): 17347 '''void QPainter.fillRect(QRect r, Qt.BrushStyle style)''' 17348 def fillRect(self, r, style): 17349 '''void QPainter.fillRect(QRectF r, Qt.BrushStyle style)''' 17350 def boundingRect(self, rect, flags, text): 17351 '''QRectF QPainter.boundingRect(QRectF rect, int flags, QString text)''' 17352 return QRectF() 17353 def boundingRect(self, rect, flags, text): 17354 '''QRect QPainter.boundingRect(QRect rect, int flags, QString text)''' 17355 return QRect() 17356 def boundingRect(self, rectangle, text, option = QTextOption()): 17357 '''QRectF QPainter.boundingRect(QRectF rectangle, QString text, QTextOption option = QTextOption())''' 17358 return QRectF() 17359 def boundingRect(self, x, y, w, h, flags, text): 17360 '''QRect QPainter.boundingRect(int x, int y, int w, int h, int flags, QString text)''' 17361 return QRect() 17362 def drawText(self, p, s): 17363 '''void QPainter.drawText(QPointF p, QString s)''' 17364 def drawText(self, rectangle, flags, text, boundingRect): 17365 '''void QPainter.drawText(QRectF rectangle, int flags, QString text, QRectF boundingRect)''' 17366 def drawText(self, rectangle, flags, text, boundingRect): 17367 '''void QPainter.drawText(QRect rectangle, int flags, QString text, QRect boundingRect)''' 17368 def drawText(self, rectangle, text, option = QTextOption()): 17369 '''void QPainter.drawText(QRectF rectangle, QString text, QTextOption option = QTextOption())''' 17370 def drawText(self, p, s): 17371 '''void QPainter.drawText(QPoint p, QString s)''' 17372 def drawText(self, x, y, width, height, flags, text, boundingRect): 17373 '''void QPainter.drawText(int x, int y, int width, int height, int flags, QString text, QRect boundingRect)''' 17374 def drawText(self, x, y, s): 17375 '''void QPainter.drawText(int x, int y, QString s)''' 17376 def layoutDirection(self): 17377 '''Qt.LayoutDirection QPainter.layoutDirection()''' 17378 return Qt.LayoutDirection() 17379 def setLayoutDirection(self, direction): 17380 '''void QPainter.setLayoutDirection(Qt.LayoutDirection direction)''' 17381 def drawPixmap(self, targetRect, pixmap, sourceRect): 17382 '''void QPainter.drawPixmap(QRectF targetRect, QPixmap pixmap, QRectF sourceRect)''' 17383 def drawPixmap(self, targetRect, pixmap, sourceRect): 17384 '''void QPainter.drawPixmap(QRect targetRect, QPixmap pixmap, QRect sourceRect)''' 17385 def drawPixmap(self, p, pm): 17386 '''void QPainter.drawPixmap(QPointF p, QPixmap pm)''' 17387 def drawPixmap(self, p, pm): 17388 '''void QPainter.drawPixmap(QPoint p, QPixmap pm)''' 17389 def drawPixmap(self, r, pm): 17390 '''void QPainter.drawPixmap(QRect r, QPixmap pm)''' 17391 def drawPixmap(self, x, y, pm): 17392 '''void QPainter.drawPixmap(int x, int y, QPixmap pm)''' 17393 def drawPixmap(self, x, y, w, h, pm): 17394 '''void QPainter.drawPixmap(int x, int y, int w, int h, QPixmap pm)''' 17395 def drawPixmap(self, x, y, w, h, pm, sx, sy, sw, sh): 17396 '''void QPainter.drawPixmap(int x, int y, int w, int h, QPixmap pm, int sx, int sy, int sw, int sh)''' 17397 def drawPixmap(self, x, y, pm, sx, sy, sw, sh): 17398 '''void QPainter.drawPixmap(int x, int y, QPixmap pm, int sx, int sy, int sw, int sh)''' 17399 def drawPixmap(self, p, pm, sr): 17400 '''void QPainter.drawPixmap(QPointF p, QPixmap pm, QRectF sr)''' 17401 def drawPixmap(self, p, pm, sr): 17402 '''void QPainter.drawPixmap(QPoint p, QPixmap pm, QRect sr)''' 17403 def drawPicture(self, p, picture): 17404 '''void QPainter.drawPicture(QPointF p, QPicture picture)''' 17405 def drawPicture(self, x, y, p): 17406 '''void QPainter.drawPicture(int x, int y, QPicture p)''' 17407 def drawPicture(self, pt, p): 17408 '''void QPainter.drawPicture(QPoint pt, QPicture p)''' 17409 def drawTiledPixmap(self, rectangle, pixmap, pos = QPointF()): 17410 '''void QPainter.drawTiledPixmap(QRectF rectangle, QPixmap pixmap, QPointF pos = QPointF())''' 17411 def drawTiledPixmap(self, rectangle, pixmap, pos = QPoint()): 17412 '''void QPainter.drawTiledPixmap(QRect rectangle, QPixmap pixmap, QPoint pos = QPoint())''' 17413 def drawTiledPixmap(self, x, y, width, height, pixmap, sx = 0, sy = 0): 17414 '''void QPainter.drawTiledPixmap(int x, int y, int width, int height, QPixmap pixmap, int sx = 0, int sy = 0)''' 17415 def drawRoundRect(self, r, xRound = 25, yRound = 25): 17416 '''void QPainter.drawRoundRect(QRectF r, int xRound = 25, int yRound = 25)''' 17417 def drawRoundRect(self, x, y, w, h, xRound = 25, yRound = 25): 17418 '''void QPainter.drawRoundRect(int x, int y, int w, int h, int xRound = 25, int yRound = 25)''' 17419 def drawRoundRect(self, r, xRound = 25, yRound = 25): 17420 '''void QPainter.drawRoundRect(QRect r, int xRound = 25, int yRound = 25)''' 17421 def drawChord(self, rect, a, alen): 17422 '''void QPainter.drawChord(QRectF rect, int a, int alen)''' 17423 def drawChord(self, rect, a, alen): 17424 '''void QPainter.drawChord(QRect rect, int a, int alen)''' 17425 def drawChord(self, x, y, w, h, a, alen): 17426 '''void QPainter.drawChord(int x, int y, int w, int h, int a, int alen)''' 17427 def drawPie(self, rect, a, alen): 17428 '''void QPainter.drawPie(QRectF rect, int a, int alen)''' 17429 def drawPie(self, rect, a, alen): 17430 '''void QPainter.drawPie(QRect rect, int a, int alen)''' 17431 def drawPie(self, x, y, w, h, a, alen): 17432 '''void QPainter.drawPie(int x, int y, int w, int h, int a, int alen)''' 17433 def drawArc(self, rect, a, alen): 17434 '''void QPainter.drawArc(QRectF rect, int a, int alen)''' 17435 def drawArc(self, r, a, alen): 17436 '''void QPainter.drawArc(QRect r, int a, int alen)''' 17437 def drawArc(self, x, y, w, h, a, alen): 17438 '''void QPainter.drawArc(int x, int y, int w, int h, int a, int alen)''' 17439 def drawConvexPolygon(self, point, *args): 17440 '''void QPainter.drawConvexPolygon(QPointF point, ... *args)''' 17441 def drawConvexPolygon(self, poly): 17442 '''void QPainter.drawConvexPolygon(QPolygonF poly)''' 17443 def drawConvexPolygon(self, point, *args): 17444 '''void QPainter.drawConvexPolygon(QPoint point, ... *args)''' 17445 def drawConvexPolygon(self, poly): 17446 '''void QPainter.drawConvexPolygon(QPolygon poly)''' 17447 def drawPolygon(self, point, *args): 17448 '''void QPainter.drawPolygon(QPointF point, ... *args)''' 17449 def drawPolygon(self, points, fillRule = None): 17450 '''void QPainter.drawPolygon(QPolygonF points, Qt.FillRule fillRule = Qt.OddEvenFill)''' 17451 def drawPolygon(self, point, *args): 17452 '''void QPainter.drawPolygon(QPoint point, ... *args)''' 17453 def drawPolygon(self, points, fillRule = None): 17454 '''void QPainter.drawPolygon(QPolygon points, Qt.FillRule fillRule = Qt.OddEvenFill)''' 17455 def drawPolyline(self, point, *args): 17456 '''void QPainter.drawPolyline(QPointF point, ... *args)''' 17457 def drawPolyline(self, polyline): 17458 '''void QPainter.drawPolyline(QPolygonF polyline)''' 17459 def drawPolyline(self, point, *args): 17460 '''void QPainter.drawPolyline(QPoint point, ... *args)''' 17461 def drawPolyline(self, polyline): 17462 '''void QPainter.drawPolyline(QPolygon polyline)''' 17463 def drawEllipse(self, r): 17464 '''void QPainter.drawEllipse(QRectF r)''' 17465 def drawEllipse(self, r): 17466 '''void QPainter.drawEllipse(QRect r)''' 17467 def drawEllipse(self, x, y, w, h): 17468 '''void QPainter.drawEllipse(int x, int y, int w, int h)''' 17469 def drawEllipse(self, center, rx, ry): 17470 '''void QPainter.drawEllipse(QPointF center, float rx, float ry)''' 17471 def drawEllipse(self, center, rx, ry): 17472 '''void QPainter.drawEllipse(QPoint center, int rx, int ry)''' 17473 def drawRects(self, rect, *args): 17474 '''void QPainter.drawRects(QRectF rect, ... *args)''' 17475 def drawRects(self, rects): 17476 '''void QPainter.drawRects(list-of-QRectF rects)''' 17477 def drawRects(self, rect, *args): 17478 '''void QPainter.drawRects(QRect rect, ... *args)''' 17479 def drawRects(self, rects): 17480 '''void QPainter.drawRects(list-of-QRect rects)''' 17481 def drawLines(self, line, *args): 17482 '''void QPainter.drawLines(QLineF line, ... *args)''' 17483 def drawLines(self, lines): 17484 '''void QPainter.drawLines(list-of-QLineF lines)''' 17485 def drawLines(self, pointPair, *args): 17486 '''void QPainter.drawLines(QPointF pointPair, ... *args)''' 17487 def drawLines(self, pointPairs): 17488 '''void QPainter.drawLines(list-of-QPointF pointPairs)''' 17489 def drawLines(self, line, *args): 17490 '''void QPainter.drawLines(QLine line, ... *args)''' 17491 def drawLines(self, lines): 17492 '''void QPainter.drawLines(list-of-QLine lines)''' 17493 def drawLines(self, pointPair, *args): 17494 '''void QPainter.drawLines(QPoint pointPair, ... *args)''' 17495 def drawLines(self, pointPairs): 17496 '''void QPainter.drawLines(list-of-QPoint pointPairs)''' 17497 def drawPoints(self, point, *args): 17498 '''void QPainter.drawPoints(QPointF point, ... *args)''' 17499 def drawPoints(self, points): 17500 '''void QPainter.drawPoints(QPolygonF points)''' 17501 def drawPoints(self, point, *args): 17502 '''void QPainter.drawPoints(QPoint point, ... *args)''' 17503 def drawPoints(self, points): 17504 '''void QPainter.drawPoints(QPolygon points)''' 17505 def drawPath(self, path): 17506 '''void QPainter.drawPath(QPainterPath path)''' 17507 def fillPath(self, path, brush): 17508 '''void QPainter.fillPath(QPainterPath path, QBrush brush)''' 17509 def strokePath(self, path, pen): 17510 '''void QPainter.strokePath(QPainterPath path, QPen pen)''' 17511 def viewTransformEnabled(self): 17512 '''bool QPainter.viewTransformEnabled()''' 17513 return bool() 17514 def setViewTransformEnabled(self, enable): 17515 '''void QPainter.setViewTransformEnabled(bool enable)''' 17516 def setViewport(self, viewport): 17517 '''void QPainter.setViewport(QRect viewport)''' 17518 def setViewport(self, x, y, w, h): 17519 '''void QPainter.setViewport(int x, int y, int w, int h)''' 17520 def viewport(self): 17521 '''QRect QPainter.viewport()''' 17522 return QRect() 17523 def setWindow(self, window): 17524 '''void QPainter.setWindow(QRect window)''' 17525 def setWindow(self, x, y, w, h): 17526 '''void QPainter.setWindow(int x, int y, int w, int h)''' 17527 def window(self): 17528 '''QRect QPainter.window()''' 17529 return QRect() 17530 def translate(self, offset): 17531 '''void QPainter.translate(QPointF offset)''' 17532 def translate(self, dx, dy): 17533 '''void QPainter.translate(float dx, float dy)''' 17534 def translate(self, offset): 17535 '''void QPainter.translate(QPoint offset)''' 17536 def rotate(self, a): 17537 '''void QPainter.rotate(float a)''' 17538 def shear(self, sh, sv): 17539 '''void QPainter.shear(float sh, float sv)''' 17540 def scale(self, sx, sy): 17541 '''void QPainter.scale(float sx, float sy)''' 17542 def matrixEnabled(self): 17543 '''bool QPainter.matrixEnabled()''' 17544 return bool() 17545 def setMatrixEnabled(self, enabled): 17546 '''void QPainter.setMatrixEnabled(bool enabled)''' 17547 def resetMatrix(self): 17548 '''void QPainter.resetMatrix()''' 17549 def deviceMatrix(self): 17550 '''QMatrix QPainter.deviceMatrix()''' 17551 return QMatrix() 17552 def matrix(self): 17553 '''QMatrix QPainter.matrix()''' 17554 return QMatrix() 17555 def setMatrix(self, matrix, combine = False): 17556 '''void QPainter.setMatrix(QMatrix matrix, bool combine = False)''' 17557 def restore(self): 17558 '''void QPainter.restore()''' 17559 def save(self): 17560 '''void QPainter.save()''' 17561 def hasClipping(self): 17562 '''bool QPainter.hasClipping()''' 17563 return bool() 17564 def setClipping(self, enable): 17565 '''void QPainter.setClipping(bool enable)''' 17566 def setClipPath(self, path, operation = None): 17567 '''void QPainter.setClipPath(QPainterPath path, Qt.ClipOperation operation = Qt.ReplaceClip)''' 17568 def setClipRegion(self, region, operation = None): 17569 '''void QPainter.setClipRegion(QRegion region, Qt.ClipOperation operation = Qt.ReplaceClip)''' 17570 def setClipRect(self, rectangle, operation = None): 17571 '''void QPainter.setClipRect(QRectF rectangle, Qt.ClipOperation operation = Qt.ReplaceClip)''' 17572 def setClipRect(self, x, y, width, height, operation = None): 17573 '''void QPainter.setClipRect(int x, int y, int width, int height, Qt.ClipOperation operation = Qt.ReplaceClip)''' 17574 def setClipRect(self, rectangle, operation = None): 17575 '''void QPainter.setClipRect(QRect rectangle, Qt.ClipOperation operation = Qt.ReplaceClip)''' 17576 def clipPath(self): 17577 '''QPainterPath QPainter.clipPath()''' 17578 return QPainterPath() 17579 def clipRegion(self): 17580 '''QRegion QPainter.clipRegion()''' 17581 return QRegion() 17582 def background(self): 17583 '''QBrush QPainter.background()''' 17584 return QBrush() 17585 def setBackground(self, bg): 17586 '''void QPainter.setBackground(QBrush bg)''' 17587 def setBrushOrigin(self): 17588 '''QPointF QPainter.setBrushOrigin()''' 17589 return QPointF() 17590 def setBrushOrigin(self, x, y): 17591 '''void QPainter.setBrushOrigin(int x, int y)''' 17592 def setBrushOrigin(self, p): 17593 '''void QPainter.setBrushOrigin(QPoint p)''' 17594 def brushOrigin(self): 17595 '''QPoint QPainter.brushOrigin()''' 17596 return QPoint() 17597 def backgroundMode(self): 17598 '''Qt.BGMode QPainter.backgroundMode()''' 17599 return Qt.BGMode() 17600 def setBackgroundMode(self, mode): 17601 '''void QPainter.setBackgroundMode(Qt.BGMode mode)''' 17602 def brush(self): 17603 '''QBrush QPainter.brush()''' 17604 return QBrush() 17605 def setBrush(self, brush): 17606 '''void QPainter.setBrush(QBrush brush)''' 17607 def setBrush(self, style): 17608 '''void QPainter.setBrush(Qt.BrushStyle style)''' 17609 def pen(self): 17610 '''QPen QPainter.pen()''' 17611 return QPen() 17612 def setPen(self, color): 17613 '''void QPainter.setPen(QColor color)''' 17614 def setPen(self, pen): 17615 '''void QPainter.setPen(QPen pen)''' 17616 def setPen(self, style): 17617 '''void QPainter.setPen(Qt.PenStyle style)''' 17618 def fontInfo(self): 17619 '''QFontInfo QPainter.fontInfo()''' 17620 return QFontInfo() 17621 def fontMetrics(self): 17622 '''QFontMetrics QPainter.fontMetrics()''' 17623 return QFontMetrics() 17624 def setFont(self, f): 17625 '''void QPainter.setFont(QFont f)''' 17626 def font(self): 17627 '''QFont QPainter.font()''' 17628 return QFont() 17629 def compositionMode(self): 17630 '''QPainter.CompositionMode QPainter.compositionMode()''' 17631 return QPainter.CompositionMode() 17632 def setCompositionMode(self, mode): 17633 '''void QPainter.setCompositionMode(QPainter.CompositionMode mode)''' 17634 def initFrom(self, widget): 17635 '''void QPainter.initFrom(QWidget widget)''' 17636 def isActive(self): 17637 '''bool QPainter.isActive()''' 17638 return bool() 17639 def end(self): 17640 '''bool QPainter.end()''' 17641 return bool() 17642 def begin(self): 17643 '''QPaintDevice QPainter.begin()''' 17644 return QPaintDevice() 17645 def device(self): 17646 '''QPaintDevice QPainter.device()''' 17647 return QPaintDevice() 17648 def __exit__(self, type, value, traceback): 17649 '''void QPainter.__exit__(object type, object value, object traceback)''' 17650 def __enter__(self): 17651 '''object QPainter.__enter__()''' 17652 return object() 17653 class PixmapFragment(): 17654 """""" 17655 height = None # float - member 17656 opacity = None # float - member 17657 rotation = None # float - member 17658 scaleX = None # float - member 17659 scaleY = None # float - member 17660 sourceLeft = None # float - member 17661 sourceTop = None # float - member 17662 width = None # float - member 17663 x = None # float - member 17664 y = None # float - member 17665 def __init__(self): 17666 '''void QPainter.PixmapFragment.__init__()''' 17667 def __init__(self): 17668 '''QPainter.PixmapFragment QPainter.PixmapFragment.__init__()''' 17669 return QPainter.PixmapFragment() 17670 def create(self, pos, sourceRect, scaleX = 1, scaleY = 1, rotation = 0, opacity = 1): 17671 '''static QPainter.PixmapFragment QPainter.PixmapFragment.create(QPointF pos, QRectF sourceRect, float scaleX = 1, float scaleY = 1, float rotation = 0, float opacity = 1)''' 17672 return QPainter.PixmapFragment() 17673 class PixmapFragmentHints(): 17674 """""" 17675 def __init__(self): 17676 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__init__()''' 17677 return QPainter.PixmapFragmentHints() 17678 def __init__(self): 17679 '''int QPainter.PixmapFragmentHints.__init__()''' 17680 return int() 17681 def __init__(self): 17682 '''void QPainter.PixmapFragmentHints.__init__()''' 17683 def __bool__(self): 17684 '''int QPainter.PixmapFragmentHints.__bool__()''' 17685 return int() 17686 def __ne__(self, f): 17687 '''bool QPainter.PixmapFragmentHints.__ne__(QPainter.PixmapFragmentHints f)''' 17688 return bool() 17689 def __eq__(self, f): 17690 '''bool QPainter.PixmapFragmentHints.__eq__(QPainter.PixmapFragmentHints f)''' 17691 return bool() 17692 def __invert__(self): 17693 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__invert__()''' 17694 return QPainter.PixmapFragmentHints() 17695 def __and__(self, mask): 17696 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__and__(int mask)''' 17697 return QPainter.PixmapFragmentHints() 17698 def __xor__(self, f): 17699 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__xor__(QPainter.PixmapFragmentHints f)''' 17700 return QPainter.PixmapFragmentHints() 17701 def __xor__(self, f): 17702 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__xor__(int f)''' 17703 return QPainter.PixmapFragmentHints() 17704 def __or__(self, f): 17705 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__or__(QPainter.PixmapFragmentHints f)''' 17706 return QPainter.PixmapFragmentHints() 17707 def __or__(self, f): 17708 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__or__(int f)''' 17709 return QPainter.PixmapFragmentHints() 17710 def __int__(self): 17711 '''int QPainter.PixmapFragmentHints.__int__()''' 17712 return int() 17713 def __ixor__(self, f): 17714 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__ixor__(QPainter.PixmapFragmentHints f)''' 17715 return QPainter.PixmapFragmentHints() 17716 def __ior__(self, f): 17717 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__ior__(QPainter.PixmapFragmentHints f)''' 17718 return QPainter.PixmapFragmentHints() 17719 def __iand__(self, mask): 17720 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__iand__(int mask)''' 17721 return QPainter.PixmapFragmentHints() 17722 class RenderHints(): 17723 """""" 17724 def __init__(self): 17725 '''QPainter.RenderHints QPainter.RenderHints.__init__()''' 17726 return QPainter.RenderHints() 17727 def __init__(self): 17728 '''int QPainter.RenderHints.__init__()''' 17729 return int() 17730 def __init__(self): 17731 '''void QPainter.RenderHints.__init__()''' 17732 def __bool__(self): 17733 '''int QPainter.RenderHints.__bool__()''' 17734 return int() 17735 def __ne__(self, f): 17736 '''bool QPainter.RenderHints.__ne__(QPainter.RenderHints f)''' 17737 return bool() 17738 def __eq__(self, f): 17739 '''bool QPainter.RenderHints.__eq__(QPainter.RenderHints f)''' 17740 return bool() 17741 def __invert__(self): 17742 '''QPainter.RenderHints QPainter.RenderHints.__invert__()''' 17743 return QPainter.RenderHints() 17744 def __and__(self, mask): 17745 '''QPainter.RenderHints QPainter.RenderHints.__and__(int mask)''' 17746 return QPainter.RenderHints() 17747 def __xor__(self, f): 17748 '''QPainter.RenderHints QPainter.RenderHints.__xor__(QPainter.RenderHints f)''' 17749 return QPainter.RenderHints() 17750 def __xor__(self, f): 17751 '''QPainter.RenderHints QPainter.RenderHints.__xor__(int f)''' 17752 return QPainter.RenderHints() 17753 def __or__(self, f): 17754 '''QPainter.RenderHints QPainter.RenderHints.__or__(QPainter.RenderHints f)''' 17755 return QPainter.RenderHints() 17756 def __or__(self, f): 17757 '''QPainter.RenderHints QPainter.RenderHints.__or__(int f)''' 17758 return QPainter.RenderHints() 17759 def __int__(self): 17760 '''int QPainter.RenderHints.__int__()''' 17761 return int() 17762 def __ixor__(self, f): 17763 '''QPainter.RenderHints QPainter.RenderHints.__ixor__(QPainter.RenderHints f)''' 17764 return QPainter.RenderHints() 17765 def __ior__(self, f): 17766 '''QPainter.RenderHints QPainter.RenderHints.__ior__(QPainter.RenderHints f)''' 17767 return QPainter.RenderHints() 17768 def __iand__(self, mask): 17769 '''QPainter.RenderHints QPainter.RenderHints.__iand__(int mask)''' 17770 return QPainter.RenderHints() 17771 17772 17773 class QTextItem(): 17774 """""" 17775 # Enum QTextItem.RenderFlag 17776 RightToLeft = 0 17777 Overline = 0 17778 Underline = 0 17779 StrikeOut = 0 17780 17781 def __init__(self): 17782 '''void QTextItem.__init__()''' 17783 def __init__(self): 17784 '''QTextItem QTextItem.__init__()''' 17785 return QTextItem() 17786 def font(self): 17787 '''QFont QTextItem.font()''' 17788 return QFont() 17789 def text(self): 17790 '''QString QTextItem.text()''' 17791 return QString() 17792 def renderFlags(self): 17793 '''QTextItem.RenderFlags QTextItem.renderFlags()''' 17794 return QTextItem.RenderFlags() 17795 def width(self): 17796 '''float QTextItem.width()''' 17797 return float() 17798 def ascent(self): 17799 '''float QTextItem.ascent()''' 17800 return float() 17801 def descent(self): 17802 '''float QTextItem.descent()''' 17803 return float() 17804 class RenderFlags(): 17805 """""" 17806 def __init__(self): 17807 '''QTextItem.RenderFlags QTextItem.RenderFlags.__init__()''' 17808 return QTextItem.RenderFlags() 17809 def __init__(self): 17810 '''int QTextItem.RenderFlags.__init__()''' 17811 return int() 17812 def __init__(self): 17813 '''void QTextItem.RenderFlags.__init__()''' 17814 def __bool__(self): 17815 '''int QTextItem.RenderFlags.__bool__()''' 17816 return int() 17817 def __ne__(self, f): 17818 '''bool QTextItem.RenderFlags.__ne__(QTextItem.RenderFlags f)''' 17819 return bool() 17820 def __eq__(self, f): 17821 '''bool QTextItem.RenderFlags.__eq__(QTextItem.RenderFlags f)''' 17822 return bool() 17823 def __invert__(self): 17824 '''QTextItem.RenderFlags QTextItem.RenderFlags.__invert__()''' 17825 return QTextItem.RenderFlags() 17826 def __and__(self, mask): 17827 '''QTextItem.RenderFlags QTextItem.RenderFlags.__and__(int mask)''' 17828 return QTextItem.RenderFlags() 17829 def __xor__(self, f): 17830 '''QTextItem.RenderFlags QTextItem.RenderFlags.__xor__(QTextItem.RenderFlags f)''' 17831 return QTextItem.RenderFlags() 17832 def __xor__(self, f): 17833 '''QTextItem.RenderFlags QTextItem.RenderFlags.__xor__(int f)''' 17834 return QTextItem.RenderFlags() 17835 def __or__(self, f): 17836 '''QTextItem.RenderFlags QTextItem.RenderFlags.__or__(QTextItem.RenderFlags f)''' 17837 return QTextItem.RenderFlags() 17838 def __or__(self, f): 17839 '''QTextItem.RenderFlags QTextItem.RenderFlags.__or__(int f)''' 17840 return QTextItem.RenderFlags() 17841 def __int__(self): 17842 '''int QTextItem.RenderFlags.__int__()''' 17843 return int() 17844 def __ixor__(self, f): 17845 '''QTextItem.RenderFlags QTextItem.RenderFlags.__ixor__(QTextItem.RenderFlags f)''' 17846 return QTextItem.RenderFlags() 17847 def __ior__(self, f): 17848 '''QTextItem.RenderFlags QTextItem.RenderFlags.__ior__(QTextItem.RenderFlags f)''' 17849 return QTextItem.RenderFlags() 17850 def __iand__(self, mask): 17851 '''QTextItem.RenderFlags QTextItem.RenderFlags.__iand__(int mask)''' 17852 return QTextItem.RenderFlags() 17853 17854 17855 class QPaintEngine(): 17856 """""" 17857 # Enum QPaintEngine.Type 17858 X11 = 0 17859 Windows = 0 17860 QuickDraw = 0 17861 CoreGraphics = 0 17862 MacPrinter = 0 17863 QWindowSystem = 0 17864 PostScript = 0 17865 OpenGL = 0 17866 Picture = 0 17867 SVG = 0 17868 Raster = 0 17869 Direct3D = 0 17870 Pdf = 0 17871 OpenVG = 0 17872 OpenGL2 = 0 17873 PaintBuffer = 0 17874 Blitter = 0 17875 User = 0 17876 MaxUser = 0 17877 17878 # Enum QPaintEngine.PolygonDrawMode 17879 OddEvenMode = 0 17880 WindingMode = 0 17881 ConvexMode = 0 17882 PolylineMode = 0 17883 17884 # Enum QPaintEngine.DirtyFlag 17885 DirtyPen = 0 17886 DirtyBrush = 0 17887 DirtyBrushOrigin = 0 17888 DirtyFont = 0 17889 DirtyBackground = 0 17890 DirtyBackgroundMode = 0 17891 DirtyTransform = 0 17892 DirtyClipRegion = 0 17893 DirtyClipPath = 0 17894 DirtyHints = 0 17895 DirtyCompositionMode = 0 17896 DirtyClipEnabled = 0 17897 DirtyOpacity = 0 17898 AllDirty = 0 17899 17900 # Enum QPaintEngine.PaintEngineFeature 17901 PrimitiveTransform = 0 17902 PatternTransform = 0 17903 PixmapTransform = 0 17904 PatternBrush = 0 17905 LinearGradientFill = 0 17906 RadialGradientFill = 0 17907 ConicalGradientFill = 0 17908 AlphaBlend = 0 17909 PorterDuff = 0 17910 PainterPaths = 0 17911 Antialiasing = 0 17912 BrushStroke = 0 17913 ConstantOpacity = 0 17914 MaskedBrush = 0 17915 PaintOutsidePaintEvent = 0 17916 PerspectiveTransform = 0 17917 BlendModes = 0 17918 ObjectBoundingModeGradients = 0 17919 RasterOpModes = 0 17920 AllFeatures = 0 17921 17922 def __init__(self, features = 0): 17923 '''void QPaintEngine.__init__(QPaintEngine.PaintEngineFeatures features = 0)''' 17924 def painter(self): 17925 '''QPainter QPaintEngine.painter()''' 17926 return QPainter() 17927 def hasFeature(self, feature): 17928 '''bool QPaintEngine.hasFeature(QPaintEngine.PaintEngineFeatures feature)''' 17929 return bool() 17930 def type(self): 17931 '''abstract QPaintEngine.Type QPaintEngine.type()''' 17932 return QPaintEngine.Type() 17933 def paintDevice(self): 17934 '''QPaintDevice QPaintEngine.paintDevice()''' 17935 return QPaintDevice() 17936 def setPaintDevice(self, device): 17937 '''void QPaintEngine.setPaintDevice(QPaintDevice device)''' 17938 def drawImage(self, r, pm, sr, flags = None): 17939 '''void QPaintEngine.drawImage(QRectF r, QImage pm, QRectF sr, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 17940 def drawTiledPixmap(self, r, pixmap, s): 17941 '''void QPaintEngine.drawTiledPixmap(QRectF r, QPixmap pixmap, QPointF s)''' 17942 def drawTextItem(self, p, textItem): 17943 '''void QPaintEngine.drawTextItem(QPointF p, QTextItem textItem)''' 17944 def drawPixmap(self, r, pm, sr): 17945 '''abstract void QPaintEngine.drawPixmap(QRectF r, QPixmap pm, QRectF sr)''' 17946 def drawPolygon(self, points, mode): 17947 '''void QPaintEngine.drawPolygon(QPointF points, QPaintEngine.PolygonDrawMode mode)''' 17948 def drawPolygon(self, points, mode): 17949 '''void QPaintEngine.drawPolygon(QPoint points, QPaintEngine.PolygonDrawMode mode)''' 17950 def drawPoints(self, points): 17951 '''void QPaintEngine.drawPoints(QPointF points)''' 17952 def drawPoints(self, points): 17953 '''void QPaintEngine.drawPoints(QPoint points)''' 17954 def drawPath(self, path): 17955 '''void QPaintEngine.drawPath(QPainterPath path)''' 17956 def drawEllipse(self, r): 17957 '''void QPaintEngine.drawEllipse(QRectF r)''' 17958 def drawEllipse(self, r): 17959 '''void QPaintEngine.drawEllipse(QRect r)''' 17960 def drawLines(self, lines): 17961 '''void QPaintEngine.drawLines(QLine lines)''' 17962 def drawLines(self, lines): 17963 '''void QPaintEngine.drawLines(QLineF lines)''' 17964 def drawRects(self, rects): 17965 '''void QPaintEngine.drawRects(QRect rects)''' 17966 def drawRects(self, rects): 17967 '''void QPaintEngine.drawRects(QRectF rects)''' 17968 def updateState(self, state): 17969 '''abstract void QPaintEngine.updateState(QPaintEngineState state)''' 17970 def end(self): 17971 '''abstract bool QPaintEngine.end()''' 17972 return bool() 17973 def begin(self, pdev): 17974 '''abstract bool QPaintEngine.begin(QPaintDevice pdev)''' 17975 return bool() 17976 def setActive(self, newState): 17977 '''void QPaintEngine.setActive(bool newState)''' 17978 def isActive(self): 17979 '''bool QPaintEngine.isActive()''' 17980 return bool() 17981 class PaintEngineFeatures(): 17982 """""" 17983 def __init__(self): 17984 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__init__()''' 17985 return QPaintEngine.PaintEngineFeatures() 17986 def __init__(self): 17987 '''int QPaintEngine.PaintEngineFeatures.__init__()''' 17988 return int() 17989 def __init__(self): 17990 '''void QPaintEngine.PaintEngineFeatures.__init__()''' 17991 def __bool__(self): 17992 '''int QPaintEngine.PaintEngineFeatures.__bool__()''' 17993 return int() 17994 def __ne__(self, f): 17995 '''bool QPaintEngine.PaintEngineFeatures.__ne__(QPaintEngine.PaintEngineFeatures f)''' 17996 return bool() 17997 def __eq__(self, f): 17998 '''bool QPaintEngine.PaintEngineFeatures.__eq__(QPaintEngine.PaintEngineFeatures f)''' 17999 return bool() 18000 def __invert__(self): 18001 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__invert__()''' 18002 return QPaintEngine.PaintEngineFeatures() 18003 def __and__(self, mask): 18004 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__and__(int mask)''' 18005 return QPaintEngine.PaintEngineFeatures() 18006 def __xor__(self, f): 18007 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__xor__(QPaintEngine.PaintEngineFeatures f)''' 18008 return QPaintEngine.PaintEngineFeatures() 18009 def __xor__(self, f): 18010 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__xor__(int f)''' 18011 return QPaintEngine.PaintEngineFeatures() 18012 def __or__(self, f): 18013 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__or__(QPaintEngine.PaintEngineFeatures f)''' 18014 return QPaintEngine.PaintEngineFeatures() 18015 def __or__(self, f): 18016 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__or__(int f)''' 18017 return QPaintEngine.PaintEngineFeatures() 18018 def __int__(self): 18019 '''int QPaintEngine.PaintEngineFeatures.__int__()''' 18020 return int() 18021 def __ixor__(self, f): 18022 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__ixor__(QPaintEngine.PaintEngineFeatures f)''' 18023 return QPaintEngine.PaintEngineFeatures() 18024 def __ior__(self, f): 18025 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__ior__(QPaintEngine.PaintEngineFeatures f)''' 18026 return QPaintEngine.PaintEngineFeatures() 18027 def __iand__(self, mask): 18028 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__iand__(int mask)''' 18029 return QPaintEngine.PaintEngineFeatures() 18030 class DirtyFlags(): 18031 """""" 18032 def __init__(self): 18033 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__init__()''' 18034 return QPaintEngine.DirtyFlags() 18035 def __init__(self): 18036 '''int QPaintEngine.DirtyFlags.__init__()''' 18037 return int() 18038 def __init__(self): 18039 '''void QPaintEngine.DirtyFlags.__init__()''' 18040 def __bool__(self): 18041 '''int QPaintEngine.DirtyFlags.__bool__()''' 18042 return int() 18043 def __ne__(self, f): 18044 '''bool QPaintEngine.DirtyFlags.__ne__(QPaintEngine.DirtyFlags f)''' 18045 return bool() 18046 def __eq__(self, f): 18047 '''bool QPaintEngine.DirtyFlags.__eq__(QPaintEngine.DirtyFlags f)''' 18048 return bool() 18049 def __invert__(self): 18050 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__invert__()''' 18051 return QPaintEngine.DirtyFlags() 18052 def __and__(self, mask): 18053 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__and__(int mask)''' 18054 return QPaintEngine.DirtyFlags() 18055 def __xor__(self, f): 18056 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__xor__(QPaintEngine.DirtyFlags f)''' 18057 return QPaintEngine.DirtyFlags() 18058 def __xor__(self, f): 18059 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__xor__(int f)''' 18060 return QPaintEngine.DirtyFlags() 18061 def __or__(self, f): 18062 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__or__(QPaintEngine.DirtyFlags f)''' 18063 return QPaintEngine.DirtyFlags() 18064 def __or__(self, f): 18065 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__or__(int f)''' 18066 return QPaintEngine.DirtyFlags() 18067 def __int__(self): 18068 '''int QPaintEngine.DirtyFlags.__int__()''' 18069 return int() 18070 def __ixor__(self, f): 18071 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__ixor__(QPaintEngine.DirtyFlags f)''' 18072 return QPaintEngine.DirtyFlags() 18073 def __ior__(self, f): 18074 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__ior__(QPaintEngine.DirtyFlags f)''' 18075 return QPaintEngine.DirtyFlags() 18076 def __iand__(self, mask): 18077 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__iand__(int mask)''' 18078 return QPaintEngine.DirtyFlags() 18079 18080 18081 class QPaintEngineState(): 18082 """""" 18083 def __init__(self): 18084 '''void QPaintEngineState.__init__()''' 18085 def __init__(self): 18086 '''QPaintEngineState QPaintEngineState.__init__()''' 18087 return QPaintEngineState() 18088 def penNeedsResolving(self): 18089 '''bool QPaintEngineState.penNeedsResolving()''' 18090 return bool() 18091 def brushNeedsResolving(self): 18092 '''bool QPaintEngineState.brushNeedsResolving()''' 18093 return bool() 18094 def transform(self): 18095 '''QTransform QPaintEngineState.transform()''' 18096 return QTransform() 18097 def painter(self): 18098 '''QPainter QPaintEngineState.painter()''' 18099 return QPainter() 18100 def compositionMode(self): 18101 '''QPainter.CompositionMode QPaintEngineState.compositionMode()''' 18102 return QPainter.CompositionMode() 18103 def renderHints(self): 18104 '''QPainter.RenderHints QPaintEngineState.renderHints()''' 18105 return QPainter.RenderHints() 18106 def isClipEnabled(self): 18107 '''bool QPaintEngineState.isClipEnabled()''' 18108 return bool() 18109 def clipPath(self): 18110 '''QPainterPath QPaintEngineState.clipPath()''' 18111 return QPainterPath() 18112 def clipRegion(self): 18113 '''QRegion QPaintEngineState.clipRegion()''' 18114 return QRegion() 18115 def clipOperation(self): 18116 '''Qt.ClipOperation QPaintEngineState.clipOperation()''' 18117 return Qt.ClipOperation() 18118 def opacity(self): 18119 '''float QPaintEngineState.opacity()''' 18120 return float() 18121 def matrix(self): 18122 '''QMatrix QPaintEngineState.matrix()''' 18123 return QMatrix() 18124 def font(self): 18125 '''QFont QPaintEngineState.font()''' 18126 return QFont() 18127 def backgroundMode(self): 18128 '''Qt.BGMode QPaintEngineState.backgroundMode()''' 18129 return Qt.BGMode() 18130 def backgroundBrush(self): 18131 '''QBrush QPaintEngineState.backgroundBrush()''' 18132 return QBrush() 18133 def brushOrigin(self): 18134 '''QPointF QPaintEngineState.brushOrigin()''' 18135 return QPointF() 18136 def brush(self): 18137 '''QBrush QPaintEngineState.brush()''' 18138 return QBrush() 18139 def pen(self): 18140 '''QPen QPaintEngineState.pen()''' 18141 return QPen() 18142 def state(self): 18143 '''QPaintEngine.DirtyFlags QPaintEngineState.state()''' 18144 return QPaintEngine.DirtyFlags() 18145 18146 18147 class QPainterPath(): 18148 """""" 18149 # Enum QPainterPath.ElementType 18150 MoveToElement = 0 18151 LineToElement = 0 18152 CurveToElement = 0 18153 CurveToDataElement = 0 18154 18155 def __init__(self): 18156 '''void QPainterPath.__init__()''' 18157 def __init__(self, startPoint): 18158 '''void QPainterPath.__init__(QPointF startPoint)''' 18159 def __init__(self, other): 18160 '''void QPainterPath.__init__(QPainterPath other)''' 18161 def __mul__(self, m): 18162 '''QPainterPath QPainterPath.__mul__(QMatrix m)''' 18163 return QPainterPath() 18164 def __mul__(self, m): 18165 '''QPainterPath QPainterPath.__mul__(QTransform m)''' 18166 return QPainterPath() 18167 def swap(self, other): 18168 '''void QPainterPath.swap(QPainterPath other)''' 18169 def translated(self, dx, dy): 18170 '''QPainterPath QPainterPath.translated(float dx, float dy)''' 18171 return QPainterPath() 18172 def translated(self, offset): 18173 '''QPainterPath QPainterPath.translated(QPointF offset)''' 18174 return QPainterPath() 18175 def translate(self, dx, dy): 18176 '''void QPainterPath.translate(float dx, float dy)''' 18177 def translate(self, offset): 18178 '''void QPainterPath.translate(QPointF offset)''' 18179 def __isub__(self, other): 18180 '''QPainterPath QPainterPath.__isub__(QPainterPath other)''' 18181 return QPainterPath() 18182 def __iadd__(self, other): 18183 '''QPainterPath QPainterPath.__iadd__(QPainterPath other)''' 18184 return QPainterPath() 18185 def __ior__(self, other): 18186 '''QPainterPath QPainterPath.__ior__(QPainterPath other)''' 18187 return QPainterPath() 18188 def __iand__(self, other): 18189 '''QPainterPath QPainterPath.__iand__(QPainterPath other)''' 18190 return QPainterPath() 18191 def __sub__(self, other): 18192 '''QPainterPath QPainterPath.__sub__(QPainterPath other)''' 18193 return QPainterPath() 18194 def __add__(self, other): 18195 '''QPainterPath QPainterPath.__add__(QPainterPath other)''' 18196 return QPainterPath() 18197 def __or__(self, other): 18198 '''QPainterPath QPainterPath.__or__(QPainterPath other)''' 18199 return QPainterPath() 18200 def __and__(self, other): 18201 '''QPainterPath QPainterPath.__and__(QPainterPath other)''' 18202 return QPainterPath() 18203 def simplified(self): 18204 '''QPainterPath QPainterPath.simplified()''' 18205 return QPainterPath() 18206 def addRoundedRect(self, rect, xRadius, yRadius, mode = None): 18207 '''void QPainterPath.addRoundedRect(QRectF rect, float xRadius, float yRadius, Qt.SizeMode mode = Qt.AbsoluteSize)''' 18208 def addRoundedRect(self, x, y, w, h, xRadius, yRadius, mode = None): 18209 '''void QPainterPath.addRoundedRect(float x, float y, float w, float h, float xRadius, float yRadius, Qt.SizeMode mode = Qt.AbsoluteSize)''' 18210 def subtractedInverted(self, r): 18211 '''QPainterPath QPainterPath.subtractedInverted(QPainterPath r)''' 18212 return QPainterPath() 18213 def subtracted(self, r): 18214 '''QPainterPath QPainterPath.subtracted(QPainterPath r)''' 18215 return QPainterPath() 18216 def intersected(self, r): 18217 '''QPainterPath QPainterPath.intersected(QPainterPath r)''' 18218 return QPainterPath() 18219 def united(self, r): 18220 '''QPainterPath QPainterPath.united(QPainterPath r)''' 18221 return QPainterPath() 18222 def slopeAtPercent(self, t): 18223 '''float QPainterPath.slopeAtPercent(float t)''' 18224 return float() 18225 def angleAtPercent(self, t): 18226 '''float QPainterPath.angleAtPercent(float t)''' 18227 return float() 18228 def pointAtPercent(self, t): 18229 '''QPointF QPainterPath.pointAtPercent(float t)''' 18230 return QPointF() 18231 def percentAtLength(self, t): 18232 '''float QPainterPath.percentAtLength(float t)''' 18233 return float() 18234 def length(self): 18235 '''float QPainterPath.length()''' 18236 return float() 18237 def addRoundRect(self, rect, xRnd, yRnd): 18238 '''void QPainterPath.addRoundRect(QRectF rect, int xRnd, int yRnd)''' 18239 def addRoundRect(self, x, y, w, h, xRnd, yRnd): 18240 '''void QPainterPath.addRoundRect(float x, float y, float w, float h, int xRnd, int yRnd)''' 18241 def addRoundRect(self, rect, roundness): 18242 '''void QPainterPath.addRoundRect(QRectF rect, int roundness)''' 18243 def addRoundRect(self, x, y, w, h, roundness): 18244 '''void QPainterPath.addRoundRect(float x, float y, float w, float h, int roundness)''' 18245 def setElementPositionAt(self, i, x, y): 18246 '''void QPainterPath.setElementPositionAt(int i, float x, float y)''' 18247 def elementAt(self, i): 18248 '''QPainterPath.Element QPainterPath.elementAt(int i)''' 18249 return QPainterPath.Element() 18250 def elementCount(self): 18251 '''int QPainterPath.elementCount()''' 18252 return int() 18253 def isEmpty(self): 18254 '''bool QPainterPath.isEmpty()''' 18255 return bool() 18256 def arcMoveTo(self, rect, angle): 18257 '''void QPainterPath.arcMoveTo(QRectF rect, float angle)''' 18258 def arcMoveTo(self, x, y, w, h, angle): 18259 '''void QPainterPath.arcMoveTo(float x, float y, float w, float h, float angle)''' 18260 def __ne__(self, other): 18261 '''bool QPainterPath.__ne__(QPainterPath other)''' 18262 return bool() 18263 def __eq__(self, other): 18264 '''bool QPainterPath.__eq__(QPainterPath other)''' 18265 return bool() 18266 def toFillPolygon(self, matrix = QMatrix()): 18267 '''QPolygonF QPainterPath.toFillPolygon(QMatrix matrix = QMatrix())''' 18268 return QPolygonF() 18269 def toFillPolygon(self, matrix): 18270 '''QPolygonF QPainterPath.toFillPolygon(QTransform matrix)''' 18271 return QPolygonF() 18272 def toFillPolygons(self, matrix = QMatrix()): 18273 '''list-of-QPolygonF QPainterPath.toFillPolygons(QMatrix matrix = QMatrix())''' 18274 return [QPolygonF()] 18275 def toFillPolygons(self, matrix): 18276 '''list-of-QPolygonF QPainterPath.toFillPolygons(QTransform matrix)''' 18277 return [QPolygonF()] 18278 def toSubpathPolygons(self, matrix = QMatrix()): 18279 '''list-of-QPolygonF QPainterPath.toSubpathPolygons(QMatrix matrix = QMatrix())''' 18280 return [QPolygonF()] 18281 def toSubpathPolygons(self, matrix): 18282 '''list-of-QPolygonF QPainterPath.toSubpathPolygons(QTransform matrix)''' 18283 return [QPolygonF()] 18284 def toReversed(self): 18285 '''QPainterPath QPainterPath.toReversed()''' 18286 return QPainterPath() 18287 def setFillRule(self, fillRule): 18288 '''void QPainterPath.setFillRule(Qt.FillRule fillRule)''' 18289 def fillRule(self): 18290 '''Qt.FillRule QPainterPath.fillRule()''' 18291 return Qt.FillRule() 18292 def controlPointRect(self): 18293 '''QRectF QPainterPath.controlPointRect()''' 18294 return QRectF() 18295 def boundingRect(self): 18296 '''QRectF QPainterPath.boundingRect()''' 18297 return QRectF() 18298 def intersects(self, rect): 18299 '''bool QPainterPath.intersects(QRectF rect)''' 18300 return bool() 18301 def intersects(self, p): 18302 '''bool QPainterPath.intersects(QPainterPath p)''' 18303 return bool() 18304 def contains(self, pt): 18305 '''bool QPainterPath.contains(QPointF pt)''' 18306 return bool() 18307 def contains(self, rect): 18308 '''bool QPainterPath.contains(QRectF rect)''' 18309 return bool() 18310 def contains(self, p): 18311 '''bool QPainterPath.contains(QPainterPath p)''' 18312 return bool() 18313 def connectPath(self, path): 18314 '''void QPainterPath.connectPath(QPainterPath path)''' 18315 def addRegion(self, region): 18316 '''void QPainterPath.addRegion(QRegion region)''' 18317 def addPath(self, path): 18318 '''void QPainterPath.addPath(QPainterPath path)''' 18319 def addText(self, point, f, text): 18320 '''void QPainterPath.addText(QPointF point, QFont f, QString text)''' 18321 def addText(self, x, y, f, text): 18322 '''void QPainterPath.addText(float x, float y, QFont f, QString text)''' 18323 def addPolygon(self, polygon): 18324 '''void QPainterPath.addPolygon(QPolygonF polygon)''' 18325 def addEllipse(self, rect): 18326 '''void QPainterPath.addEllipse(QRectF rect)''' 18327 def addEllipse(self, x, y, w, h): 18328 '''void QPainterPath.addEllipse(float x, float y, float w, float h)''' 18329 def addEllipse(self, center, rx, ry): 18330 '''void QPainterPath.addEllipse(QPointF center, float rx, float ry)''' 18331 def addRect(self, rect): 18332 '''void QPainterPath.addRect(QRectF rect)''' 18333 def addRect(self, x, y, w, h): 18334 '''void QPainterPath.addRect(float x, float y, float w, float h)''' 18335 def currentPosition(self): 18336 '''QPointF QPainterPath.currentPosition()''' 18337 return QPointF() 18338 def quadTo(self, ctrlPt, endPt): 18339 '''void QPainterPath.quadTo(QPointF ctrlPt, QPointF endPt)''' 18340 def quadTo(self, ctrlPtx, ctrlPty, endPtx, endPty): 18341 '''void QPainterPath.quadTo(float ctrlPtx, float ctrlPty, float endPtx, float endPty)''' 18342 def cubicTo(self, ctrlPt1, ctrlPt2, endPt): 18343 '''void QPainterPath.cubicTo(QPointF ctrlPt1, QPointF ctrlPt2, QPointF endPt)''' 18344 def cubicTo(self, ctrlPt1x, ctrlPt1y, ctrlPt2x, ctrlPt2y, endPtx, endPty): 18345 '''void QPainterPath.cubicTo(float ctrlPt1x, float ctrlPt1y, float ctrlPt2x, float ctrlPt2y, float endPtx, float endPty)''' 18346 def arcTo(self, rect, startAngle, arcLength): 18347 '''void QPainterPath.arcTo(QRectF rect, float startAngle, float arcLength)''' 18348 def arcTo(self, x, y, w, h, startAngle, arcLenght): 18349 '''void QPainterPath.arcTo(float x, float y, float w, float h, float startAngle, float arcLenght)''' 18350 def lineTo(self, p): 18351 '''void QPainterPath.lineTo(QPointF p)''' 18352 def lineTo(self, x, y): 18353 '''void QPainterPath.lineTo(float x, float y)''' 18354 def moveTo(self, p): 18355 '''void QPainterPath.moveTo(QPointF p)''' 18356 def moveTo(self, x, y): 18357 '''void QPainterPath.moveTo(float x, float y)''' 18358 def closeSubpath(self): 18359 '''void QPainterPath.closeSubpath()''' 18360 class Element(): 18361 """""" 18362 type = None # QPainterPath.ElementType - member 18363 x = None # float - member 18364 y = None # float - member 18365 def __init__(self): 18366 '''void QPainterPath.Element.__init__()''' 18367 def __init__(self): 18368 '''QPainterPath.Element QPainterPath.Element.__init__()''' 18369 return QPainterPath.Element() 18370 def __ne__(self, e): 18371 '''bool QPainterPath.Element.__ne__(QPainterPath.Element e)''' 18372 return bool() 18373 def __eq__(self, e): 18374 '''bool QPainterPath.Element.__eq__(QPainterPath.Element e)''' 18375 return bool() 18376 def isCurveTo(self): 18377 '''bool QPainterPath.Element.isCurveTo()''' 18378 return bool() 18379 def isLineTo(self): 18380 '''bool QPainterPath.Element.isLineTo()''' 18381 return bool() 18382 def isMoveTo(self): 18383 '''bool QPainterPath.Element.isMoveTo()''' 18384 return bool() 18385 18386 18387 class QPainterPathStroker(): 18388 """""" 18389 def __init__(self): 18390 '''void QPainterPathStroker.__init__()''' 18391 def dashOffset(self): 18392 '''float QPainterPathStroker.dashOffset()''' 18393 return float() 18394 def setDashOffset(self, offset): 18395 '''void QPainterPathStroker.setDashOffset(float offset)''' 18396 def createStroke(self, path): 18397 '''QPainterPath QPainterPathStroker.createStroke(QPainterPath path)''' 18398 return QPainterPath() 18399 def dashPattern(self): 18400 '''list-of-float QPainterPathStroker.dashPattern()''' 18401 return [float()] 18402 def setDashPattern(self): 18403 '''Qt.PenStyle QPainterPathStroker.setDashPattern()''' 18404 return Qt.PenStyle() 18405 def setDashPattern(self, dashPattern): 18406 '''void QPainterPathStroker.setDashPattern(list-of-float dashPattern)''' 18407 def curveThreshold(self): 18408 '''float QPainterPathStroker.curveThreshold()''' 18409 return float() 18410 def setCurveThreshold(self, threshold): 18411 '''void QPainterPathStroker.setCurveThreshold(float threshold)''' 18412 def miterLimit(self): 18413 '''float QPainterPathStroker.miterLimit()''' 18414 return float() 18415 def setMiterLimit(self, length): 18416 '''void QPainterPathStroker.setMiterLimit(float length)''' 18417 def joinStyle(self): 18418 '''Qt.PenJoinStyle QPainterPathStroker.joinStyle()''' 18419 return Qt.PenJoinStyle() 18420 def setJoinStyle(self, style): 18421 '''void QPainterPathStroker.setJoinStyle(Qt.PenJoinStyle style)''' 18422 def capStyle(self): 18423 '''Qt.PenCapStyle QPainterPathStroker.capStyle()''' 18424 return Qt.PenCapStyle() 18425 def setCapStyle(self, style): 18426 '''void QPainterPathStroker.setCapStyle(Qt.PenCapStyle style)''' 18427 def width(self): 18428 '''float QPainterPathStroker.width()''' 18429 return float() 18430 def setWidth(self, width): 18431 '''void QPainterPathStroker.setWidth(float width)''' 18432 18433 18434 class QPalette(): 18435 """""" 18436 # Enum QPalette.ColorRole 18437 WindowText = 0 18438 Foreground = 0 18439 Button = 0 18440 Light = 0 18441 Midlight = 0 18442 Dark = 0 18443 Mid = 0 18444 Text = 0 18445 BrightText = 0 18446 ButtonText = 0 18447 Base = 0 18448 Window = 0 18449 Background = 0 18450 Shadow = 0 18451 Highlight = 0 18452 HighlightedText = 0 18453 Link = 0 18454 LinkVisited = 0 18455 AlternateBase = 0 18456 ToolTipBase = 0 18457 ToolTipText = 0 18458 NColorRoles = 0 18459 NoRole = 0 18460 18461 # Enum QPalette.ColorGroup 18462 Active = 0 18463 Disabled = 0 18464 Inactive = 0 18465 NColorGroups = 0 18466 Current = 0 18467 All = 0 18468 Normal = 0 18469 18470 def __init__(self): 18471 '''void QPalette.__init__()''' 18472 def __init__(self, button): 18473 '''void QPalette.__init__(QColor button)''' 18474 def __init__(self, button): 18475 '''void QPalette.__init__(Qt.GlobalColor button)''' 18476 def __init__(self, button, background): 18477 '''void QPalette.__init__(QColor button, QColor background)''' 18478 def __init__(self, foreground, button, light, dark, mid, text, bright_text, base, background): 18479 '''void QPalette.__init__(QBrush foreground, QBrush button, QBrush light, QBrush dark, QBrush mid, QBrush text, QBrush bright_text, QBrush base, QBrush background)''' 18480 def __init__(self, foreground, background, light, dark, mid, text, base): 18481 '''void QPalette.__init__(QColor foreground, QColor background, QColor light, QColor dark, QColor mid, QColor text, QColor base)''' 18482 def __init__(self, palette): 18483 '''void QPalette.__init__(QPalette palette)''' 18484 def __init__(self, variant): 18485 '''void QPalette.__init__(QVariant variant)''' 18486 def cacheKey(self): 18487 '''int QPalette.cacheKey()''' 18488 return int() 18489 def isBrushSet(self, cg, cr): 18490 '''bool QPalette.isBrushSet(QPalette.ColorGroup cg, QPalette.ColorRole cr)''' 18491 return bool() 18492 def setColor(self, acg, acr, acolor): 18493 '''void QPalette.setColor(QPalette.ColorGroup acg, QPalette.ColorRole acr, QColor acolor)''' 18494 def setColor(self, acr, acolor): 18495 '''void QPalette.setColor(QPalette.ColorRole acr, QColor acolor)''' 18496 def resolve(self): 18497 '''QPalette QPalette.resolve()''' 18498 return QPalette() 18499 def resolve(self): 18500 '''int QPalette.resolve()''' 18501 return int() 18502 def resolve(self, mask): 18503 '''void QPalette.resolve(int mask)''' 18504 def serialNumber(self): 18505 '''int QPalette.serialNumber()''' 18506 return int() 18507 def isCopyOf(self, p): 18508 '''bool QPalette.isCopyOf(QPalette p)''' 18509 return bool() 18510 def __ne__(self, p): 18511 '''bool QPalette.__ne__(QPalette p)''' 18512 return bool() 18513 def __eq__(self, p): 18514 '''bool QPalette.__eq__(QPalette p)''' 18515 return bool() 18516 def toolTipText(self): 18517 '''QBrush QPalette.toolTipText()''' 18518 return QBrush() 18519 def toolTipBase(self): 18520 '''QBrush QPalette.toolTipBase()''' 18521 return QBrush() 18522 def linkVisited(self): 18523 '''QBrush QPalette.linkVisited()''' 18524 return QBrush() 18525 def link(self): 18526 '''QBrush QPalette.link()''' 18527 return QBrush() 18528 def highlightedText(self): 18529 '''QBrush QPalette.highlightedText()''' 18530 return QBrush() 18531 def highlight(self): 18532 '''QBrush QPalette.highlight()''' 18533 return QBrush() 18534 def shadow(self): 18535 '''QBrush QPalette.shadow()''' 18536 return QBrush() 18537 def buttonText(self): 18538 '''QBrush QPalette.buttonText()''' 18539 return QBrush() 18540 def brightText(self): 18541 '''QBrush QPalette.brightText()''' 18542 return QBrush() 18543 def midlight(self): 18544 '''QBrush QPalette.midlight()''' 18545 return QBrush() 18546 def background(self): 18547 '''QBrush QPalette.background()''' 18548 return QBrush() 18549 def window(self): 18550 '''QBrush QPalette.window()''' 18551 return QBrush() 18552 def alternateBase(self): 18553 '''QBrush QPalette.alternateBase()''' 18554 return QBrush() 18555 def base(self): 18556 '''QBrush QPalette.base()''' 18557 return QBrush() 18558 def text(self): 18559 '''QBrush QPalette.text()''' 18560 return QBrush() 18561 def mid(self): 18562 '''QBrush QPalette.mid()''' 18563 return QBrush() 18564 def dark(self): 18565 '''QBrush QPalette.dark()''' 18566 return QBrush() 18567 def light(self): 18568 '''QBrush QPalette.light()''' 18569 return QBrush() 18570 def button(self): 18571 '''QBrush QPalette.button()''' 18572 return QBrush() 18573 def windowText(self): 18574 '''QBrush QPalette.windowText()''' 18575 return QBrush() 18576 def foreground(self): 18577 '''QBrush QPalette.foreground()''' 18578 return QBrush() 18579 def isEqual(self, cr1, cr2): 18580 '''bool QPalette.isEqual(QPalette.ColorGroup cr1, QPalette.ColorGroup cr2)''' 18581 return bool() 18582 def setColorGroup(self, cr, foreground, button, light, dark, mid, text, bright_text, base, background): 18583 '''void QPalette.setColorGroup(QPalette.ColorGroup cr, QBrush foreground, QBrush button, QBrush light, QBrush dark, QBrush mid, QBrush text, QBrush bright_text, QBrush base, QBrush background)''' 18584 def setBrush(self, cg, cr, brush): 18585 '''void QPalette.setBrush(QPalette.ColorGroup cg, QPalette.ColorRole cr, QBrush brush)''' 18586 def setBrush(self, acr, abrush): 18587 '''void QPalette.setBrush(QPalette.ColorRole acr, QBrush abrush)''' 18588 def brush(self, cg, cr): 18589 '''QBrush QPalette.brush(QPalette.ColorGroup cg, QPalette.ColorRole cr)''' 18590 return QBrush() 18591 def brush(self, cr): 18592 '''QBrush QPalette.brush(QPalette.ColorRole cr)''' 18593 return QBrush() 18594 def color(self, cg, cr): 18595 '''QColor QPalette.color(QPalette.ColorGroup cg, QPalette.ColorRole cr)''' 18596 return QColor() 18597 def color(self, cr): 18598 '''QColor QPalette.color(QPalette.ColorRole cr)''' 18599 return QColor() 18600 def setCurrentColorGroup(self, cg): 18601 '''void QPalette.setCurrentColorGroup(QPalette.ColorGroup cg)''' 18602 def currentColorGroup(self): 18603 '''QPalette.ColorGroup QPalette.currentColorGroup()''' 18604 return QPalette.ColorGroup() 18605 18606 18607 class QPen(): 18608 """""" 18609 def __init__(self): 18610 '''void QPen.__init__()''' 18611 def __init__(self): 18612 '''Qt.PenStyle QPen.__init__()''' 18613 return Qt.PenStyle() 18614 def __init__(self, color): 18615 '''void QPen.__init__(QColor color)''' 18616 def __init__(self, brush, width, style = None, cap = None, join = None): 18617 '''void QPen.__init__(QBrush brush, float width, Qt.PenStyle style = Qt.SolidLine, Qt.PenCapStyle cap = Qt.SquareCap, Qt.PenJoinStyle join = Qt.BevelJoin)''' 18618 def __init__(self, pen): 18619 '''void QPen.__init__(QPen pen)''' 18620 def __init__(self, variant): 18621 '''void QPen.__init__(QVariant variant)''' 18622 def swap(self, other): 18623 '''void QPen.swap(QPen other)''' 18624 def setCosmetic(self, cosmetic): 18625 '''void QPen.setCosmetic(bool cosmetic)''' 18626 def isCosmetic(self): 18627 '''bool QPen.isCosmetic()''' 18628 return bool() 18629 def setDashOffset(self, doffset): 18630 '''void QPen.setDashOffset(float doffset)''' 18631 def dashOffset(self): 18632 '''float QPen.dashOffset()''' 18633 return float() 18634 def __ne__(self, p): 18635 '''bool QPen.__ne__(QPen p)''' 18636 return bool() 18637 def __eq__(self, p): 18638 '''bool QPen.__eq__(QPen p)''' 18639 return bool() 18640 def setMiterLimit(self, limit): 18641 '''void QPen.setMiterLimit(float limit)''' 18642 def miterLimit(self): 18643 '''float QPen.miterLimit()''' 18644 return float() 18645 def setDashPattern(self, pattern): 18646 '''void QPen.setDashPattern(list-of-float pattern)''' 18647 def dashPattern(self): 18648 '''list-of-float QPen.dashPattern()''' 18649 return [float()] 18650 def setJoinStyle(self, pcs): 18651 '''void QPen.setJoinStyle(Qt.PenJoinStyle pcs)''' 18652 def joinStyle(self): 18653 '''Qt.PenJoinStyle QPen.joinStyle()''' 18654 return Qt.PenJoinStyle() 18655 def setCapStyle(self, pcs): 18656 '''void QPen.setCapStyle(Qt.PenCapStyle pcs)''' 18657 def capStyle(self): 18658 '''Qt.PenCapStyle QPen.capStyle()''' 18659 return Qt.PenCapStyle() 18660 def isSolid(self): 18661 '''bool QPen.isSolid()''' 18662 return bool() 18663 def setBrush(self, brush): 18664 '''void QPen.setBrush(QBrush brush)''' 18665 def brush(self): 18666 '''QBrush QPen.brush()''' 18667 return QBrush() 18668 def setColor(self, color): 18669 '''void QPen.setColor(QColor color)''' 18670 def color(self): 18671 '''QColor QPen.color()''' 18672 return QColor() 18673 def setWidth(self, width): 18674 '''void QPen.setWidth(int width)''' 18675 def width(self): 18676 '''int QPen.width()''' 18677 return int() 18678 def setWidthF(self, width): 18679 '''void QPen.setWidthF(float width)''' 18680 def widthF(self): 18681 '''float QPen.widthF()''' 18682 return float() 18683 def setStyle(self): 18684 '''Qt.PenStyle QPen.setStyle()''' 18685 return Qt.PenStyle() 18686 def style(self): 18687 '''Qt.PenStyle QPen.style()''' 18688 return Qt.PenStyle() 18689 18690 18691 class QPicture(QPaintDevice): 18692 """""" 18693 def __init__(self, formatVersion = None): 18694 '''void QPicture.__init__(int formatVersion = -1)''' 18695 def __init__(self): 18696 '''QPicture QPicture.__init__()''' 18697 return QPicture() 18698 def swap(self, other): 18699 '''void QPicture.swap(QPicture other)''' 18700 def metric(self, m): 18701 '''int QPicture.metric(QPaintDevice.PaintDeviceMetric m)''' 18702 return int() 18703 def paintEngine(self): 18704 '''QPaintEngine QPicture.paintEngine()''' 18705 return QPaintEngine() 18706 def outputFormatList(self): 18707 '''static QStringList QPicture.outputFormatList()''' 18708 return QStringList() 18709 def inputFormatList(self): 18710 '''static QStringList QPicture.inputFormatList()''' 18711 return QStringList() 18712 def outputFormats(self): 18713 '''static list-of-QByteArray QPicture.outputFormats()''' 18714 return [QByteArray()] 18715 def inputFormats(self): 18716 '''static list-of-QByteArray QPicture.inputFormats()''' 18717 return [QByteArray()] 18718 def pictureFormat(self, fileName): 18719 '''static str QPicture.pictureFormat(QString fileName)''' 18720 return str() 18721 def isDetached(self): 18722 '''bool QPicture.isDetached()''' 18723 return bool() 18724 def detach(self): 18725 '''void QPicture.detach()''' 18726 def setBoundingRect(self, r): 18727 '''void QPicture.setBoundingRect(QRect r)''' 18728 def boundingRect(self): 18729 '''QRect QPicture.boundingRect()''' 18730 return QRect() 18731 def save(self, dev, format = None): 18732 '''bool QPicture.save(QIODevice dev, str format = None)''' 18733 return bool() 18734 def save(self, fileName, format = None): 18735 '''bool QPicture.save(QString fileName, str format = None)''' 18736 return bool() 18737 def load(self, dev, format = None): 18738 '''bool QPicture.load(QIODevice dev, str format = None)''' 18739 return bool() 18740 def load(self, fileName, format = None): 18741 '''bool QPicture.load(QString fileName, str format = None)''' 18742 return bool() 18743 def play(self, p): 18744 '''bool QPicture.play(QPainter p)''' 18745 return bool() 18746 def setData(self, data): 18747 '''void QPicture.setData(str data)''' 18748 def data(self): 18749 '''str QPicture.data()''' 18750 return str() 18751 def size(self): 18752 '''int QPicture.size()''' 18753 return int() 18754 def devType(self): 18755 '''int QPicture.devType()''' 18756 return int() 18757 def isNull(self): 18758 '''bool QPicture.isNull()''' 18759 return bool() 18760 18761 18762 class QPictureIO(): 18763 """""" 18764 def __init__(self): 18765 '''void QPictureIO.__init__()''' 18766 def __init__(self, ioDevice, format): 18767 '''void QPictureIO.__init__(QIODevice ioDevice, str format)''' 18768 def __init__(self, fileName, format): 18769 '''void QPictureIO.__init__(QString fileName, str format)''' 18770 def defineIOHandler(self, format, header, flags, read_picture, write_picture): 18771 '''static void QPictureIO.defineIOHandler(str format, str header, str flags, callable read_picture, callable write_picture)''' 18772 def outputFormats(self): 18773 '''static list-of-QByteArray QPictureIO.outputFormats()''' 18774 return [QByteArray()] 18775 def inputFormats(self): 18776 '''static list-of-QByteArray QPictureIO.inputFormats()''' 18777 return [QByteArray()] 18778 def pictureFormat(self, fileName): 18779 '''static QByteArray QPictureIO.pictureFormat(QString fileName)''' 18780 return QByteArray() 18781 def pictureFormat(self): 18782 '''static QIODevice QPictureIO.pictureFormat()''' 18783 return QIODevice() 18784 def write(self): 18785 '''bool QPictureIO.write()''' 18786 return bool() 18787 def read(self): 18788 '''bool QPictureIO.read()''' 18789 return bool() 18790 def setGamma(self): 18791 '''float QPictureIO.setGamma()''' 18792 return float() 18793 def setParameters(self): 18794 '''str QPictureIO.setParameters()''' 18795 return str() 18796 def setDescription(self): 18797 '''QString QPictureIO.setDescription()''' 18798 return QString() 18799 def setQuality(self): 18800 '''int QPictureIO.setQuality()''' 18801 return int() 18802 def setFileName(self): 18803 '''QString QPictureIO.setFileName()''' 18804 return QString() 18805 def setIODevice(self): 18806 '''QIODevice QPictureIO.setIODevice()''' 18807 return QIODevice() 18808 def setFormat(self): 18809 '''str QPictureIO.setFormat()''' 18810 return str() 18811 def setStatus(self): 18812 '''int QPictureIO.setStatus()''' 18813 return int() 18814 def setPicture(self): 18815 '''QPicture QPictureIO.setPicture()''' 18816 return QPicture() 18817 def gamma(self): 18818 '''float QPictureIO.gamma()''' 18819 return float() 18820 def parameters(self): 18821 '''str QPictureIO.parameters()''' 18822 return str() 18823 def description(self): 18824 '''QString QPictureIO.description()''' 18825 return QString() 18826 def quality(self): 18827 '''int QPictureIO.quality()''' 18828 return int() 18829 def fileName(self): 18830 '''QString QPictureIO.fileName()''' 18831 return QString() 18832 def ioDevice(self): 18833 '''QIODevice QPictureIO.ioDevice()''' 18834 return QIODevice() 18835 def format(self): 18836 '''str QPictureIO.format()''' 18837 return str() 18838 def status(self): 18839 '''int QPictureIO.status()''' 18840 return int() 18841 def picture(self): 18842 '''QPicture QPictureIO.picture()''' 18843 return QPicture() 18844 18845 18846 class QPixmapCache(): 18847 """""" 18848 def __init__(self): 18849 '''void QPixmapCache.__init__()''' 18850 def __init__(self): 18851 '''QPixmapCache QPixmapCache.__init__()''' 18852 return QPixmapCache() 18853 def setCacheLimit(self): 18854 '''static int QPixmapCache.setCacheLimit()''' 18855 return int() 18856 def replace(self, key, pixmap): 18857 '''static bool QPixmapCache.replace(QPixmapCache.Key key, QPixmap pixmap)''' 18858 return bool() 18859 def remove(self, key): 18860 '''static void QPixmapCache.remove(QString key)''' 18861 def remove(self, key): 18862 '''static void QPixmapCache.remove(QPixmapCache.Key key)''' 18863 def insert(self, key): 18864 '''static QPixmap QPixmapCache.insert(QString key)''' 18865 return QPixmap() 18866 def insert(self, pixmap): 18867 '''static QPixmapCache.Key QPixmapCache.insert(QPixmap pixmap)''' 18868 return QPixmapCache.Key() 18869 def find(self, key): 18870 '''static QPixmap QPixmapCache.find(QString key)''' 18871 return QPixmap() 18872 def find(self, key, pixmap): 18873 '''static bool QPixmapCache.find(QString key, QPixmap pixmap)''' 18874 return bool() 18875 def find(self, key, pixmap): 18876 '''static bool QPixmapCache.find(QPixmapCache.Key key, QPixmap pixmap)''' 18877 return bool() 18878 def clear(self): 18879 '''static void QPixmapCache.clear()''' 18880 def cacheLimit(self): 18881 '''static int QPixmapCache.cacheLimit()''' 18882 return int() 18883 class Key(): 18884 """""" 18885 def __init__(self): 18886 '''void QPixmapCache.Key.__init__()''' 18887 def __init__(self, other): 18888 '''void QPixmapCache.Key.__init__(QPixmapCache.Key other)''' 18889 def __ne__(self, key): 18890 '''bool QPixmapCache.Key.__ne__(QPixmapCache.Key key)''' 18891 return bool() 18892 def __eq__(self, key): 18893 '''bool QPixmapCache.Key.__eq__(QPixmapCache.Key key)''' 18894 return bool() 18895 18896 18897 class QPlainTextEdit(QAbstractScrollArea): 18898 """""" 18899 # Enum QPlainTextEdit.LineWrapMode 18900 NoWrap = 0 18901 WidgetWidth = 0 18902 18903 def __init__(self, parent = None): 18904 '''void QPlainTextEdit.__init__(QWidget parent = None)''' 18905 def __init__(self, text, parent = None): 18906 '''void QPlainTextEdit.__init__(QString text, QWidget parent = None)''' 18907 def anchorAt(self, pos): 18908 '''QString QPlainTextEdit.anchorAt(QPoint pos)''' 18909 return QString() 18910 def getPaintContext(self): 18911 '''QAbstractTextDocumentLayout.PaintContext QPlainTextEdit.getPaintContext()''' 18912 return QAbstractTextDocumentLayout.PaintContext() 18913 def blockBoundingGeometry(self, block): 18914 '''QRectF QPlainTextEdit.blockBoundingGeometry(QTextBlock block)''' 18915 return QRectF() 18916 def blockBoundingRect(self, block): 18917 '''QRectF QPlainTextEdit.blockBoundingRect(QTextBlock block)''' 18918 return QRectF() 18919 def contentOffset(self): 18920 '''QPointF QPlainTextEdit.contentOffset()''' 18921 return QPointF() 18922 def firstVisibleBlock(self): 18923 '''QTextBlock QPlainTextEdit.firstVisibleBlock()''' 18924 return QTextBlock() 18925 def scrollContentsBy(self, dx, dy): 18926 '''void QPlainTextEdit.scrollContentsBy(int dx, int dy)''' 18927 def insertFromMimeData(self, source): 18928 '''void QPlainTextEdit.insertFromMimeData(QMimeData source)''' 18929 def canInsertFromMimeData(self, source): 18930 '''bool QPlainTextEdit.canInsertFromMimeData(QMimeData source)''' 18931 return bool() 18932 def createMimeDataFromSelection(self): 18933 '''QMimeData QPlainTextEdit.createMimeDataFromSelection()''' 18934 return QMimeData() 18935 def inputMethodQuery(self, property): 18936 '''QVariant QPlainTextEdit.inputMethodQuery(Qt.InputMethodQuery property)''' 18937 return QVariant() 18938 def inputMethodEvent(self): 18939 '''QInputMethodEvent QPlainTextEdit.inputMethodEvent()''' 18940 return QInputMethodEvent() 18941 def wheelEvent(self, e): 18942 '''void QPlainTextEdit.wheelEvent(QWheelEvent e)''' 18943 def changeEvent(self, e): 18944 '''void QPlainTextEdit.changeEvent(QEvent e)''' 18945 def showEvent(self): 18946 '''QShowEvent QPlainTextEdit.showEvent()''' 18947 return QShowEvent() 18948 def focusOutEvent(self, e): 18949 '''void QPlainTextEdit.focusOutEvent(QFocusEvent e)''' 18950 def focusInEvent(self, e): 18951 '''void QPlainTextEdit.focusInEvent(QFocusEvent e)''' 18952 def dropEvent(self, e): 18953 '''void QPlainTextEdit.dropEvent(QDropEvent e)''' 18954 def dragMoveEvent(self, e): 18955 '''void QPlainTextEdit.dragMoveEvent(QDragMoveEvent e)''' 18956 def dragLeaveEvent(self, e): 18957 '''void QPlainTextEdit.dragLeaveEvent(QDragLeaveEvent e)''' 18958 def dragEnterEvent(self, e): 18959 '''void QPlainTextEdit.dragEnterEvent(QDragEnterEvent e)''' 18960 def contextMenuEvent(self, e): 18961 '''void QPlainTextEdit.contextMenuEvent(QContextMenuEvent e)''' 18962 def focusNextPrevChild(self, next): 18963 '''bool QPlainTextEdit.focusNextPrevChild(bool next)''' 18964 return bool() 18965 def mouseDoubleClickEvent(self, e): 18966 '''void QPlainTextEdit.mouseDoubleClickEvent(QMouseEvent e)''' 18967 def mouseReleaseEvent(self, e): 18968 '''void QPlainTextEdit.mouseReleaseEvent(QMouseEvent e)''' 18969 def mouseMoveEvent(self, e): 18970 '''void QPlainTextEdit.mouseMoveEvent(QMouseEvent e)''' 18971 def mousePressEvent(self, e): 18972 '''void QPlainTextEdit.mousePressEvent(QMouseEvent e)''' 18973 def paintEvent(self, e): 18974 '''void QPlainTextEdit.paintEvent(QPaintEvent e)''' 18975 def resizeEvent(self, e): 18976 '''void QPlainTextEdit.resizeEvent(QResizeEvent e)''' 18977 def keyReleaseEvent(self, e): 18978 '''void QPlainTextEdit.keyReleaseEvent(QKeyEvent e)''' 18979 def keyPressEvent(self, e): 18980 '''void QPlainTextEdit.keyPressEvent(QKeyEvent e)''' 18981 def timerEvent(self, e): 18982 '''void QPlainTextEdit.timerEvent(QTimerEvent e)''' 18983 def event(self, e): 18984 '''bool QPlainTextEdit.event(QEvent e)''' 18985 return bool() 18986 modificationChanged = pyqtSignal() # void modificationChanged(bool) - signal 18987 blockCountChanged = pyqtSignal() # void blockCountChanged(int) - signal 18988 updateRequest = pyqtSignal() # void updateRequest(const QRectamp;,int) - signal 18989 cursorPositionChanged = pyqtSignal() # void cursorPositionChanged() - signal 18990 selectionChanged = pyqtSignal() # void selectionChanged() - signal 18991 copyAvailable = pyqtSignal() # void copyAvailable(bool) - signal 18992 redoAvailable = pyqtSignal() # void redoAvailable(bool) - signal 18993 undoAvailable = pyqtSignal() # void undoAvailable(bool) - signal 18994 textChanged = pyqtSignal() # void textChanged() - signal 18995 def centerCursor(self): 18996 '''void QPlainTextEdit.centerCursor()''' 18997 def appendHtml(self, html): 18998 '''void QPlainTextEdit.appendHtml(QString html)''' 18999 def appendPlainText(self, text): 19000 '''void QPlainTextEdit.appendPlainText(QString text)''' 19001 def insertPlainText(self, text): 19002 '''void QPlainTextEdit.insertPlainText(QString text)''' 19003 def selectAll(self): 19004 '''void QPlainTextEdit.selectAll()''' 19005 def clear(self): 19006 '''void QPlainTextEdit.clear()''' 19007 def redo(self): 19008 '''void QPlainTextEdit.redo()''' 19009 def undo(self): 19010 '''void QPlainTextEdit.undo()''' 19011 def paste(self): 19012 '''void QPlainTextEdit.paste()''' 19013 def copy(self): 19014 '''void QPlainTextEdit.copy()''' 19015 def cut(self): 19016 '''void QPlainTextEdit.cut()''' 19017 def setPlainText(self, text): 19018 '''void QPlainTextEdit.setPlainText(QString text)''' 19019 def blockCount(self): 19020 '''int QPlainTextEdit.blockCount()''' 19021 return int() 19022 def print_(self, printer): 19023 '''void QPlainTextEdit.print_(QPrinter printer)''' 19024 def canPaste(self): 19025 '''bool QPlainTextEdit.canPaste()''' 19026 return bool() 19027 def moveCursor(self, operation, mode = None): 19028 '''void QPlainTextEdit.moveCursor(QTextCursor.MoveOperation operation, QTextCursor.MoveMode mode = QTextCursor.MoveAnchor)''' 19029 def extraSelections(self): 19030 '''list-of-QTextEdit.ExtraSelection QPlainTextEdit.extraSelections()''' 19031 return [QTextEdit.ExtraSelection()] 19032 def setExtraSelections(self, selections): 19033 '''void QPlainTextEdit.setExtraSelections(list-of-QTextEdit.ExtraSelection selections)''' 19034 def setCursorWidth(self, width): 19035 '''void QPlainTextEdit.setCursorWidth(int width)''' 19036 def cursorWidth(self): 19037 '''int QPlainTextEdit.cursorWidth()''' 19038 return int() 19039 def setTabStopWidth(self, width): 19040 '''void QPlainTextEdit.setTabStopWidth(int width)''' 19041 def tabStopWidth(self): 19042 '''int QPlainTextEdit.tabStopWidth()''' 19043 return int() 19044 def setOverwriteMode(self, overwrite): 19045 '''void QPlainTextEdit.setOverwriteMode(bool overwrite)''' 19046 def overwriteMode(self): 19047 '''bool QPlainTextEdit.overwriteMode()''' 19048 return bool() 19049 def cursorRect(self, cursor): 19050 '''QRect QPlainTextEdit.cursorRect(QTextCursor cursor)''' 19051 return QRect() 19052 def cursorRect(self): 19053 '''QRect QPlainTextEdit.cursorRect()''' 19054 return QRect() 19055 def cursorForPosition(self, pos): 19056 '''QTextCursor QPlainTextEdit.cursorForPosition(QPoint pos)''' 19057 return QTextCursor() 19058 def createStandardContextMenu(self): 19059 '''QMenu QPlainTextEdit.createStandardContextMenu()''' 19060 return QMenu() 19061 def loadResource(self, type, name): 19062 '''QVariant QPlainTextEdit.loadResource(int type, QUrl name)''' 19063 return QVariant() 19064 def ensureCursorVisible(self): 19065 '''void QPlainTextEdit.ensureCursorVisible()''' 19066 def toPlainText(self): 19067 '''QString QPlainTextEdit.toPlainText()''' 19068 return QString() 19069 def find(self, exp, options = 0): 19070 '''bool QPlainTextEdit.find(QString exp, QTextDocument.FindFlags options = 0)''' 19071 return bool() 19072 def centerOnScroll(self): 19073 '''bool QPlainTextEdit.centerOnScroll()''' 19074 return bool() 19075 def setCenterOnScroll(self, enabled): 19076 '''void QPlainTextEdit.setCenterOnScroll(bool enabled)''' 19077 def backgroundVisible(self): 19078 '''bool QPlainTextEdit.backgroundVisible()''' 19079 return bool() 19080 def setBackgroundVisible(self, visible): 19081 '''void QPlainTextEdit.setBackgroundVisible(bool visible)''' 19082 def setWordWrapMode(self, policy): 19083 '''void QPlainTextEdit.setWordWrapMode(QTextOption.WrapMode policy)''' 19084 def wordWrapMode(self): 19085 '''QTextOption.WrapMode QPlainTextEdit.wordWrapMode()''' 19086 return QTextOption.WrapMode() 19087 def setLineWrapMode(self, mode): 19088 '''void QPlainTextEdit.setLineWrapMode(QPlainTextEdit.LineWrapMode mode)''' 19089 def lineWrapMode(self): 19090 '''QPlainTextEdit.LineWrapMode QPlainTextEdit.lineWrapMode()''' 19091 return QPlainTextEdit.LineWrapMode() 19092 def maximumBlockCount(self): 19093 '''int QPlainTextEdit.maximumBlockCount()''' 19094 return int() 19095 def setMaximumBlockCount(self, maximum): 19096 '''void QPlainTextEdit.setMaximumBlockCount(int maximum)''' 19097 def setUndoRedoEnabled(self, enable): 19098 '''void QPlainTextEdit.setUndoRedoEnabled(bool enable)''' 19099 def isUndoRedoEnabled(self): 19100 '''bool QPlainTextEdit.isUndoRedoEnabled()''' 19101 return bool() 19102 def documentTitle(self): 19103 '''QString QPlainTextEdit.documentTitle()''' 19104 return QString() 19105 def setDocumentTitle(self, title): 19106 '''void QPlainTextEdit.setDocumentTitle(QString title)''' 19107 def setTabChangesFocus(self, b): 19108 '''void QPlainTextEdit.setTabChangesFocus(bool b)''' 19109 def tabChangesFocus(self): 19110 '''bool QPlainTextEdit.tabChangesFocus()''' 19111 return bool() 19112 def currentCharFormat(self): 19113 '''QTextCharFormat QPlainTextEdit.currentCharFormat()''' 19114 return QTextCharFormat() 19115 def setCurrentCharFormat(self, format): 19116 '''void QPlainTextEdit.setCurrentCharFormat(QTextCharFormat format)''' 19117 def mergeCurrentCharFormat(self, modifier): 19118 '''void QPlainTextEdit.mergeCurrentCharFormat(QTextCharFormat modifier)''' 19119 def textInteractionFlags(self): 19120 '''Qt.TextInteractionFlags QPlainTextEdit.textInteractionFlags()''' 19121 return Qt.TextInteractionFlags() 19122 def setTextInteractionFlags(self, flags): 19123 '''void QPlainTextEdit.setTextInteractionFlags(Qt.TextInteractionFlags flags)''' 19124 def setReadOnly(self, ro): 19125 '''void QPlainTextEdit.setReadOnly(bool ro)''' 19126 def isReadOnly(self): 19127 '''bool QPlainTextEdit.isReadOnly()''' 19128 return bool() 19129 def textCursor(self): 19130 '''QTextCursor QPlainTextEdit.textCursor()''' 19131 return QTextCursor() 19132 def setTextCursor(self, cursor): 19133 '''void QPlainTextEdit.setTextCursor(QTextCursor cursor)''' 19134 def document(self): 19135 '''QTextDocument QPlainTextEdit.document()''' 19136 return QTextDocument() 19137 def setDocument(self, document): 19138 '''void QPlainTextEdit.setDocument(QTextDocument document)''' 19139 19140 19141 class QPlainTextDocumentLayout(QAbstractTextDocumentLayout): 19142 """""" 19143 def __init__(self, document): 19144 '''void QPlainTextDocumentLayout.__init__(QTextDocument document)''' 19145 def documentChanged(self, from_, charsAdded): 19146 '''int QPlainTextDocumentLayout.documentChanged(int from, int charsAdded)''' 19147 return int() 19148 def requestUpdate(self): 19149 '''void QPlainTextDocumentLayout.requestUpdate()''' 19150 def cursorWidth(self): 19151 '''int QPlainTextDocumentLayout.cursorWidth()''' 19152 return int() 19153 def setCursorWidth(self, width): 19154 '''void QPlainTextDocumentLayout.setCursorWidth(int width)''' 19155 def ensureBlockLayout(self, block): 19156 '''void QPlainTextDocumentLayout.ensureBlockLayout(QTextBlock block)''' 19157 def blockBoundingRect(self, block): 19158 '''QRectF QPlainTextDocumentLayout.blockBoundingRect(QTextBlock block)''' 19159 return QRectF() 19160 def frameBoundingRect(self): 19161 '''QTextFrame QPlainTextDocumentLayout.frameBoundingRect()''' 19162 return QTextFrame() 19163 def documentSize(self): 19164 '''QSizeF QPlainTextDocumentLayout.documentSize()''' 19165 return QSizeF() 19166 def pageCount(self): 19167 '''int QPlainTextDocumentLayout.pageCount()''' 19168 return int() 19169 def hitTest(self): 19170 '''Qt.HitTestAccuracy QPlainTextDocumentLayout.hitTest()''' 19171 return Qt.HitTestAccuracy() 19172 def draw(self): 19173 '''QAbstractTextDocumentLayout.PaintContext QPlainTextDocumentLayout.draw()''' 19174 return QAbstractTextDocumentLayout.PaintContext() 19175 19176 19177 class QPolygon(): 19178 """""" 19179 def __init__(self): 19180 '''void QPolygon.__init__()''' 19181 def __init__(self, a): 19182 '''void QPolygon.__init__(QPolygon a)''' 19183 def __init__(self, v): 19184 '''void QPolygon.__init__(list-of-QPoint v)''' 19185 def __init__(self, rectangle, closed = False): 19186 '''void QPolygon.__init__(QRect rectangle, bool closed = False)''' 19187 def __init__(self, asize): 19188 '''void QPolygon.__init__(int asize)''' 19189 def __init__(self, points): 19190 '''void QPolygon.__init__(list-of-int points)''' 19191 def __init__(self, variant): 19192 '''void QPolygon.__init__(QVariant variant)''' 19193 def __mul__(self, m): 19194 '''QPolygon QPolygon.__mul__(QMatrix m)''' 19195 return QPolygon() 19196 def __mul__(self, m): 19197 '''QPolygon QPolygon.__mul__(QTransform m)''' 19198 return QPolygon() 19199 def swap(self, other): 19200 '''void QPolygon.swap(QPolygon other)''' 19201 def __contains__(self, value): 19202 '''int QPolygon.__contains__(QPoint value)''' 19203 return int() 19204 def __delitem__(self, i): 19205 '''void QPolygon.__delitem__(int i)''' 19206 def __delitem__(self, slice): 19207 '''void QPolygon.__delitem__(slice slice)''' 19208 def __setitem__(self, i, value): 19209 '''void QPolygon.__setitem__(int i, QPoint value)''' 19210 def __setitem__(self, slice, list): 19211 '''void QPolygon.__setitem__(slice slice, QPolygon list)''' 19212 def __getitem__(self, i): 19213 '''QPoint QPolygon.__getitem__(int i)''' 19214 return QPoint() 19215 def __getitem__(self, slice): 19216 '''QPolygon QPolygon.__getitem__(slice slice)''' 19217 return QPolygon() 19218 def __lshift__(self, value): 19219 '''object QPolygon.__lshift__(QPoint value)''' 19220 return object() 19221 def __eq__(self, other): 19222 '''bool QPolygon.__eq__(QPolygon other)''' 19223 return bool() 19224 def __iadd__(self, other): 19225 '''QPolygon QPolygon.__iadd__(QPolygon other)''' 19226 return QPolygon() 19227 def __iadd__(self, value): 19228 '''QPolygon QPolygon.__iadd__(QPoint value)''' 19229 return QPolygon() 19230 def __add__(self, other): 19231 '''QPolygon QPolygon.__add__(QPolygon other)''' 19232 return QPolygon() 19233 def __ne__(self, other): 19234 '''bool QPolygon.__ne__(QPolygon other)''' 19235 return bool() 19236 def value(self, i): 19237 '''QPoint QPolygon.value(int i)''' 19238 return QPoint() 19239 def value(self, i, defaultValue): 19240 '''QPoint QPolygon.value(int i, QPoint defaultValue)''' 19241 return QPoint() 19242 def size(self): 19243 '''int QPolygon.size()''' 19244 return int() 19245 def replace(self, i, value): 19246 '''void QPolygon.replace(int i, QPoint value)''' 19247 def remove(self, i): 19248 '''void QPolygon.remove(int i)''' 19249 def remove(self, i, count): 19250 '''void QPolygon.remove(int i, int count)''' 19251 def prepend(self, value): 19252 '''void QPolygon.prepend(QPoint value)''' 19253 def mid(self, pos, length = None): 19254 '''QPolygon QPolygon.mid(int pos, int length = -1)''' 19255 return QPolygon() 19256 def lastIndexOf(self, value, from_ = None): 19257 '''int QPolygon.lastIndexOf(QPoint value, int from = -1)''' 19258 return int() 19259 def last(self): 19260 '''QPoint QPolygon.last()''' 19261 return QPoint() 19262 def isEmpty(self): 19263 '''bool QPolygon.isEmpty()''' 19264 return bool() 19265 def insert(self, i, value): 19266 '''void QPolygon.insert(int i, QPoint value)''' 19267 def indexOf(self, value, from_ = 0): 19268 '''int QPolygon.indexOf(QPoint value, int from = 0)''' 19269 return int() 19270 def first(self): 19271 '''QPoint QPolygon.first()''' 19272 return QPoint() 19273 def fill(self, value, size = None): 19274 '''void QPolygon.fill(QPoint value, int size = -1)''' 19275 def data(self): 19276 '''sip.voidptr QPolygon.data()''' 19277 return sip.voidptr() 19278 def __len__(self): 19279 '''None QPolygon.__len__()''' 19280 return None() 19281 def count(self, value): 19282 '''int QPolygon.count(QPoint value)''' 19283 return int() 19284 def count(self): 19285 '''int QPolygon.count()''' 19286 return int() 19287 def contains(self, value): 19288 '''bool QPolygon.contains(QPoint value)''' 19289 return bool() 19290 def clear(self): 19291 '''void QPolygon.clear()''' 19292 def at(self, i): 19293 '''QPoint QPolygon.at(int i)''' 19294 return QPoint() 19295 def append(self, value): 19296 '''void QPolygon.append(QPoint value)''' 19297 def translated(self, dx, dy): 19298 '''QPolygon QPolygon.translated(int dx, int dy)''' 19299 return QPolygon() 19300 def translated(self, offset): 19301 '''QPolygon QPolygon.translated(QPoint offset)''' 19302 return QPolygon() 19303 def subtracted(self, r): 19304 '''QPolygon QPolygon.subtracted(QPolygon r)''' 19305 return QPolygon() 19306 def intersected(self, r): 19307 '''QPolygon QPolygon.intersected(QPolygon r)''' 19308 return QPolygon() 19309 def united(self, r): 19310 '''QPolygon QPolygon.united(QPolygon r)''' 19311 return QPolygon() 19312 def containsPoint(self, pt, fillRule): 19313 '''bool QPolygon.containsPoint(QPoint pt, Qt.FillRule fillRule)''' 19314 return bool() 19315 def setPoint(self, index, pt): 19316 '''void QPolygon.setPoint(int index, QPoint pt)''' 19317 def setPoint(self, index, x, y): 19318 '''void QPolygon.setPoint(int index, int x, int y)''' 19319 def putPoints(self, index, firstx, firsty, *args): 19320 '''void QPolygon.putPoints(int index, int firstx, int firsty, ... *args)''' 19321 def putPoints(self, index, nPoints, fromPolygon, from_ = 0): 19322 '''void QPolygon.putPoints(int index, int nPoints, QPolygon fromPolygon, int from = 0)''' 19323 def setPoints(self, points): 19324 '''void QPolygon.setPoints(list-of-int points)''' 19325 def setPoints(self, firstx, firsty, *args): 19326 '''void QPolygon.setPoints(int firstx, int firsty, ... *args)''' 19327 def point(self, index): 19328 '''QPoint QPolygon.point(int index)''' 19329 return QPoint() 19330 def boundingRect(self): 19331 '''QRect QPolygon.boundingRect()''' 19332 return QRect() 19333 def translate(self, dx, dy): 19334 '''void QPolygon.translate(int dx, int dy)''' 19335 def translate(self, offset): 19336 '''void QPolygon.translate(QPoint offset)''' 19337 19338 19339 class QPolygonF(): 19340 """""" 19341 def __init__(self): 19342 '''void QPolygonF.__init__()''' 19343 def __init__(self, a): 19344 '''void QPolygonF.__init__(QPolygonF a)''' 19345 def __init__(self, v): 19346 '''void QPolygonF.__init__(list-of-QPointF v)''' 19347 def __init__(self, r): 19348 '''void QPolygonF.__init__(QRectF r)''' 19349 def __init__(self, a): 19350 '''void QPolygonF.__init__(QPolygon a)''' 19351 def __init__(self, asize): 19352 '''void QPolygonF.__init__(int asize)''' 19353 def __mul__(self, m): 19354 '''QPolygonF QPolygonF.__mul__(QMatrix m)''' 19355 return QPolygonF() 19356 def __mul__(self, m): 19357 '''QPolygonF QPolygonF.__mul__(QTransform m)''' 19358 return QPolygonF() 19359 def swap(self, other): 19360 '''void QPolygonF.swap(QPolygonF other)''' 19361 def __contains__(self, value): 19362 '''int QPolygonF.__contains__(QPointF value)''' 19363 return int() 19364 def __delitem__(self, i): 19365 '''void QPolygonF.__delitem__(int i)''' 19366 def __delitem__(self, slice): 19367 '''void QPolygonF.__delitem__(slice slice)''' 19368 def __setitem__(self, i, value): 19369 '''void QPolygonF.__setitem__(int i, QPointF value)''' 19370 def __setitem__(self, slice, list): 19371 '''void QPolygonF.__setitem__(slice slice, QPolygonF list)''' 19372 def __getitem__(self, i): 19373 '''QPointF QPolygonF.__getitem__(int i)''' 19374 return QPointF() 19375 def __getitem__(self, slice): 19376 '''QPolygonF QPolygonF.__getitem__(slice slice)''' 19377 return QPolygonF() 19378 def __lshift__(self, value): 19379 '''object QPolygonF.__lshift__(QPointF value)''' 19380 return object() 19381 def __eq__(self, other): 19382 '''bool QPolygonF.__eq__(QPolygonF other)''' 19383 return bool() 19384 def __iadd__(self, other): 19385 '''QPolygonF QPolygonF.__iadd__(QPolygonF other)''' 19386 return QPolygonF() 19387 def __iadd__(self, value): 19388 '''QPolygonF QPolygonF.__iadd__(QPointF value)''' 19389 return QPolygonF() 19390 def __add__(self, other): 19391 '''QPolygonF QPolygonF.__add__(QPolygonF other)''' 19392 return QPolygonF() 19393 def __ne__(self, other): 19394 '''bool QPolygonF.__ne__(QPolygonF other)''' 19395 return bool() 19396 def value(self, i): 19397 '''QPointF QPolygonF.value(int i)''' 19398 return QPointF() 19399 def value(self, i, defaultValue): 19400 '''QPointF QPolygonF.value(int i, QPointF defaultValue)''' 19401 return QPointF() 19402 def size(self): 19403 '''int QPolygonF.size()''' 19404 return int() 19405 def replace(self, i, value): 19406 '''void QPolygonF.replace(int i, QPointF value)''' 19407 def remove(self, i): 19408 '''void QPolygonF.remove(int i)''' 19409 def remove(self, i, count): 19410 '''void QPolygonF.remove(int i, int count)''' 19411 def prepend(self, value): 19412 '''void QPolygonF.prepend(QPointF value)''' 19413 def mid(self, pos, length = None): 19414 '''QPolygonF QPolygonF.mid(int pos, int length = -1)''' 19415 return QPolygonF() 19416 def lastIndexOf(self, value, from_ = None): 19417 '''int QPolygonF.lastIndexOf(QPointF value, int from = -1)''' 19418 return int() 19419 def last(self): 19420 '''QPointF QPolygonF.last()''' 19421 return QPointF() 19422 def isEmpty(self): 19423 '''bool QPolygonF.isEmpty()''' 19424 return bool() 19425 def insert(self, i, value): 19426 '''void QPolygonF.insert(int i, QPointF value)''' 19427 def indexOf(self, value, from_ = 0): 19428 '''int QPolygonF.indexOf(QPointF value, int from = 0)''' 19429 return int() 19430 def first(self): 19431 '''QPointF QPolygonF.first()''' 19432 return QPointF() 19433 def fill(self, value, size = None): 19434 '''void QPolygonF.fill(QPointF value, int size = -1)''' 19435 def data(self): 19436 '''sip.voidptr QPolygonF.data()''' 19437 return sip.voidptr() 19438 def __len__(self): 19439 '''None QPolygonF.__len__()''' 19440 return None() 19441 def count(self, value): 19442 '''int QPolygonF.count(QPointF value)''' 19443 return int() 19444 def count(self): 19445 '''int QPolygonF.count()''' 19446 return int() 19447 def contains(self, value): 19448 '''bool QPolygonF.contains(QPointF value)''' 19449 return bool() 19450 def clear(self): 19451 '''void QPolygonF.clear()''' 19452 def at(self, i): 19453 '''QPointF QPolygonF.at(int i)''' 19454 return QPointF() 19455 def append(self, value): 19456 '''void QPolygonF.append(QPointF value)''' 19457 def translated(self, offset): 19458 '''QPolygonF QPolygonF.translated(QPointF offset)''' 19459 return QPolygonF() 19460 def translated(self, dx, dy): 19461 '''QPolygonF QPolygonF.translated(float dx, float dy)''' 19462 return QPolygonF() 19463 def subtracted(self, r): 19464 '''QPolygonF QPolygonF.subtracted(QPolygonF r)''' 19465 return QPolygonF() 19466 def intersected(self, r): 19467 '''QPolygonF QPolygonF.intersected(QPolygonF r)''' 19468 return QPolygonF() 19469 def united(self, r): 19470 '''QPolygonF QPolygonF.united(QPolygonF r)''' 19471 return QPolygonF() 19472 def containsPoint(self, pt, fillRule): 19473 '''bool QPolygonF.containsPoint(QPointF pt, Qt.FillRule fillRule)''' 19474 return bool() 19475 def boundingRect(self): 19476 '''QRectF QPolygonF.boundingRect()''' 19477 return QRectF() 19478 def isClosed(self): 19479 '''bool QPolygonF.isClosed()''' 19480 return bool() 19481 def toPolygon(self): 19482 '''QPolygon QPolygonF.toPolygon()''' 19483 return QPolygon() 19484 def translate(self, offset): 19485 '''void QPolygonF.translate(QPointF offset)''' 19486 def translate(self, dx, dy): 19487 '''void QPolygonF.translate(float dx, float dy)''' 19488 19489 19490 class QPrinter(QPaintDevice): 19491 """""" 19492 # Enum QPrinter.Unit 19493 Millimeter = 0 19494 Point = 0 19495 Inch = 0 19496 Pica = 0 19497 Didot = 0 19498 Cicero = 0 19499 DevicePixel = 0 19500 19501 # Enum QPrinter.DuplexMode 19502 DuplexNone = 0 19503 DuplexAuto = 0 19504 DuplexLongSide = 0 19505 DuplexShortSide = 0 19506 19507 # Enum QPrinter.PrintRange 19508 AllPages = 0 19509 Selection = 0 19510 PageRange = 0 19511 CurrentPage = 0 19512 19513 # Enum QPrinter.OutputFormat 19514 NativeFormat = 0 19515 PdfFormat = 0 19516 PostScriptFormat = 0 19517 19518 # Enum QPrinter.PrinterState 19519 Idle = 0 19520 Active = 0 19521 Aborted = 0 19522 Error = 0 19523 19524 # Enum QPrinter.PaperSource 19525 OnlyOne = 0 19526 Lower = 0 19527 Middle = 0 19528 Manual = 0 19529 Envelope = 0 19530 EnvelopeManual = 0 19531 Auto = 0 19532 Tractor = 0 19533 SmallFormat = 0 19534 LargeFormat = 0 19535 LargeCapacity = 0 19536 Cassette = 0 19537 FormSource = 0 19538 MaxPageSource = 0 19539 19540 # Enum QPrinter.ColorMode 19541 GrayScale = 0 19542 Color = 0 19543 19544 # Enum QPrinter.PageOrder 19545 FirstPageFirst = 0 19546 LastPageFirst = 0 19547 19548 # Enum QPrinter.PageSize 19549 A4 = 0 19550 B5 = 0 19551 Letter = 0 19552 Legal = 0 19553 Executive = 0 19554 A0 = 0 19555 A1 = 0 19556 A2 = 0 19557 A3 = 0 19558 A5 = 0 19559 A6 = 0 19560 A7 = 0 19561 A8 = 0 19562 A9 = 0 19563 B0 = 0 19564 B1 = 0 19565 B10 = 0 19566 B2 = 0 19567 B3 = 0 19568 B4 = 0 19569 B6 = 0 19570 B7 = 0 19571 B8 = 0 19572 B9 = 0 19573 C5E = 0 19574 Comm10E = 0 19575 DLE = 0 19576 Folio = 0 19577 Ledger = 0 19578 Tabloid = 0 19579 Custom = 0 19580 19581 # Enum QPrinter.Orientation 19582 Portrait = 0 19583 Landscape = 0 19584 19585 # Enum QPrinter.PrinterMode 19586 ScreenResolution = 0 19587 PrinterResolution = 0 19588 HighResolution = 0 19589 19590 def __init__(self, mode = None): 19591 '''void QPrinter.__init__(QPrinter.PrinterMode mode = QPrinter.ScreenResolution)''' 19592 def __init__(self, printer, mode = None): 19593 '''void QPrinter.__init__(QPrinterInfo printer, QPrinter.PrinterMode mode = QPrinter.ScreenResolution)''' 19594 def supportsMultipleCopies(self): 19595 '''bool QPrinter.supportsMultipleCopies()''' 19596 return bool() 19597 def copyCount(self): 19598 '''int QPrinter.copyCount()''' 19599 return int() 19600 def setCopyCount(self): 19601 '''int QPrinter.setCopyCount()''' 19602 return int() 19603 def setEngines(self, printEngine, paintEngine): 19604 '''void QPrinter.setEngines(QPrintEngine printEngine, QPaintEngine paintEngine)''' 19605 def metric(self): 19606 '''QPaintDevice.PaintDeviceMetric QPrinter.metric()''' 19607 return QPaintDevice.PaintDeviceMetric() 19608 def actualNumCopies(self): 19609 '''int QPrinter.actualNumCopies()''' 19610 return int() 19611 def getPageMargins(self, left, top, right, bottom, unit): 19612 '''void QPrinter.getPageMargins(float left, float top, float right, float bottom, QPrinter.Unit unit)''' 19613 def setPageMargins(self, left, top, right, bottom, unit): 19614 '''void QPrinter.setPageMargins(float left, float top, float right, float bottom, QPrinter.Unit unit)''' 19615 def duplex(self): 19616 '''QPrinter.DuplexMode QPrinter.duplex()''' 19617 return QPrinter.DuplexMode() 19618 def setDuplex(self, duplex): 19619 '''void QPrinter.setDuplex(QPrinter.DuplexMode duplex)''' 19620 def paperSize(self): 19621 '''QPrinter.PageSize QPrinter.paperSize()''' 19622 return QPrinter.PageSize() 19623 def paperSize(self, unit): 19624 '''QSizeF QPrinter.paperSize(QPrinter.Unit unit)''' 19625 return QSizeF() 19626 def setPaperSize(self): 19627 '''QPrinter.PageSize QPrinter.setPaperSize()''' 19628 return QPrinter.PageSize() 19629 def setPaperSize(self, paperSize, unit): 19630 '''void QPrinter.setPaperSize(QSizeF paperSize, QPrinter.Unit unit)''' 19631 def isValid(self): 19632 '''bool QPrinter.isValid()''' 19633 return bool() 19634 def doubleSidedPrinting(self): 19635 '''bool QPrinter.doubleSidedPrinting()''' 19636 return bool() 19637 def setDoubleSidedPrinting(self, enable): 19638 '''void QPrinter.setDoubleSidedPrinting(bool enable)''' 19639 def printRange(self): 19640 '''QPrinter.PrintRange QPrinter.printRange()''' 19641 return QPrinter.PrintRange() 19642 def setPrintRange(self, range): 19643 '''void QPrinter.setPrintRange(QPrinter.PrintRange range)''' 19644 def toPage(self): 19645 '''int QPrinter.toPage()''' 19646 return int() 19647 def fromPage(self): 19648 '''int QPrinter.fromPage()''' 19649 return int() 19650 def setFromTo(self, fromPage, toPage): 19651 '''void QPrinter.setFromTo(int fromPage, int toPage)''' 19652 def printEngine(self): 19653 '''QPrintEngine QPrinter.printEngine()''' 19654 return QPrintEngine() 19655 def fontEmbeddingEnabled(self): 19656 '''bool QPrinter.fontEmbeddingEnabled()''' 19657 return bool() 19658 def setFontEmbeddingEnabled(self, enable): 19659 '''void QPrinter.setFontEmbeddingEnabled(bool enable)''' 19660 def outputFormat(self): 19661 '''QPrinter.OutputFormat QPrinter.outputFormat()''' 19662 return QPrinter.OutputFormat() 19663 def setOutputFormat(self, format): 19664 '''void QPrinter.setOutputFormat(QPrinter.OutputFormat format)''' 19665 def paintEngine(self): 19666 '''QPaintEngine QPrinter.paintEngine()''' 19667 return QPaintEngine() 19668 def printerState(self): 19669 '''QPrinter.PrinterState QPrinter.printerState()''' 19670 return QPrinter.PrinterState() 19671 def abort(self): 19672 '''bool QPrinter.abort()''' 19673 return bool() 19674 def newPage(self): 19675 '''bool QPrinter.newPage()''' 19676 return bool() 19677 def setPrinterSelectionOption(self): 19678 '''QString QPrinter.setPrinterSelectionOption()''' 19679 return QString() 19680 def printerSelectionOption(self): 19681 '''QString QPrinter.printerSelectionOption()''' 19682 return QString() 19683 def pageRect(self): 19684 '''QRect QPrinter.pageRect()''' 19685 return QRect() 19686 def pageRect(self): 19687 '''QPrinter.Unit QPrinter.pageRect()''' 19688 return QPrinter.Unit() 19689 def paperRect(self): 19690 '''QRect QPrinter.paperRect()''' 19691 return QRect() 19692 def paperRect(self): 19693 '''QPrinter.Unit QPrinter.paperRect()''' 19694 return QPrinter.Unit() 19695 def supportedResolutions(self): 19696 '''list-of-int QPrinter.supportedResolutions()''' 19697 return [int()] 19698 def paperSource(self): 19699 '''QPrinter.PaperSource QPrinter.paperSource()''' 19700 return QPrinter.PaperSource() 19701 def setPaperSource(self): 19702 '''QPrinter.PaperSource QPrinter.setPaperSource()''' 19703 return QPrinter.PaperSource() 19704 def numCopies(self): 19705 '''int QPrinter.numCopies()''' 19706 return int() 19707 def setNumCopies(self): 19708 '''int QPrinter.setNumCopies()''' 19709 return int() 19710 def fullPage(self): 19711 '''bool QPrinter.fullPage()''' 19712 return bool() 19713 def setFullPage(self): 19714 '''bool QPrinter.setFullPage()''' 19715 return bool() 19716 def collateCopies(self): 19717 '''bool QPrinter.collateCopies()''' 19718 return bool() 19719 def setCollateCopies(self, collate): 19720 '''void QPrinter.setCollateCopies(bool collate)''' 19721 def colorMode(self): 19722 '''QPrinter.ColorMode QPrinter.colorMode()''' 19723 return QPrinter.ColorMode() 19724 def setColorMode(self): 19725 '''QPrinter.ColorMode QPrinter.setColorMode()''' 19726 return QPrinter.ColorMode() 19727 def resolution(self): 19728 '''int QPrinter.resolution()''' 19729 return int() 19730 def setResolution(self): 19731 '''int QPrinter.setResolution()''' 19732 return int() 19733 def pageOrder(self): 19734 '''QPrinter.PageOrder QPrinter.pageOrder()''' 19735 return QPrinter.PageOrder() 19736 def setPageOrder(self): 19737 '''QPrinter.PageOrder QPrinter.setPageOrder()''' 19738 return QPrinter.PageOrder() 19739 def pageSize(self): 19740 '''QPrinter.PageSize QPrinter.pageSize()''' 19741 return QPrinter.PageSize() 19742 def setPageSize(self): 19743 '''QPrinter.PageSize QPrinter.setPageSize()''' 19744 return QPrinter.PageSize() 19745 def orientation(self): 19746 '''QPrinter.Orientation QPrinter.orientation()''' 19747 return QPrinter.Orientation() 19748 def setOrientation(self): 19749 '''QPrinter.Orientation QPrinter.setOrientation()''' 19750 return QPrinter.Orientation() 19751 def creator(self): 19752 '''QString QPrinter.creator()''' 19753 return QString() 19754 def setCreator(self): 19755 '''QString QPrinter.setCreator()''' 19756 return QString() 19757 def docName(self): 19758 '''QString QPrinter.docName()''' 19759 return QString() 19760 def setDocName(self): 19761 '''QString QPrinter.setDocName()''' 19762 return QString() 19763 def printProgram(self): 19764 '''QString QPrinter.printProgram()''' 19765 return QString() 19766 def setPrintProgram(self): 19767 '''QString QPrinter.setPrintProgram()''' 19768 return QString() 19769 def outputFileName(self): 19770 '''QString QPrinter.outputFileName()''' 19771 return QString() 19772 def setOutputFileName(self): 19773 '''QString QPrinter.setOutputFileName()''' 19774 return QString() 19775 def printerName(self): 19776 '''QString QPrinter.printerName()''' 19777 return QString() 19778 def setPrinterName(self): 19779 '''QString QPrinter.setPrinterName()''' 19780 return QString() 19781 19782 19783 class QPrintDialog(QAbstractPrintDialog): 19784 """""" 19785 def __init__(self, printer, parent = None): 19786 '''void QPrintDialog.__init__(QPrinter printer, QWidget parent = None)''' 19787 def __init__(self, parent = None): 19788 '''void QPrintDialog.__init__(QWidget parent = None)''' 19789 def accepted(self): 19790 '''void QPrintDialog.accepted()''' 19791 accepted = pyqtSignal() # void accepted(QPrinter *) - signal 19792 def open(self): 19793 '''void QPrintDialog.open()''' 19794 def open(self, receiver, member): 19795 '''void QPrintDialog.open(QObject receiver, SLOT() member)''' 19796 def open(self, receiver): 19797 '''void QPrintDialog.open(callable receiver)''' 19798 def setVisible(self, visible): 19799 '''void QPrintDialog.setVisible(bool visible)''' 19800 def options(self): 19801 '''QAbstractPrintDialog.PrintDialogOptions QPrintDialog.options()''' 19802 return QAbstractPrintDialog.PrintDialogOptions() 19803 def setOptions(self, options): 19804 '''void QPrintDialog.setOptions(QAbstractPrintDialog.PrintDialogOptions options)''' 19805 def testOption(self, option): 19806 '''bool QPrintDialog.testOption(QAbstractPrintDialog.PrintDialogOption option)''' 19807 return bool() 19808 def setOption(self, option, on = True): 19809 '''void QPrintDialog.setOption(QAbstractPrintDialog.PrintDialogOption option, bool on = True)''' 19810 def done(self, result): 19811 '''void QPrintDialog.done(int result)''' 19812 def accept(self): 19813 '''void QPrintDialog.accept()''' 19814 def exec_(self): 19815 '''int QPrintDialog.exec_()''' 19816 return int() 19817 19818 19819 class QPrintEngine(): 19820 """""" 19821 # Enum QPrintEngine.PrintEnginePropertyKey 19822 PPK_CollateCopies = 0 19823 PPK_ColorMode = 0 19824 PPK_Creator = 0 19825 PPK_DocumentName = 0 19826 PPK_FullPage = 0 19827 PPK_NumberOfCopies = 0 19828 PPK_Orientation = 0 19829 PPK_OutputFileName = 0 19830 PPK_PageOrder = 0 19831 PPK_PageRect = 0 19832 PPK_PageSize = 0 19833 PPK_PaperRect = 0 19834 PPK_PaperSource = 0 19835 PPK_PrinterName = 0 19836 PPK_PrinterProgram = 0 19837 PPK_Resolution = 0 19838 PPK_SelectionOption = 0 19839 PPK_SupportedResolutions = 0 19840 PPK_WindowsPageSize = 0 19841 PPK_FontEmbedding = 0 19842 PPK_SuppressSystemPrintStatus = 0 19843 PPK_Duplex = 0 19844 PPK_PaperSources = 0 19845 PPK_CustomPaperSize = 0 19846 PPK_PageMargins = 0 19847 PPK_PaperSize = 0 19848 PPK_CopyCount = 0 19849 PPK_SupportsMultipleCopies = 0 19850 PPK_CustomBase = 0 19851 19852 def __init__(self): 19853 '''void QPrintEngine.__init__()''' 19854 def __init__(self): 19855 '''QPrintEngine QPrintEngine.__init__()''' 19856 return QPrintEngine() 19857 def printerState(self): 19858 '''abstract QPrinter.PrinterState QPrintEngine.printerState()''' 19859 return QPrinter.PrinterState() 19860 def metric(self): 19861 '''abstract QPaintDevice.PaintDeviceMetric QPrintEngine.metric()''' 19862 return QPaintDevice.PaintDeviceMetric() 19863 def abort(self): 19864 '''abstract bool QPrintEngine.abort()''' 19865 return bool() 19866 def newPage(self): 19867 '''abstract bool QPrintEngine.newPage()''' 19868 return bool() 19869 def property(self, key): 19870 '''abstract QVariant QPrintEngine.property(QPrintEngine.PrintEnginePropertyKey key)''' 19871 return QVariant() 19872 def setProperty(self, key, value): 19873 '''abstract void QPrintEngine.setProperty(QPrintEngine.PrintEnginePropertyKey key, QVariant value)''' 19874 19875 19876 class QPrinterInfo(): 19877 """""" 19878 def __init__(self): 19879 '''void QPrinterInfo.__init__()''' 19880 def __init__(self, src): 19881 '''void QPrinterInfo.__init__(QPrinterInfo src)''' 19882 def __init__(self, printer): 19883 '''void QPrinterInfo.__init__(QPrinter printer)''' 19884 def defaultPrinter(self): 19885 '''static QPrinterInfo QPrinterInfo.defaultPrinter()''' 19886 return QPrinterInfo() 19887 def availablePrinters(self): 19888 '''static list-of-QPrinterInfo QPrinterInfo.availablePrinters()''' 19889 return [QPrinterInfo()] 19890 def supportedPaperSizes(self): 19891 '''list-of-QPrinter.PageSize QPrinterInfo.supportedPaperSizes()''' 19892 return [QPrinter.PageSize()] 19893 def isDefault(self): 19894 '''bool QPrinterInfo.isDefault()''' 19895 return bool() 19896 def isNull(self): 19897 '''bool QPrinterInfo.isNull()''' 19898 return bool() 19899 def printerName(self): 19900 '''QString QPrinterInfo.printerName()''' 19901 return QString() 19902 19903 19904 class QPrintPreviewDialog(QDialog): 19905 """""" 19906 def __init__(self, parent = None, flags = 0): 19907 '''void QPrintPreviewDialog.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 19908 def __init__(self, printer, parent = None, flags = 0): 19909 '''void QPrintPreviewDialog.__init__(QPrinter printer, QWidget parent = None, Qt.WindowFlags flags = 0)''' 19910 paintRequested = pyqtSignal() # void paintRequested(QPrinter *) - signal 19911 def done(self, result): 19912 '''void QPrintPreviewDialog.done(int result)''' 19913 def printer(self): 19914 '''QPrinter QPrintPreviewDialog.printer()''' 19915 return QPrinter() 19916 def open(self): 19917 '''void QPrintPreviewDialog.open()''' 19918 def open(self, receiver, member): 19919 '''void QPrintPreviewDialog.open(QObject receiver, SLOT() member)''' 19920 def open(self, receiver): 19921 '''void QPrintPreviewDialog.open(callable receiver)''' 19922 def setVisible(self, visible): 19923 '''void QPrintPreviewDialog.setVisible(bool visible)''' 19924 19925 19926 class QPrintPreviewWidget(QWidget): 19927 """""" 19928 # Enum QPrintPreviewWidget.ZoomMode 19929 CustomZoom = 0 19930 FitToWidth = 0 19931 FitInView = 0 19932 19933 # Enum QPrintPreviewWidget.ViewMode 19934 SinglePageView = 0 19935 FacingPagesView = 0 19936 AllPagesView = 0 19937 19938 def __init__(self, printer, parent = None, flags = 0): 19939 '''void QPrintPreviewWidget.__init__(QPrinter printer, QWidget parent = None, Qt.WindowFlags flags = 0)''' 19940 def __init__(self, parent = None, flags = 0): 19941 '''void QPrintPreviewWidget.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 19942 def pageCount(self): 19943 '''int QPrintPreviewWidget.pageCount()''' 19944 return int() 19945 previewChanged = pyqtSignal() # void previewChanged() - signal 19946 paintRequested = pyqtSignal() # void paintRequested(QPrinter *) - signal 19947 def updatePreview(self): 19948 '''void QPrintPreviewWidget.updatePreview()''' 19949 def setAllPagesViewMode(self): 19950 '''void QPrintPreviewWidget.setAllPagesViewMode()''' 19951 def setFacingPagesViewMode(self): 19952 '''void QPrintPreviewWidget.setFacingPagesViewMode()''' 19953 def setSinglePageViewMode(self): 19954 '''void QPrintPreviewWidget.setSinglePageViewMode()''' 19955 def setPortraitOrientation(self): 19956 '''void QPrintPreviewWidget.setPortraitOrientation()''' 19957 def setLandscapeOrientation(self): 19958 '''void QPrintPreviewWidget.setLandscapeOrientation()''' 19959 def fitInView(self): 19960 '''void QPrintPreviewWidget.fitInView()''' 19961 def fitToWidth(self): 19962 '''void QPrintPreviewWidget.fitToWidth()''' 19963 def setCurrentPage(self, pageNumber): 19964 '''void QPrintPreviewWidget.setCurrentPage(int pageNumber)''' 19965 def setZoomMode(self, zoomMode): 19966 '''void QPrintPreviewWidget.setZoomMode(QPrintPreviewWidget.ZoomMode zoomMode)''' 19967 def setViewMode(self, viewMode): 19968 '''void QPrintPreviewWidget.setViewMode(QPrintPreviewWidget.ViewMode viewMode)''' 19969 def setOrientation(self, orientation): 19970 '''void QPrintPreviewWidget.setOrientation(QPrinter.Orientation orientation)''' 19971 def setZoomFactor(self, zoomFactor): 19972 '''void QPrintPreviewWidget.setZoomFactor(float zoomFactor)''' 19973 def zoomOut(self, factor = None): 19974 '''void QPrintPreviewWidget.zoomOut(float factor = 1.1)''' 19975 def zoomIn(self, factor = None): 19976 '''void QPrintPreviewWidget.zoomIn(float factor = 1.1)''' 19977 def print_(self): 19978 '''void QPrintPreviewWidget.print_()''' 19979 def setVisible(self, visible): 19980 '''void QPrintPreviewWidget.setVisible(bool visible)''' 19981 def numPages(self): 19982 '''int QPrintPreviewWidget.numPages()''' 19983 return int() 19984 def currentPage(self): 19985 '''int QPrintPreviewWidget.currentPage()''' 19986 return int() 19987 def zoomMode(self): 19988 '''QPrintPreviewWidget.ZoomMode QPrintPreviewWidget.zoomMode()''' 19989 return QPrintPreviewWidget.ZoomMode() 19990 def viewMode(self): 19991 '''QPrintPreviewWidget.ViewMode QPrintPreviewWidget.viewMode()''' 19992 return QPrintPreviewWidget.ViewMode() 19993 def orientation(self): 19994 '''QPrinter.Orientation QPrintPreviewWidget.orientation()''' 19995 return QPrinter.Orientation() 19996 def zoomFactor(self): 19997 '''float QPrintPreviewWidget.zoomFactor()''' 19998 return float() 19999 20000 20001 class QProgressBar(QWidget): 20002 """""" 20003 # Enum QProgressBar.Direction 20004 TopToBottom = 0 20005 BottomToTop = 0 20006 20007 def __init__(self, parent = None): 20008 '''void QProgressBar.__init__(QWidget parent = None)''' 20009 def paintEvent(self): 20010 '''QPaintEvent QProgressBar.paintEvent()''' 20011 return QPaintEvent() 20012 def event(self, e): 20013 '''bool QProgressBar.event(QEvent e)''' 20014 return bool() 20015 def initStyleOption(self, option): 20016 '''void QProgressBar.initStyleOption(QStyleOptionProgressBar option)''' 20017 valueChanged = pyqtSignal() # void valueChanged(int) - signal 20018 def setOrientation(self): 20019 '''Qt.Orientation QProgressBar.setOrientation()''' 20020 return Qt.Orientation() 20021 def setValue(self, value): 20022 '''void QProgressBar.setValue(int value)''' 20023 def setMaximum(self, maximum): 20024 '''void QProgressBar.setMaximum(int maximum)''' 20025 def setMinimum(self, minimum): 20026 '''void QProgressBar.setMinimum(int minimum)''' 20027 def reset(self): 20028 '''void QProgressBar.reset()''' 20029 def format(self): 20030 '''QString QProgressBar.format()''' 20031 return QString() 20032 def setFormat(self, format): 20033 '''void QProgressBar.setFormat(QString format)''' 20034 def textDirection(self): 20035 '''QProgressBar.Direction QProgressBar.textDirection()''' 20036 return QProgressBar.Direction() 20037 def setTextDirection(self, textDirection): 20038 '''void QProgressBar.setTextDirection(QProgressBar.Direction textDirection)''' 20039 def invertedAppearance(self): 20040 '''bool QProgressBar.invertedAppearance()''' 20041 return bool() 20042 def setInvertedAppearance(self, invert): 20043 '''void QProgressBar.setInvertedAppearance(bool invert)''' 20044 def orientation(self): 20045 '''Qt.Orientation QProgressBar.orientation()''' 20046 return Qt.Orientation() 20047 def minimumSizeHint(self): 20048 '''QSize QProgressBar.minimumSizeHint()''' 20049 return QSize() 20050 def sizeHint(self): 20051 '''QSize QProgressBar.sizeHint()''' 20052 return QSize() 20053 def setAlignment(self, alignment): 20054 '''void QProgressBar.setAlignment(Qt.Alignment alignment)''' 20055 def alignment(self): 20056 '''Qt.Alignment QProgressBar.alignment()''' 20057 return Qt.Alignment() 20058 def isTextVisible(self): 20059 '''bool QProgressBar.isTextVisible()''' 20060 return bool() 20061 def setTextVisible(self, visible): 20062 '''void QProgressBar.setTextVisible(bool visible)''' 20063 def text(self): 20064 '''QString QProgressBar.text()''' 20065 return QString() 20066 def value(self): 20067 '''int QProgressBar.value()''' 20068 return int() 20069 def setRange(self, minimum, maximum): 20070 '''void QProgressBar.setRange(int minimum, int maximum)''' 20071 def maximum(self): 20072 '''int QProgressBar.maximum()''' 20073 return int() 20074 def minimum(self): 20075 '''int QProgressBar.minimum()''' 20076 return int() 20077 20078 20079 class QProgressDialog(QDialog): 20080 """""" 20081 def __init__(self, parent = None, flags = 0): 20082 '''void QProgressDialog.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 20083 def __init__(self, labelText, cancelButtonText, minimum, maximum, parent = None, flags = 0): 20084 '''void QProgressDialog.__init__(QString labelText, QString cancelButtonText, int minimum, int maximum, QWidget parent = None, Qt.WindowFlags flags = 0)''' 20085 def open(self): 20086 '''void QProgressDialog.open()''' 20087 def open(self, receiver, member): 20088 '''void QProgressDialog.open(QObject receiver, SLOT() member)''' 20089 def open(self, receiver): 20090 '''void QProgressDialog.open(callable receiver)''' 20091 def forceShow(self): 20092 '''void QProgressDialog.forceShow()''' 20093 def showEvent(self, e): 20094 '''void QProgressDialog.showEvent(QShowEvent e)''' 20095 def changeEvent(self): 20096 '''QEvent QProgressDialog.changeEvent()''' 20097 return QEvent() 20098 def closeEvent(self): 20099 '''QCloseEvent QProgressDialog.closeEvent()''' 20100 return QCloseEvent() 20101 def resizeEvent(self): 20102 '''QResizeEvent QProgressDialog.resizeEvent()''' 20103 return QResizeEvent() 20104 canceled = pyqtSignal() # void canceled() - signal 20105 def setMinimumDuration(self, ms): 20106 '''void QProgressDialog.setMinimumDuration(int ms)''' 20107 def setCancelButtonText(self): 20108 '''QString QProgressDialog.setCancelButtonText()''' 20109 return QString() 20110 def setLabelText(self): 20111 '''QString QProgressDialog.setLabelText()''' 20112 return QString() 20113 def setValue(self, progress): 20114 '''void QProgressDialog.setValue(int progress)''' 20115 def setMinimum(self, minimum): 20116 '''void QProgressDialog.setMinimum(int minimum)''' 20117 def setMaximum(self, maximum): 20118 '''void QProgressDialog.setMaximum(int maximum)''' 20119 def reset(self): 20120 '''void QProgressDialog.reset()''' 20121 def cancel(self): 20122 '''void QProgressDialog.cancel()''' 20123 def autoClose(self): 20124 '''bool QProgressDialog.autoClose()''' 20125 return bool() 20126 def setAutoClose(self, b): 20127 '''void QProgressDialog.setAutoClose(bool b)''' 20128 def autoReset(self): 20129 '''bool QProgressDialog.autoReset()''' 20130 return bool() 20131 def setAutoReset(self, b): 20132 '''void QProgressDialog.setAutoReset(bool b)''' 20133 def minimumDuration(self): 20134 '''int QProgressDialog.minimumDuration()''' 20135 return int() 20136 def labelText(self): 20137 '''QString QProgressDialog.labelText()''' 20138 return QString() 20139 def sizeHint(self): 20140 '''QSize QProgressDialog.sizeHint()''' 20141 return QSize() 20142 def value(self): 20143 '''int QProgressDialog.value()''' 20144 return int() 20145 def setRange(self, minimum, maximum): 20146 '''void QProgressDialog.setRange(int minimum, int maximum)''' 20147 def maximum(self): 20148 '''int QProgressDialog.maximum()''' 20149 return int() 20150 def minimum(self): 20151 '''int QProgressDialog.minimum()''' 20152 return int() 20153 def wasCanceled(self): 20154 '''bool QProgressDialog.wasCanceled()''' 20155 return bool() 20156 def setBar(self, bar): 20157 '''void QProgressDialog.setBar(QProgressBar bar)''' 20158 def setCancelButton(self, button): 20159 '''void QProgressDialog.setCancelButton(QPushButton button)''' 20160 def setLabel(self, label): 20161 '''void QProgressDialog.setLabel(QLabel label)''' 20162 20163 20164 class QProxyModel(QAbstractItemModel): 20165 """""" 20166 def __init__(self, parent = None): 20167 '''void QProxyModel.__init__(QObject parent = None)''' 20168 def revert(self): 20169 '''void QProxyModel.revert()''' 20170 def submit(self): 20171 '''bool QProxyModel.submit()''' 20172 return bool() 20173 def span(self, index): 20174 '''QSize QProxyModel.span(QModelIndex index)''' 20175 return QSize() 20176 def match(self, start, role, value, hits = 1, flags = None): 20177 '''list-of-QModelIndex QProxyModel.match(QModelIndex start, int role, QVariant value, int hits = 1, Qt.MatchFlags flags = Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap))''' 20178 return [QModelIndex()] 20179 def sort(self, column, order = None): 20180 '''void QProxyModel.sort(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 20181 def flags(self, index): 20182 '''Qt.ItemFlags QProxyModel.flags(QModelIndex index)''' 20183 return Qt.ItemFlags() 20184 def fetchMore(self, parent): 20185 '''void QProxyModel.fetchMore(QModelIndex parent)''' 20186 def insertColumns(self, column, count, parent = QModelIndex()): 20187 '''bool QProxyModel.insertColumns(int column, int count, QModelIndex parent = QModelIndex())''' 20188 return bool() 20189 def insertRows(self, row, count, parent = QModelIndex()): 20190 '''bool QProxyModel.insertRows(int row, int count, QModelIndex parent = QModelIndex())''' 20191 return bool() 20192 def supportedDropActions(self): 20193 '''Qt.DropActions QProxyModel.supportedDropActions()''' 20194 return Qt.DropActions() 20195 def dropMimeData(self, data, action, row, column, parent): 20196 '''bool QProxyModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 20197 return bool() 20198 def mimeData(self, indexes): 20199 '''QMimeData QProxyModel.mimeData(list-of-QModelIndex indexes)''' 20200 return QMimeData() 20201 def mimeTypes(self): 20202 '''QStringList QProxyModel.mimeTypes()''' 20203 return QStringList() 20204 def setHeaderData(self, section, orientation, value, role = None): 20205 '''bool QProxyModel.setHeaderData(int section, Qt.Orientation orientation, QVariant value, int role = Qt.EditRole)''' 20206 return bool() 20207 def headerData(self, section, orientation, role = None): 20208 '''QVariant QProxyModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 20209 return QVariant() 20210 def setData(self, index, value, role = None): 20211 '''bool QProxyModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 20212 return bool() 20213 def data(self, index, role = None): 20214 '''QVariant QProxyModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 20215 return QVariant() 20216 def hasChildren(self, parent = QModelIndex()): 20217 '''bool QProxyModel.hasChildren(QModelIndex parent = QModelIndex())''' 20218 return bool() 20219 def columnCount(self, parent = QModelIndex()): 20220 '''int QProxyModel.columnCount(QModelIndex parent = QModelIndex())''' 20221 return int() 20222 def rowCount(self, parent = QModelIndex()): 20223 '''int QProxyModel.rowCount(QModelIndex parent = QModelIndex())''' 20224 return int() 20225 def parent(self, child): 20226 '''QModelIndex QProxyModel.parent(QModelIndex child)''' 20227 return QModelIndex() 20228 def parent(self): 20229 '''QObject QProxyModel.parent()''' 20230 return QObject() 20231 def index(self, row, column, parent = QModelIndex()): 20232 '''QModelIndex QProxyModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 20233 return QModelIndex() 20234 def model(self): 20235 '''QAbstractItemModel QProxyModel.model()''' 20236 return QAbstractItemModel() 20237 def setModel(self, model): 20238 '''void QProxyModel.setModel(QAbstractItemModel model)''' 20239 20240 20241 class QQuaternion(): 20242 """""" 20243 def __init__(self): 20244 '''void QQuaternion.__init__()''' 20245 def __init__(self, aScalar, xpos, ypos, zpos): 20246 '''void QQuaternion.__init__(float aScalar, float xpos, float ypos, float zpos)''' 20247 def __init__(self, aScalar, aVector): 20248 '''void QQuaternion.__init__(float aScalar, QVector3D aVector)''' 20249 def __init__(self, aVector): 20250 '''void QQuaternion.__init__(QVector4D aVector)''' 20251 def __init__(self): 20252 '''QQuaternion QQuaternion.__init__()''' 20253 return QQuaternion() 20254 def __eq__(self, q2): 20255 '''bool QQuaternion.__eq__(QQuaternion q2)''' 20256 return bool() 20257 def __mul__(self, q2): 20258 '''QQuaternion QQuaternion.__mul__(QQuaternion q2)''' 20259 return QQuaternion() 20260 def __mul__(self, quaternion): 20261 '''QQuaternion QQuaternion.__mul__(QQuaternion quaternion)''' 20262 return QQuaternion() 20263 def __mul__(self, factor): 20264 '''QQuaternion QQuaternion.__mul__(float factor)''' 20265 return QQuaternion() 20266 def __div__(self, divisor): 20267 '''QQuaternion QQuaternion.__div__(float divisor)''' 20268 return QQuaternion() 20269 def __add__(self, q2): 20270 '''QQuaternion QQuaternion.__add__(QQuaternion q2)''' 20271 return QQuaternion() 20272 def __sub__(self, q2): 20273 '''QQuaternion QQuaternion.__sub__(QQuaternion q2)''' 20274 return QQuaternion() 20275 def __neg__(self): 20276 '''QQuaternion QQuaternion.__neg__()''' 20277 return QQuaternion() 20278 def __ne__(self, q2): 20279 '''bool QQuaternion.__ne__(QQuaternion q2)''' 20280 return bool() 20281 def toVector4D(self): 20282 '''QVector4D QQuaternion.toVector4D()''' 20283 return QVector4D() 20284 def vector(self): 20285 '''QVector3D QQuaternion.vector()''' 20286 return QVector3D() 20287 def setVector(self, aVector): 20288 '''void QQuaternion.setVector(QVector3D aVector)''' 20289 def setVector(self, aX, aY, aZ): 20290 '''void QQuaternion.setVector(float aX, float aY, float aZ)''' 20291 def __idiv__(self, divisor): 20292 '''QQuaternion QQuaternion.__idiv__(float divisor)''' 20293 return QQuaternion() 20294 def __imul__(self, factor): 20295 '''QQuaternion QQuaternion.__imul__(float factor)''' 20296 return QQuaternion() 20297 def __imul__(self, quaternion): 20298 '''QQuaternion QQuaternion.__imul__(QQuaternion quaternion)''' 20299 return QQuaternion() 20300 def __isub__(self, quaternion): 20301 '''QQuaternion QQuaternion.__isub__(QQuaternion quaternion)''' 20302 return QQuaternion() 20303 def __iadd__(self, quaternion): 20304 '''QQuaternion QQuaternion.__iadd__(QQuaternion quaternion)''' 20305 return QQuaternion() 20306 def conjugate(self): 20307 '''QQuaternion QQuaternion.conjugate()''' 20308 return QQuaternion() 20309 def setScalar(self, aScalar): 20310 '''void QQuaternion.setScalar(float aScalar)''' 20311 def setZ(self, aZ): 20312 '''void QQuaternion.setZ(float aZ)''' 20313 def setY(self, aY): 20314 '''void QQuaternion.setY(float aY)''' 20315 def setX(self, aX): 20316 '''void QQuaternion.setX(float aX)''' 20317 def scalar(self): 20318 '''float QQuaternion.scalar()''' 20319 return float() 20320 def z(self): 20321 '''float QQuaternion.z()''' 20322 return float() 20323 def y(self): 20324 '''float QQuaternion.y()''' 20325 return float() 20326 def x(self): 20327 '''float QQuaternion.x()''' 20328 return float() 20329 def isIdentity(self): 20330 '''bool QQuaternion.isIdentity()''' 20331 return bool() 20332 def isNull(self): 20333 '''bool QQuaternion.isNull()''' 20334 return bool() 20335 def nlerp(self, q1, q2, t): 20336 '''static QQuaternion QQuaternion.nlerp(QQuaternion q1, QQuaternion q2, float t)''' 20337 return QQuaternion() 20338 def slerp(self, q1, q2, t): 20339 '''static QQuaternion QQuaternion.slerp(QQuaternion q1, QQuaternion q2, float t)''' 20340 return QQuaternion() 20341 def fromAxisAndAngle(self, axis, angle): 20342 '''static QQuaternion QQuaternion.fromAxisAndAngle(QVector3D axis, float angle)''' 20343 return QQuaternion() 20344 def fromAxisAndAngle(self, x, y, z, angle): 20345 '''static QQuaternion QQuaternion.fromAxisAndAngle(float x, float y, float z, float angle)''' 20346 return QQuaternion() 20347 def rotatedVector(self, vector): 20348 '''QVector3D QQuaternion.rotatedVector(QVector3D vector)''' 20349 return QVector3D() 20350 def normalize(self): 20351 '''void QQuaternion.normalize()''' 20352 def normalized(self): 20353 '''QQuaternion QQuaternion.normalized()''' 20354 return QQuaternion() 20355 def lengthSquared(self): 20356 '''float QQuaternion.lengthSquared()''' 20357 return float() 20358 def length(self): 20359 '''float QQuaternion.length()''' 20360 return float() 20361 def __repr__(self): 20362 '''str QQuaternion.__repr__()''' 20363 return str() 20364 20365 20366 class QRadioButton(QAbstractButton): 20367 """""" 20368 def __init__(self, parent = None): 20369 '''void QRadioButton.__init__(QWidget parent = None)''' 20370 def __init__(self, text, parent = None): 20371 '''void QRadioButton.__init__(QString text, QWidget parent = None)''' 20372 def mouseMoveEvent(self): 20373 '''QMouseEvent QRadioButton.mouseMoveEvent()''' 20374 return QMouseEvent() 20375 def paintEvent(self): 20376 '''QPaintEvent QRadioButton.paintEvent()''' 20377 return QPaintEvent() 20378 def event(self, e): 20379 '''bool QRadioButton.event(QEvent e)''' 20380 return bool() 20381 def hitButton(self): 20382 '''QPoint QRadioButton.hitButton()''' 20383 return QPoint() 20384 def initStyleOption(self, button): 20385 '''void QRadioButton.initStyleOption(QStyleOptionButton button)''' 20386 def minimumSizeHint(self): 20387 '''QSize QRadioButton.minimumSizeHint()''' 20388 return QSize() 20389 def sizeHint(self): 20390 '''QSize QRadioButton.sizeHint()''' 20391 return QSize() 20392 20393 20394 class QRawFont(): 20395 """""" 20396 # Enum QRawFont.AntialiasingType 20397 PixelAntialiasing = 0 20398 SubPixelAntialiasing = 0 20399 20400 def __init__(self): 20401 '''void QRawFont.__init__()''' 20402 def __init__(self, fileName, pixelSize, hintingPreference = None): 20403 '''void QRawFont.__init__(QString fileName, float pixelSize, QFont.HintingPreference hintingPreference = QFont.PreferDefaultHinting)''' 20404 def __init__(self, fontData, pixelSize, hintingPreference = None): 20405 '''void QRawFont.__init__(QByteArray fontData, float pixelSize, QFont.HintingPreference hintingPreference = QFont.PreferDefaultHinting)''' 20406 def __init__(self, other): 20407 '''void QRawFont.__init__(QRawFont other)''' 20408 def fromFont(self, font, writingSystem = None): 20409 '''static QRawFont QRawFont.fromFont(QFont font, QFontDatabase.WritingSystem writingSystem = QFontDatabase.Any)''' 20410 return QRawFont() 20411 def fontTable(self, tagName): 20412 '''QByteArray QRawFont.fontTable(str tagName)''' 20413 return QByteArray() 20414 def supportedWritingSystems(self): 20415 '''list-of-QFontDatabase.WritingSystem QRawFont.supportedWritingSystems()''' 20416 return [QFontDatabase.WritingSystem()] 20417 def supportsCharacter(self, ucs4): 20418 '''bool QRawFont.supportsCharacter(int ucs4)''' 20419 return bool() 20420 def supportsCharacter(self, character): 20421 '''bool QRawFont.supportsCharacter(QChar character)''' 20422 return bool() 20423 def loadFromData(self, fontData, pixelSize, hintingPreference): 20424 '''void QRawFont.loadFromData(QByteArray fontData, float pixelSize, QFont.HintingPreference hintingPreference)''' 20425 def loadFromFile(self, fileName, pixelSize, hintingPreference): 20426 '''void QRawFont.loadFromFile(QString fileName, float pixelSize, QFont.HintingPreference hintingPreference)''' 20427 def unitsPerEm(self): 20428 '''float QRawFont.unitsPerEm()''' 20429 return float() 20430 def maxCharWidth(self): 20431 '''float QRawFont.maxCharWidth()''' 20432 return float() 20433 def averageCharWidth(self): 20434 '''float QRawFont.averageCharWidth()''' 20435 return float() 20436 def xHeight(self): 20437 '''float QRawFont.xHeight()''' 20438 return float() 20439 def leading(self): 20440 '''float QRawFont.leading()''' 20441 return float() 20442 def descent(self): 20443 '''float QRawFont.descent()''' 20444 return float() 20445 def ascent(self): 20446 '''float QRawFont.ascent()''' 20447 return float() 20448 def hintingPreference(self): 20449 '''QFont.HintingPreference QRawFont.hintingPreference()''' 20450 return QFont.HintingPreference() 20451 def pixelSize(self): 20452 '''float QRawFont.pixelSize()''' 20453 return float() 20454 def setPixelSize(self, pixelSize): 20455 '''void QRawFont.setPixelSize(float pixelSize)''' 20456 def pathForGlyph(self, glyphIndex): 20457 '''QPainterPath QRawFont.pathForGlyph(int glyphIndex)''' 20458 return QPainterPath() 20459 def alphaMapForGlyph(self, glyphIndex, antialiasingType = None, transform = QTransform()): 20460 '''QImage QRawFont.alphaMapForGlyph(int glyphIndex, QRawFont.AntialiasingType antialiasingType = QRawFont.SubPixelAntialiasing, QTransform transform = QTransform())''' 20461 return QImage() 20462 def advancesForGlyphIndexes(self, glyphIndexes): 20463 '''list-of-QPointF QRawFont.advancesForGlyphIndexes(list-of-int glyphIndexes)''' 20464 return [QPointF()] 20465 def glyphIndexesForString(self, text): 20466 '''list-of-int QRawFont.glyphIndexesForString(QString text)''' 20467 return [int()] 20468 def weight(self): 20469 '''int QRawFont.weight()''' 20470 return int() 20471 def style(self): 20472 '''QFont.Style QRawFont.style()''' 20473 return QFont.Style() 20474 def styleName(self): 20475 '''QString QRawFont.styleName()''' 20476 return QString() 20477 def familyName(self): 20478 '''QString QRawFont.familyName()''' 20479 return QString() 20480 def __ne__(self, other): 20481 '''bool QRawFont.__ne__(QRawFont other)''' 20482 return bool() 20483 def __eq__(self, other): 20484 '''bool QRawFont.__eq__(QRawFont other)''' 20485 return bool() 20486 def isValid(self): 20487 '''bool QRawFont.isValid()''' 20488 return bool() 20489 20490 20491 class QRegion(): 20492 """""" 20493 # Enum QRegion.RegionType 20494 Rectangle = 0 20495 Ellipse = 0 20496 20497 def __init__(self): 20498 '''void QRegion.__init__()''' 20499 def __init__(self, x, y, w, h, type = None): 20500 '''void QRegion.__init__(int x, int y, int w, int h, QRegion.RegionType type = QRegion.Rectangle)''' 20501 def __init__(self, r, type = None): 20502 '''void QRegion.__init__(QRect r, QRegion.RegionType type = QRegion.Rectangle)''' 20503 def __init__(self, a, fillRule = None): 20504 '''void QRegion.__init__(QPolygon a, Qt.FillRule fillRule = Qt.OddEvenFill)''' 20505 def __init__(self, bitmap): 20506 '''void QRegion.__init__(QBitmap bitmap)''' 20507 def __init__(self, region): 20508 '''void QRegion.__init__(QRegion region)''' 20509 def __init__(self, variant): 20510 '''void QRegion.__init__(QVariant variant)''' 20511 def __mul__(self, m): 20512 '''QRegion QRegion.__mul__(QMatrix m)''' 20513 return QRegion() 20514 def __mul__(self, m): 20515 '''QRegion QRegion.__mul__(QTransform m)''' 20516 return QRegion() 20517 def swap(self, other): 20518 '''void QRegion.swap(QRegion other)''' 20519 def rectCount(self): 20520 '''int QRegion.rectCount()''' 20521 return int() 20522 def numRects(self): 20523 '''int QRegion.numRects()''' 20524 return int() 20525 def intersects(self, r): 20526 '''bool QRegion.intersects(QRegion r)''' 20527 return bool() 20528 def intersects(self, r): 20529 '''bool QRegion.intersects(QRect r)''' 20530 return bool() 20531 def xored(self, r): 20532 '''QRegion QRegion.xored(QRegion r)''' 20533 return QRegion() 20534 def subtracted(self, r): 20535 '''QRegion QRegion.subtracted(QRegion r)''' 20536 return QRegion() 20537 def intersected(self, r): 20538 '''QRegion QRegion.intersected(QRegion r)''' 20539 return QRegion() 20540 def intersected(self, r): 20541 '''QRegion QRegion.intersected(QRect r)''' 20542 return QRegion() 20543 def __ne__(self, r): 20544 '''bool QRegion.__ne__(QRegion r)''' 20545 return bool() 20546 def __eq__(self, r): 20547 '''bool QRegion.__eq__(QRegion r)''' 20548 return bool() 20549 def __ixor__(self, r): 20550 '''QRegion QRegion.__ixor__(QRegion r)''' 20551 return QRegion() 20552 def __isub__(self, r): 20553 '''QRegion QRegion.__isub__(QRegion r)''' 20554 return QRegion() 20555 def __iand__(self, r): 20556 '''QRegion QRegion.__iand__(QRegion r)''' 20557 return QRegion() 20558 def __iand__(self, r): 20559 '''QRegion QRegion.__iand__(QRect r)''' 20560 return QRegion() 20561 def __iadd__(self, r): 20562 '''QRegion QRegion.__iadd__(QRegion r)''' 20563 return QRegion() 20564 def __iadd__(self, r): 20565 '''QRegion QRegion.__iadd__(QRect r)''' 20566 return QRegion() 20567 def __ior__(self, r): 20568 '''QRegion QRegion.__ior__(QRegion r)''' 20569 return QRegion() 20570 def __xor__(self, r): 20571 '''QRegion QRegion.__xor__(QRegion r)''' 20572 return QRegion() 20573 def __sub__(self, r): 20574 '''QRegion QRegion.__sub__(QRegion r)''' 20575 return QRegion() 20576 def __and__(self, r): 20577 '''QRegion QRegion.__and__(QRegion r)''' 20578 return QRegion() 20579 def __and__(self, r): 20580 '''QRegion QRegion.__and__(QRect r)''' 20581 return QRegion() 20582 def __add__(self, r): 20583 '''QRegion QRegion.__add__(QRegion r)''' 20584 return QRegion() 20585 def __add__(self, r): 20586 '''QRegion QRegion.__add__(QRect r)''' 20587 return QRegion() 20588 def __or__(self, r): 20589 '''QRegion QRegion.__or__(QRegion r)''' 20590 return QRegion() 20591 def rects(self): 20592 '''list-of-QRect QRegion.rects()''' 20593 return [QRect()] 20594 def boundingRect(self): 20595 '''QRect QRegion.boundingRect()''' 20596 return QRect() 20597 def eor(self, r): 20598 '''QRegion QRegion.eor(QRegion r)''' 20599 return QRegion() 20600 def subtract(self, r): 20601 '''QRegion QRegion.subtract(QRegion r)''' 20602 return QRegion() 20603 def intersect(self, r): 20604 '''QRegion QRegion.intersect(QRegion r)''' 20605 return QRegion() 20606 def united(self, r): 20607 '''QRegion QRegion.united(QRegion r)''' 20608 return QRegion() 20609 def united(self, r): 20610 '''QRegion QRegion.united(QRect r)''' 20611 return QRegion() 20612 def unite(self, r): 20613 '''QRegion QRegion.unite(QRegion r)''' 20614 return QRegion() 20615 def translated(self, dx, dy): 20616 '''QRegion QRegion.translated(int dx, int dy)''' 20617 return QRegion() 20618 def translated(self, p): 20619 '''QRegion QRegion.translated(QPoint p)''' 20620 return QRegion() 20621 def translate(self, dx, dy): 20622 '''void QRegion.translate(int dx, int dy)''' 20623 def translate(self, p): 20624 '''void QRegion.translate(QPoint p)''' 20625 def __contains__(self, p): 20626 '''int QRegion.__contains__(QPoint p)''' 20627 return int() 20628 def __contains__(self, r): 20629 '''int QRegion.__contains__(QRect r)''' 20630 return int() 20631 def contains(self, p): 20632 '''bool QRegion.contains(QPoint p)''' 20633 return bool() 20634 def contains(self, r): 20635 '''bool QRegion.contains(QRect r)''' 20636 return bool() 20637 def __bool__(self): 20638 '''int QRegion.__bool__()''' 20639 return int() 20640 def isEmpty(self): 20641 '''bool QRegion.isEmpty()''' 20642 return bool() 20643 20644 20645 class QRubberBand(QWidget): 20646 """""" 20647 # Enum QRubberBand.Shape 20648 Line = 0 20649 Rectangle = 0 20650 20651 def __init__(self, parent = None): 20652 '''QRubberBand.Shape QRubberBand.__init__(QWidget parent = None)''' 20653 return QRubberBand.Shape() 20654 def moveEvent(self): 20655 '''QMoveEvent QRubberBand.moveEvent()''' 20656 return QMoveEvent() 20657 def resizeEvent(self): 20658 '''QResizeEvent QRubberBand.resizeEvent()''' 20659 return QResizeEvent() 20660 def showEvent(self): 20661 '''QShowEvent QRubberBand.showEvent()''' 20662 return QShowEvent() 20663 def changeEvent(self): 20664 '''QEvent QRubberBand.changeEvent()''' 20665 return QEvent() 20666 def paintEvent(self): 20667 '''QPaintEvent QRubberBand.paintEvent()''' 20668 return QPaintEvent() 20669 def event(self, e): 20670 '''bool QRubberBand.event(QEvent e)''' 20671 return bool() 20672 def initStyleOption(self, option): 20673 '''void QRubberBand.initStyleOption(QStyleOptionRubberBand option)''' 20674 def resize(self, w, h): 20675 '''void QRubberBand.resize(int w, int h)''' 20676 def resize(self, s): 20677 '''void QRubberBand.resize(QSize s)''' 20678 def move(self, p): 20679 '''void QRubberBand.move(QPoint p)''' 20680 def move(self, ax, ay): 20681 '''void QRubberBand.move(int ax, int ay)''' 20682 def setGeometry(self, r): 20683 '''void QRubberBand.setGeometry(QRect r)''' 20684 def setGeometry(self, ax, ay, aw, ah): 20685 '''void QRubberBand.setGeometry(int ax, int ay, int aw, int ah)''' 20686 def shape(self): 20687 '''QRubberBand.Shape QRubberBand.shape()''' 20688 return QRubberBand.Shape() 20689 20690 20691 class QScrollArea(QAbstractScrollArea): 20692 """""" 20693 def __init__(self, parent = None): 20694 '''void QScrollArea.__init__(QWidget parent = None)''' 20695 def scrollContentsBy(self, dx, dy): 20696 '''void QScrollArea.scrollContentsBy(int dx, int dy)''' 20697 def resizeEvent(self): 20698 '''QResizeEvent QScrollArea.resizeEvent()''' 20699 return QResizeEvent() 20700 def eventFilter(self): 20701 '''QEvent QScrollArea.eventFilter()''' 20702 return QEvent() 20703 def event(self): 20704 '''QEvent QScrollArea.event()''' 20705 return QEvent() 20706 def ensureWidgetVisible(self, childWidget, xMargin = 50, yMargin = 50): 20707 '''void QScrollArea.ensureWidgetVisible(QWidget childWidget, int xMargin = 50, int yMargin = 50)''' 20708 def ensureVisible(self, x, y, xMargin = 50, yMargin = 50): 20709 '''void QScrollArea.ensureVisible(int x, int y, int xMargin = 50, int yMargin = 50)''' 20710 def focusNextPrevChild(self, next): 20711 '''bool QScrollArea.focusNextPrevChild(bool next)''' 20712 return bool() 20713 def sizeHint(self): 20714 '''QSize QScrollArea.sizeHint()''' 20715 return QSize() 20716 def setAlignment(self): 20717 '''Qt.Alignment QScrollArea.setAlignment()''' 20718 return Qt.Alignment() 20719 def alignment(self): 20720 '''Qt.Alignment QScrollArea.alignment()''' 20721 return Qt.Alignment() 20722 def setWidgetResizable(self, resizable): 20723 '''void QScrollArea.setWidgetResizable(bool resizable)''' 20724 def widgetResizable(self): 20725 '''bool QScrollArea.widgetResizable()''' 20726 return bool() 20727 def takeWidget(self): 20728 '''QWidget QScrollArea.takeWidget()''' 20729 return QWidget() 20730 def setWidget(self, w): 20731 '''void QScrollArea.setWidget(QWidget w)''' 20732 def widget(self): 20733 '''QWidget QScrollArea.widget()''' 20734 return QWidget() 20735 20736 20737 class QScrollBar(QAbstractSlider): 20738 """""" 20739 def __init__(self, parent = None): 20740 '''void QScrollBar.__init__(QWidget parent = None)''' 20741 def __init__(self, orientation, parent = None): 20742 '''void QScrollBar.__init__(Qt.Orientation orientation, QWidget parent = None)''' 20743 def sliderChange(self, change): 20744 '''void QScrollBar.sliderChange(QAbstractSlider.SliderChange change)''' 20745 def contextMenuEvent(self): 20746 '''QContextMenuEvent QScrollBar.contextMenuEvent()''' 20747 return QContextMenuEvent() 20748 def hideEvent(self): 20749 '''QHideEvent QScrollBar.hideEvent()''' 20750 return QHideEvent() 20751 def mouseMoveEvent(self): 20752 '''QMouseEvent QScrollBar.mouseMoveEvent()''' 20753 return QMouseEvent() 20754 def mouseReleaseEvent(self): 20755 '''QMouseEvent QScrollBar.mouseReleaseEvent()''' 20756 return QMouseEvent() 20757 def mousePressEvent(self): 20758 '''QMouseEvent QScrollBar.mousePressEvent()''' 20759 return QMouseEvent() 20760 def paintEvent(self): 20761 '''QPaintEvent QScrollBar.paintEvent()''' 20762 return QPaintEvent() 20763 def initStyleOption(self, option): 20764 '''void QScrollBar.initStyleOption(QStyleOptionSlider option)''' 20765 def event(self, event): 20766 '''bool QScrollBar.event(QEvent event)''' 20767 return bool() 20768 def sizeHint(self): 20769 '''QSize QScrollBar.sizeHint()''' 20770 return QSize() 20771 20772 20773 class QSessionManager(QObject): 20774 """""" 20775 # Enum QSessionManager.RestartHint 20776 RestartIfRunning = 0 20777 RestartAnyway = 0 20778 RestartImmediately = 0 20779 RestartNever = 0 20780 20781 def requestPhase2(self): 20782 '''void QSessionManager.requestPhase2()''' 20783 def isPhase2(self): 20784 '''bool QSessionManager.isPhase2()''' 20785 return bool() 20786 def setManagerProperty(self, name, value): 20787 '''void QSessionManager.setManagerProperty(QString name, QString value)''' 20788 def setManagerProperty(self, name, value): 20789 '''void QSessionManager.setManagerProperty(QString name, QStringList value)''' 20790 def discardCommand(self): 20791 '''QStringList QSessionManager.discardCommand()''' 20792 return QStringList() 20793 def setDiscardCommand(self): 20794 '''QStringList QSessionManager.setDiscardCommand()''' 20795 return QStringList() 20796 def restartCommand(self): 20797 '''QStringList QSessionManager.restartCommand()''' 20798 return QStringList() 20799 def setRestartCommand(self): 20800 '''QStringList QSessionManager.setRestartCommand()''' 20801 return QStringList() 20802 def restartHint(self): 20803 '''QSessionManager.RestartHint QSessionManager.restartHint()''' 20804 return QSessionManager.RestartHint() 20805 def setRestartHint(self): 20806 '''QSessionManager.RestartHint QSessionManager.setRestartHint()''' 20807 return QSessionManager.RestartHint() 20808 def cancel(self): 20809 '''void QSessionManager.cancel()''' 20810 def release(self): 20811 '''void QSessionManager.release()''' 20812 def allowsErrorInteraction(self): 20813 '''bool QSessionManager.allowsErrorInteraction()''' 20814 return bool() 20815 def allowsInteraction(self): 20816 '''bool QSessionManager.allowsInteraction()''' 20817 return bool() 20818 def sessionKey(self): 20819 '''QString QSessionManager.sessionKey()''' 20820 return QString() 20821 def sessionId(self): 20822 '''QString QSessionManager.sessionId()''' 20823 return QString() 20824 20825 20826 class QShortcut(QObject): 20827 """""" 20828 def __init__(self, parent): 20829 '''void QShortcut.__init__(QWidget parent)''' 20830 def __init__(self, key, parent, member = 0, ambiguousMember = 0, context = None): 20831 '''void QShortcut.__init__(QKeySequence key, QWidget parent, SLOT() member = 0, SLOT() ambiguousMember = 0, Qt.ShortcutContext context = Qt.WindowShortcut)''' 20832 def event(self, e): 20833 '''bool QShortcut.event(QEvent e)''' 20834 return bool() 20835 activatedAmbiguously = pyqtSignal() # void activatedAmbiguously() - signal 20836 activated = pyqtSignal() # void activated() - signal 20837 def autoRepeat(self): 20838 '''bool QShortcut.autoRepeat()''' 20839 return bool() 20840 def setAutoRepeat(self, on): 20841 '''void QShortcut.setAutoRepeat(bool on)''' 20842 def parentWidget(self): 20843 '''QWidget QShortcut.parentWidget()''' 20844 return QWidget() 20845 def id(self): 20846 '''int QShortcut.id()''' 20847 return int() 20848 def whatsThis(self): 20849 '''QString QShortcut.whatsThis()''' 20850 return QString() 20851 def setWhatsThis(self, text): 20852 '''void QShortcut.setWhatsThis(QString text)''' 20853 def context(self): 20854 '''Qt.ShortcutContext QShortcut.context()''' 20855 return Qt.ShortcutContext() 20856 def setContext(self, context): 20857 '''void QShortcut.setContext(Qt.ShortcutContext context)''' 20858 def isEnabled(self): 20859 '''bool QShortcut.isEnabled()''' 20860 return bool() 20861 def setEnabled(self, enable): 20862 '''void QShortcut.setEnabled(bool enable)''' 20863 def key(self): 20864 '''QKeySequence QShortcut.key()''' 20865 return QKeySequence() 20866 def setKey(self, key): 20867 '''void QShortcut.setKey(QKeySequence key)''' 20868 20869 20870 class QSizeGrip(QWidget): 20871 """""" 20872 def __init__(self, parent): 20873 '''void QSizeGrip.__init__(QWidget parent)''' 20874 def hideEvent(self, hideEvent): 20875 '''void QSizeGrip.hideEvent(QHideEvent hideEvent)''' 20876 def showEvent(self, showEvent): 20877 '''void QSizeGrip.showEvent(QShowEvent showEvent)''' 20878 def moveEvent(self, moveEvent): 20879 '''void QSizeGrip.moveEvent(QMoveEvent moveEvent)''' 20880 def event(self): 20881 '''QEvent QSizeGrip.event()''' 20882 return QEvent() 20883 def eventFilter(self): 20884 '''QEvent QSizeGrip.eventFilter()''' 20885 return QEvent() 20886 def mouseMoveEvent(self): 20887 '''QMouseEvent QSizeGrip.mouseMoveEvent()''' 20888 return QMouseEvent() 20889 def mouseReleaseEvent(self, mouseEvent): 20890 '''void QSizeGrip.mouseReleaseEvent(QMouseEvent mouseEvent)''' 20891 def mousePressEvent(self): 20892 '''QMouseEvent QSizeGrip.mousePressEvent()''' 20893 return QMouseEvent() 20894 def paintEvent(self): 20895 '''QPaintEvent QSizeGrip.paintEvent()''' 20896 return QPaintEvent() 20897 def setVisible(self): 20898 '''bool QSizeGrip.setVisible()''' 20899 return bool() 20900 def sizeHint(self): 20901 '''QSize QSizeGrip.sizeHint()''' 20902 return QSize() 20903 20904 20905 class QSizePolicy(): 20906 """""" 20907 # Enum QSizePolicy.ControlType 20908 DefaultType = 0 20909 ButtonBox = 0 20910 CheckBox = 0 20911 ComboBox = 0 20912 Frame = 0 20913 GroupBox = 0 20914 Label = 0 20915 Line = 0 20916 LineEdit = 0 20917 PushButton = 0 20918 RadioButton = 0 20919 Slider = 0 20920 SpinBox = 0 20921 TabWidget = 0 20922 ToolButton = 0 20923 20924 # Enum QSizePolicy.Policy 20925 Fixed = 0 20926 Minimum = 0 20927 Maximum = 0 20928 Preferred = 0 20929 MinimumExpanding = 0 20930 Expanding = 0 20931 Ignored = 0 20932 20933 # Enum QSizePolicy.PolicyFlag 20934 GrowFlag = 0 20935 ExpandFlag = 0 20936 ShrinkFlag = 0 20937 IgnoreFlag = 0 20938 20939 def __init__(self): 20940 '''void QSizePolicy.__init__()''' 20941 def __init__(self, horizontal, vertical): 20942 '''void QSizePolicy.__init__(QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical)''' 20943 def __init__(self, variant): 20944 '''void QSizePolicy.__init__(QVariant variant)''' 20945 def __init__(self, horizontal, vertical, type): 20946 '''void QSizePolicy.__init__(QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical, QSizePolicy.ControlType type)''' 20947 def __init__(self): 20948 '''QSizePolicy QSizePolicy.__init__()''' 20949 return QSizePolicy() 20950 def hasWidthForHeight(self): 20951 '''bool QSizePolicy.hasWidthForHeight()''' 20952 return bool() 20953 def setWidthForHeight(self, b): 20954 '''void QSizePolicy.setWidthForHeight(bool b)''' 20955 def setControlType(self, type): 20956 '''void QSizePolicy.setControlType(QSizePolicy.ControlType type)''' 20957 def controlType(self): 20958 '''QSizePolicy.ControlType QSizePolicy.controlType()''' 20959 return QSizePolicy.ControlType() 20960 def transpose(self): 20961 '''void QSizePolicy.transpose()''' 20962 def setVerticalStretch(self, stretchFactor): 20963 '''void QSizePolicy.setVerticalStretch(int stretchFactor)''' 20964 def setHorizontalStretch(self, stretchFactor): 20965 '''void QSizePolicy.setHorizontalStretch(int stretchFactor)''' 20966 def verticalStretch(self): 20967 '''int QSizePolicy.verticalStretch()''' 20968 return int() 20969 def horizontalStretch(self): 20970 '''int QSizePolicy.horizontalStretch()''' 20971 return int() 20972 def __ne__(self, s): 20973 '''bool QSizePolicy.__ne__(QSizePolicy s)''' 20974 return bool() 20975 def __eq__(self, s): 20976 '''bool QSizePolicy.__eq__(QSizePolicy s)''' 20977 return bool() 20978 def hasHeightForWidth(self): 20979 '''bool QSizePolicy.hasHeightForWidth()''' 20980 return bool() 20981 def setHeightForWidth(self, b): 20982 '''void QSizePolicy.setHeightForWidth(bool b)''' 20983 def expandingDirections(self): 20984 '''Qt.Orientations QSizePolicy.expandingDirections()''' 20985 return Qt.Orientations() 20986 def setVerticalPolicy(self, d): 20987 '''void QSizePolicy.setVerticalPolicy(QSizePolicy.Policy d)''' 20988 def setHorizontalPolicy(self, d): 20989 '''void QSizePolicy.setHorizontalPolicy(QSizePolicy.Policy d)''' 20990 def verticalPolicy(self): 20991 '''QSizePolicy.Policy QSizePolicy.verticalPolicy()''' 20992 return QSizePolicy.Policy() 20993 def horizontalPolicy(self): 20994 '''QSizePolicy.Policy QSizePolicy.horizontalPolicy()''' 20995 return QSizePolicy.Policy() 20996 class ControlTypes(): 20997 """""" 20998 def __init__(self): 20999 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__init__()''' 21000 return QSizePolicy.ControlTypes() 21001 def __init__(self): 21002 '''int QSizePolicy.ControlTypes.__init__()''' 21003 return int() 21004 def __init__(self): 21005 '''void QSizePolicy.ControlTypes.__init__()''' 21006 def __bool__(self): 21007 '''int QSizePolicy.ControlTypes.__bool__()''' 21008 return int() 21009 def __ne__(self, f): 21010 '''bool QSizePolicy.ControlTypes.__ne__(QSizePolicy.ControlTypes f)''' 21011 return bool() 21012 def __eq__(self, f): 21013 '''bool QSizePolicy.ControlTypes.__eq__(QSizePolicy.ControlTypes f)''' 21014 return bool() 21015 def __invert__(self): 21016 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__invert__()''' 21017 return QSizePolicy.ControlTypes() 21018 def __and__(self, mask): 21019 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__and__(int mask)''' 21020 return QSizePolicy.ControlTypes() 21021 def __xor__(self, f): 21022 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__xor__(QSizePolicy.ControlTypes f)''' 21023 return QSizePolicy.ControlTypes() 21024 def __xor__(self, f): 21025 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__xor__(int f)''' 21026 return QSizePolicy.ControlTypes() 21027 def __or__(self, f): 21028 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__or__(QSizePolicy.ControlTypes f)''' 21029 return QSizePolicy.ControlTypes() 21030 def __or__(self, f): 21031 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__or__(int f)''' 21032 return QSizePolicy.ControlTypes() 21033 def __int__(self): 21034 '''int QSizePolicy.ControlTypes.__int__()''' 21035 return int() 21036 def __ixor__(self, f): 21037 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__ixor__(QSizePolicy.ControlTypes f)''' 21038 return QSizePolicy.ControlTypes() 21039 def __ior__(self, f): 21040 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__ior__(QSizePolicy.ControlTypes f)''' 21041 return QSizePolicy.ControlTypes() 21042 def __iand__(self, mask): 21043 '''QSizePolicy.ControlTypes QSizePolicy.ControlTypes.__iand__(int mask)''' 21044 return QSizePolicy.ControlTypes() 21045 21046 21047 class QSlider(QAbstractSlider): 21048 """""" 21049 # Enum QSlider.TickPosition 21050 NoTicks = 0 21051 TicksAbove = 0 21052 TicksLeft = 0 21053 TicksBelow = 0 21054 TicksRight = 0 21055 TicksBothSides = 0 21056 21057 def __init__(self, parent = None): 21058 '''void QSlider.__init__(QWidget parent = None)''' 21059 def __init__(self, orientation, parent = None): 21060 '''void QSlider.__init__(Qt.Orientation orientation, QWidget parent = None)''' 21061 def mouseMoveEvent(self, ev): 21062 '''void QSlider.mouseMoveEvent(QMouseEvent ev)''' 21063 def mouseReleaseEvent(self, ev): 21064 '''void QSlider.mouseReleaseEvent(QMouseEvent ev)''' 21065 def mousePressEvent(self, ev): 21066 '''void QSlider.mousePressEvent(QMouseEvent ev)''' 21067 def paintEvent(self, ev): 21068 '''void QSlider.paintEvent(QPaintEvent ev)''' 21069 def initStyleOption(self, option): 21070 '''void QSlider.initStyleOption(QStyleOptionSlider option)''' 21071 def event(self, event): 21072 '''bool QSlider.event(QEvent event)''' 21073 return bool() 21074 def tickInterval(self): 21075 '''int QSlider.tickInterval()''' 21076 return int() 21077 def setTickInterval(self, ti): 21078 '''void QSlider.setTickInterval(int ti)''' 21079 def tickPosition(self): 21080 '''QSlider.TickPosition QSlider.tickPosition()''' 21081 return QSlider.TickPosition() 21082 def setTickPosition(self, position): 21083 '''void QSlider.setTickPosition(QSlider.TickPosition position)''' 21084 def minimumSizeHint(self): 21085 '''QSize QSlider.minimumSizeHint()''' 21086 return QSize() 21087 def sizeHint(self): 21088 '''QSize QSlider.sizeHint()''' 21089 return QSize() 21090 21091 21092 class QSortFilterProxyModel(QAbstractProxyModel): 21093 """""" 21094 def __init__(self, parent = None): 21095 '''void QSortFilterProxyModel.__init__(QObject parent = None)''' 21096 def invalidateFilter(self): 21097 '''void QSortFilterProxyModel.invalidateFilter()''' 21098 def invalidate(self): 21099 '''void QSortFilterProxyModel.invalidate()''' 21100 def data(self, index, role = None): 21101 '''QVariant QSortFilterProxyModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 21102 return QVariant() 21103 def setSortLocaleAware(self, on): 21104 '''void QSortFilterProxyModel.setSortLocaleAware(bool on)''' 21105 def isSortLocaleAware(self): 21106 '''bool QSortFilterProxyModel.isSortLocaleAware()''' 21107 return bool() 21108 def supportedDropActions(self): 21109 '''Qt.DropActions QSortFilterProxyModel.supportedDropActions()''' 21110 return Qt.DropActions() 21111 def mimeTypes(self): 21112 '''QStringList QSortFilterProxyModel.mimeTypes()''' 21113 return QStringList() 21114 def setFilterRole(self, role): 21115 '''void QSortFilterProxyModel.setFilterRole(int role)''' 21116 def filterRole(self): 21117 '''int QSortFilterProxyModel.filterRole()''' 21118 return int() 21119 def sortOrder(self): 21120 '''Qt.SortOrder QSortFilterProxyModel.sortOrder()''' 21121 return Qt.SortOrder() 21122 def sortColumn(self): 21123 '''int QSortFilterProxyModel.sortColumn()''' 21124 return int() 21125 def setSortRole(self, role): 21126 '''void QSortFilterProxyModel.setSortRole(int role)''' 21127 def sortRole(self): 21128 '''int QSortFilterProxyModel.sortRole()''' 21129 return int() 21130 def setDynamicSortFilter(self, enable): 21131 '''void QSortFilterProxyModel.setDynamicSortFilter(bool enable)''' 21132 def dynamicSortFilter(self): 21133 '''bool QSortFilterProxyModel.dynamicSortFilter()''' 21134 return bool() 21135 def setSortCaseSensitivity(self, cs): 21136 '''void QSortFilterProxyModel.setSortCaseSensitivity(Qt.CaseSensitivity cs)''' 21137 def sortCaseSensitivity(self): 21138 '''Qt.CaseSensitivity QSortFilterProxyModel.sortCaseSensitivity()''' 21139 return Qt.CaseSensitivity() 21140 def sort(self, column, order = None): 21141 '''void QSortFilterProxyModel.sort(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 21142 def match(self, start, role, value, hits = 1, flags = None): 21143 '''list-of-QModelIndex QSortFilterProxyModel.match(QModelIndex start, int role, QVariant value, int hits = 1, Qt.MatchFlags flags = Qt.MatchStartsWith|Qt.MatchWrap)''' 21144 return [QModelIndex()] 21145 def span(self, index): 21146 '''QSize QSortFilterProxyModel.span(QModelIndex index)''' 21147 return QSize() 21148 def buddy(self, index): 21149 '''QModelIndex QSortFilterProxyModel.buddy(QModelIndex index)''' 21150 return QModelIndex() 21151 def flags(self, index): 21152 '''Qt.ItemFlags QSortFilterProxyModel.flags(QModelIndex index)''' 21153 return Qt.ItemFlags() 21154 def canFetchMore(self, parent): 21155 '''bool QSortFilterProxyModel.canFetchMore(QModelIndex parent)''' 21156 return bool() 21157 def fetchMore(self, parent): 21158 '''void QSortFilterProxyModel.fetchMore(QModelIndex parent)''' 21159 def removeColumns(self, column, count, parent = QModelIndex()): 21160 '''bool QSortFilterProxyModel.removeColumns(int column, int count, QModelIndex parent = QModelIndex())''' 21161 return bool() 21162 def removeRows(self, row, count, parent = QModelIndex()): 21163 '''bool QSortFilterProxyModel.removeRows(int row, int count, QModelIndex parent = QModelIndex())''' 21164 return bool() 21165 def insertColumns(self, column, count, parent = QModelIndex()): 21166 '''bool QSortFilterProxyModel.insertColumns(int column, int count, QModelIndex parent = QModelIndex())''' 21167 return bool() 21168 def insertRows(self, row, count, parent = QModelIndex()): 21169 '''bool QSortFilterProxyModel.insertRows(int row, int count, QModelIndex parent = QModelIndex())''' 21170 return bool() 21171 def dropMimeData(self, data, action, row, column, parent): 21172 '''bool QSortFilterProxyModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 21173 return bool() 21174 def mimeData(self, indexes): 21175 '''QMimeData QSortFilterProxyModel.mimeData(list-of-QModelIndex indexes)''' 21176 return QMimeData() 21177 def setHeaderData(self, section, orientation, value, role = None): 21178 '''bool QSortFilterProxyModel.setHeaderData(int section, Qt.Orientation orientation, QVariant value, int role = Qt.EditRole)''' 21179 return bool() 21180 def headerData(self, section, orientation, role = None): 21181 '''QVariant QSortFilterProxyModel.headerData(int section, Qt.Orientation orientation, int role = Qt.EditRole)''' 21182 return QVariant() 21183 def setData(self, index, value, role = None): 21184 '''bool QSortFilterProxyModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 21185 return bool() 21186 def hasChildren(self, parent = QModelIndex()): 21187 '''bool QSortFilterProxyModel.hasChildren(QModelIndex parent = QModelIndex())''' 21188 return bool() 21189 def columnCount(self, parent = QModelIndex()): 21190 '''int QSortFilterProxyModel.columnCount(QModelIndex parent = QModelIndex())''' 21191 return int() 21192 def rowCount(self, parent = QModelIndex()): 21193 '''int QSortFilterProxyModel.rowCount(QModelIndex parent = QModelIndex())''' 21194 return int() 21195 def parent(self, child): 21196 '''QModelIndex QSortFilterProxyModel.parent(QModelIndex child)''' 21197 return QModelIndex() 21198 def parent(self): 21199 '''QObject QSortFilterProxyModel.parent()''' 21200 return QObject() 21201 def index(self, row, column, parent = QModelIndex()): 21202 '''QModelIndex QSortFilterProxyModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 21203 return QModelIndex() 21204 def lessThan(self, left, right): 21205 '''bool QSortFilterProxyModel.lessThan(QModelIndex left, QModelIndex right)''' 21206 return bool() 21207 def filterChanged(self): 21208 '''void QSortFilterProxyModel.filterChanged()''' 21209 def filterAcceptsColumn(self, source_column, source_parent): 21210 '''bool QSortFilterProxyModel.filterAcceptsColumn(int source_column, QModelIndex source_parent)''' 21211 return bool() 21212 def filterAcceptsRow(self, source_row, source_parent): 21213 '''bool QSortFilterProxyModel.filterAcceptsRow(int source_row, QModelIndex source_parent)''' 21214 return bool() 21215 def clear(self): 21216 '''void QSortFilterProxyModel.clear()''' 21217 def setFilterFixedString(self, pattern): 21218 '''void QSortFilterProxyModel.setFilterFixedString(QString pattern)''' 21219 def setFilterWildcard(self, pattern): 21220 '''void QSortFilterProxyModel.setFilterWildcard(QString pattern)''' 21221 def setFilterCaseSensitivity(self, cs): 21222 '''void QSortFilterProxyModel.setFilterCaseSensitivity(Qt.CaseSensitivity cs)''' 21223 def filterCaseSensitivity(self): 21224 '''Qt.CaseSensitivity QSortFilterProxyModel.filterCaseSensitivity()''' 21225 return Qt.CaseSensitivity() 21226 def setFilterKeyColumn(self, column): 21227 '''void QSortFilterProxyModel.setFilterKeyColumn(int column)''' 21228 def filterKeyColumn(self): 21229 '''int QSortFilterProxyModel.filterKeyColumn()''' 21230 return int() 21231 def setFilterRegExp(self, regExp): 21232 '''void QSortFilterProxyModel.setFilterRegExp(QRegExp regExp)''' 21233 def setFilterRegExp(self, pattern): 21234 '''void QSortFilterProxyModel.setFilterRegExp(QString pattern)''' 21235 def filterRegExp(self): 21236 '''QRegExp QSortFilterProxyModel.filterRegExp()''' 21237 return QRegExp() 21238 def mapSelectionFromSource(self, sourceSelection): 21239 '''QItemSelection QSortFilterProxyModel.mapSelectionFromSource(QItemSelection sourceSelection)''' 21240 return QItemSelection() 21241 def mapSelectionToSource(self, proxySelection): 21242 '''QItemSelection QSortFilterProxyModel.mapSelectionToSource(QItemSelection proxySelection)''' 21243 return QItemSelection() 21244 def mapFromSource(self, sourceIndex): 21245 '''QModelIndex QSortFilterProxyModel.mapFromSource(QModelIndex sourceIndex)''' 21246 return QModelIndex() 21247 def mapToSource(self, proxyIndex): 21248 '''QModelIndex QSortFilterProxyModel.mapToSource(QModelIndex proxyIndex)''' 21249 return QModelIndex() 21250 def setSourceModel(self, sourceModel): 21251 '''void QSortFilterProxyModel.setSourceModel(QAbstractItemModel sourceModel)''' 21252 21253 21254 class QSound(QObject): 21255 """""" 21256 def __init__(self, filename, parent = None): 21257 '''void QSound.__init__(QString filename, QObject parent = None)''' 21258 def stop(self): 21259 '''void QSound.stop()''' 21260 def isFinished(self): 21261 '''bool QSound.isFinished()''' 21262 return bool() 21263 def fileName(self): 21264 '''QString QSound.fileName()''' 21265 return QString() 21266 def setLoops(self): 21267 '''int QSound.setLoops()''' 21268 return int() 21269 def loopsRemaining(self): 21270 '''int QSound.loopsRemaining()''' 21271 return int() 21272 def loops(self): 21273 '''int QSound.loops()''' 21274 return int() 21275 def play(self, filename): 21276 '''static void QSound.play(QString filename)''' 21277 def play(self): 21278 '''void QSound.play()''' 21279 def isAvailable(self): 21280 '''static bool QSound.isAvailable()''' 21281 return bool() 21282 21283 21284 class QSpinBox(QAbstractSpinBox): 21285 """""" 21286 def __init__(self, parent = None): 21287 '''void QSpinBox.__init__(QWidget parent = None)''' 21288 valueChanged = pyqtSignal() # void valueChanged(int) - signal 21289 valueChanged = pyqtSignal() # void valueChanged(const QStringamp;) - signal 21290 def setValue(self, val): 21291 '''void QSpinBox.setValue(int val)''' 21292 def event(self, e): 21293 '''bool QSpinBox.event(QEvent e)''' 21294 return bool() 21295 def fixup(self, str): 21296 '''void QSpinBox.fixup(QString str)''' 21297 def fixup(self, str): 21298 '''void QSpinBox.fixup(QString str)''' 21299 def textFromValue(self, v): 21300 '''QString QSpinBox.textFromValue(int v)''' 21301 return QString() 21302 def valueFromText(self, text): 21303 '''int QSpinBox.valueFromText(QString text)''' 21304 return int() 21305 def validate(self, input, pos): 21306 '''QValidator.State QSpinBox.validate(QString input, int pos)''' 21307 return QValidator.State() 21308 def validate(self, input, pos): 21309 '''QValidator.State QSpinBox.validate(QString input, int pos)''' 21310 return QValidator.State() 21311 def setRange(self, min, max): 21312 '''void QSpinBox.setRange(int min, int max)''' 21313 def setMaximum(self, max): 21314 '''void QSpinBox.setMaximum(int max)''' 21315 def maximum(self): 21316 '''int QSpinBox.maximum()''' 21317 return int() 21318 def setMinimum(self, min): 21319 '''void QSpinBox.setMinimum(int min)''' 21320 def minimum(self): 21321 '''int QSpinBox.minimum()''' 21322 return int() 21323 def setSingleStep(self, val): 21324 '''void QSpinBox.setSingleStep(int val)''' 21325 def singleStep(self): 21326 '''int QSpinBox.singleStep()''' 21327 return int() 21328 def cleanText(self): 21329 '''QString QSpinBox.cleanText()''' 21330 return QString() 21331 def setSuffix(self, s): 21332 '''void QSpinBox.setSuffix(QString s)''' 21333 def suffix(self): 21334 '''QString QSpinBox.suffix()''' 21335 return QString() 21336 def setPrefix(self, p): 21337 '''void QSpinBox.setPrefix(QString p)''' 21338 def prefix(self): 21339 '''QString QSpinBox.prefix()''' 21340 return QString() 21341 def value(self): 21342 '''int QSpinBox.value()''' 21343 return int() 21344 21345 21346 class QDoubleSpinBox(QAbstractSpinBox): 21347 """""" 21348 def __init__(self, parent = None): 21349 '''void QDoubleSpinBox.__init__(QWidget parent = None)''' 21350 valueChanged = pyqtSignal() # void valueChanged(double) - signal 21351 valueChanged = pyqtSignal() # void valueChanged(const QStringamp;) - signal 21352 def setValue(self, val): 21353 '''void QDoubleSpinBox.setValue(float val)''' 21354 def fixup(self, str): 21355 '''void QDoubleSpinBox.fixup(QString str)''' 21356 def fixup(self, str): 21357 '''void QDoubleSpinBox.fixup(QString str)''' 21358 def textFromValue(self, v): 21359 '''QString QDoubleSpinBox.textFromValue(float v)''' 21360 return QString() 21361 def valueFromText(self, text): 21362 '''float QDoubleSpinBox.valueFromText(QString text)''' 21363 return float() 21364 def validate(self, input, pos): 21365 '''QValidator.State QDoubleSpinBox.validate(QString input, int pos)''' 21366 return QValidator.State() 21367 def validate(self, input, pos): 21368 '''QValidator.State QDoubleSpinBox.validate(QString input, int pos)''' 21369 return QValidator.State() 21370 def setDecimals(self, prec): 21371 '''void QDoubleSpinBox.setDecimals(int prec)''' 21372 def decimals(self): 21373 '''int QDoubleSpinBox.decimals()''' 21374 return int() 21375 def setRange(self, min, max): 21376 '''void QDoubleSpinBox.setRange(float min, float max)''' 21377 def setMaximum(self, max): 21378 '''void QDoubleSpinBox.setMaximum(float max)''' 21379 def maximum(self): 21380 '''float QDoubleSpinBox.maximum()''' 21381 return float() 21382 def setMinimum(self, min): 21383 '''void QDoubleSpinBox.setMinimum(float min)''' 21384 def minimum(self): 21385 '''float QDoubleSpinBox.minimum()''' 21386 return float() 21387 def setSingleStep(self, val): 21388 '''void QDoubleSpinBox.setSingleStep(float val)''' 21389 def singleStep(self): 21390 '''float QDoubleSpinBox.singleStep()''' 21391 return float() 21392 def cleanText(self): 21393 '''QString QDoubleSpinBox.cleanText()''' 21394 return QString() 21395 def setSuffix(self, s): 21396 '''void QDoubleSpinBox.setSuffix(QString s)''' 21397 def suffix(self): 21398 '''QString QDoubleSpinBox.suffix()''' 21399 return QString() 21400 def setPrefix(self, p): 21401 '''void QDoubleSpinBox.setPrefix(QString p)''' 21402 def prefix(self): 21403 '''QString QDoubleSpinBox.prefix()''' 21404 return QString() 21405 def value(self): 21406 '''float QDoubleSpinBox.value()''' 21407 return float() 21408 21409 21410 class QSplashScreen(QWidget): 21411 """""" 21412 def __init__(self, pixmap = QPixmap(), flags = 0): 21413 '''void QSplashScreen.__init__(QPixmap pixmap = QPixmap(), Qt.WindowFlags flags = 0)''' 21414 def __init__(self, parent, pixmap = QPixmap(), flags = 0): 21415 '''void QSplashScreen.__init__(QWidget parent, QPixmap pixmap = QPixmap(), Qt.WindowFlags flags = 0)''' 21416 def mousePressEvent(self): 21417 '''QMouseEvent QSplashScreen.mousePressEvent()''' 21418 return QMouseEvent() 21419 def event(self, e): 21420 '''bool QSplashScreen.event(QEvent e)''' 21421 return bool() 21422 def drawContents(self, painter): 21423 '''void QSplashScreen.drawContents(QPainter painter)''' 21424 messageChanged = pyqtSignal() # void messageChanged(const QStringamp;) - signal 21425 def clearMessage(self): 21426 '''void QSplashScreen.clearMessage()''' 21427 def showMessage(self, message, alignment = None, color = None): 21428 '''void QSplashScreen.showMessage(QString message, int alignment = Qt.AlignLeft, QColor color = Qt.black)''' 21429 def repaint(self): 21430 '''void QSplashScreen.repaint()''' 21431 def finish(self, w): 21432 '''void QSplashScreen.finish(QWidget w)''' 21433 def pixmap(self): 21434 '''QPixmap QSplashScreen.pixmap()''' 21435 return QPixmap() 21436 def setPixmap(self, pixmap): 21437 '''void QSplashScreen.setPixmap(QPixmap pixmap)''' 21438 21439 21440 class QSplitter(QFrame): 21441 """""" 21442 def __init__(self, parent = None): 21443 '''void QSplitter.__init__(QWidget parent = None)''' 21444 def __init__(self, orientation, parent = None): 21445 '''void QSplitter.__init__(Qt.Orientation orientation, QWidget parent = None)''' 21446 def closestLegalPosition(self): 21447 '''int QSplitter.closestLegalPosition()''' 21448 return int() 21449 def setRubberBand(self, position): 21450 '''void QSplitter.setRubberBand(int position)''' 21451 def moveSplitter(self, pos, index): 21452 '''void QSplitter.moveSplitter(int pos, int index)''' 21453 def changeEvent(self): 21454 '''QEvent QSplitter.changeEvent()''' 21455 return QEvent() 21456 def resizeEvent(self): 21457 '''QResizeEvent QSplitter.resizeEvent()''' 21458 return QResizeEvent() 21459 def event(self): 21460 '''QEvent QSplitter.event()''' 21461 return QEvent() 21462 def childEvent(self): 21463 '''QChildEvent QSplitter.childEvent()''' 21464 return QChildEvent() 21465 def createHandle(self): 21466 '''QSplitterHandle QSplitter.createHandle()''' 21467 return QSplitterHandle() 21468 splitterMoved = pyqtSignal() # void splitterMoved(int,int) - signal 21469 def setStretchFactor(self, index, stretch): 21470 '''void QSplitter.setStretchFactor(int index, int stretch)''' 21471 def handle(self, index): 21472 '''QSplitterHandle QSplitter.handle(int index)''' 21473 return QSplitterHandle() 21474 def getRange(self, index): 21475 '''int QSplitter.getRange(int index)''' 21476 return int() 21477 def __len__(self): 21478 '''None QSplitter.__len__()''' 21479 return None() 21480 def count(self): 21481 '''int QSplitter.count()''' 21482 return int() 21483 def widget(self, index): 21484 '''QWidget QSplitter.widget(int index)''' 21485 return QWidget() 21486 def indexOf(self, w): 21487 '''int QSplitter.indexOf(QWidget w)''' 21488 return int() 21489 def setHandleWidth(self): 21490 '''int QSplitter.setHandleWidth()''' 21491 return int() 21492 def handleWidth(self): 21493 '''int QSplitter.handleWidth()''' 21494 return int() 21495 def restoreState(self, state): 21496 '''bool QSplitter.restoreState(QByteArray state)''' 21497 return bool() 21498 def saveState(self): 21499 '''QByteArray QSplitter.saveState()''' 21500 return QByteArray() 21501 def setSizes(self, list): 21502 '''void QSplitter.setSizes(list-of-int list)''' 21503 def sizes(self): 21504 '''list-of-int QSplitter.sizes()''' 21505 return [int()] 21506 def minimumSizeHint(self): 21507 '''QSize QSplitter.minimumSizeHint()''' 21508 return QSize() 21509 def sizeHint(self): 21510 '''QSize QSplitter.sizeHint()''' 21511 return QSize() 21512 def refresh(self): 21513 '''void QSplitter.refresh()''' 21514 def opaqueResize(self): 21515 '''bool QSplitter.opaqueResize()''' 21516 return bool() 21517 def setOpaqueResize(self, opaque = True): 21518 '''void QSplitter.setOpaqueResize(bool opaque = True)''' 21519 def isCollapsible(self, index): 21520 '''bool QSplitter.isCollapsible(int index)''' 21521 return bool() 21522 def setCollapsible(self, index): 21523 '''bool QSplitter.setCollapsible(int index)''' 21524 return bool() 21525 def childrenCollapsible(self): 21526 '''bool QSplitter.childrenCollapsible()''' 21527 return bool() 21528 def setChildrenCollapsible(self): 21529 '''bool QSplitter.setChildrenCollapsible()''' 21530 return bool() 21531 def orientation(self): 21532 '''Qt.Orientation QSplitter.orientation()''' 21533 return Qt.Orientation() 21534 def setOrientation(self): 21535 '''Qt.Orientation QSplitter.setOrientation()''' 21536 return Qt.Orientation() 21537 def insertWidget(self, index, widget): 21538 '''void QSplitter.insertWidget(int index, QWidget widget)''' 21539 def addWidget(self, widget): 21540 '''void QSplitter.addWidget(QWidget widget)''' 21541 21542 21543 class QSplitterHandle(QWidget): 21544 """""" 21545 def __init__(self, o, parent): 21546 '''void QSplitterHandle.__init__(Qt.Orientation o, QSplitter parent)''' 21547 def resizeEvent(self): 21548 '''QResizeEvent QSplitterHandle.resizeEvent()''' 21549 return QResizeEvent() 21550 def closestLegalPosition(self, p): 21551 '''int QSplitterHandle.closestLegalPosition(int p)''' 21552 return int() 21553 def moveSplitter(self, p): 21554 '''void QSplitterHandle.moveSplitter(int p)''' 21555 def event(self): 21556 '''QEvent QSplitterHandle.event()''' 21557 return QEvent() 21558 def mouseReleaseEvent(self): 21559 '''QMouseEvent QSplitterHandle.mouseReleaseEvent()''' 21560 return QMouseEvent() 21561 def mousePressEvent(self): 21562 '''QMouseEvent QSplitterHandle.mousePressEvent()''' 21563 return QMouseEvent() 21564 def mouseMoveEvent(self): 21565 '''QMouseEvent QSplitterHandle.mouseMoveEvent()''' 21566 return QMouseEvent() 21567 def paintEvent(self): 21568 '''QPaintEvent QSplitterHandle.paintEvent()''' 21569 return QPaintEvent() 21570 def sizeHint(self): 21571 '''QSize QSplitterHandle.sizeHint()''' 21572 return QSize() 21573 def splitter(self): 21574 '''QSplitter QSplitterHandle.splitter()''' 21575 return QSplitter() 21576 def opaqueResize(self): 21577 '''bool QSplitterHandle.opaqueResize()''' 21578 return bool() 21579 def orientation(self): 21580 '''Qt.Orientation QSplitterHandle.orientation()''' 21581 return Qt.Orientation() 21582 def setOrientation(self, o): 21583 '''void QSplitterHandle.setOrientation(Qt.Orientation o)''' 21584 21585 21586 class QStackedLayout(QLayout): 21587 """""" 21588 # Enum QStackedLayout.StackingMode 21589 StackOne = 0 21590 StackAll = 0 21591 21592 def __init__(self): 21593 '''void QStackedLayout.__init__()''' 21594 def __init__(self, parent): 21595 '''void QStackedLayout.__init__(QWidget parent)''' 21596 def __init__(self, parentLayout): 21597 '''void QStackedLayout.__init__(QLayout parentLayout)''' 21598 def setStackingMode(self, stackingMode): 21599 '''void QStackedLayout.setStackingMode(QStackedLayout.StackingMode stackingMode)''' 21600 def stackingMode(self): 21601 '''QStackedLayout.StackingMode QStackedLayout.stackingMode()''' 21602 return QStackedLayout.StackingMode() 21603 def setCurrentWidget(self, w): 21604 '''void QStackedLayout.setCurrentWidget(QWidget w)''' 21605 def setCurrentIndex(self, index): 21606 '''void QStackedLayout.setCurrentIndex(int index)''' 21607 currentChanged = pyqtSignal() # void currentChanged(int) - signal 21608 widgetRemoved = pyqtSignal() # void widgetRemoved(int) - signal 21609 def setGeometry(self, rect): 21610 '''void QStackedLayout.setGeometry(QRect rect)''' 21611 def takeAt(self): 21612 '''int QStackedLayout.takeAt()''' 21613 return int() 21614 def itemAt(self): 21615 '''int QStackedLayout.itemAt()''' 21616 return int() 21617 def minimumSize(self): 21618 '''QSize QStackedLayout.minimumSize()''' 21619 return QSize() 21620 def sizeHint(self): 21621 '''QSize QStackedLayout.sizeHint()''' 21622 return QSize() 21623 def addItem(self, item): 21624 '''void QStackedLayout.addItem(QLayoutItem item)''' 21625 def count(self): 21626 '''int QStackedLayout.count()''' 21627 return int() 21628 def widget(self): 21629 '''int QStackedLayout.widget()''' 21630 return int() 21631 def widget(self): 21632 '''QWidget QStackedLayout.widget()''' 21633 return QWidget() 21634 def currentIndex(self): 21635 '''int QStackedLayout.currentIndex()''' 21636 return int() 21637 def currentWidget(self): 21638 '''QWidget QStackedLayout.currentWidget()''' 21639 return QWidget() 21640 def insertWidget(self, index, w): 21641 '''int QStackedLayout.insertWidget(int index, QWidget w)''' 21642 return int() 21643 def addWidget(self, w): 21644 '''int QStackedLayout.addWidget(QWidget w)''' 21645 return int() 21646 21647 21648 class QStackedWidget(QFrame): 21649 """""" 21650 def __init__(self, parent = None): 21651 '''void QStackedWidget.__init__(QWidget parent = None)''' 21652 def event(self, e): 21653 '''bool QStackedWidget.event(QEvent e)''' 21654 return bool() 21655 widgetRemoved = pyqtSignal() # void widgetRemoved(int) - signal 21656 currentChanged = pyqtSignal() # void currentChanged(int) - signal 21657 def setCurrentWidget(self, w): 21658 '''void QStackedWidget.setCurrentWidget(QWidget w)''' 21659 def setCurrentIndex(self, index): 21660 '''void QStackedWidget.setCurrentIndex(int index)''' 21661 def __len__(self): 21662 '''None QStackedWidget.__len__()''' 21663 return None() 21664 def count(self): 21665 '''int QStackedWidget.count()''' 21666 return int() 21667 def widget(self): 21668 '''int QStackedWidget.widget()''' 21669 return int() 21670 def indexOf(self): 21671 '''QWidget QStackedWidget.indexOf()''' 21672 return QWidget() 21673 def currentIndex(self): 21674 '''int QStackedWidget.currentIndex()''' 21675 return int() 21676 def currentWidget(self): 21677 '''QWidget QStackedWidget.currentWidget()''' 21678 return QWidget() 21679 def removeWidget(self, w): 21680 '''void QStackedWidget.removeWidget(QWidget w)''' 21681 def insertWidget(self, index, w): 21682 '''int QStackedWidget.insertWidget(int index, QWidget w)''' 21683 return int() 21684 def addWidget(self, w): 21685 '''int QStackedWidget.addWidget(QWidget w)''' 21686 return int() 21687 21688 21689 class QStandardItemModel(QAbstractItemModel): 21690 """""" 21691 def __init__(self, parent = None): 21692 '''void QStandardItemModel.__init__(QObject parent = None)''' 21693 def __init__(self, rows, columns, parent = None): 21694 '''void QStandardItemModel.__init__(int rows, int columns, QObject parent = None)''' 21695 itemChanged = pyqtSignal() # void itemChanged(QStandardItem *) - signal 21696 def dropMimeData(self, data, action, row, column, parent): 21697 '''bool QStandardItemModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 21698 return bool() 21699 def mimeData(self, indexes): 21700 '''QMimeData QStandardItemModel.mimeData(list-of-QModelIndex indexes)''' 21701 return QMimeData() 21702 def mimeTypes(self): 21703 '''QStringList QStandardItemModel.mimeTypes()''' 21704 return QStringList() 21705 def setSortRole(self, role): 21706 '''void QStandardItemModel.setSortRole(int role)''' 21707 def sortRole(self): 21708 '''int QStandardItemModel.sortRole()''' 21709 return int() 21710 def findItems(self, text, flags = None, column = 0): 21711 '''list-of-QStandardItem QStandardItemModel.findItems(QString text, Qt.MatchFlags flags = Qt.MatchExactly, int column = 0)''' 21712 return [QStandardItem()] 21713 def setItemPrototype(self, item): 21714 '''void QStandardItemModel.setItemPrototype(QStandardItem item)''' 21715 def itemPrototype(self): 21716 '''QStandardItem QStandardItemModel.itemPrototype()''' 21717 return QStandardItem() 21718 def takeVerticalHeaderItem(self, row): 21719 '''QStandardItem QStandardItemModel.takeVerticalHeaderItem(int row)''' 21720 return QStandardItem() 21721 def takeHorizontalHeaderItem(self, column): 21722 '''QStandardItem QStandardItemModel.takeHorizontalHeaderItem(int column)''' 21723 return QStandardItem() 21724 def takeColumn(self, column): 21725 '''list-of-QStandardItem QStandardItemModel.takeColumn(int column)''' 21726 return [QStandardItem()] 21727 def takeRow(self, row): 21728 '''list-of-QStandardItem QStandardItemModel.takeRow(int row)''' 21729 return [QStandardItem()] 21730 def takeItem(self, row, column = 0): 21731 '''QStandardItem QStandardItemModel.takeItem(int row, int column = 0)''' 21732 return QStandardItem() 21733 def insertColumn(self, column, items): 21734 '''void QStandardItemModel.insertColumn(int column, list-of-QStandardItem items)''' 21735 def insertColumn(self, column, parent = QModelIndex()): 21736 '''bool QStandardItemModel.insertColumn(int column, QModelIndex parent = QModelIndex())''' 21737 return bool() 21738 def insertRow(self, row, items): 21739 '''void QStandardItemModel.insertRow(int row, list-of-QStandardItem items)''' 21740 def insertRow(self, arow, aitem): 21741 '''void QStandardItemModel.insertRow(int arow, QStandardItem aitem)''' 21742 def insertRow(self, row, parent = QModelIndex()): 21743 '''bool QStandardItemModel.insertRow(int row, QModelIndex parent = QModelIndex())''' 21744 return bool() 21745 def appendColumn(self, items): 21746 '''void QStandardItemModel.appendColumn(list-of-QStandardItem items)''' 21747 def appendRow(self, items): 21748 '''void QStandardItemModel.appendRow(list-of-QStandardItem items)''' 21749 def appendRow(self, aitem): 21750 '''void QStandardItemModel.appendRow(QStandardItem aitem)''' 21751 def setColumnCount(self, columns): 21752 '''void QStandardItemModel.setColumnCount(int columns)''' 21753 def setRowCount(self, rows): 21754 '''void QStandardItemModel.setRowCount(int rows)''' 21755 def setVerticalHeaderLabels(self, labels): 21756 '''void QStandardItemModel.setVerticalHeaderLabels(QStringList labels)''' 21757 def setHorizontalHeaderLabels(self, labels): 21758 '''void QStandardItemModel.setHorizontalHeaderLabels(QStringList labels)''' 21759 def setVerticalHeaderItem(self, row, item): 21760 '''void QStandardItemModel.setVerticalHeaderItem(int row, QStandardItem item)''' 21761 def verticalHeaderItem(self, row): 21762 '''QStandardItem QStandardItemModel.verticalHeaderItem(int row)''' 21763 return QStandardItem() 21764 def setHorizontalHeaderItem(self, column, item): 21765 '''void QStandardItemModel.setHorizontalHeaderItem(int column, QStandardItem item)''' 21766 def horizontalHeaderItem(self, column): 21767 '''QStandardItem QStandardItemModel.horizontalHeaderItem(int column)''' 21768 return QStandardItem() 21769 def invisibleRootItem(self): 21770 '''QStandardItem QStandardItemModel.invisibleRootItem()''' 21771 return QStandardItem() 21772 def setItem(self, row, column, item): 21773 '''void QStandardItemModel.setItem(int row, int column, QStandardItem item)''' 21774 def setItem(self, arow, aitem): 21775 '''void QStandardItemModel.setItem(int arow, QStandardItem aitem)''' 21776 def item(self, row, column = 0): 21777 '''QStandardItem QStandardItemModel.item(int row, int column = 0)''' 21778 return QStandardItem() 21779 def indexFromItem(self, item): 21780 '''QModelIndex QStandardItemModel.indexFromItem(QStandardItem item)''' 21781 return QModelIndex() 21782 def itemFromIndex(self, index): 21783 '''QStandardItem QStandardItemModel.itemFromIndex(QModelIndex index)''' 21784 return QStandardItem() 21785 def sort(self, column, order = None): 21786 '''void QStandardItemModel.sort(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 21787 def setItemData(self, index, roles): 21788 '''bool QStandardItemModel.setItemData(QModelIndex index, dict-of-int-QVariant roles)''' 21789 return bool() 21790 def itemData(self, index): 21791 '''dict-of-int-QVariant QStandardItemModel.itemData(QModelIndex index)''' 21792 return dict-of-int-QVariant() 21793 def supportedDropActions(self): 21794 '''Qt.DropActions QStandardItemModel.supportedDropActions()''' 21795 return Qt.DropActions() 21796 def clear(self): 21797 '''void QStandardItemModel.clear()''' 21798 def flags(self, index): 21799 '''Qt.ItemFlags QStandardItemModel.flags(QModelIndex index)''' 21800 return Qt.ItemFlags() 21801 def removeColumns(self, column, count, parent = QModelIndex()): 21802 '''bool QStandardItemModel.removeColumns(int column, int count, QModelIndex parent = QModelIndex())''' 21803 return bool() 21804 def removeRows(self, row, count, parent = QModelIndex()): 21805 '''bool QStandardItemModel.removeRows(int row, int count, QModelIndex parent = QModelIndex())''' 21806 return bool() 21807 def insertColumns(self, column, count, parent = QModelIndex()): 21808 '''bool QStandardItemModel.insertColumns(int column, int count, QModelIndex parent = QModelIndex())''' 21809 return bool() 21810 def insertRows(self, row, count, parent = QModelIndex()): 21811 '''bool QStandardItemModel.insertRows(int row, int count, QModelIndex parent = QModelIndex())''' 21812 return bool() 21813 def setHeaderData(self, section, orientation, value, role = None): 21814 '''bool QStandardItemModel.setHeaderData(int section, Qt.Orientation orientation, QVariant value, int role = Qt.EditRole)''' 21815 return bool() 21816 def headerData(self, section, orientation, role = None): 21817 '''QVariant QStandardItemModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 21818 return QVariant() 21819 def setData(self, index, value, role = None): 21820 '''bool QStandardItemModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 21821 return bool() 21822 def data(self, index, role = None): 21823 '''QVariant QStandardItemModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 21824 return QVariant() 21825 def hasChildren(self, parent = QModelIndex()): 21826 '''bool QStandardItemModel.hasChildren(QModelIndex parent = QModelIndex())''' 21827 return bool() 21828 def columnCount(self, parent = QModelIndex()): 21829 '''int QStandardItemModel.columnCount(QModelIndex parent = QModelIndex())''' 21830 return int() 21831 def rowCount(self, parent = QModelIndex()): 21832 '''int QStandardItemModel.rowCount(QModelIndex parent = QModelIndex())''' 21833 return int() 21834 def parent(self, child): 21835 '''QModelIndex QStandardItemModel.parent(QModelIndex child)''' 21836 return QModelIndex() 21837 def parent(self): 21838 '''QObject QStandardItemModel.parent()''' 21839 return QObject() 21840 def index(self, row, column, parent = QModelIndex()): 21841 '''QModelIndex QStandardItemModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 21842 return QModelIndex() 21843 21844 21845 class QStandardItem(): 21846 """""" 21847 # Enum QStandardItem.ItemType 21848 Type = 0 21849 UserType = 0 21850 21851 def __init__(self): 21852 '''void QStandardItem.__init__()''' 21853 def __init__(self, text): 21854 '''void QStandardItem.__init__(QString text)''' 21855 def __init__(self, icon, text): 21856 '''void QStandardItem.__init__(QIcon icon, QString text)''' 21857 def __init__(self, rows, columns = 1): 21858 '''void QStandardItem.__init__(int rows, int columns = 1)''' 21859 def __init__(self, other): 21860 '''void QStandardItem.__init__(QStandardItem other)''' 21861 def __ge__(self, other): 21862 '''bool QStandardItem.__ge__(QStandardItem other)''' 21863 return bool() 21864 def emitDataChanged(self): 21865 '''void QStandardItem.emitDataChanged()''' 21866 def appendRows(self, aitems): 21867 '''void QStandardItem.appendRows(list-of-QStandardItem aitems)''' 21868 def appendColumn(self, aitems): 21869 '''void QStandardItem.appendColumn(list-of-QStandardItem aitems)''' 21870 def appendRow(self, aitems): 21871 '''void QStandardItem.appendRow(list-of-QStandardItem aitems)''' 21872 def appendRow(self, aitem): 21873 '''void QStandardItem.appendRow(QStandardItem aitem)''' 21874 def setAccessibleDescription(self, aaccessibleDescription): 21875 '''void QStandardItem.setAccessibleDescription(QString aaccessibleDescription)''' 21876 def setAccessibleText(self, aaccessibleText): 21877 '''void QStandardItem.setAccessibleText(QString aaccessibleText)''' 21878 def setCheckState(self, acheckState): 21879 '''void QStandardItem.setCheckState(Qt.CheckState acheckState)''' 21880 def setForeground(self, abrush): 21881 '''void QStandardItem.setForeground(QBrush abrush)''' 21882 def setBackground(self, abrush): 21883 '''void QStandardItem.setBackground(QBrush abrush)''' 21884 def setTextAlignment(self, atextAlignment): 21885 '''void QStandardItem.setTextAlignment(Qt.Alignment atextAlignment)''' 21886 def setFont(self, afont): 21887 '''void QStandardItem.setFont(QFont afont)''' 21888 def setSizeHint(self, asizeHint): 21889 '''void QStandardItem.setSizeHint(QSize asizeHint)''' 21890 def setWhatsThis(self, awhatsThis): 21891 '''void QStandardItem.setWhatsThis(QString awhatsThis)''' 21892 def setStatusTip(self, astatusTip): 21893 '''void QStandardItem.setStatusTip(QString astatusTip)''' 21894 def setToolTip(self, atoolTip): 21895 '''void QStandardItem.setToolTip(QString atoolTip)''' 21896 def setIcon(self, aicon): 21897 '''void QStandardItem.setIcon(QIcon aicon)''' 21898 def setText(self, atext): 21899 '''void QStandardItem.setText(QString atext)''' 21900 def __lt__(self, other): 21901 '''bool QStandardItem.__lt__(QStandardItem other)''' 21902 return bool() 21903 def write(self, out): 21904 '''void QStandardItem.write(QDataStream out)''' 21905 def read(self, in_): 21906 '''void QStandardItem.read(QDataStream in)''' 21907 def type(self): 21908 '''int QStandardItem.type()''' 21909 return int() 21910 def clone(self): 21911 '''QStandardItem QStandardItem.clone()''' 21912 return QStandardItem() 21913 def sortChildren(self, column, order = None): 21914 '''void QStandardItem.sortChildren(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 21915 def takeColumn(self, column): 21916 '''list-of-QStandardItem QStandardItem.takeColumn(int column)''' 21917 return [QStandardItem()] 21918 def takeRow(self, row): 21919 '''list-of-QStandardItem QStandardItem.takeRow(int row)''' 21920 return [QStandardItem()] 21921 def takeChild(self, row, column = 0): 21922 '''QStandardItem QStandardItem.takeChild(int row, int column = 0)''' 21923 return QStandardItem() 21924 def removeColumns(self, column, count): 21925 '''void QStandardItem.removeColumns(int column, int count)''' 21926 def removeRows(self, row, count): 21927 '''void QStandardItem.removeRows(int row, int count)''' 21928 def removeColumn(self, column): 21929 '''void QStandardItem.removeColumn(int column)''' 21930 def removeRow(self, row): 21931 '''void QStandardItem.removeRow(int row)''' 21932 def insertColumns(self, column, count): 21933 '''void QStandardItem.insertColumns(int column, int count)''' 21934 def insertColumn(self, column, items): 21935 '''void QStandardItem.insertColumn(int column, list-of-QStandardItem items)''' 21936 def insertRows(self, row, count): 21937 '''void QStandardItem.insertRows(int row, int count)''' 21938 def insertRows(self, row, items): 21939 '''void QStandardItem.insertRows(int row, list-of-QStandardItem items)''' 21940 def insertRow(self, row, items): 21941 '''void QStandardItem.insertRow(int row, list-of-QStandardItem items)''' 21942 def insertRow(self, arow, aitem): 21943 '''void QStandardItem.insertRow(int arow, QStandardItem aitem)''' 21944 def setChild(self, row, column, item): 21945 '''void QStandardItem.setChild(int row, int column, QStandardItem item)''' 21946 def setChild(self, arow, aitem): 21947 '''void QStandardItem.setChild(int arow, QStandardItem aitem)''' 21948 def child(self, row, column = 0): 21949 '''QStandardItem QStandardItem.child(int row, int column = 0)''' 21950 return QStandardItem() 21951 def hasChildren(self): 21952 '''bool QStandardItem.hasChildren()''' 21953 return bool() 21954 def setColumnCount(self, columns): 21955 '''void QStandardItem.setColumnCount(int columns)''' 21956 def columnCount(self): 21957 '''int QStandardItem.columnCount()''' 21958 return int() 21959 def setRowCount(self, rows): 21960 '''void QStandardItem.setRowCount(int rows)''' 21961 def rowCount(self): 21962 '''int QStandardItem.rowCount()''' 21963 return int() 21964 def model(self): 21965 '''QStandardItemModel QStandardItem.model()''' 21966 return QStandardItemModel() 21967 def index(self): 21968 '''QModelIndex QStandardItem.index()''' 21969 return QModelIndex() 21970 def column(self): 21971 '''int QStandardItem.column()''' 21972 return int() 21973 def row(self): 21974 '''int QStandardItem.row()''' 21975 return int() 21976 def parent(self): 21977 '''QStandardItem QStandardItem.parent()''' 21978 return QStandardItem() 21979 def setDropEnabled(self, dropEnabled): 21980 '''void QStandardItem.setDropEnabled(bool dropEnabled)''' 21981 def isDropEnabled(self): 21982 '''bool QStandardItem.isDropEnabled()''' 21983 return bool() 21984 def setDragEnabled(self, dragEnabled): 21985 '''void QStandardItem.setDragEnabled(bool dragEnabled)''' 21986 def isDragEnabled(self): 21987 '''bool QStandardItem.isDragEnabled()''' 21988 return bool() 21989 def setTristate(self, tristate): 21990 '''void QStandardItem.setTristate(bool tristate)''' 21991 def isTristate(self): 21992 '''bool QStandardItem.isTristate()''' 21993 return bool() 21994 def setCheckable(self, checkable): 21995 '''void QStandardItem.setCheckable(bool checkable)''' 21996 def isCheckable(self): 21997 '''bool QStandardItem.isCheckable()''' 21998 return bool() 21999 def setSelectable(self, selectable): 22000 '''void QStandardItem.setSelectable(bool selectable)''' 22001 def isSelectable(self): 22002 '''bool QStandardItem.isSelectable()''' 22003 return bool() 22004 def setEditable(self, editable): 22005 '''void QStandardItem.setEditable(bool editable)''' 22006 def isEditable(self): 22007 '''bool QStandardItem.isEditable()''' 22008 return bool() 22009 def setEnabled(self, enabled): 22010 '''void QStandardItem.setEnabled(bool enabled)''' 22011 def isEnabled(self): 22012 '''bool QStandardItem.isEnabled()''' 22013 return bool() 22014 def setFlags(self, flags): 22015 '''void QStandardItem.setFlags(Qt.ItemFlags flags)''' 22016 def flags(self): 22017 '''Qt.ItemFlags QStandardItem.flags()''' 22018 return Qt.ItemFlags() 22019 def accessibleDescription(self): 22020 '''QString QStandardItem.accessibleDescription()''' 22021 return QString() 22022 def accessibleText(self): 22023 '''QString QStandardItem.accessibleText()''' 22024 return QString() 22025 def checkState(self): 22026 '''Qt.CheckState QStandardItem.checkState()''' 22027 return Qt.CheckState() 22028 def foreground(self): 22029 '''QBrush QStandardItem.foreground()''' 22030 return QBrush() 22031 def background(self): 22032 '''QBrush QStandardItem.background()''' 22033 return QBrush() 22034 def textAlignment(self): 22035 '''Qt.Alignment QStandardItem.textAlignment()''' 22036 return Qt.Alignment() 22037 def font(self): 22038 '''QFont QStandardItem.font()''' 22039 return QFont() 22040 def sizeHint(self): 22041 '''QSize QStandardItem.sizeHint()''' 22042 return QSize() 22043 def whatsThis(self): 22044 '''QString QStandardItem.whatsThis()''' 22045 return QString() 22046 def statusTip(self): 22047 '''QString QStandardItem.statusTip()''' 22048 return QString() 22049 def toolTip(self): 22050 '''QString QStandardItem.toolTip()''' 22051 return QString() 22052 def icon(self): 22053 '''QIcon QStandardItem.icon()''' 22054 return QIcon() 22055 def text(self): 22056 '''QString QStandardItem.text()''' 22057 return QString() 22058 def setData(self, value, role = None): 22059 '''void QStandardItem.setData(QVariant value, int role = Qt.UserRole+1)''' 22060 def data(self, role = None): 22061 '''QVariant QStandardItem.data(int role = Qt.UserRole+1)''' 22062 return QVariant() 22063 22064 22065 class QStaticText(): 22066 """""" 22067 # Enum QStaticText.PerformanceHint 22068 ModerateCaching = 0 22069 AggressiveCaching = 0 22070 22071 def __init__(self): 22072 '''void QStaticText.__init__()''' 22073 def __init__(self, text): 22074 '''void QStaticText.__init__(QString text)''' 22075 def __init__(self, other): 22076 '''void QStaticText.__init__(QStaticText other)''' 22077 def __ne__(self): 22078 '''QStaticText QStaticText.__ne__()''' 22079 return QStaticText() 22080 def __eq__(self): 22081 '''QStaticText QStaticText.__eq__()''' 22082 return QStaticText() 22083 def performanceHint(self): 22084 '''QStaticText.PerformanceHint QStaticText.performanceHint()''' 22085 return QStaticText.PerformanceHint() 22086 def setPerformanceHint(self, performanceHint): 22087 '''void QStaticText.setPerformanceHint(QStaticText.PerformanceHint performanceHint)''' 22088 def prepare(self, matrix = QTransform(), font = QFont()): 22089 '''void QStaticText.prepare(QTransform matrix = QTransform(), QFont font = QFont())''' 22090 def size(self): 22091 '''QSizeF QStaticText.size()''' 22092 return QSizeF() 22093 def textOption(self): 22094 '''QTextOption QStaticText.textOption()''' 22095 return QTextOption() 22096 def setTextOption(self, textOption): 22097 '''void QStaticText.setTextOption(QTextOption textOption)''' 22098 def textWidth(self): 22099 '''float QStaticText.textWidth()''' 22100 return float() 22101 def setTextWidth(self, textWidth): 22102 '''void QStaticText.setTextWidth(float textWidth)''' 22103 def textFormat(self): 22104 '''Qt.TextFormat QStaticText.textFormat()''' 22105 return Qt.TextFormat() 22106 def setTextFormat(self, textFormat): 22107 '''void QStaticText.setTextFormat(Qt.TextFormat textFormat)''' 22108 def text(self): 22109 '''QString QStaticText.text()''' 22110 return QString() 22111 def setText(self, text): 22112 '''void QStaticText.setText(QString text)''' 22113 22114 22115 class QStatusBar(QWidget): 22116 """""" 22117 def __init__(self, parent = None): 22118 '''void QStatusBar.__init__(QWidget parent = None)''' 22119 def showEvent(self): 22120 '''QShowEvent QStatusBar.showEvent()''' 22121 return QShowEvent() 22122 def event(self): 22123 '''QEvent QStatusBar.event()''' 22124 return QEvent() 22125 def hideOrShow(self): 22126 '''void QStatusBar.hideOrShow()''' 22127 def reformat(self): 22128 '''void QStatusBar.reformat()''' 22129 def resizeEvent(self): 22130 '''QResizeEvent QStatusBar.resizeEvent()''' 22131 return QResizeEvent() 22132 def paintEvent(self): 22133 '''QPaintEvent QStatusBar.paintEvent()''' 22134 return QPaintEvent() 22135 messageChanged = pyqtSignal() # void messageChanged(const QStringamp;) - signal 22136 def clearMessage(self): 22137 '''void QStatusBar.clearMessage()''' 22138 def showMessage(self, message, msecs = 0): 22139 '''void QStatusBar.showMessage(QString message, int msecs = 0)''' 22140 def insertPermanentWidget(self, index, widget, stretch = 0): 22141 '''int QStatusBar.insertPermanentWidget(int index, QWidget widget, int stretch = 0)''' 22142 return int() 22143 def insertWidget(self, index, widget, stretch = 0): 22144 '''int QStatusBar.insertWidget(int index, QWidget widget, int stretch = 0)''' 22145 return int() 22146 def currentMessage(self): 22147 '''QString QStatusBar.currentMessage()''' 22148 return QString() 22149 def isSizeGripEnabled(self): 22150 '''bool QStatusBar.isSizeGripEnabled()''' 22151 return bool() 22152 def setSizeGripEnabled(self): 22153 '''bool QStatusBar.setSizeGripEnabled()''' 22154 return bool() 22155 def removeWidget(self, widget): 22156 '''void QStatusBar.removeWidget(QWidget widget)''' 22157 def addPermanentWidget(self, widget, stretch = 0): 22158 '''void QStatusBar.addPermanentWidget(QWidget widget, int stretch = 0)''' 22159 def addWidget(self, widget, stretch = 0): 22160 '''void QStatusBar.addWidget(QWidget widget, int stretch = 0)''' 22161 22162 22163 class QStringListModel(QAbstractListModel): 22164 """""" 22165 def __init__(self, parent = None): 22166 '''void QStringListModel.__init__(QObject parent = None)''' 22167 def __init__(self, strings, parent = None): 22168 '''void QStringListModel.__init__(QStringList strings, QObject parent = None)''' 22169 def supportedDropActions(self): 22170 '''Qt.DropActions QStringListModel.supportedDropActions()''' 22171 return Qt.DropActions() 22172 def sort(self, column, order = None): 22173 '''void QStringListModel.sort(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 22174 def setStringList(self, strings): 22175 '''void QStringListModel.setStringList(QStringList strings)''' 22176 def stringList(self): 22177 '''QStringList QStringListModel.stringList()''' 22178 return QStringList() 22179 def removeRows(self, row, count, parent = QModelIndex()): 22180 '''bool QStringListModel.removeRows(int row, int count, QModelIndex parent = QModelIndex())''' 22181 return bool() 22182 def insertRows(self, row, count, parent = QModelIndex()): 22183 '''bool QStringListModel.insertRows(int row, int count, QModelIndex parent = QModelIndex())''' 22184 return bool() 22185 def flags(self, index): 22186 '''Qt.ItemFlags QStringListModel.flags(QModelIndex index)''' 22187 return Qt.ItemFlags() 22188 def setData(self, index, value, role = None): 22189 '''bool QStringListModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 22190 return bool() 22191 def data(self, index, role): 22192 '''QVariant QStringListModel.data(QModelIndex index, int role)''' 22193 return QVariant() 22194 def rowCount(self, parent = QModelIndex()): 22195 '''int QStringListModel.rowCount(QModelIndex parent = QModelIndex())''' 22196 return int() 22197 22198 22199 class QStyledItemDelegate(QAbstractItemDelegate): 22200 """""" 22201 def __init__(self, parent = None): 22202 '''void QStyledItemDelegate.__init__(QObject parent = None)''' 22203 def editorEvent(self, event, model, option, index): 22204 '''bool QStyledItemDelegate.editorEvent(QEvent event, QAbstractItemModel model, QStyleOptionViewItem option, QModelIndex index)''' 22205 return bool() 22206 def eventFilter(self, object, event): 22207 '''bool QStyledItemDelegate.eventFilter(QObject object, QEvent event)''' 22208 return bool() 22209 def initStyleOption(self, option, index): 22210 '''void QStyledItemDelegate.initStyleOption(QStyleOptionViewItem option, QModelIndex index)''' 22211 def displayText(self, value, locale): 22212 '''QString QStyledItemDelegate.displayText(QVariant value, QLocale locale)''' 22213 return QString() 22214 def setItemEditorFactory(self, factory): 22215 '''void QStyledItemDelegate.setItemEditorFactory(QItemEditorFactory factory)''' 22216 def itemEditorFactory(self): 22217 '''QItemEditorFactory QStyledItemDelegate.itemEditorFactory()''' 22218 return QItemEditorFactory() 22219 def updateEditorGeometry(self, editor, option, index): 22220 '''void QStyledItemDelegate.updateEditorGeometry(QWidget editor, QStyleOptionViewItem option, QModelIndex index)''' 22221 def setModelData(self, editor, model, index): 22222 '''void QStyledItemDelegate.setModelData(QWidget editor, QAbstractItemModel model, QModelIndex index)''' 22223 def setEditorData(self, editor, index): 22224 '''void QStyledItemDelegate.setEditorData(QWidget editor, QModelIndex index)''' 22225 def createEditor(self, parent, option, index): 22226 '''QWidget QStyledItemDelegate.createEditor(QWidget parent, QStyleOptionViewItem option, QModelIndex index)''' 22227 return QWidget() 22228 def sizeHint(self, option, index): 22229 '''QSize QStyledItemDelegate.sizeHint(QStyleOptionViewItem option, QModelIndex index)''' 22230 return QSize() 22231 def paint(self, painter, option, index): 22232 '''void QStyledItemDelegate.paint(QPainter painter, QStyleOptionViewItem option, QModelIndex index)''' 22233 22234 22235 class QStyleFactory(): 22236 """""" 22237 def __init__(self): 22238 '''void QStyleFactory.__init__()''' 22239 def __init__(self): 22240 '''QStyleFactory QStyleFactory.__init__()''' 22241 return QStyleFactory() 22242 def create(self): 22243 '''static QString QStyleFactory.create()''' 22244 return QString() 22245 def keys(self): 22246 '''static QStringList QStyleFactory.keys()''' 22247 return QStringList() 22248 22249 22250 class QStyleOption(): 22251 """""" 22252 # Enum QStyleOption.StyleOptionVersion 22253 Version = 0 22254 22255 # Enum QStyleOption.StyleOptionType 22256 Type = 0 22257 22258 # Enum QStyleOption.OptionType 22259 SO_Default = 0 22260 SO_FocusRect = 0 22261 SO_Button = 0 22262 SO_Tab = 0 22263 SO_MenuItem = 0 22264 SO_Frame = 0 22265 SO_ProgressBar = 0 22266 SO_ToolBox = 0 22267 SO_Header = 0 22268 SO_Q3DockWindow = 0 22269 SO_DockWidget = 0 22270 SO_Q3ListViewItem = 0 22271 SO_ViewItem = 0 22272 SO_TabWidgetFrame = 0 22273 SO_TabBarBase = 0 22274 SO_RubberBand = 0 22275 SO_ToolBar = 0 22276 SO_Complex = 0 22277 SO_Slider = 0 22278 SO_SpinBox = 0 22279 SO_ToolButton = 0 22280 SO_ComboBox = 0 22281 SO_Q3ListView = 0 22282 SO_TitleBar = 0 22283 SO_GroupBox = 0 22284 SO_ComplexCustomBase = 0 22285 SO_GraphicsItem = 0 22286 SO_SizeGrip = 0 22287 SO_CustomBase = 0 22288 22289 direction = None # Qt.LayoutDirection - member 22290 fontMetrics = None # QFontMetrics - member 22291 palette = None # QPalette - member 22292 rect = None # QRect - member 22293 state = None # QStyle.State - member 22294 type = None # int - member 22295 version = None # int - member 22296 def __init__(self, version = None, type = None): 22297 '''void QStyleOption.__init__(int version = QStyleOption.Version, int type = QStyleOption.SO_Default)''' 22298 def __init__(self, other): 22299 '''void QStyleOption.__init__(QStyleOption other)''' 22300 def initFrom(self, w): 22301 '''void QStyleOption.initFrom(QWidget w)''' 22302 def init(self, w): 22303 '''void QStyleOption.init(QWidget w)''' 22304 22305 22306 class QStyleOptionFocusRect(QStyleOption): 22307 """""" 22308 # Enum QStyleOptionFocusRect.StyleOptionVersion 22309 Version = 0 22310 22311 # Enum QStyleOptionFocusRect.StyleOptionType 22312 Type = 0 22313 22314 backgroundColor = None # QColor - member 22315 def __init__(self): 22316 '''void QStyleOptionFocusRect.__init__()''' 22317 def __init__(self, other): 22318 '''void QStyleOptionFocusRect.__init__(QStyleOptionFocusRect other)''' 22319 22320 22321 class QStyleOptionFrame(QStyleOption): 22322 """""" 22323 # Enum QStyleOptionFrame.StyleOptionVersion 22324 Version = 0 22325 22326 # Enum QStyleOptionFrame.StyleOptionType 22327 Type = 0 22328 22329 lineWidth = None # int - member 22330 midLineWidth = None # int - member 22331 def __init__(self): 22332 '''void QStyleOptionFrame.__init__()''' 22333 def __init__(self, other): 22334 '''void QStyleOptionFrame.__init__(QStyleOptionFrame other)''' 22335 22336 22337 class QStyleOptionFrameV2(QStyleOptionFrame): 22338 """""" 22339 # Enum QStyleOptionFrameV2.FrameFeature 22340 __kdevpythondocumentation_builtin_None = 0 22341 Flat = 0 22342 22343 # Enum QStyleOptionFrameV2.StyleOptionVersion 22344 Version = 0 22345 22346 features = None # QStyleOptionFrameV2.FrameFeatures - member 22347 def __init__(self): 22348 '''void QStyleOptionFrameV2.__init__()''' 22349 def __init__(self, other): 22350 '''void QStyleOptionFrameV2.__init__(QStyleOptionFrameV2 other)''' 22351 def __init__(self, other): 22352 '''void QStyleOptionFrameV2.__init__(QStyleOptionFrame other)''' 22353 class FrameFeatures(): 22354 """""" 22355 def __init__(self): 22356 '''QStyleOptionFrameV2.FrameFeatures QStyleOptionFrameV2.FrameFeatures.__init__()''' 22357 return QStyleOptionFrameV2.FrameFeatures() 22358 def __init__(self): 22359 '''int QStyleOptionFrameV2.FrameFeatures.__init__()''' 22360 return int() 22361 def __init__(self): 22362 '''void QStyleOptionFrameV2.FrameFeatures.__init__()''' 22363 def __bool__(self): 22364 '''int QStyleOptionFrameV2.FrameFeatures.__bool__()''' 22365 return int() 22366 def __ne__(self, f): 22367 '''bool QStyleOptionFrameV2.FrameFeatures.__ne__(QStyleOptionFrameV2.FrameFeatures f)''' 22368 return bool() 22369 def __eq__(self, f): 22370 '''bool QStyleOptionFrameV2.FrameFeatures.__eq__(QStyleOptionFrameV2.FrameFeatures f)''' 22371 return bool() 22372 def __invert__(self): 22373 '''QStyleOptionFrameV2.FrameFeatures QStyleOptionFrameV2.FrameFeatures.__invert__()''' 22374 return QStyleOptionFrameV2.FrameFeatures() 22375 def __and__(self, mask): 22376 '''QStyleOptionFrameV2.FrameFeatures QStyleOptionFrameV2.FrameFeatures.__and__(int mask)''' 22377 return QStyleOptionFrameV2.FrameFeatures() 22378 def __xor__(self, f): 22379 '''QStyleOptionFrameV2.FrameFeatures QStyleOptionFrameV2.FrameFeatures.__xor__(QStyleOptionFrameV2.FrameFeatures f)''' 22380 return QStyleOptionFrameV2.FrameFeatures() 22381 def __xor__(self, f): 22382 '''QStyleOptionFrameV2.FrameFeatures QStyleOptionFrameV2.FrameFeatures.__xor__(int f)''' 22383 return QStyleOptionFrameV2.FrameFeatures() 22384 def __or__(self, f): 22385 '''QStyleOptionFrameV2.FrameFeatures QStyleOptionFrameV2.FrameFeatures.__or__(QStyleOptionFrameV2.FrameFeatures f)''' 22386 return QStyleOptionFrameV2.FrameFeatures() 22387 def __or__(self, f): 22388 '''QStyleOptionFrameV2.FrameFeatures QStyleOptionFrameV2.FrameFeatures.__or__(int f)''' 22389 return QStyleOptionFrameV2.FrameFeatures() 22390 def __int__(self): 22391 '''int QStyleOptionFrameV2.FrameFeatures.__int__()''' 22392 return int() 22393 def __ixor__(self, f): 22394 '''QStyleOptionFrameV2.FrameFeatures QStyleOptionFrameV2.FrameFeatures.__ixor__(QStyleOptionFrameV2.FrameFeatures f)''' 22395 return QStyleOptionFrameV2.FrameFeatures() 22396 def __ior__(self, f): 22397 '''QStyleOptionFrameV2.FrameFeatures QStyleOptionFrameV2.FrameFeatures.__ior__(QStyleOptionFrameV2.FrameFeatures f)''' 22398 return QStyleOptionFrameV2.FrameFeatures() 22399 def __iand__(self, mask): 22400 '''QStyleOptionFrameV2.FrameFeatures QStyleOptionFrameV2.FrameFeatures.__iand__(int mask)''' 22401 return QStyleOptionFrameV2.FrameFeatures() 22402 22403 22404 class QStyleOptionTabWidgetFrame(QStyleOption): 22405 """""" 22406 # Enum QStyleOptionTabWidgetFrame.StyleOptionVersion 22407 Version = 0 22408 22409 # Enum QStyleOptionTabWidgetFrame.StyleOptionType 22410 Type = 0 22411 22412 leftCornerWidgetSize = None # QSize - member 22413 lineWidth = None # int - member 22414 midLineWidth = None # int - member 22415 rightCornerWidgetSize = None # QSize - member 22416 shape = None # QTabBar.Shape - member 22417 tabBarSize = None # QSize - member 22418 def __init__(self): 22419 '''void QStyleOptionTabWidgetFrame.__init__()''' 22420 def __init__(self, other): 22421 '''void QStyleOptionTabWidgetFrame.__init__(QStyleOptionTabWidgetFrame other)''' 22422 22423 22424 class QStyleOptionTabBarBase(QStyleOption): 22425 """""" 22426 # Enum QStyleOptionTabBarBase.StyleOptionVersion 22427 Version = 0 22428 22429 # Enum QStyleOptionTabBarBase.StyleOptionType 22430 Type = 0 22431 22432 selectedTabRect = None # QRect - member 22433 shape = None # QTabBar.Shape - member 22434 tabBarRect = None # QRect - member 22435 def __init__(self): 22436 '''void QStyleOptionTabBarBase.__init__()''' 22437 def __init__(self, other): 22438 '''void QStyleOptionTabBarBase.__init__(QStyleOptionTabBarBase other)''' 22439 22440 22441 class QStyleOptionHeader(QStyleOption): 22442 """""" 22443 # Enum QStyleOptionHeader.SortIndicator 22444 __kdevpythondocumentation_builtin_None = 0 22445 SortUp = 0 22446 SortDown = 0 22447 22448 # Enum QStyleOptionHeader.SelectedPosition 22449 NotAdjacent = 0 22450 NextIsSelected = 0 22451 PreviousIsSelected = 0 22452 NextAndPreviousAreSelected = 0 22453 22454 # Enum QStyleOptionHeader.SectionPosition 22455 Beginning = 0 22456 Middle = 0 22457 End = 0 22458 OnlyOneSection = 0 22459 22460 # Enum QStyleOptionHeader.StyleOptionVersion 22461 Version = 0 22462 22463 # Enum QStyleOptionHeader.StyleOptionType 22464 Type = 0 22465 22466 icon = None # QIcon - member 22467 iconAlignment = None # Qt.Alignment - member 22468 orientation = None # Qt.Orientation - member 22469 position = None # QStyleOptionHeader.SectionPosition - member 22470 section = None # int - member 22471 selectedPosition = None # QStyleOptionHeader.SelectedPosition - member 22472 sortIndicator = None # QStyleOptionHeader.SortIndicator - member 22473 text = None # QString - member 22474 textAlignment = None # Qt.Alignment - member 22475 def __init__(self): 22476 '''void QStyleOptionHeader.__init__()''' 22477 def __init__(self, other): 22478 '''void QStyleOptionHeader.__init__(QStyleOptionHeader other)''' 22479 22480 22481 class QStyleOptionButton(QStyleOption): 22482 """""" 22483 # Enum QStyleOptionButton.ButtonFeature 22484 __kdevpythondocumentation_builtin_None = 0 22485 Flat = 0 22486 HasMenu = 0 22487 DefaultButton = 0 22488 AutoDefaultButton = 0 22489 CommandLinkButton = 0 22490 22491 # Enum QStyleOptionButton.StyleOptionVersion 22492 Version = 0 22493 22494 # Enum QStyleOptionButton.StyleOptionType 22495 Type = 0 22496 22497 features = None # QStyleOptionButton.ButtonFeatures - member 22498 icon = None # QIcon - member 22499 iconSize = None # QSize - member 22500 text = None # QString - member 22501 def __init__(self): 22502 '''void QStyleOptionButton.__init__()''' 22503 def __init__(self, other): 22504 '''void QStyleOptionButton.__init__(QStyleOptionButton other)''' 22505 class ButtonFeatures(): 22506 """""" 22507 def __init__(self): 22508 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__init__()''' 22509 return QStyleOptionButton.ButtonFeatures() 22510 def __init__(self): 22511 '''int QStyleOptionButton.ButtonFeatures.__init__()''' 22512 return int() 22513 def __init__(self): 22514 '''void QStyleOptionButton.ButtonFeatures.__init__()''' 22515 def __bool__(self): 22516 '''int QStyleOptionButton.ButtonFeatures.__bool__()''' 22517 return int() 22518 def __ne__(self, f): 22519 '''bool QStyleOptionButton.ButtonFeatures.__ne__(QStyleOptionButton.ButtonFeatures f)''' 22520 return bool() 22521 def __eq__(self, f): 22522 '''bool QStyleOptionButton.ButtonFeatures.__eq__(QStyleOptionButton.ButtonFeatures f)''' 22523 return bool() 22524 def __invert__(self): 22525 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__invert__()''' 22526 return QStyleOptionButton.ButtonFeatures() 22527 def __and__(self, mask): 22528 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__and__(int mask)''' 22529 return QStyleOptionButton.ButtonFeatures() 22530 def __xor__(self, f): 22531 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__xor__(QStyleOptionButton.ButtonFeatures f)''' 22532 return QStyleOptionButton.ButtonFeatures() 22533 def __xor__(self, f): 22534 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__xor__(int f)''' 22535 return QStyleOptionButton.ButtonFeatures() 22536 def __or__(self, f): 22537 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__or__(QStyleOptionButton.ButtonFeatures f)''' 22538 return QStyleOptionButton.ButtonFeatures() 22539 def __or__(self, f): 22540 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__or__(int f)''' 22541 return QStyleOptionButton.ButtonFeatures() 22542 def __int__(self): 22543 '''int QStyleOptionButton.ButtonFeatures.__int__()''' 22544 return int() 22545 def __ixor__(self, f): 22546 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__ixor__(QStyleOptionButton.ButtonFeatures f)''' 22547 return QStyleOptionButton.ButtonFeatures() 22548 def __ior__(self, f): 22549 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__ior__(QStyleOptionButton.ButtonFeatures f)''' 22550 return QStyleOptionButton.ButtonFeatures() 22551 def __iand__(self, mask): 22552 '''QStyleOptionButton.ButtonFeatures QStyleOptionButton.ButtonFeatures.__iand__(int mask)''' 22553 return QStyleOptionButton.ButtonFeatures() 22554 22555 22556 class QStyleOptionTab(QStyleOption): 22557 """""" 22558 # Enum QStyleOptionTab.CornerWidget 22559 NoCornerWidgets = 0 22560 LeftCornerWidget = 0 22561 RightCornerWidget = 0 22562 22563 # Enum QStyleOptionTab.SelectedPosition 22564 NotAdjacent = 0 22565 NextIsSelected = 0 22566 PreviousIsSelected = 0 22567 22568 # Enum QStyleOptionTab.TabPosition 22569 Beginning = 0 22570 Middle = 0 22571 End = 0 22572 OnlyOneTab = 0 22573 22574 # Enum QStyleOptionTab.StyleOptionVersion 22575 Version = 0 22576 22577 # Enum QStyleOptionTab.StyleOptionType 22578 Type = 0 22579 22580 cornerWidgets = None # QStyleOptionTab.CornerWidgets - member 22581 icon = None # QIcon - member 22582 position = None # QStyleOptionTab.TabPosition - member 22583 row = None # int - member 22584 selectedPosition = None # QStyleOptionTab.SelectedPosition - member 22585 shape = None # QTabBar.Shape - member 22586 text = None # QString - member 22587 def __init__(self): 22588 '''void QStyleOptionTab.__init__()''' 22589 def __init__(self, other): 22590 '''void QStyleOptionTab.__init__(QStyleOptionTab other)''' 22591 class CornerWidgets(): 22592 """""" 22593 def __init__(self): 22594 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__init__()''' 22595 return QStyleOptionTab.CornerWidgets() 22596 def __init__(self): 22597 '''int QStyleOptionTab.CornerWidgets.__init__()''' 22598 return int() 22599 def __init__(self): 22600 '''void QStyleOptionTab.CornerWidgets.__init__()''' 22601 def __bool__(self): 22602 '''int QStyleOptionTab.CornerWidgets.__bool__()''' 22603 return int() 22604 def __ne__(self, f): 22605 '''bool QStyleOptionTab.CornerWidgets.__ne__(QStyleOptionTab.CornerWidgets f)''' 22606 return bool() 22607 def __eq__(self, f): 22608 '''bool QStyleOptionTab.CornerWidgets.__eq__(QStyleOptionTab.CornerWidgets f)''' 22609 return bool() 22610 def __invert__(self): 22611 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__invert__()''' 22612 return QStyleOptionTab.CornerWidgets() 22613 def __and__(self, mask): 22614 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__and__(int mask)''' 22615 return QStyleOptionTab.CornerWidgets() 22616 def __xor__(self, f): 22617 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__xor__(QStyleOptionTab.CornerWidgets f)''' 22618 return QStyleOptionTab.CornerWidgets() 22619 def __xor__(self, f): 22620 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__xor__(int f)''' 22621 return QStyleOptionTab.CornerWidgets() 22622 def __or__(self, f): 22623 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__or__(QStyleOptionTab.CornerWidgets f)''' 22624 return QStyleOptionTab.CornerWidgets() 22625 def __or__(self, f): 22626 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__or__(int f)''' 22627 return QStyleOptionTab.CornerWidgets() 22628 def __int__(self): 22629 '''int QStyleOptionTab.CornerWidgets.__int__()''' 22630 return int() 22631 def __ixor__(self, f): 22632 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__ixor__(QStyleOptionTab.CornerWidgets f)''' 22633 return QStyleOptionTab.CornerWidgets() 22634 def __ior__(self, f): 22635 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__ior__(QStyleOptionTab.CornerWidgets f)''' 22636 return QStyleOptionTab.CornerWidgets() 22637 def __iand__(self, mask): 22638 '''QStyleOptionTab.CornerWidgets QStyleOptionTab.CornerWidgets.__iand__(int mask)''' 22639 return QStyleOptionTab.CornerWidgets() 22640 22641 22642 class QStyleOptionTabV2(QStyleOptionTab): 22643 """""" 22644 # Enum QStyleOptionTabV2.StyleOptionVersion 22645 Version = 0 22646 22647 iconSize = None # QSize - member 22648 def __init__(self): 22649 '''void QStyleOptionTabV2.__init__()''' 22650 def __init__(self, other): 22651 '''void QStyleOptionTabV2.__init__(QStyleOptionTabV2 other)''' 22652 def __init__(self, other): 22653 '''void QStyleOptionTabV2.__init__(QStyleOptionTab other)''' 22654 22655 22656 class QStyleOptionProgressBar(QStyleOption): 22657 """""" 22658 # Enum QStyleOptionProgressBar.StyleOptionVersion 22659 Version = 0 22660 22661 # Enum QStyleOptionProgressBar.StyleOptionType 22662 Type = 0 22663 22664 maximum = None # int - member 22665 minimum = None # int - member 22666 progress = None # int - member 22667 text = None # QString - member 22668 textAlignment = None # Qt.Alignment - member 22669 textVisible = None # bool - member 22670 def __init__(self): 22671 '''void QStyleOptionProgressBar.__init__()''' 22672 def __init__(self, other): 22673 '''void QStyleOptionProgressBar.__init__(QStyleOptionProgressBar other)''' 22674 22675 22676 class QStyleOptionProgressBarV2(QStyleOptionProgressBar): 22677 """""" 22678 # Enum QStyleOptionProgressBarV2.StyleOptionVersion 22679 Version = 0 22680 22681 # Enum QStyleOptionProgressBarV2.StyleOptionType 22682 Type = 0 22683 22684 bottomToTop = None # bool - member 22685 invertedAppearance = None # bool - member 22686 orientation = None # Qt.Orientation - member 22687 def __init__(self): 22688 '''void QStyleOptionProgressBarV2.__init__()''' 22689 def __init__(self, other): 22690 '''void QStyleOptionProgressBarV2.__init__(QStyleOptionProgressBar other)''' 22691 def __init__(self, other): 22692 '''void QStyleOptionProgressBarV2.__init__(QStyleOptionProgressBarV2 other)''' 22693 22694 22695 class QStyleOptionMenuItem(QStyleOption): 22696 """""" 22697 # Enum QStyleOptionMenuItem.CheckType 22698 NotCheckable = 0 22699 Exclusive = 0 22700 NonExclusive = 0 22701 22702 # Enum QStyleOptionMenuItem.MenuItemType 22703 Normal = 0 22704 DefaultItem = 0 22705 Separator = 0 22706 SubMenu = 0 22707 Scroller = 0 22708 TearOff = 0 22709 Margin = 0 22710 EmptyArea = 0 22711 22712 # Enum QStyleOptionMenuItem.StyleOptionVersion 22713 Version = 0 22714 22715 # Enum QStyleOptionMenuItem.StyleOptionType 22716 Type = 0 22717 22718 checkType = None # QStyleOptionMenuItem.CheckType - member 22719 checked = None # bool - member 22720 font = None # QFont - member 22721 icon = None # QIcon - member 22722 maxIconWidth = None # int - member 22723 menuHasCheckableItems = None # bool - member 22724 menuItemType = None # QStyleOptionMenuItem.MenuItemType - member 22725 menuRect = None # QRect - member 22726 tabWidth = None # int - member 22727 text = None # QString - member 22728 def __init__(self): 22729 '''void QStyleOptionMenuItem.__init__()''' 22730 def __init__(self, other): 22731 '''void QStyleOptionMenuItem.__init__(QStyleOptionMenuItem other)''' 22732 22733 22734 class QStyleOptionDockWidget(QStyleOption): 22735 """""" 22736 # Enum QStyleOptionDockWidget.StyleOptionVersion 22737 Version = 0 22738 22739 # Enum QStyleOptionDockWidget.StyleOptionType 22740 Type = 0 22741 22742 closable = None # bool - member 22743 floatable = None # bool - member 22744 movable = None # bool - member 22745 title = None # QString - member 22746 def __init__(self): 22747 '''void QStyleOptionDockWidget.__init__()''' 22748 def __init__(self, other): 22749 '''void QStyleOptionDockWidget.__init__(QStyleOptionDockWidget other)''' 22750 22751 22752 class QStyleOptionViewItem(QStyleOption): 22753 """""" 22754 # Enum QStyleOptionViewItem.Position 22755 Left = 0 22756 Right = 0 22757 Top = 0 22758 Bottom = 0 22759 22760 # Enum QStyleOptionViewItem.StyleOptionVersion 22761 Version = 0 22762 22763 # Enum QStyleOptionViewItem.StyleOptionType 22764 Type = 0 22765 22766 decorationAlignment = None # Qt.Alignment - member 22767 decorationPosition = None # QStyleOptionViewItem.Position - member 22768 decorationSize = None # QSize - member 22769 displayAlignment = None # Qt.Alignment - member 22770 font = None # QFont - member 22771 showDecorationSelected = None # bool - member 22772 textElideMode = None # Qt.TextElideMode - member 22773 def __init__(self): 22774 '''void QStyleOptionViewItem.__init__()''' 22775 def __init__(self, other): 22776 '''void QStyleOptionViewItem.__init__(QStyleOptionViewItem other)''' 22777 22778 22779 class QStyleOptionToolBox(QStyleOption): 22780 """""" 22781 # Enum QStyleOptionToolBox.StyleOptionVersion 22782 Version = 0 22783 22784 # Enum QStyleOptionToolBox.StyleOptionType 22785 Type = 0 22786 22787 icon = None # QIcon - member 22788 text = None # QString - member 22789 def __init__(self): 22790 '''void QStyleOptionToolBox.__init__()''' 22791 def __init__(self, other): 22792 '''void QStyleOptionToolBox.__init__(QStyleOptionToolBox other)''' 22793 22794 22795 class QStyleOptionRubberBand(QStyleOption): 22796 """""" 22797 # Enum QStyleOptionRubberBand.StyleOptionVersion 22798 Version = 0 22799 22800 # Enum QStyleOptionRubberBand.StyleOptionType 22801 Type = 0 22802 22803 opaque = None # bool - member 22804 shape = None # QRubberBand.Shape - member 22805 def __init__(self): 22806 '''void QStyleOptionRubberBand.__init__()''' 22807 def __init__(self, other): 22808 '''void QStyleOptionRubberBand.__init__(QStyleOptionRubberBand other)''' 22809 22810 22811 class QStyleOptionComplex(QStyleOption): 22812 """""" 22813 # Enum QStyleOptionComplex.StyleOptionVersion 22814 Version = 0 22815 22816 # Enum QStyleOptionComplex.StyleOptionType 22817 Type = 0 22818 22819 activeSubControls = None # QStyle.SubControls - member 22820 subControls = None # QStyle.SubControls - member 22821 def __init__(self, version = None, type = None): 22822 '''void QStyleOptionComplex.__init__(int version = QStyleOptionComplex.Version, int type = QStyleOption.SO_Complex)''' 22823 def __init__(self, other): 22824 '''void QStyleOptionComplex.__init__(QStyleOptionComplex other)''' 22825 22826 22827 class QStyleOptionSlider(QStyleOptionComplex): 22828 """""" 22829 # Enum QStyleOptionSlider.StyleOptionVersion 22830 Version = 0 22831 22832 # Enum QStyleOptionSlider.StyleOptionType 22833 Type = 0 22834 22835 dialWrapping = None # bool - member 22836 maximum = None # int - member 22837 minimum = None # int - member 22838 notchTarget = None # float - member 22839 orientation = None # Qt.Orientation - member 22840 pageStep = None # int - member 22841 singleStep = None # int - member 22842 sliderPosition = None # int - member 22843 sliderValue = None # int - member 22844 tickInterval = None # int - member 22845 tickPosition = None # QSlider.TickPosition - member 22846 upsideDown = None # bool - member 22847 def __init__(self): 22848 '''void QStyleOptionSlider.__init__()''' 22849 def __init__(self, other): 22850 '''void QStyleOptionSlider.__init__(QStyleOptionSlider other)''' 22851 22852 22853 class QStyleOptionSpinBox(QStyleOptionComplex): 22854 """""" 22855 # Enum QStyleOptionSpinBox.StyleOptionVersion 22856 Version = 0 22857 22858 # Enum QStyleOptionSpinBox.StyleOptionType 22859 Type = 0 22860 22861 buttonSymbols = None # QAbstractSpinBox.ButtonSymbols - member 22862 frame = None # bool - member 22863 stepEnabled = None # QAbstractSpinBox.StepEnabled - member 22864 def __init__(self): 22865 '''void QStyleOptionSpinBox.__init__()''' 22866 def __init__(self, other): 22867 '''void QStyleOptionSpinBox.__init__(QStyleOptionSpinBox other)''' 22868 22869 22870 class QStyleOptionToolButton(QStyleOptionComplex): 22871 """""" 22872 # Enum QStyleOptionToolButton.ToolButtonFeature 22873 __kdevpythondocumentation_builtin_None = 0 22874 Arrow = 0 22875 Menu = 0 22876 PopupDelay = 0 22877 MenuButtonPopup = 0 22878 HasMenu = 0 22879 22880 # Enum QStyleOptionToolButton.StyleOptionVersion 22881 Version = 0 22882 22883 # Enum QStyleOptionToolButton.StyleOptionType 22884 Type = 0 22885 22886 arrowType = None # Qt.ArrowType - member 22887 features = None # QStyleOptionToolButton.ToolButtonFeatures - member 22888 font = None # QFont - member 22889 icon = None # QIcon - member 22890 iconSize = None # QSize - member 22891 pos = None # QPoint - member 22892 text = None # QString - member 22893 toolButtonStyle = None # Qt.ToolButtonStyle - member 22894 def __init__(self): 22895 '''void QStyleOptionToolButton.__init__()''' 22896 def __init__(self, other): 22897 '''void QStyleOptionToolButton.__init__(QStyleOptionToolButton other)''' 22898 class ToolButtonFeatures(): 22899 """""" 22900 def __init__(self): 22901 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__init__()''' 22902 return QStyleOptionToolButton.ToolButtonFeatures() 22903 def __init__(self): 22904 '''int QStyleOptionToolButton.ToolButtonFeatures.__init__()''' 22905 return int() 22906 def __init__(self): 22907 '''void QStyleOptionToolButton.ToolButtonFeatures.__init__()''' 22908 def __bool__(self): 22909 '''int QStyleOptionToolButton.ToolButtonFeatures.__bool__()''' 22910 return int() 22911 def __ne__(self, f): 22912 '''bool QStyleOptionToolButton.ToolButtonFeatures.__ne__(QStyleOptionToolButton.ToolButtonFeatures f)''' 22913 return bool() 22914 def __eq__(self, f): 22915 '''bool QStyleOptionToolButton.ToolButtonFeatures.__eq__(QStyleOptionToolButton.ToolButtonFeatures f)''' 22916 return bool() 22917 def __invert__(self): 22918 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__invert__()''' 22919 return QStyleOptionToolButton.ToolButtonFeatures() 22920 def __and__(self, mask): 22921 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__and__(int mask)''' 22922 return QStyleOptionToolButton.ToolButtonFeatures() 22923 def __xor__(self, f): 22924 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__xor__(QStyleOptionToolButton.ToolButtonFeatures f)''' 22925 return QStyleOptionToolButton.ToolButtonFeatures() 22926 def __xor__(self, f): 22927 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__xor__(int f)''' 22928 return QStyleOptionToolButton.ToolButtonFeatures() 22929 def __or__(self, f): 22930 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__or__(QStyleOptionToolButton.ToolButtonFeatures f)''' 22931 return QStyleOptionToolButton.ToolButtonFeatures() 22932 def __or__(self, f): 22933 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__or__(int f)''' 22934 return QStyleOptionToolButton.ToolButtonFeatures() 22935 def __int__(self): 22936 '''int QStyleOptionToolButton.ToolButtonFeatures.__int__()''' 22937 return int() 22938 def __ixor__(self, f): 22939 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__ixor__(QStyleOptionToolButton.ToolButtonFeatures f)''' 22940 return QStyleOptionToolButton.ToolButtonFeatures() 22941 def __ior__(self, f): 22942 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__ior__(QStyleOptionToolButton.ToolButtonFeatures f)''' 22943 return QStyleOptionToolButton.ToolButtonFeatures() 22944 def __iand__(self, mask): 22945 '''QStyleOptionToolButton.ToolButtonFeatures QStyleOptionToolButton.ToolButtonFeatures.__iand__(int mask)''' 22946 return QStyleOptionToolButton.ToolButtonFeatures() 22947 22948 22949 class QStyleOptionComboBox(QStyleOptionComplex): 22950 """""" 22951 # Enum QStyleOptionComboBox.StyleOptionVersion 22952 Version = 0 22953 22954 # Enum QStyleOptionComboBox.StyleOptionType 22955 Type = 0 22956 22957 currentIcon = None # QIcon - member 22958 currentText = None # QString - member 22959 editable = None # bool - member 22960 frame = None # bool - member 22961 iconSize = None # QSize - member 22962 popupRect = None # QRect - member 22963 def __init__(self): 22964 '''void QStyleOptionComboBox.__init__()''' 22965 def __init__(self, other): 22966 '''void QStyleOptionComboBox.__init__(QStyleOptionComboBox other)''' 22967 22968 22969 class QStyleOptionTitleBar(QStyleOptionComplex): 22970 """""" 22971 # Enum QStyleOptionTitleBar.StyleOptionVersion 22972 Version = 0 22973 22974 # Enum QStyleOptionTitleBar.StyleOptionType 22975 Type = 0 22976 22977 icon = None # QIcon - member 22978 text = None # QString - member 22979 titleBarFlags = None # Qt.WindowFlags - member 22980 titleBarState = None # int - member 22981 def __init__(self): 22982 '''void QStyleOptionTitleBar.__init__()''' 22983 def __init__(self, other): 22984 '''void QStyleOptionTitleBar.__init__(QStyleOptionTitleBar other)''' 22985 22986 22987 class QStyleHintReturn(): 22988 """""" 22989 # Enum QStyleHintReturn.StyleOptionVersion 22990 Version = 0 22991 22992 # Enum QStyleHintReturn.StyleOptionType 22993 Type = 0 22994 22995 # Enum QStyleHintReturn.HintReturnType 22996 SH_Default = 0 22997 SH_Mask = 0 22998 SH_Variant = 0 22999 23000 type = None # int - member 23001 version = None # int - member 23002 def __init__(self, version = None, type = None): 23003 '''void QStyleHintReturn.__init__(int version = QStyleOption.Version, int type = QStyleHintReturn.SH_Default)''' 23004 def __init__(self): 23005 '''QStyleHintReturn QStyleHintReturn.__init__()''' 23006 return QStyleHintReturn() 23007 23008 23009 class QStyleHintReturnMask(QStyleHintReturn): 23010 """""" 23011 # Enum QStyleHintReturnMask.StyleOptionVersion 23012 Version = 0 23013 23014 # Enum QStyleHintReturnMask.StyleOptionType 23015 Type = 0 23016 23017 region = None # QRegion - member 23018 def __init__(self): 23019 '''void QStyleHintReturnMask.__init__()''' 23020 def __init__(self): 23021 '''QStyleHintReturnMask QStyleHintReturnMask.__init__()''' 23022 return QStyleHintReturnMask() 23023 23024 23025 class QStyleOptionToolBar(QStyleOption): 23026 """""" 23027 # Enum QStyleOptionToolBar.ToolBarFeature 23028 __kdevpythondocumentation_builtin_None = 0 23029 Movable = 0 23030 23031 # Enum QStyleOptionToolBar.ToolBarPosition 23032 Beginning = 0 23033 Middle = 0 23034 End = 0 23035 OnlyOne = 0 23036 23037 # Enum QStyleOptionToolBar.StyleOptionVersion 23038 Version = 0 23039 23040 # Enum QStyleOptionToolBar.StyleOptionType 23041 Type = 0 23042 23043 features = None # QStyleOptionToolBar.ToolBarFeatures - member 23044 lineWidth = None # int - member 23045 midLineWidth = None # int - member 23046 positionOfLine = None # QStyleOptionToolBar.ToolBarPosition - member 23047 positionWithinLine = None # QStyleOptionToolBar.ToolBarPosition - member 23048 toolBarArea = None # Qt.ToolBarArea - member 23049 def __init__(self): 23050 '''void QStyleOptionToolBar.__init__()''' 23051 def __init__(self, other): 23052 '''void QStyleOptionToolBar.__init__(QStyleOptionToolBar other)''' 23053 class ToolBarFeatures(): 23054 """""" 23055 def __init__(self): 23056 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__init__()''' 23057 return QStyleOptionToolBar.ToolBarFeatures() 23058 def __init__(self): 23059 '''int QStyleOptionToolBar.ToolBarFeatures.__init__()''' 23060 return int() 23061 def __init__(self): 23062 '''void QStyleOptionToolBar.ToolBarFeatures.__init__()''' 23063 def __bool__(self): 23064 '''int QStyleOptionToolBar.ToolBarFeatures.__bool__()''' 23065 return int() 23066 def __ne__(self, f): 23067 '''bool QStyleOptionToolBar.ToolBarFeatures.__ne__(QStyleOptionToolBar.ToolBarFeatures f)''' 23068 return bool() 23069 def __eq__(self, f): 23070 '''bool QStyleOptionToolBar.ToolBarFeatures.__eq__(QStyleOptionToolBar.ToolBarFeatures f)''' 23071 return bool() 23072 def __invert__(self): 23073 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__invert__()''' 23074 return QStyleOptionToolBar.ToolBarFeatures() 23075 def __and__(self, mask): 23076 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__and__(int mask)''' 23077 return QStyleOptionToolBar.ToolBarFeatures() 23078 def __xor__(self, f): 23079 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__xor__(QStyleOptionToolBar.ToolBarFeatures f)''' 23080 return QStyleOptionToolBar.ToolBarFeatures() 23081 def __xor__(self, f): 23082 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__xor__(int f)''' 23083 return QStyleOptionToolBar.ToolBarFeatures() 23084 def __or__(self, f): 23085 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__or__(QStyleOptionToolBar.ToolBarFeatures f)''' 23086 return QStyleOptionToolBar.ToolBarFeatures() 23087 def __or__(self, f): 23088 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__or__(int f)''' 23089 return QStyleOptionToolBar.ToolBarFeatures() 23090 def __int__(self): 23091 '''int QStyleOptionToolBar.ToolBarFeatures.__int__()''' 23092 return int() 23093 def __ixor__(self, f): 23094 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__ixor__(QStyleOptionToolBar.ToolBarFeatures f)''' 23095 return QStyleOptionToolBar.ToolBarFeatures() 23096 def __ior__(self, f): 23097 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__ior__(QStyleOptionToolBar.ToolBarFeatures f)''' 23098 return QStyleOptionToolBar.ToolBarFeatures() 23099 def __iand__(self, mask): 23100 '''QStyleOptionToolBar.ToolBarFeatures QStyleOptionToolBar.ToolBarFeatures.__iand__(int mask)''' 23101 return QStyleOptionToolBar.ToolBarFeatures() 23102 23103 23104 class QStyleOptionGroupBox(QStyleOptionComplex): 23105 """""" 23106 # Enum QStyleOptionGroupBox.StyleOptionVersion 23107 Version = 0 23108 23109 # Enum QStyleOptionGroupBox.StyleOptionType 23110 Type = 0 23111 23112 features = None # QStyleOptionFrameV2.FrameFeatures - member 23113 lineWidth = None # int - member 23114 midLineWidth = None # int - member 23115 text = None # QString - member 23116 textAlignment = None # Qt.Alignment - member 23117 textColor = None # QColor - member 23118 def __init__(self): 23119 '''void QStyleOptionGroupBox.__init__()''' 23120 def __init__(self, other): 23121 '''void QStyleOptionGroupBox.__init__(QStyleOptionGroupBox other)''' 23122 23123 23124 class QStyleOptionViewItemV2(QStyleOptionViewItem): 23125 """""" 23126 # Enum QStyleOptionViewItemV2.ViewItemFeature 23127 __kdevpythondocumentation_builtin_None = 0 23128 WrapText = 0 23129 Alternate = 0 23130 HasCheckIndicator = 0 23131 HasDisplay = 0 23132 HasDecoration = 0 23133 23134 # Enum QStyleOptionViewItemV2.StyleOptionVersion 23135 Version = 0 23136 23137 features = None # QStyleOptionViewItemV2.ViewItemFeatures - member 23138 def __init__(self): 23139 '''void QStyleOptionViewItemV2.__init__()''' 23140 def __init__(self, other): 23141 '''void QStyleOptionViewItemV2.__init__(QStyleOptionViewItemV2 other)''' 23142 def __init__(self, other): 23143 '''void QStyleOptionViewItemV2.__init__(QStyleOptionViewItem other)''' 23144 class ViewItemFeatures(): 23145 """""" 23146 def __init__(self): 23147 '''QStyleOptionViewItemV2.ViewItemFeatures QStyleOptionViewItemV2.ViewItemFeatures.__init__()''' 23148 return QStyleOptionViewItemV2.ViewItemFeatures() 23149 def __init__(self): 23150 '''int QStyleOptionViewItemV2.ViewItemFeatures.__init__()''' 23151 return int() 23152 def __init__(self): 23153 '''void QStyleOptionViewItemV2.ViewItemFeatures.__init__()''' 23154 def __bool__(self): 23155 '''int QStyleOptionViewItemV2.ViewItemFeatures.__bool__()''' 23156 return int() 23157 def __ne__(self, f): 23158 '''bool QStyleOptionViewItemV2.ViewItemFeatures.__ne__(QStyleOptionViewItemV2.ViewItemFeatures f)''' 23159 return bool() 23160 def __eq__(self, f): 23161 '''bool QStyleOptionViewItemV2.ViewItemFeatures.__eq__(QStyleOptionViewItemV2.ViewItemFeatures f)''' 23162 return bool() 23163 def __invert__(self): 23164 '''QStyleOptionViewItemV2.ViewItemFeatures QStyleOptionViewItemV2.ViewItemFeatures.__invert__()''' 23165 return QStyleOptionViewItemV2.ViewItemFeatures() 23166 def __and__(self, mask): 23167 '''QStyleOptionViewItemV2.ViewItemFeatures QStyleOptionViewItemV2.ViewItemFeatures.__and__(int mask)''' 23168 return QStyleOptionViewItemV2.ViewItemFeatures() 23169 def __xor__(self, f): 23170 '''QStyleOptionViewItemV2.ViewItemFeatures QStyleOptionViewItemV2.ViewItemFeatures.__xor__(QStyleOptionViewItemV2.ViewItemFeatures f)''' 23171 return QStyleOptionViewItemV2.ViewItemFeatures() 23172 def __xor__(self, f): 23173 '''QStyleOptionViewItemV2.ViewItemFeatures QStyleOptionViewItemV2.ViewItemFeatures.__xor__(int f)''' 23174 return QStyleOptionViewItemV2.ViewItemFeatures() 23175 def __or__(self, f): 23176 '''QStyleOptionViewItemV2.ViewItemFeatures QStyleOptionViewItemV2.ViewItemFeatures.__or__(QStyleOptionViewItemV2.ViewItemFeatures f)''' 23177 return QStyleOptionViewItemV2.ViewItemFeatures() 23178 def __or__(self, f): 23179 '''QStyleOptionViewItemV2.ViewItemFeatures QStyleOptionViewItemV2.ViewItemFeatures.__or__(int f)''' 23180 return QStyleOptionViewItemV2.ViewItemFeatures() 23181 def __int__(self): 23182 '''int QStyleOptionViewItemV2.ViewItemFeatures.__int__()''' 23183 return int() 23184 def __ixor__(self, f): 23185 '''QStyleOptionViewItemV2.ViewItemFeatures QStyleOptionViewItemV2.ViewItemFeatures.__ixor__(QStyleOptionViewItemV2.ViewItemFeatures f)''' 23186 return QStyleOptionViewItemV2.ViewItemFeatures() 23187 def __ior__(self, f): 23188 '''QStyleOptionViewItemV2.ViewItemFeatures QStyleOptionViewItemV2.ViewItemFeatures.__ior__(QStyleOptionViewItemV2.ViewItemFeatures f)''' 23189 return QStyleOptionViewItemV2.ViewItemFeatures() 23190 def __iand__(self, mask): 23191 '''QStyleOptionViewItemV2.ViewItemFeatures QStyleOptionViewItemV2.ViewItemFeatures.__iand__(int mask)''' 23192 return QStyleOptionViewItemV2.ViewItemFeatures() 23193 23194 23195 class QStyleOptionSizeGrip(QStyleOptionComplex): 23196 """""" 23197 # Enum QStyleOptionSizeGrip.StyleOptionVersion 23198 Version = 0 23199 23200 # Enum QStyleOptionSizeGrip.StyleOptionType 23201 Type = 0 23202 23203 corner = None # Qt.Corner - member 23204 def __init__(self): 23205 '''void QStyleOptionSizeGrip.__init__()''' 23206 def __init__(self, other): 23207 '''void QStyleOptionSizeGrip.__init__(QStyleOptionSizeGrip other)''' 23208 23209 23210 class QStyleOptionGraphicsItem(QStyleOption): 23211 """""" 23212 # Enum QStyleOptionGraphicsItem.StyleOptionVersion 23213 Version = 0 23214 23215 # Enum QStyleOptionGraphicsItem.StyleOptionType 23216 Type = 0 23217 23218 exposedRect = None # QRectF - member 23219 levelOfDetail = None # float - member 23220 matrix = None # QMatrix - member 23221 def __init__(self): 23222 '''void QStyleOptionGraphicsItem.__init__()''' 23223 def __init__(self, other): 23224 '''void QStyleOptionGraphicsItem.__init__(QStyleOptionGraphicsItem other)''' 23225 def levelOfDetailFromTransform(self, worldTransform): 23226 '''static float QStyleOptionGraphicsItem.levelOfDetailFromTransform(QTransform worldTransform)''' 23227 return float() 23228 23229 23230 class QStyleOptionDockWidgetV2(QStyleOptionDockWidget): 23231 """""" 23232 # Enum QStyleOptionDockWidgetV2.StyleOptionVersion 23233 Version = 0 23234 23235 verticalTitleBar = None # bool - member 23236 def __init__(self): 23237 '''void QStyleOptionDockWidgetV2.__init__()''' 23238 def __init__(self, other): 23239 '''void QStyleOptionDockWidgetV2.__init__(QStyleOptionDockWidgetV2 other)''' 23240 def __init__(self, other): 23241 '''void QStyleOptionDockWidgetV2.__init__(QStyleOptionDockWidget other)''' 23242 23243 23244 class QStyleOptionViewItemV3(QStyleOptionViewItemV2): 23245 """""" 23246 # Enum QStyleOptionViewItemV3.StyleOptionVersion 23247 Version = 0 23248 23249 locale = None # QLocale - member 23250 widget = None # QWidget - member 23251 def __init__(self): 23252 '''void QStyleOptionViewItemV3.__init__()''' 23253 def __init__(self, other): 23254 '''void QStyleOptionViewItemV3.__init__(QStyleOptionViewItemV3 other)''' 23255 def __init__(self, other): 23256 '''void QStyleOptionViewItemV3.__init__(QStyleOptionViewItem other)''' 23257 23258 23259 class QStyleOptionToolBoxV2(QStyleOptionToolBox): 23260 """""" 23261 # Enum QStyleOptionToolBoxV2.SelectedPosition 23262 NotAdjacent = 0 23263 NextIsSelected = 0 23264 PreviousIsSelected = 0 23265 23266 # Enum QStyleOptionToolBoxV2.TabPosition 23267 Beginning = 0 23268 Middle = 0 23269 End = 0 23270 OnlyOneTab = 0 23271 23272 # Enum QStyleOptionToolBoxV2.StyleOptionVersion 23273 Version = 0 23274 23275 position = None # QStyleOptionToolBoxV2.TabPosition - member 23276 selectedPosition = None # QStyleOptionToolBoxV2.SelectedPosition - member 23277 def __init__(self): 23278 '''void QStyleOptionToolBoxV2.__init__()''' 23279 def __init__(self, other): 23280 '''void QStyleOptionToolBoxV2.__init__(QStyleOptionToolBoxV2 other)''' 23281 def __init__(self, other): 23282 '''void QStyleOptionToolBoxV2.__init__(QStyleOptionToolBox other)''' 23283 23284 23285 class QStyleHintReturnVariant(QStyleHintReturn): 23286 """""" 23287 # Enum QStyleHintReturnVariant.StyleOptionVersion 23288 Version = 0 23289 23290 # Enum QStyleHintReturnVariant.StyleOptionType 23291 Type = 0 23292 23293 variant = None # QVariant - member 23294 def __init__(self): 23295 '''void QStyleHintReturnVariant.__init__()''' 23296 def __init__(self): 23297 '''QStyleHintReturnVariant QStyleHintReturnVariant.__init__()''' 23298 return QStyleHintReturnVariant() 23299 23300 23301 class QStyleOptionViewItemV4(QStyleOptionViewItemV3): 23302 """""" 23303 # Enum QStyleOptionViewItemV4.ViewItemPosition 23304 Invalid = 0 23305 Beginning = 0 23306 Middle = 0 23307 End = 0 23308 OnlyOne = 0 23309 23310 # Enum QStyleOptionViewItemV4.StyleOptionVersion 23311 Version = 0 23312 23313 backgroundBrush = None # QBrush - member 23314 checkState = None # Qt.CheckState - member 23315 icon = None # QIcon - member 23316 index = None # QModelIndex - member 23317 text = None # QString - member 23318 viewItemPosition = None # QStyleOptionViewItemV4.ViewItemPosition - member 23319 def __init__(self): 23320 '''void QStyleOptionViewItemV4.__init__()''' 23321 def __init__(self, other): 23322 '''void QStyleOptionViewItemV4.__init__(QStyleOptionViewItemV4 other)''' 23323 def __init__(self, other): 23324 '''void QStyleOptionViewItemV4.__init__(QStyleOptionViewItem other)''' 23325 23326 23327 class QStyleOptionFrameV3(QStyleOptionFrameV2): 23328 """""" 23329 # Enum QStyleOptionFrameV3.StyleOptionVersion 23330 Version = 0 23331 23332 frameShape = None # QFrame.Shape - member 23333 unused = None # int - member 23334 def __init__(self): 23335 '''void QStyleOptionFrameV3.__init__()''' 23336 def __init__(self, other): 23337 '''void QStyleOptionFrameV3.__init__(QStyleOptionFrameV3 other)''' 23338 def __init__(self, other): 23339 '''void QStyleOptionFrameV3.__init__(QStyleOptionFrame other)''' 23340 23341 23342 class QStyleOptionTabBarBaseV2(QStyleOptionTabBarBase): 23343 """""" 23344 # Enum QStyleOptionTabBarBaseV2.StyleOptionVersion 23345 Version = 0 23346 23347 documentMode = None # bool - member 23348 def __init__(self): 23349 '''void QStyleOptionTabBarBaseV2.__init__()''' 23350 def __init__(self, other): 23351 '''void QStyleOptionTabBarBaseV2.__init__(QStyleOptionTabBarBaseV2 other)''' 23352 def __init__(self, other): 23353 '''void QStyleOptionTabBarBaseV2.__init__(QStyleOptionTabBarBase other)''' 23354 23355 23356 class QStyleOptionTabV3(QStyleOptionTabV2): 23357 """""" 23358 # Enum QStyleOptionTabV3.StyleOptionVersion 23359 Version = 0 23360 23361 documentMode = None # bool - member 23362 leftButtonSize = None # QSize - member 23363 rightButtonSize = None # QSize - member 23364 def __init__(self): 23365 '''void QStyleOptionTabV3.__init__()''' 23366 def __init__(self, other): 23367 '''void QStyleOptionTabV3.__init__(QStyleOptionTabV3 other)''' 23368 def __init__(self, other): 23369 '''void QStyleOptionTabV3.__init__(QStyleOptionTabV2 other)''' 23370 def __init__(self, other): 23371 '''void QStyleOptionTabV3.__init__(QStyleOptionTab other)''' 23372 23373 23374 class QStyleOptionTabWidgetFrameV2(QStyleOptionTabWidgetFrame): 23375 """""" 23376 # Enum QStyleOptionTabWidgetFrameV2.StyleOptionVersion 23377 Version = 0 23378 23379 selectedTabRect = None # QRect - member 23380 tabBarRect = None # QRect - member 23381 def __init__(self): 23382 '''void QStyleOptionTabWidgetFrameV2.__init__()''' 23383 def __init__(self, other): 23384 '''void QStyleOptionTabWidgetFrameV2.__init__(QStyleOptionTabWidgetFrameV2 other)''' 23385 def __init__(self, other): 23386 '''void QStyleOptionTabWidgetFrameV2.__init__(QStyleOptionTabWidgetFrame other)''' 23387 23388 23389 class QStylePainter(QPainter): 23390 """""" 23391 def __init__(self): 23392 '''void QStylePainter.__init__()''' 23393 def __init__(self, w): 23394 '''void QStylePainter.__init__(QWidget w)''' 23395 def __init__(self, pd, w): 23396 '''void QStylePainter.__init__(QPaintDevice pd, QWidget w)''' 23397 def drawItemPixmap(self, r, flags, pixmap): 23398 '''void QStylePainter.drawItemPixmap(QRect r, int flags, QPixmap pixmap)''' 23399 def drawItemText(self, rect, flags, pal, enabled, text, textRole = None): 23400 '''void QStylePainter.drawItemText(QRect rect, int flags, QPalette pal, bool enabled, QString text, QPalette.ColorRole textRole = QPalette.NoRole)''' 23401 def drawComplexControl(self, cc, opt): 23402 '''void QStylePainter.drawComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt)''' 23403 def drawControl(self, ce, opt): 23404 '''void QStylePainter.drawControl(QStyle.ControlElement ce, QStyleOption opt)''' 23405 def drawPrimitive(self, pe, opt): 23406 '''void QStylePainter.drawPrimitive(QStyle.PrimitiveElement pe, QStyleOption opt)''' 23407 def style(self): 23408 '''QStyle QStylePainter.style()''' 23409 return QStyle() 23410 def begin(self, w): 23411 '''bool QStylePainter.begin(QWidget w)''' 23412 return bool() 23413 def begin(self, pd, w): 23414 '''bool QStylePainter.begin(QPaintDevice pd, QWidget w)''' 23415 return bool() 23416 23417 23418 class QSyntaxHighlighter(QObject): 23419 """""" 23420 def __init__(self, parent): 23421 '''void QSyntaxHighlighter.__init__(QTextEdit parent)''' 23422 def __init__(self, parent): 23423 '''void QSyntaxHighlighter.__init__(QTextDocument parent)''' 23424 def __init__(self, parent): 23425 '''void QSyntaxHighlighter.__init__(QObject parent)''' 23426 def currentBlock(self): 23427 '''QTextBlock QSyntaxHighlighter.currentBlock()''' 23428 return QTextBlock() 23429 def currentBlockUserData(self): 23430 '''QTextBlockUserData QSyntaxHighlighter.currentBlockUserData()''' 23431 return QTextBlockUserData() 23432 def setCurrentBlockUserData(self, data): 23433 '''void QSyntaxHighlighter.setCurrentBlockUserData(QTextBlockUserData data)''' 23434 def setCurrentBlockState(self, newState): 23435 '''void QSyntaxHighlighter.setCurrentBlockState(int newState)''' 23436 def currentBlockState(self): 23437 '''int QSyntaxHighlighter.currentBlockState()''' 23438 return int() 23439 def previousBlockState(self): 23440 '''int QSyntaxHighlighter.previousBlockState()''' 23441 return int() 23442 def format(self, pos): 23443 '''QTextCharFormat QSyntaxHighlighter.format(int pos)''' 23444 return QTextCharFormat() 23445 def setFormat(self, start, count, format): 23446 '''void QSyntaxHighlighter.setFormat(int start, int count, QTextCharFormat format)''' 23447 def setFormat(self, start, count, color): 23448 '''void QSyntaxHighlighter.setFormat(int start, int count, QColor color)''' 23449 def setFormat(self, start, count, font): 23450 '''void QSyntaxHighlighter.setFormat(int start, int count, QFont font)''' 23451 def highlightBlock(self, text): 23452 '''abstract void QSyntaxHighlighter.highlightBlock(QString text)''' 23453 def rehighlightBlock(self, block): 23454 '''void QSyntaxHighlighter.rehighlightBlock(QTextBlock block)''' 23455 def rehighlight(self): 23456 '''void QSyntaxHighlighter.rehighlight()''' 23457 def document(self): 23458 '''QTextDocument QSyntaxHighlighter.document()''' 23459 return QTextDocument() 23460 def setDocument(self, doc): 23461 '''void QSyntaxHighlighter.setDocument(QTextDocument doc)''' 23462 23463 23464 class QSystemTrayIcon(QObject): 23465 """""" 23466 # Enum QSystemTrayIcon.MessageIcon 23467 NoIcon = 0 23468 Information = 0 23469 Warning = 0 23470 Critical = 0 23471 23472 # Enum QSystemTrayIcon.ActivationReason 23473 Unknown = 0 23474 Context = 0 23475 DoubleClick = 0 23476 Trigger = 0 23477 MiddleClick = 0 23478 23479 def __init__(self, parent = None): 23480 '''void QSystemTrayIcon.__init__(QObject parent = None)''' 23481 def __init__(self, icon, parent = None): 23482 '''void QSystemTrayIcon.__init__(QIcon icon, QObject parent = None)''' 23483 def event(self, event): 23484 '''bool QSystemTrayIcon.event(QEvent event)''' 23485 return bool() 23486 messageClicked = pyqtSignal() # void messageClicked() - signal 23487 activated = pyqtSignal() # void activated(QSystemTrayIcon::ActivationReason) - signal 23488 def show(self): 23489 '''void QSystemTrayIcon.show()''' 23490 def setVisible(self, visible): 23491 '''void QSystemTrayIcon.setVisible(bool visible)''' 23492 def hide(self): 23493 '''void QSystemTrayIcon.hide()''' 23494 def isVisible(self): 23495 '''bool QSystemTrayIcon.isVisible()''' 23496 return bool() 23497 def showMessage(self, title, msg, icon = None, msecs = 10000): 23498 '''void QSystemTrayIcon.showMessage(QString title, QString msg, QSystemTrayIcon.MessageIcon icon = QSystemTrayIcon.Information, int msecs = 10000)''' 23499 def supportsMessages(self): 23500 '''static bool QSystemTrayIcon.supportsMessages()''' 23501 return bool() 23502 def isSystemTrayAvailable(self): 23503 '''static bool QSystemTrayIcon.isSystemTrayAvailable()''' 23504 return bool() 23505 def setToolTip(self, tip): 23506 '''void QSystemTrayIcon.setToolTip(QString tip)''' 23507 def toolTip(self): 23508 '''QString QSystemTrayIcon.toolTip()''' 23509 return QString() 23510 def setIcon(self, icon): 23511 '''void QSystemTrayIcon.setIcon(QIcon icon)''' 23512 def icon(self): 23513 '''QIcon QSystemTrayIcon.icon()''' 23514 return QIcon() 23515 def geometry(self): 23516 '''QRect QSystemTrayIcon.geometry()''' 23517 return QRect() 23518 def contextMenu(self): 23519 '''QMenu QSystemTrayIcon.contextMenu()''' 23520 return QMenu() 23521 def setContextMenu(self, menu): 23522 '''void QSystemTrayIcon.setContextMenu(QMenu menu)''' 23523 23524 23525 class QTabBar(QWidget): 23526 """""" 23527 # Enum QTabBar.SelectionBehavior 23528 SelectLeftTab = 0 23529 SelectRightTab = 0 23530 SelectPreviousTab = 0 23531 23532 # Enum QTabBar.ButtonPosition 23533 LeftSide = 0 23534 RightSide = 0 23535 23536 # Enum QTabBar.Shape 23537 RoundedNorth = 0 23538 RoundedSouth = 0 23539 RoundedWest = 0 23540 RoundedEast = 0 23541 TriangularNorth = 0 23542 TriangularSouth = 0 23543 TriangularWest = 0 23544 TriangularEast = 0 23545 23546 def __init__(self, parent = None): 23547 '''void QTabBar.__init__(QWidget parent = None)''' 23548 def wheelEvent(self, event): 23549 '''void QTabBar.wheelEvent(QWheelEvent event)''' 23550 def hideEvent(self): 23551 '''QHideEvent QTabBar.hideEvent()''' 23552 return QHideEvent() 23553 tabMoved = pyqtSignal() # void tabMoved(int,int) - signal 23554 tabCloseRequested = pyqtSignal() # void tabCloseRequested(int) - signal 23555 def setDocumentMode(self, set): 23556 '''void QTabBar.setDocumentMode(bool set)''' 23557 def documentMode(self): 23558 '''bool QTabBar.documentMode()''' 23559 return bool() 23560 def setMovable(self, movable): 23561 '''void QTabBar.setMovable(bool movable)''' 23562 def isMovable(self): 23563 '''bool QTabBar.isMovable()''' 23564 return bool() 23565 def setExpanding(self, enabled): 23566 '''void QTabBar.setExpanding(bool enabled)''' 23567 def expanding(self): 23568 '''bool QTabBar.expanding()''' 23569 return bool() 23570 def setSelectionBehaviorOnRemove(self, behavior): 23571 '''void QTabBar.setSelectionBehaviorOnRemove(QTabBar.SelectionBehavior behavior)''' 23572 def selectionBehaviorOnRemove(self): 23573 '''QTabBar.SelectionBehavior QTabBar.selectionBehaviorOnRemove()''' 23574 return QTabBar.SelectionBehavior() 23575 def tabButton(self, index, position): 23576 '''QWidget QTabBar.tabButton(int index, QTabBar.ButtonPosition position)''' 23577 return QWidget() 23578 def setTabButton(self, index, position, widget): 23579 '''void QTabBar.setTabButton(int index, QTabBar.ButtonPosition position, QWidget widget)''' 23580 def setTabsClosable(self, closable): 23581 '''void QTabBar.setTabsClosable(bool closable)''' 23582 def tabsClosable(self): 23583 '''bool QTabBar.tabsClosable()''' 23584 return bool() 23585 def moveTab(self, from_, to): 23586 '''void QTabBar.moveTab(int from, int to)''' 23587 def changeEvent(self): 23588 '''QEvent QTabBar.changeEvent()''' 23589 return QEvent() 23590 def keyPressEvent(self): 23591 '''QKeyEvent QTabBar.keyPressEvent()''' 23592 return QKeyEvent() 23593 def mouseReleaseEvent(self): 23594 '''QMouseEvent QTabBar.mouseReleaseEvent()''' 23595 return QMouseEvent() 23596 def mouseMoveEvent(self): 23597 '''QMouseEvent QTabBar.mouseMoveEvent()''' 23598 return QMouseEvent() 23599 def mousePressEvent(self): 23600 '''QMouseEvent QTabBar.mousePressEvent()''' 23601 return QMouseEvent() 23602 def paintEvent(self): 23603 '''QPaintEvent QTabBar.paintEvent()''' 23604 return QPaintEvent() 23605 def showEvent(self): 23606 '''QShowEvent QTabBar.showEvent()''' 23607 return QShowEvent() 23608 def resizeEvent(self): 23609 '''QResizeEvent QTabBar.resizeEvent()''' 23610 return QResizeEvent() 23611 def event(self): 23612 '''QEvent QTabBar.event()''' 23613 return QEvent() 23614 def tabLayoutChange(self): 23615 '''void QTabBar.tabLayoutChange()''' 23616 def tabRemoved(self, index): 23617 '''void QTabBar.tabRemoved(int index)''' 23618 def tabInserted(self, index): 23619 '''void QTabBar.tabInserted(int index)''' 23620 def tabSizeHint(self, index): 23621 '''QSize QTabBar.tabSizeHint(int index)''' 23622 return QSize() 23623 def initStyleOption(self, option, tabIndex): 23624 '''void QTabBar.initStyleOption(QStyleOptionTab option, int tabIndex)''' 23625 currentChanged = pyqtSignal() # void currentChanged(int) - signal 23626 def setCurrentIndex(self, index): 23627 '''void QTabBar.setCurrentIndex(int index)''' 23628 def usesScrollButtons(self): 23629 '''bool QTabBar.usesScrollButtons()''' 23630 return bool() 23631 def setUsesScrollButtons(self, useButtons): 23632 '''void QTabBar.setUsesScrollButtons(bool useButtons)''' 23633 def setElideMode(self): 23634 '''Qt.TextElideMode QTabBar.setElideMode()''' 23635 return Qt.TextElideMode() 23636 def elideMode(self): 23637 '''Qt.TextElideMode QTabBar.elideMode()''' 23638 return Qt.TextElideMode() 23639 def setIconSize(self, size): 23640 '''void QTabBar.setIconSize(QSize size)''' 23641 def iconSize(self): 23642 '''QSize QTabBar.iconSize()''' 23643 return QSize() 23644 def drawBase(self): 23645 '''bool QTabBar.drawBase()''' 23646 return bool() 23647 def setDrawBase(self, drawTheBase): 23648 '''void QTabBar.setDrawBase(bool drawTheBase)''' 23649 def minimumSizeHint(self): 23650 '''QSize QTabBar.minimumSizeHint()''' 23651 return QSize() 23652 def sizeHint(self): 23653 '''QSize QTabBar.sizeHint()''' 23654 return QSize() 23655 def __len__(self): 23656 '''None QTabBar.__len__()''' 23657 return None() 23658 def count(self): 23659 '''int QTabBar.count()''' 23660 return int() 23661 def currentIndex(self): 23662 '''int QTabBar.currentIndex()''' 23663 return int() 23664 def tabRect(self, index): 23665 '''QRect QTabBar.tabRect(int index)''' 23666 return QRect() 23667 def tabAt(self, pos): 23668 '''int QTabBar.tabAt(QPoint pos)''' 23669 return int() 23670 def tabData(self, index): 23671 '''QVariant QTabBar.tabData(int index)''' 23672 return QVariant() 23673 def setTabData(self, index, data): 23674 '''void QTabBar.setTabData(int index, QVariant data)''' 23675 def tabWhatsThis(self, index): 23676 '''QString QTabBar.tabWhatsThis(int index)''' 23677 return QString() 23678 def setTabWhatsThis(self, index, text): 23679 '''void QTabBar.setTabWhatsThis(int index, QString text)''' 23680 def tabToolTip(self, index): 23681 '''QString QTabBar.tabToolTip(int index)''' 23682 return QString() 23683 def setTabToolTip(self, index, tip): 23684 '''void QTabBar.setTabToolTip(int index, QString tip)''' 23685 def setTabIcon(self, index, icon): 23686 '''void QTabBar.setTabIcon(int index, QIcon icon)''' 23687 def tabIcon(self, index): 23688 '''QIcon QTabBar.tabIcon(int index)''' 23689 return QIcon() 23690 def setTabTextColor(self, index, color): 23691 '''void QTabBar.setTabTextColor(int index, QColor color)''' 23692 def tabTextColor(self, index): 23693 '''QColor QTabBar.tabTextColor(int index)''' 23694 return QColor() 23695 def setTabText(self, index, text): 23696 '''void QTabBar.setTabText(int index, QString text)''' 23697 def tabText(self, index): 23698 '''QString QTabBar.tabText(int index)''' 23699 return QString() 23700 def setTabEnabled(self, index): 23701 '''bool QTabBar.setTabEnabled(int index)''' 23702 return bool() 23703 def isTabEnabled(self, index): 23704 '''bool QTabBar.isTabEnabled(int index)''' 23705 return bool() 23706 def removeTab(self, index): 23707 '''void QTabBar.removeTab(int index)''' 23708 def insertTab(self, index, text): 23709 '''int QTabBar.insertTab(int index, QString text)''' 23710 return int() 23711 def insertTab(self, index, icon, text): 23712 '''int QTabBar.insertTab(int index, QIcon icon, QString text)''' 23713 return int() 23714 def addTab(self, text): 23715 '''int QTabBar.addTab(QString text)''' 23716 return int() 23717 def addTab(self, icon, text): 23718 '''int QTabBar.addTab(QIcon icon, QString text)''' 23719 return int() 23720 def setShape(self, shape): 23721 '''void QTabBar.setShape(QTabBar.Shape shape)''' 23722 def shape(self): 23723 '''QTabBar.Shape QTabBar.shape()''' 23724 return QTabBar.Shape() 23725 23726 23727 class QTableView(QAbstractItemView): 23728 """""" 23729 def __init__(self, parent = None): 23730 '''void QTableView.__init__(QWidget parent = None)''' 23731 def currentChanged(self, current, previous): 23732 '''void QTableView.currentChanged(QModelIndex current, QModelIndex previous)''' 23733 def selectionChanged(self, selected, deselected): 23734 '''void QTableView.selectionChanged(QItemSelection selected, QItemSelection deselected)''' 23735 def clearSpans(self): 23736 '''void QTableView.clearSpans()''' 23737 def isCornerButtonEnabled(self): 23738 '''bool QTableView.isCornerButtonEnabled()''' 23739 return bool() 23740 def setCornerButtonEnabled(self, enable): 23741 '''void QTableView.setCornerButtonEnabled(bool enable)''' 23742 def wordWrap(self): 23743 '''bool QTableView.wordWrap()''' 23744 return bool() 23745 def setWordWrap(self, on): 23746 '''void QTableView.setWordWrap(bool on)''' 23747 def columnSpan(self, row, column): 23748 '''int QTableView.columnSpan(int row, int column)''' 23749 return int() 23750 def rowSpan(self, row, column): 23751 '''int QTableView.rowSpan(int row, int column)''' 23752 return int() 23753 def setSpan(self, row, column, rowSpan, columnSpan): 23754 '''void QTableView.setSpan(int row, int column, int rowSpan, int columnSpan)''' 23755 def isSortingEnabled(self): 23756 '''bool QTableView.isSortingEnabled()''' 23757 return bool() 23758 def setSortingEnabled(self, enable): 23759 '''void QTableView.setSortingEnabled(bool enable)''' 23760 def isIndexHidden(self, index): 23761 '''bool QTableView.isIndexHidden(QModelIndex index)''' 23762 return bool() 23763 def horizontalScrollbarAction(self, action): 23764 '''void QTableView.horizontalScrollbarAction(int action)''' 23765 def verticalScrollbarAction(self, action): 23766 '''void QTableView.verticalScrollbarAction(int action)''' 23767 def sizeHintForColumn(self, column): 23768 '''int QTableView.sizeHintForColumn(int column)''' 23769 return int() 23770 def sizeHintForRow(self, row): 23771 '''int QTableView.sizeHintForRow(int row)''' 23772 return int() 23773 def updateGeometries(self): 23774 '''void QTableView.updateGeometries()''' 23775 def selectedIndexes(self): 23776 '''list-of-QModelIndex QTableView.selectedIndexes()''' 23777 return [QModelIndex()] 23778 def visualRegionForSelection(self, selection): 23779 '''QRegion QTableView.visualRegionForSelection(QItemSelection selection)''' 23780 return QRegion() 23781 def setSelection(self, rect, command): 23782 '''void QTableView.setSelection(QRect rect, QItemSelectionModel.SelectionFlags command)''' 23783 def moveCursor(self, cursorAction, modifiers): 23784 '''QModelIndex QTableView.moveCursor(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers)''' 23785 return QModelIndex() 23786 def verticalOffset(self): 23787 '''int QTableView.verticalOffset()''' 23788 return int() 23789 def horizontalOffset(self): 23790 '''int QTableView.horizontalOffset()''' 23791 return int() 23792 def timerEvent(self, event): 23793 '''void QTableView.timerEvent(QTimerEvent event)''' 23794 def paintEvent(self, e): 23795 '''void QTableView.paintEvent(QPaintEvent e)''' 23796 def viewOptions(self): 23797 '''QStyleOptionViewItem QTableView.viewOptions()''' 23798 return QStyleOptionViewItem() 23799 def scrollContentsBy(self, dx, dy): 23800 '''void QTableView.scrollContentsBy(int dx, int dy)''' 23801 def columnCountChanged(self, oldCount, newCount): 23802 '''void QTableView.columnCountChanged(int oldCount, int newCount)''' 23803 def rowCountChanged(self, oldCount, newCount): 23804 '''void QTableView.rowCountChanged(int oldCount, int newCount)''' 23805 def columnResized(self, column, oldWidth, newWidth): 23806 '''void QTableView.columnResized(int column, int oldWidth, int newWidth)''' 23807 def rowResized(self, row, oldHeight, newHeight): 23808 '''void QTableView.rowResized(int row, int oldHeight, int newHeight)''' 23809 def columnMoved(self, column, oldIndex, newIndex): 23810 '''void QTableView.columnMoved(int column, int oldIndex, int newIndex)''' 23811 def rowMoved(self, row, oldIndex, newIndex): 23812 '''void QTableView.rowMoved(int row, int oldIndex, int newIndex)''' 23813 def sortByColumn(self, column): 23814 '''void QTableView.sortByColumn(int column)''' 23815 def sortByColumn(self, column, order): 23816 '''void QTableView.sortByColumn(int column, Qt.SortOrder order)''' 23817 def resizeColumnsToContents(self): 23818 '''void QTableView.resizeColumnsToContents()''' 23819 def resizeColumnToContents(self, column): 23820 '''void QTableView.resizeColumnToContents(int column)''' 23821 def resizeRowsToContents(self): 23822 '''void QTableView.resizeRowsToContents()''' 23823 def resizeRowToContents(self, row): 23824 '''void QTableView.resizeRowToContents(int row)''' 23825 def showColumn(self, column): 23826 '''void QTableView.showColumn(int column)''' 23827 def showRow(self, row): 23828 '''void QTableView.showRow(int row)''' 23829 def hideColumn(self, column): 23830 '''void QTableView.hideColumn(int column)''' 23831 def hideRow(self, row): 23832 '''void QTableView.hideRow(int row)''' 23833 def selectColumn(self, column): 23834 '''void QTableView.selectColumn(int column)''' 23835 def selectRow(self, row): 23836 '''void QTableView.selectRow(int row)''' 23837 def indexAt(self, p): 23838 '''QModelIndex QTableView.indexAt(QPoint p)''' 23839 return QModelIndex() 23840 def scrollTo(self, index, hint = None): 23841 '''void QTableView.scrollTo(QModelIndex index, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 23842 def visualRect(self, index): 23843 '''QRect QTableView.visualRect(QModelIndex index)''' 23844 return QRect() 23845 def setGridStyle(self, style): 23846 '''void QTableView.setGridStyle(Qt.PenStyle style)''' 23847 def gridStyle(self): 23848 '''Qt.PenStyle QTableView.gridStyle()''' 23849 return Qt.PenStyle() 23850 def setShowGrid(self, show): 23851 '''void QTableView.setShowGrid(bool show)''' 23852 def showGrid(self): 23853 '''bool QTableView.showGrid()''' 23854 return bool() 23855 def setColumnHidden(self, column, hide): 23856 '''void QTableView.setColumnHidden(int column, bool hide)''' 23857 def isColumnHidden(self, column): 23858 '''bool QTableView.isColumnHidden(int column)''' 23859 return bool() 23860 def setRowHidden(self, row, hide): 23861 '''void QTableView.setRowHidden(int row, bool hide)''' 23862 def isRowHidden(self, row): 23863 '''bool QTableView.isRowHidden(int row)''' 23864 return bool() 23865 def columnAt(self, x): 23866 '''int QTableView.columnAt(int x)''' 23867 return int() 23868 def columnWidth(self, column): 23869 '''int QTableView.columnWidth(int column)''' 23870 return int() 23871 def setColumnWidth(self, column, width): 23872 '''void QTableView.setColumnWidth(int column, int width)''' 23873 def columnViewportPosition(self, column): 23874 '''int QTableView.columnViewportPosition(int column)''' 23875 return int() 23876 def rowAt(self, y): 23877 '''int QTableView.rowAt(int y)''' 23878 return int() 23879 def rowHeight(self, row): 23880 '''int QTableView.rowHeight(int row)''' 23881 return int() 23882 def setRowHeight(self, row, height): 23883 '''void QTableView.setRowHeight(int row, int height)''' 23884 def rowViewportPosition(self, row): 23885 '''int QTableView.rowViewportPosition(int row)''' 23886 return int() 23887 def setVerticalHeader(self, header): 23888 '''void QTableView.setVerticalHeader(QHeaderView header)''' 23889 def setHorizontalHeader(self, header): 23890 '''void QTableView.setHorizontalHeader(QHeaderView header)''' 23891 def verticalHeader(self): 23892 '''QHeaderView QTableView.verticalHeader()''' 23893 return QHeaderView() 23894 def horizontalHeader(self): 23895 '''QHeaderView QTableView.horizontalHeader()''' 23896 return QHeaderView() 23897 def setSelectionModel(self, selectionModel): 23898 '''void QTableView.setSelectionModel(QItemSelectionModel selectionModel)''' 23899 def setRootIndex(self, index): 23900 '''void QTableView.setRootIndex(QModelIndex index)''' 23901 def setModel(self, model): 23902 '''void QTableView.setModel(QAbstractItemModel model)''' 23903 23904 23905 class QTableWidgetSelectionRange(): 23906 """""" 23907 def __init__(self): 23908 '''void QTableWidgetSelectionRange.__init__()''' 23909 def __init__(self, top, left, bottom, right): 23910 '''void QTableWidgetSelectionRange.__init__(int top, int left, int bottom, int right)''' 23911 def __init__(self, other): 23912 '''void QTableWidgetSelectionRange.__init__(QTableWidgetSelectionRange other)''' 23913 def columnCount(self): 23914 '''int QTableWidgetSelectionRange.columnCount()''' 23915 return int() 23916 def rowCount(self): 23917 '''int QTableWidgetSelectionRange.rowCount()''' 23918 return int() 23919 def rightColumn(self): 23920 '''int QTableWidgetSelectionRange.rightColumn()''' 23921 return int() 23922 def leftColumn(self): 23923 '''int QTableWidgetSelectionRange.leftColumn()''' 23924 return int() 23925 def bottomRow(self): 23926 '''int QTableWidgetSelectionRange.bottomRow()''' 23927 return int() 23928 def topRow(self): 23929 '''int QTableWidgetSelectionRange.topRow()''' 23930 return int() 23931 23932 23933 class QTableWidgetItem(): 23934 """""" 23935 # Enum QTableWidgetItem.ItemType 23936 Type = 0 23937 UserType = 0 23938 23939 def __init__(self, type = None): 23940 '''void QTableWidgetItem.__init__(int type = QTableWidgetItem.Type)''' 23941 def __init__(self, text, type = None): 23942 '''void QTableWidgetItem.__init__(QString text, int type = QTableWidgetItem.Type)''' 23943 def __init__(self, icon, text, type = None): 23944 '''void QTableWidgetItem.__init__(QIcon icon, QString text, int type = QTableWidgetItem.Type)''' 23945 def __init__(self, other): 23946 '''void QTableWidgetItem.__init__(QTableWidgetItem other)''' 23947 def __ge__(self, other): 23948 '''bool QTableWidgetItem.__ge__(QTableWidgetItem other)''' 23949 return bool() 23950 def isSelected(self): 23951 '''bool QTableWidgetItem.isSelected()''' 23952 return bool() 23953 def setSelected(self, aselect): 23954 '''void QTableWidgetItem.setSelected(bool aselect)''' 23955 def column(self): 23956 '''int QTableWidgetItem.column()''' 23957 return int() 23958 def row(self): 23959 '''int QTableWidgetItem.row()''' 23960 return int() 23961 def setForeground(self, brush): 23962 '''void QTableWidgetItem.setForeground(QBrush brush)''' 23963 def foreground(self): 23964 '''QBrush QTableWidgetItem.foreground()''' 23965 return QBrush() 23966 def setBackground(self, brush): 23967 '''void QTableWidgetItem.setBackground(QBrush brush)''' 23968 def background(self): 23969 '''QBrush QTableWidgetItem.background()''' 23970 return QBrush() 23971 def setSizeHint(self, size): 23972 '''void QTableWidgetItem.setSizeHint(QSize size)''' 23973 def sizeHint(self): 23974 '''QSize QTableWidgetItem.sizeHint()''' 23975 return QSize() 23976 def setFont(self, afont): 23977 '''void QTableWidgetItem.setFont(QFont afont)''' 23978 def setWhatsThis(self, awhatsThis): 23979 '''void QTableWidgetItem.setWhatsThis(QString awhatsThis)''' 23980 def setToolTip(self, atoolTip): 23981 '''void QTableWidgetItem.setToolTip(QString atoolTip)''' 23982 def setStatusTip(self, astatusTip): 23983 '''void QTableWidgetItem.setStatusTip(QString astatusTip)''' 23984 def setIcon(self, aicon): 23985 '''void QTableWidgetItem.setIcon(QIcon aicon)''' 23986 def setText(self, atext): 23987 '''void QTableWidgetItem.setText(QString atext)''' 23988 def setFlags(self, aflags): 23989 '''void QTableWidgetItem.setFlags(Qt.ItemFlags aflags)''' 23990 def type(self): 23991 '''int QTableWidgetItem.type()''' 23992 return int() 23993 def write(self, out): 23994 '''void QTableWidgetItem.write(QDataStream out)''' 23995 def read(self, in_): 23996 '''void QTableWidgetItem.read(QDataStream in)''' 23997 def __lt__(self, other): 23998 '''bool QTableWidgetItem.__lt__(QTableWidgetItem other)''' 23999 return bool() 24000 def setData(self, role, value): 24001 '''void QTableWidgetItem.setData(int role, QVariant value)''' 24002 def data(self, role): 24003 '''QVariant QTableWidgetItem.data(int role)''' 24004 return QVariant() 24005 def setCheckState(self, state): 24006 '''void QTableWidgetItem.setCheckState(Qt.CheckState state)''' 24007 def checkState(self): 24008 '''Qt.CheckState QTableWidgetItem.checkState()''' 24009 return Qt.CheckState() 24010 def setTextColor(self, color): 24011 '''void QTableWidgetItem.setTextColor(QColor color)''' 24012 def textColor(self): 24013 '''QColor QTableWidgetItem.textColor()''' 24014 return QColor() 24015 def setBackgroundColor(self, color): 24016 '''void QTableWidgetItem.setBackgroundColor(QColor color)''' 24017 def backgroundColor(self): 24018 '''QColor QTableWidgetItem.backgroundColor()''' 24019 return QColor() 24020 def setTextAlignment(self, alignment): 24021 '''void QTableWidgetItem.setTextAlignment(int alignment)''' 24022 def textAlignment(self): 24023 '''int QTableWidgetItem.textAlignment()''' 24024 return int() 24025 def font(self): 24026 '''QFont QTableWidgetItem.font()''' 24027 return QFont() 24028 def whatsThis(self): 24029 '''QString QTableWidgetItem.whatsThis()''' 24030 return QString() 24031 def toolTip(self): 24032 '''QString QTableWidgetItem.toolTip()''' 24033 return QString() 24034 def statusTip(self): 24035 '''QString QTableWidgetItem.statusTip()''' 24036 return QString() 24037 def icon(self): 24038 '''QIcon QTableWidgetItem.icon()''' 24039 return QIcon() 24040 def text(self): 24041 '''QString QTableWidgetItem.text()''' 24042 return QString() 24043 def flags(self): 24044 '''Qt.ItemFlags QTableWidgetItem.flags()''' 24045 return Qt.ItemFlags() 24046 def tableWidget(self): 24047 '''QTableWidget QTableWidgetItem.tableWidget()''' 24048 return QTableWidget() 24049 def clone(self): 24050 '''QTableWidgetItem QTableWidgetItem.clone()''' 24051 return QTableWidgetItem() 24052 24053 24054 class QTableWidget(QTableView): 24055 """""" 24056 def __init__(self, parent = None): 24057 '''void QTableWidget.__init__(QWidget parent = None)''' 24058 def __init__(self, rows, columns, parent = None): 24059 '''void QTableWidget.__init__(int rows, int columns, QWidget parent = None)''' 24060 def dropEvent(self, event): 24061 '''void QTableWidget.dropEvent(QDropEvent event)''' 24062 def event(self, e): 24063 '''bool QTableWidget.event(QEvent e)''' 24064 return bool() 24065 def itemFromIndex(self, index): 24066 '''QTableWidgetItem QTableWidget.itemFromIndex(QModelIndex index)''' 24067 return QTableWidgetItem() 24068 def indexFromItem(self, item): 24069 '''QModelIndex QTableWidget.indexFromItem(QTableWidgetItem item)''' 24070 return QModelIndex() 24071 def items(self, data): 24072 '''list-of-QTableWidgetItem QTableWidget.items(QMimeData data)''' 24073 return [QTableWidgetItem()] 24074 def supportedDropActions(self): 24075 '''Qt.DropActions QTableWidget.supportedDropActions()''' 24076 return Qt.DropActions() 24077 def dropMimeData(self, row, column, data, action): 24078 '''bool QTableWidget.dropMimeData(int row, int column, QMimeData data, Qt.DropAction action)''' 24079 return bool() 24080 def mimeData(self, items): 24081 '''QMimeData QTableWidget.mimeData(list-of-QTableWidgetItem items)''' 24082 return QMimeData() 24083 def mimeTypes(self): 24084 '''QStringList QTableWidget.mimeTypes()''' 24085 return QStringList() 24086 currentCellChanged = pyqtSignal() # void currentCellChanged(int,int,int,int) - signal 24087 cellChanged = pyqtSignal() # void cellChanged(int,int) - signal 24088 cellEntered = pyqtSignal() # void cellEntered(int,int) - signal 24089 cellActivated = pyqtSignal() # void cellActivated(int,int) - signal 24090 cellDoubleClicked = pyqtSignal() # void cellDoubleClicked(int,int) - signal 24091 cellClicked = pyqtSignal() # void cellClicked(int,int) - signal 24092 cellPressed = pyqtSignal() # void cellPressed(int,int) - signal 24093 itemSelectionChanged = pyqtSignal() # void itemSelectionChanged() - signal 24094 currentItemChanged = pyqtSignal() # void currentItemChanged(QTableWidgetItem *,QTableWidgetItem *) - signal 24095 itemChanged = pyqtSignal() # void itemChanged(QTableWidgetItem *) - signal 24096 itemEntered = pyqtSignal() # void itemEntered(QTableWidgetItem *) - signal 24097 itemActivated = pyqtSignal() # void itemActivated(QTableWidgetItem *) - signal 24098 itemDoubleClicked = pyqtSignal() # void itemDoubleClicked(QTableWidgetItem *) - signal 24099 itemClicked = pyqtSignal() # void itemClicked(QTableWidgetItem *) - signal 24100 itemPressed = pyqtSignal() # void itemPressed(QTableWidgetItem *) - signal 24101 def clearContents(self): 24102 '''void QTableWidget.clearContents()''' 24103 def clear(self): 24104 '''void QTableWidget.clear()''' 24105 def removeColumn(self, column): 24106 '''void QTableWidget.removeColumn(int column)''' 24107 def removeRow(self, row): 24108 '''void QTableWidget.removeRow(int row)''' 24109 def insertColumn(self, column): 24110 '''void QTableWidget.insertColumn(int column)''' 24111 def insertRow(self, row): 24112 '''void QTableWidget.insertRow(int row)''' 24113 def scrollToItem(self, item, hint = None): 24114 '''void QTableWidget.scrollToItem(QTableWidgetItem item, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 24115 def setItemPrototype(self, item): 24116 '''void QTableWidget.setItemPrototype(QTableWidgetItem item)''' 24117 def itemPrototype(self): 24118 '''QTableWidgetItem QTableWidget.itemPrototype()''' 24119 return QTableWidgetItem() 24120 def visualItemRect(self, item): 24121 '''QRect QTableWidget.visualItemRect(QTableWidgetItem item)''' 24122 return QRect() 24123 def itemAt(self, p): 24124 '''QTableWidgetItem QTableWidget.itemAt(QPoint p)''' 24125 return QTableWidgetItem() 24126 def itemAt(self, ax, ay): 24127 '''QTableWidgetItem QTableWidget.itemAt(int ax, int ay)''' 24128 return QTableWidgetItem() 24129 def visualColumn(self, logicalColumn): 24130 '''int QTableWidget.visualColumn(int logicalColumn)''' 24131 return int() 24132 def visualRow(self, logicalRow): 24133 '''int QTableWidget.visualRow(int logicalRow)''' 24134 return int() 24135 def findItems(self, text, flags): 24136 '''list-of-QTableWidgetItem QTableWidget.findItems(QString text, Qt.MatchFlags flags)''' 24137 return [QTableWidgetItem()] 24138 def selectedItems(self): 24139 '''list-of-QTableWidgetItem QTableWidget.selectedItems()''' 24140 return [QTableWidgetItem()] 24141 def selectedRanges(self): 24142 '''list-of-QTableWidgetSelectionRange QTableWidget.selectedRanges()''' 24143 return [QTableWidgetSelectionRange()] 24144 def setRangeSelected(self, range, select): 24145 '''void QTableWidget.setRangeSelected(QTableWidgetSelectionRange range, bool select)''' 24146 def setItemSelected(self, item, select): 24147 '''void QTableWidget.setItemSelected(QTableWidgetItem item, bool select)''' 24148 def isItemSelected(self, item): 24149 '''bool QTableWidget.isItemSelected(QTableWidgetItem item)''' 24150 return bool() 24151 def removeCellWidget(self, arow, acolumn): 24152 '''void QTableWidget.removeCellWidget(int arow, int acolumn)''' 24153 def setCellWidget(self, row, column, widget): 24154 '''void QTableWidget.setCellWidget(int row, int column, QWidget widget)''' 24155 def cellWidget(self, row, column): 24156 '''QWidget QTableWidget.cellWidget(int row, int column)''' 24157 return QWidget() 24158 def closePersistentEditor(self, item): 24159 '''void QTableWidget.closePersistentEditor(QTableWidgetItem item)''' 24160 def openPersistentEditor(self, item): 24161 '''void QTableWidget.openPersistentEditor(QTableWidgetItem item)''' 24162 def editItem(self, item): 24163 '''void QTableWidget.editItem(QTableWidgetItem item)''' 24164 def isSortingEnabled(self): 24165 '''bool QTableWidget.isSortingEnabled()''' 24166 return bool() 24167 def setSortingEnabled(self, enable): 24168 '''void QTableWidget.setSortingEnabled(bool enable)''' 24169 def sortItems(self, column, order = None): 24170 '''void QTableWidget.sortItems(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 24171 def setCurrentCell(self, row, column): 24172 '''void QTableWidget.setCurrentCell(int row, int column)''' 24173 def setCurrentCell(self, row, column, command): 24174 '''void QTableWidget.setCurrentCell(int row, int column, QItemSelectionModel.SelectionFlags command)''' 24175 def setCurrentItem(self, item): 24176 '''void QTableWidget.setCurrentItem(QTableWidgetItem item)''' 24177 def setCurrentItem(self, item, command): 24178 '''void QTableWidget.setCurrentItem(QTableWidgetItem item, QItemSelectionModel.SelectionFlags command)''' 24179 def currentItem(self): 24180 '''QTableWidgetItem QTableWidget.currentItem()''' 24181 return QTableWidgetItem() 24182 def currentColumn(self): 24183 '''int QTableWidget.currentColumn()''' 24184 return int() 24185 def currentRow(self): 24186 '''int QTableWidget.currentRow()''' 24187 return int() 24188 def setHorizontalHeaderLabels(self, labels): 24189 '''void QTableWidget.setHorizontalHeaderLabels(QStringList labels)''' 24190 def setVerticalHeaderLabels(self, labels): 24191 '''void QTableWidget.setVerticalHeaderLabels(QStringList labels)''' 24192 def takeHorizontalHeaderItem(self, column): 24193 '''QTableWidgetItem QTableWidget.takeHorizontalHeaderItem(int column)''' 24194 return QTableWidgetItem() 24195 def setHorizontalHeaderItem(self, column, item): 24196 '''void QTableWidget.setHorizontalHeaderItem(int column, QTableWidgetItem item)''' 24197 def horizontalHeaderItem(self, column): 24198 '''QTableWidgetItem QTableWidget.horizontalHeaderItem(int column)''' 24199 return QTableWidgetItem() 24200 def takeVerticalHeaderItem(self, row): 24201 '''QTableWidgetItem QTableWidget.takeVerticalHeaderItem(int row)''' 24202 return QTableWidgetItem() 24203 def setVerticalHeaderItem(self, row, item): 24204 '''void QTableWidget.setVerticalHeaderItem(int row, QTableWidgetItem item)''' 24205 def verticalHeaderItem(self, row): 24206 '''QTableWidgetItem QTableWidget.verticalHeaderItem(int row)''' 24207 return QTableWidgetItem() 24208 def takeItem(self, row, column): 24209 '''QTableWidgetItem QTableWidget.takeItem(int row, int column)''' 24210 return QTableWidgetItem() 24211 def setItem(self, row, column, item): 24212 '''void QTableWidget.setItem(int row, int column, QTableWidgetItem item)''' 24213 def item(self, row, column): 24214 '''QTableWidgetItem QTableWidget.item(int row, int column)''' 24215 return QTableWidgetItem() 24216 def column(self, item): 24217 '''int QTableWidget.column(QTableWidgetItem item)''' 24218 return int() 24219 def row(self, item): 24220 '''int QTableWidget.row(QTableWidgetItem item)''' 24221 return int() 24222 def columnCount(self): 24223 '''int QTableWidget.columnCount()''' 24224 return int() 24225 def setColumnCount(self, columns): 24226 '''void QTableWidget.setColumnCount(int columns)''' 24227 def rowCount(self): 24228 '''int QTableWidget.rowCount()''' 24229 return int() 24230 def setRowCount(self, rows): 24231 '''void QTableWidget.setRowCount(int rows)''' 24232 24233 24234 class QTabWidget(QWidget): 24235 """""" 24236 # Enum QTabWidget.TabShape 24237 Rounded = 0 24238 Triangular = 0 24239 24240 # Enum QTabWidget.TabPosition 24241 North = 0 24242 South = 0 24243 West = 0 24244 East = 0 24245 24246 def __init__(self, parent = None): 24247 '''void QTabWidget.__init__(QWidget parent = None)''' 24248 def heightForWidth(self, width): 24249 '''int QTabWidget.heightForWidth(int width)''' 24250 return int() 24251 tabCloseRequested = pyqtSignal() # void tabCloseRequested(int) - signal 24252 def setDocumentMode(self, set): 24253 '''void QTabWidget.setDocumentMode(bool set)''' 24254 def documentMode(self): 24255 '''bool QTabWidget.documentMode()''' 24256 return bool() 24257 def setMovable(self, movable): 24258 '''void QTabWidget.setMovable(bool movable)''' 24259 def isMovable(self): 24260 '''bool QTabWidget.isMovable()''' 24261 return bool() 24262 def setTabsClosable(self, closeable): 24263 '''void QTabWidget.setTabsClosable(bool closeable)''' 24264 def tabsClosable(self): 24265 '''bool QTabWidget.tabsClosable()''' 24266 return bool() 24267 def setUsesScrollButtons(self, useButtons): 24268 '''void QTabWidget.setUsesScrollButtons(bool useButtons)''' 24269 def usesScrollButtons(self): 24270 '''bool QTabWidget.usesScrollButtons()''' 24271 return bool() 24272 def setIconSize(self, size): 24273 '''void QTabWidget.setIconSize(QSize size)''' 24274 def iconSize(self): 24275 '''QSize QTabWidget.iconSize()''' 24276 return QSize() 24277 def setElideMode(self): 24278 '''Qt.TextElideMode QTabWidget.setElideMode()''' 24279 return Qt.TextElideMode() 24280 def elideMode(self): 24281 '''Qt.TextElideMode QTabWidget.elideMode()''' 24282 return Qt.TextElideMode() 24283 def changeEvent(self): 24284 '''QEvent QTabWidget.changeEvent()''' 24285 return QEvent() 24286 def tabBar(self): 24287 '''QTabBar QTabWidget.tabBar()''' 24288 return QTabBar() 24289 def setTabBar(self): 24290 '''QTabBar QTabWidget.setTabBar()''' 24291 return QTabBar() 24292 def paintEvent(self): 24293 '''QPaintEvent QTabWidget.paintEvent()''' 24294 return QPaintEvent() 24295 def keyPressEvent(self): 24296 '''QKeyEvent QTabWidget.keyPressEvent()''' 24297 return QKeyEvent() 24298 def resizeEvent(self): 24299 '''QResizeEvent QTabWidget.resizeEvent()''' 24300 return QResizeEvent() 24301 def showEvent(self): 24302 '''QShowEvent QTabWidget.showEvent()''' 24303 return QShowEvent() 24304 def event(self): 24305 '''QEvent QTabWidget.event()''' 24306 return QEvent() 24307 def tabRemoved(self, index): 24308 '''void QTabWidget.tabRemoved(int index)''' 24309 def tabInserted(self, index): 24310 '''void QTabWidget.tabInserted(int index)''' 24311 def initStyleOption(self, option): 24312 '''void QTabWidget.initStyleOption(QStyleOptionTabWidgetFrame option)''' 24313 currentChanged = pyqtSignal() # void currentChanged(int) - signal 24314 def setCurrentWidget(self, widget): 24315 '''void QTabWidget.setCurrentWidget(QWidget widget)''' 24316 def setCurrentIndex(self, index): 24317 '''void QTabWidget.setCurrentIndex(int index)''' 24318 def cornerWidget(self, corner = None): 24319 '''QWidget QTabWidget.cornerWidget(Qt.Corner corner = Qt.TopRightCorner)''' 24320 return QWidget() 24321 def setCornerWidget(self, widget, corner = None): 24322 '''void QTabWidget.setCornerWidget(QWidget widget, Qt.Corner corner = Qt.TopRightCorner)''' 24323 def minimumSizeHint(self): 24324 '''QSize QTabWidget.minimumSizeHint()''' 24325 return QSize() 24326 def sizeHint(self): 24327 '''QSize QTabWidget.sizeHint()''' 24328 return QSize() 24329 def setTabShape(self, s): 24330 '''void QTabWidget.setTabShape(QTabWidget.TabShape s)''' 24331 def tabShape(self): 24332 '''QTabWidget.TabShape QTabWidget.tabShape()''' 24333 return QTabWidget.TabShape() 24334 def setTabPosition(self): 24335 '''QTabWidget.TabPosition QTabWidget.setTabPosition()''' 24336 return QTabWidget.TabPosition() 24337 def tabPosition(self): 24338 '''QTabWidget.TabPosition QTabWidget.tabPosition()''' 24339 return QTabWidget.TabPosition() 24340 def __len__(self): 24341 '''None QTabWidget.__len__()''' 24342 return None() 24343 def count(self): 24344 '''int QTabWidget.count()''' 24345 return int() 24346 def indexOf(self, widget): 24347 '''int QTabWidget.indexOf(QWidget widget)''' 24348 return int() 24349 def widget(self, index): 24350 '''QWidget QTabWidget.widget(int index)''' 24351 return QWidget() 24352 def currentWidget(self): 24353 '''QWidget QTabWidget.currentWidget()''' 24354 return QWidget() 24355 def currentIndex(self): 24356 '''int QTabWidget.currentIndex()''' 24357 return int() 24358 def tabWhatsThis(self, index): 24359 '''QString QTabWidget.tabWhatsThis(int index)''' 24360 return QString() 24361 def setTabWhatsThis(self, index, text): 24362 '''void QTabWidget.setTabWhatsThis(int index, QString text)''' 24363 def tabToolTip(self, index): 24364 '''QString QTabWidget.tabToolTip(int index)''' 24365 return QString() 24366 def setTabToolTip(self, index, tip): 24367 '''void QTabWidget.setTabToolTip(int index, QString tip)''' 24368 def setTabIcon(self, index, icon): 24369 '''void QTabWidget.setTabIcon(int index, QIcon icon)''' 24370 def tabIcon(self, index): 24371 '''QIcon QTabWidget.tabIcon(int index)''' 24372 return QIcon() 24373 def setTabText(self, index): 24374 '''QString QTabWidget.setTabText(int index)''' 24375 return QString() 24376 def tabText(self, index): 24377 '''QString QTabWidget.tabText(int index)''' 24378 return QString() 24379 def setTabEnabled(self, index): 24380 '''bool QTabWidget.setTabEnabled(int index)''' 24381 return bool() 24382 def isTabEnabled(self, index): 24383 '''bool QTabWidget.isTabEnabled(int index)''' 24384 return bool() 24385 def removeTab(self, index): 24386 '''void QTabWidget.removeTab(int index)''' 24387 def insertTab(self, index, widget): 24388 '''QString QTabWidget.insertTab(int index, QWidget widget)''' 24389 return QString() 24390 def insertTab(self, index, widget, icon, label): 24391 '''int QTabWidget.insertTab(int index, QWidget widget, QIcon icon, QString label)''' 24392 return int() 24393 def addTab(self, widget): 24394 '''QString QTabWidget.addTab(QWidget widget)''' 24395 return QString() 24396 def addTab(self, widget, icon, label): 24397 '''int QTabWidget.addTab(QWidget widget, QIcon icon, QString label)''' 24398 return int() 24399 def clear(self): 24400 '''void QTabWidget.clear()''' 24401 24402 24403 class QTextEdit(QAbstractScrollArea): 24404 """""" 24405 # Enum QTextEdit.AutoFormattingFlag 24406 AutoNone = 0 24407 AutoBulletList = 0 24408 AutoAll = 0 24409 24410 # Enum QTextEdit.LineWrapMode 24411 NoWrap = 0 24412 WidgetWidth = 0 24413 FixedPixelWidth = 0 24414 FixedColumnWidth = 0 24415 24416 def __init__(self, parent = None): 24417 '''void QTextEdit.__init__(QWidget parent = None)''' 24418 def __init__(self, text, parent = None): 24419 '''void QTextEdit.__init__(QString text, QWidget parent = None)''' 24420 def setTextBackgroundColor(self, c): 24421 '''void QTextEdit.setTextBackgroundColor(QColor c)''' 24422 def textBackgroundColor(self): 24423 '''QColor QTextEdit.textBackgroundColor()''' 24424 return QColor() 24425 def scrollContentsBy(self, dx, dy): 24426 '''void QTextEdit.scrollContentsBy(int dx, int dy)''' 24427 def inputMethodQuery(self, property): 24428 '''QVariant QTextEdit.inputMethodQuery(Qt.InputMethodQuery property)''' 24429 return QVariant() 24430 def inputMethodEvent(self): 24431 '''QInputMethodEvent QTextEdit.inputMethodEvent()''' 24432 return QInputMethodEvent() 24433 def insertFromMimeData(self, source): 24434 '''void QTextEdit.insertFromMimeData(QMimeData source)''' 24435 def canInsertFromMimeData(self, source): 24436 '''bool QTextEdit.canInsertFromMimeData(QMimeData source)''' 24437 return bool() 24438 def createMimeDataFromSelection(self): 24439 '''QMimeData QTextEdit.createMimeDataFromSelection()''' 24440 return QMimeData() 24441 def wheelEvent(self, e): 24442 '''void QTextEdit.wheelEvent(QWheelEvent e)''' 24443 def changeEvent(self, e): 24444 '''void QTextEdit.changeEvent(QEvent e)''' 24445 def showEvent(self): 24446 '''QShowEvent QTextEdit.showEvent()''' 24447 return QShowEvent() 24448 def focusOutEvent(self, e): 24449 '''void QTextEdit.focusOutEvent(QFocusEvent e)''' 24450 def focusInEvent(self, e): 24451 '''void QTextEdit.focusInEvent(QFocusEvent e)''' 24452 def dropEvent(self, e): 24453 '''void QTextEdit.dropEvent(QDropEvent e)''' 24454 def dragMoveEvent(self, e): 24455 '''void QTextEdit.dragMoveEvent(QDragMoveEvent e)''' 24456 def dragLeaveEvent(self, e): 24457 '''void QTextEdit.dragLeaveEvent(QDragLeaveEvent e)''' 24458 def dragEnterEvent(self, e): 24459 '''void QTextEdit.dragEnterEvent(QDragEnterEvent e)''' 24460 def contextMenuEvent(self, e): 24461 '''void QTextEdit.contextMenuEvent(QContextMenuEvent e)''' 24462 def focusNextPrevChild(self, next): 24463 '''bool QTextEdit.focusNextPrevChild(bool next)''' 24464 return bool() 24465 def mouseDoubleClickEvent(self, e): 24466 '''void QTextEdit.mouseDoubleClickEvent(QMouseEvent e)''' 24467 def mouseReleaseEvent(self, e): 24468 '''void QTextEdit.mouseReleaseEvent(QMouseEvent e)''' 24469 def mouseMoveEvent(self, e): 24470 '''void QTextEdit.mouseMoveEvent(QMouseEvent e)''' 24471 def mousePressEvent(self, e): 24472 '''void QTextEdit.mousePressEvent(QMouseEvent e)''' 24473 def paintEvent(self, e): 24474 '''void QTextEdit.paintEvent(QPaintEvent e)''' 24475 def resizeEvent(self): 24476 '''QResizeEvent QTextEdit.resizeEvent()''' 24477 return QResizeEvent() 24478 def keyReleaseEvent(self, e): 24479 '''void QTextEdit.keyReleaseEvent(QKeyEvent e)''' 24480 def keyPressEvent(self, e): 24481 '''void QTextEdit.keyPressEvent(QKeyEvent e)''' 24482 def timerEvent(self, e): 24483 '''void QTextEdit.timerEvent(QTimerEvent e)''' 24484 def event(self, e): 24485 '''bool QTextEdit.event(QEvent e)''' 24486 return bool() 24487 cursorPositionChanged = pyqtSignal() # void cursorPositionChanged() - signal 24488 selectionChanged = pyqtSignal() # void selectionChanged() - signal 24489 copyAvailable = pyqtSignal() # void copyAvailable(bool) - signal 24490 currentCharFormatChanged = pyqtSignal() # void currentCharFormatChanged(const QTextCharFormatamp;) - signal 24491 redoAvailable = pyqtSignal() # void redoAvailable(bool) - signal 24492 undoAvailable = pyqtSignal() # void undoAvailable(bool) - signal 24493 textChanged = pyqtSignal() # void textChanged() - signal 24494 def zoomOut(self, range = 1): 24495 '''void QTextEdit.zoomOut(int range = 1)''' 24496 def zoomIn(self, range = 1): 24497 '''void QTextEdit.zoomIn(int range = 1)''' 24498 def undo(self): 24499 '''void QTextEdit.undo()''' 24500 def redo(self): 24501 '''void QTextEdit.redo()''' 24502 def scrollToAnchor(self, name): 24503 '''void QTextEdit.scrollToAnchor(QString name)''' 24504 def insertHtml(self, text): 24505 '''void QTextEdit.insertHtml(QString text)''' 24506 def insertPlainText(self, text): 24507 '''void QTextEdit.insertPlainText(QString text)''' 24508 def selectAll(self): 24509 '''void QTextEdit.selectAll()''' 24510 def clear(self): 24511 '''void QTextEdit.clear()''' 24512 def paste(self): 24513 '''void QTextEdit.paste()''' 24514 def copy(self): 24515 '''void QTextEdit.copy()''' 24516 def cut(self): 24517 '''void QTextEdit.cut()''' 24518 def setHtml(self, text): 24519 '''void QTextEdit.setHtml(QString text)''' 24520 def setPlainText(self, text): 24521 '''void QTextEdit.setPlainText(QString text)''' 24522 def setAlignment(self, a): 24523 '''void QTextEdit.setAlignment(Qt.Alignment a)''' 24524 def setCurrentFont(self, f): 24525 '''void QTextEdit.setCurrentFont(QFont f)''' 24526 def setTextColor(self, c): 24527 '''void QTextEdit.setTextColor(QColor c)''' 24528 def setText(self, text): 24529 '''void QTextEdit.setText(QString text)''' 24530 def setFontItalic(self, b): 24531 '''void QTextEdit.setFontItalic(bool b)''' 24532 def setFontUnderline(self, b): 24533 '''void QTextEdit.setFontUnderline(bool b)''' 24534 def setFontWeight(self, w): 24535 '''void QTextEdit.setFontWeight(int w)''' 24536 def setFontFamily(self, fontFamily): 24537 '''void QTextEdit.setFontFamily(QString fontFamily)''' 24538 def setFontPointSize(self, s): 24539 '''void QTextEdit.setFontPointSize(float s)''' 24540 def print_(self, printer): 24541 '''void QTextEdit.print_(QPrinter printer)''' 24542 def moveCursor(self, operation, mode = None): 24543 '''void QTextEdit.moveCursor(QTextCursor.MoveOperation operation, QTextCursor.MoveMode mode = QTextCursor.MoveAnchor)''' 24544 def canPaste(self): 24545 '''bool QTextEdit.canPaste()''' 24546 return bool() 24547 def extraSelections(self): 24548 '''list-of-QTextEdit.ExtraSelection QTextEdit.extraSelections()''' 24549 return [QTextEdit.ExtraSelection()] 24550 def setExtraSelections(self, selections): 24551 '''void QTextEdit.setExtraSelections(list-of-QTextEdit.ExtraSelection selections)''' 24552 def cursorWidth(self): 24553 '''int QTextEdit.cursorWidth()''' 24554 return int() 24555 def setCursorWidth(self, width): 24556 '''void QTextEdit.setCursorWidth(int width)''' 24557 def textInteractionFlags(self): 24558 '''Qt.TextInteractionFlags QTextEdit.textInteractionFlags()''' 24559 return Qt.TextInteractionFlags() 24560 def setTextInteractionFlags(self, flags): 24561 '''void QTextEdit.setTextInteractionFlags(Qt.TextInteractionFlags flags)''' 24562 def setAcceptRichText(self, accept): 24563 '''void QTextEdit.setAcceptRichText(bool accept)''' 24564 def acceptRichText(self): 24565 '''bool QTextEdit.acceptRichText()''' 24566 return bool() 24567 def setTabStopWidth(self, width): 24568 '''void QTextEdit.setTabStopWidth(int width)''' 24569 def tabStopWidth(self): 24570 '''int QTextEdit.tabStopWidth()''' 24571 return int() 24572 def setOverwriteMode(self, overwrite): 24573 '''void QTextEdit.setOverwriteMode(bool overwrite)''' 24574 def overwriteMode(self): 24575 '''bool QTextEdit.overwriteMode()''' 24576 return bool() 24577 def anchorAt(self, pos): 24578 '''QString QTextEdit.anchorAt(QPoint pos)''' 24579 return QString() 24580 def cursorRect(self, cursor): 24581 '''QRect QTextEdit.cursorRect(QTextCursor cursor)''' 24582 return QRect() 24583 def cursorRect(self): 24584 '''QRect QTextEdit.cursorRect()''' 24585 return QRect() 24586 def cursorForPosition(self, pos): 24587 '''QTextCursor QTextEdit.cursorForPosition(QPoint pos)''' 24588 return QTextCursor() 24589 def createStandardContextMenu(self): 24590 '''QMenu QTextEdit.createStandardContextMenu()''' 24591 return QMenu() 24592 def createStandardContextMenu(self, position): 24593 '''QMenu QTextEdit.createStandardContextMenu(QPoint position)''' 24594 return QMenu() 24595 def loadResource(self, type, name): 24596 '''QVariant QTextEdit.loadResource(int type, QUrl name)''' 24597 return QVariant() 24598 def ensureCursorVisible(self): 24599 '''void QTextEdit.ensureCursorVisible()''' 24600 def append(self, text): 24601 '''void QTextEdit.append(QString text)''' 24602 def toHtml(self): 24603 '''QString QTextEdit.toHtml()''' 24604 return QString() 24605 def toPlainText(self): 24606 '''QString QTextEdit.toPlainText()''' 24607 return QString() 24608 def find(self, exp, options = 0): 24609 '''bool QTextEdit.find(QString exp, QTextDocument.FindFlags options = 0)''' 24610 return bool() 24611 def setWordWrapMode(self, policy): 24612 '''void QTextEdit.setWordWrapMode(QTextOption.WrapMode policy)''' 24613 def wordWrapMode(self): 24614 '''QTextOption.WrapMode QTextEdit.wordWrapMode()''' 24615 return QTextOption.WrapMode() 24616 def setLineWrapColumnOrWidth(self, w): 24617 '''void QTextEdit.setLineWrapColumnOrWidth(int w)''' 24618 def lineWrapColumnOrWidth(self): 24619 '''int QTextEdit.lineWrapColumnOrWidth()''' 24620 return int() 24621 def setLineWrapMode(self, mode): 24622 '''void QTextEdit.setLineWrapMode(QTextEdit.LineWrapMode mode)''' 24623 def lineWrapMode(self): 24624 '''QTextEdit.LineWrapMode QTextEdit.lineWrapMode()''' 24625 return QTextEdit.LineWrapMode() 24626 def setUndoRedoEnabled(self, enable): 24627 '''void QTextEdit.setUndoRedoEnabled(bool enable)''' 24628 def isUndoRedoEnabled(self): 24629 '''bool QTextEdit.isUndoRedoEnabled()''' 24630 return bool() 24631 def documentTitle(self): 24632 '''QString QTextEdit.documentTitle()''' 24633 return QString() 24634 def setDocumentTitle(self, title): 24635 '''void QTextEdit.setDocumentTitle(QString title)''' 24636 def setTabChangesFocus(self, b): 24637 '''void QTextEdit.setTabChangesFocus(bool b)''' 24638 def tabChangesFocus(self): 24639 '''bool QTextEdit.tabChangesFocus()''' 24640 return bool() 24641 def setAutoFormatting(self, features): 24642 '''void QTextEdit.setAutoFormatting(QTextEdit.AutoFormatting features)''' 24643 def autoFormatting(self): 24644 '''QTextEdit.AutoFormatting QTextEdit.autoFormatting()''' 24645 return QTextEdit.AutoFormatting() 24646 def currentCharFormat(self): 24647 '''QTextCharFormat QTextEdit.currentCharFormat()''' 24648 return QTextCharFormat() 24649 def setCurrentCharFormat(self, format): 24650 '''void QTextEdit.setCurrentCharFormat(QTextCharFormat format)''' 24651 def mergeCurrentCharFormat(self, modifier): 24652 '''void QTextEdit.mergeCurrentCharFormat(QTextCharFormat modifier)''' 24653 def alignment(self): 24654 '''Qt.Alignment QTextEdit.alignment()''' 24655 return Qt.Alignment() 24656 def currentFont(self): 24657 '''QFont QTextEdit.currentFont()''' 24658 return QFont() 24659 def textColor(self): 24660 '''QColor QTextEdit.textColor()''' 24661 return QColor() 24662 def fontItalic(self): 24663 '''bool QTextEdit.fontItalic()''' 24664 return bool() 24665 def fontUnderline(self): 24666 '''bool QTextEdit.fontUnderline()''' 24667 return bool() 24668 def fontWeight(self): 24669 '''int QTextEdit.fontWeight()''' 24670 return int() 24671 def fontFamily(self): 24672 '''QString QTextEdit.fontFamily()''' 24673 return QString() 24674 def fontPointSize(self): 24675 '''float QTextEdit.fontPointSize()''' 24676 return float() 24677 def setReadOnly(self, ro): 24678 '''void QTextEdit.setReadOnly(bool ro)''' 24679 def isReadOnly(self): 24680 '''bool QTextEdit.isReadOnly()''' 24681 return bool() 24682 def textCursor(self): 24683 '''QTextCursor QTextEdit.textCursor()''' 24684 return QTextCursor() 24685 def setTextCursor(self, cursor): 24686 '''void QTextEdit.setTextCursor(QTextCursor cursor)''' 24687 def document(self): 24688 '''QTextDocument QTextEdit.document()''' 24689 return QTextDocument() 24690 def setDocument(self, document): 24691 '''void QTextEdit.setDocument(QTextDocument document)''' 24692 class ExtraSelection(): 24693 """""" 24694 cursor = None # QTextCursor - member 24695 format = None # QTextCharFormat - member 24696 def __init__(self): 24697 '''void QTextEdit.ExtraSelection.__init__()''' 24698 def __init__(self): 24699 '''QTextEdit.ExtraSelection QTextEdit.ExtraSelection.__init__()''' 24700 return QTextEdit.ExtraSelection() 24701 class AutoFormatting(): 24702 """""" 24703 def __init__(self): 24704 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__init__()''' 24705 return QTextEdit.AutoFormatting() 24706 def __init__(self): 24707 '''int QTextEdit.AutoFormatting.__init__()''' 24708 return int() 24709 def __init__(self): 24710 '''void QTextEdit.AutoFormatting.__init__()''' 24711 def __bool__(self): 24712 '''int QTextEdit.AutoFormatting.__bool__()''' 24713 return int() 24714 def __ne__(self, f): 24715 '''bool QTextEdit.AutoFormatting.__ne__(QTextEdit.AutoFormatting f)''' 24716 return bool() 24717 def __eq__(self, f): 24718 '''bool QTextEdit.AutoFormatting.__eq__(QTextEdit.AutoFormatting f)''' 24719 return bool() 24720 def __invert__(self): 24721 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__invert__()''' 24722 return QTextEdit.AutoFormatting() 24723 def __and__(self, mask): 24724 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__and__(int mask)''' 24725 return QTextEdit.AutoFormatting() 24726 def __xor__(self, f): 24727 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__xor__(QTextEdit.AutoFormatting f)''' 24728 return QTextEdit.AutoFormatting() 24729 def __xor__(self, f): 24730 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__xor__(int f)''' 24731 return QTextEdit.AutoFormatting() 24732 def __or__(self, f): 24733 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__or__(QTextEdit.AutoFormatting f)''' 24734 return QTextEdit.AutoFormatting() 24735 def __or__(self, f): 24736 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__or__(int f)''' 24737 return QTextEdit.AutoFormatting() 24738 def __int__(self): 24739 '''int QTextEdit.AutoFormatting.__int__()''' 24740 return int() 24741 def __ixor__(self, f): 24742 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__ixor__(QTextEdit.AutoFormatting f)''' 24743 return QTextEdit.AutoFormatting() 24744 def __ior__(self, f): 24745 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__ior__(QTextEdit.AutoFormatting f)''' 24746 return QTextEdit.AutoFormatting() 24747 def __iand__(self, mask): 24748 '''QTextEdit.AutoFormatting QTextEdit.AutoFormatting.__iand__(int mask)''' 24749 return QTextEdit.AutoFormatting() 24750 24751 24752 class QTextBrowser(QTextEdit): 24753 """""" 24754 def __init__(self, parent = None): 24755 '''void QTextBrowser.__init__(QWidget parent = None)''' 24756 historyChanged = pyqtSignal() # void historyChanged() - signal 24757 def forwardHistoryCount(self): 24758 '''int QTextBrowser.forwardHistoryCount()''' 24759 return int() 24760 def backwardHistoryCount(self): 24761 '''int QTextBrowser.backwardHistoryCount()''' 24762 return int() 24763 def historyUrl(self): 24764 '''int QTextBrowser.historyUrl()''' 24765 return int() 24766 def historyTitle(self): 24767 '''int QTextBrowser.historyTitle()''' 24768 return int() 24769 def setOpenLinks(self, open): 24770 '''void QTextBrowser.setOpenLinks(bool open)''' 24771 def openLinks(self): 24772 '''bool QTextBrowser.openLinks()''' 24773 return bool() 24774 def setOpenExternalLinks(self, open): 24775 '''void QTextBrowser.setOpenExternalLinks(bool open)''' 24776 def openExternalLinks(self): 24777 '''bool QTextBrowser.openExternalLinks()''' 24778 return bool() 24779 def clearHistory(self): 24780 '''void QTextBrowser.clearHistory()''' 24781 def isForwardAvailable(self): 24782 '''bool QTextBrowser.isForwardAvailable()''' 24783 return bool() 24784 def isBackwardAvailable(self): 24785 '''bool QTextBrowser.isBackwardAvailable()''' 24786 return bool() 24787 def paintEvent(self, e): 24788 '''void QTextBrowser.paintEvent(QPaintEvent e)''' 24789 def focusNextPrevChild(self, next): 24790 '''bool QTextBrowser.focusNextPrevChild(bool next)''' 24791 return bool() 24792 def focusOutEvent(self, ev): 24793 '''void QTextBrowser.focusOutEvent(QFocusEvent ev)''' 24794 def mouseReleaseEvent(self, ev): 24795 '''void QTextBrowser.mouseReleaseEvent(QMouseEvent ev)''' 24796 def mousePressEvent(self, ev): 24797 '''void QTextBrowser.mousePressEvent(QMouseEvent ev)''' 24798 def mouseMoveEvent(self, ev): 24799 '''void QTextBrowser.mouseMoveEvent(QMouseEvent ev)''' 24800 def keyPressEvent(self, ev): 24801 '''void QTextBrowser.keyPressEvent(QKeyEvent ev)''' 24802 def event(self, e): 24803 '''bool QTextBrowser.event(QEvent e)''' 24804 return bool() 24805 anchorClicked = pyqtSignal() # void anchorClicked(const QUrlamp;) - signal 24806 highlighted = pyqtSignal() # void highlighted(const QUrlamp;) - signal 24807 highlighted = pyqtSignal() # void highlighted(const QStringamp;) - signal 24808 sourceChanged = pyqtSignal() # void sourceChanged(const QUrlamp;) - signal 24809 forwardAvailable = pyqtSignal() # void forwardAvailable(bool) - signal 24810 backwardAvailable = pyqtSignal() # void backwardAvailable(bool) - signal 24811 def reload(self): 24812 '''void QTextBrowser.reload()''' 24813 def home(self): 24814 '''void QTextBrowser.home()''' 24815 def forward(self): 24816 '''void QTextBrowser.forward()''' 24817 def backward(self): 24818 '''void QTextBrowser.backward()''' 24819 def setSource(self, name): 24820 '''void QTextBrowser.setSource(QUrl name)''' 24821 def loadResource(self, type, name): 24822 '''QVariant QTextBrowser.loadResource(int type, QUrl name)''' 24823 return QVariant() 24824 def setSearchPaths(self, paths): 24825 '''void QTextBrowser.setSearchPaths(QStringList paths)''' 24826 def searchPaths(self): 24827 '''QStringList QTextBrowser.searchPaths()''' 24828 return QStringList() 24829 def source(self): 24830 '''QUrl QTextBrowser.source()''' 24831 return QUrl() 24832 24833 24834 class QTextCursor(): 24835 """""" 24836 # Enum QTextCursor.SelectionType 24837 WordUnderCursor = 0 24838 LineUnderCursor = 0 24839 BlockUnderCursor = 0 24840 Document = 0 24841 24842 # Enum QTextCursor.MoveOperation 24843 NoMove = 0 24844 Start = 0 24845 Up = 0 24846 StartOfLine = 0 24847 StartOfBlock = 0 24848 StartOfWord = 0 24849 PreviousBlock = 0 24850 PreviousCharacter = 0 24851 PreviousWord = 0 24852 Left = 0 24853 WordLeft = 0 24854 End = 0 24855 Down = 0 24856 EndOfLine = 0 24857 EndOfWord = 0 24858 EndOfBlock = 0 24859 NextBlock = 0 24860 NextCharacter = 0 24861 NextWord = 0 24862 Right = 0 24863 WordRight = 0 24864 NextCell = 0 24865 PreviousCell = 0 24866 NextRow = 0 24867 PreviousRow = 0 24868 24869 # Enum QTextCursor.MoveMode 24870 MoveAnchor = 0 24871 KeepAnchor = 0 24872 24873 def __init__(self): 24874 '''void QTextCursor.__init__()''' 24875 def __init__(self, document): 24876 '''void QTextCursor.__init__(QTextDocument document)''' 24877 def __init__(self, frame): 24878 '''void QTextCursor.__init__(QTextFrame frame)''' 24879 def __init__(self, block): 24880 '''void QTextCursor.__init__(QTextBlock block)''' 24881 def __init__(self, cursor): 24882 '''void QTextCursor.__init__(QTextCursor cursor)''' 24883 def keepPositionOnInsert(self): 24884 '''bool QTextCursor.keepPositionOnInsert()''' 24885 return bool() 24886 def setKeepPositionOnInsert(self, b): 24887 '''void QTextCursor.setKeepPositionOnInsert(bool b)''' 24888 def verticalMovementX(self): 24889 '''int QTextCursor.verticalMovementX()''' 24890 return int() 24891 def setVerticalMovementX(self, x): 24892 '''void QTextCursor.setVerticalMovementX(int x)''' 24893 def positionInBlock(self): 24894 '''int QTextCursor.positionInBlock()''' 24895 return int() 24896 def document(self): 24897 '''QTextDocument QTextCursor.document()''' 24898 return QTextDocument() 24899 def setVisualNavigation(self, b): 24900 '''void QTextCursor.setVisualNavigation(bool b)''' 24901 def visualNavigation(self): 24902 '''bool QTextCursor.visualNavigation()''' 24903 return bool() 24904 def isCopyOf(self, other): 24905 '''bool QTextCursor.isCopyOf(QTextCursor other)''' 24906 return bool() 24907 def __gt__(self, rhs): 24908 '''bool QTextCursor.__gt__(QTextCursor rhs)''' 24909 return bool() 24910 def __ge__(self, rhs): 24911 '''bool QTextCursor.__ge__(QTextCursor rhs)''' 24912 return bool() 24913 def __eq__(self, rhs): 24914 '''bool QTextCursor.__eq__(QTextCursor rhs)''' 24915 return bool() 24916 def __le__(self, rhs): 24917 '''bool QTextCursor.__le__(QTextCursor rhs)''' 24918 return bool() 24919 def __lt__(self, rhs): 24920 '''bool QTextCursor.__lt__(QTextCursor rhs)''' 24921 return bool() 24922 def __ne__(self, rhs): 24923 '''bool QTextCursor.__ne__(QTextCursor rhs)''' 24924 return bool() 24925 def columnNumber(self): 24926 '''int QTextCursor.columnNumber()''' 24927 return int() 24928 def blockNumber(self): 24929 '''int QTextCursor.blockNumber()''' 24930 return int() 24931 def endEditBlock(self): 24932 '''void QTextCursor.endEditBlock()''' 24933 def joinPreviousEditBlock(self): 24934 '''void QTextCursor.joinPreviousEditBlock()''' 24935 def beginEditBlock(self): 24936 '''void QTextCursor.beginEditBlock()''' 24937 def insertImage(self, format): 24938 '''void QTextCursor.insertImage(QTextImageFormat format)''' 24939 def insertImage(self, format, alignment): 24940 '''void QTextCursor.insertImage(QTextImageFormat format, QTextFrameFormat.Position alignment)''' 24941 def insertImage(self, name): 24942 '''void QTextCursor.insertImage(QString name)''' 24943 def insertImage(self, image, name = QString()): 24944 '''void QTextCursor.insertImage(QImage image, QString name = QString())''' 24945 def insertHtml(self, html): 24946 '''void QTextCursor.insertHtml(QString html)''' 24947 def insertFragment(self, fragment): 24948 '''void QTextCursor.insertFragment(QTextDocumentFragment fragment)''' 24949 def currentFrame(self): 24950 '''QTextFrame QTextCursor.currentFrame()''' 24951 return QTextFrame() 24952 def insertFrame(self, format): 24953 '''QTextFrame QTextCursor.insertFrame(QTextFrameFormat format)''' 24954 return QTextFrame() 24955 def currentTable(self): 24956 '''QTextTable QTextCursor.currentTable()''' 24957 return QTextTable() 24958 def insertTable(self, rows, cols, format): 24959 '''QTextTable QTextCursor.insertTable(int rows, int cols, QTextTableFormat format)''' 24960 return QTextTable() 24961 def insertTable(self, rows, cols): 24962 '''QTextTable QTextCursor.insertTable(int rows, int cols)''' 24963 return QTextTable() 24964 def currentList(self): 24965 '''QTextList QTextCursor.currentList()''' 24966 return QTextList() 24967 def createList(self, format): 24968 '''QTextList QTextCursor.createList(QTextListFormat format)''' 24969 return QTextList() 24970 def createList(self, style): 24971 '''QTextList QTextCursor.createList(QTextListFormat.Style style)''' 24972 return QTextList() 24973 def insertList(self, format): 24974 '''QTextList QTextCursor.insertList(QTextListFormat format)''' 24975 return QTextList() 24976 def insertList(self, style): 24977 '''QTextList QTextCursor.insertList(QTextListFormat.Style style)''' 24978 return QTextList() 24979 def insertBlock(self): 24980 '''void QTextCursor.insertBlock()''' 24981 def insertBlock(self, format): 24982 '''void QTextCursor.insertBlock(QTextBlockFormat format)''' 24983 def insertBlock(self, format, charFormat): 24984 '''void QTextCursor.insertBlock(QTextBlockFormat format, QTextCharFormat charFormat)''' 24985 def atEnd(self): 24986 '''bool QTextCursor.atEnd()''' 24987 return bool() 24988 def atStart(self): 24989 '''bool QTextCursor.atStart()''' 24990 return bool() 24991 def atBlockEnd(self): 24992 '''bool QTextCursor.atBlockEnd()''' 24993 return bool() 24994 def atBlockStart(self): 24995 '''bool QTextCursor.atBlockStart()''' 24996 return bool() 24997 def mergeBlockCharFormat(self, modifier): 24998 '''void QTextCursor.mergeBlockCharFormat(QTextCharFormat modifier)''' 24999 def setBlockCharFormat(self, format): 25000 '''void QTextCursor.setBlockCharFormat(QTextCharFormat format)''' 25001 def blockCharFormat(self): 25002 '''QTextCharFormat QTextCursor.blockCharFormat()''' 25003 return QTextCharFormat() 25004 def mergeBlockFormat(self, modifier): 25005 '''void QTextCursor.mergeBlockFormat(QTextBlockFormat modifier)''' 25006 def setBlockFormat(self, format): 25007 '''void QTextCursor.setBlockFormat(QTextBlockFormat format)''' 25008 def blockFormat(self): 25009 '''QTextBlockFormat QTextCursor.blockFormat()''' 25010 return QTextBlockFormat() 25011 def mergeCharFormat(self, modifier): 25012 '''void QTextCursor.mergeCharFormat(QTextCharFormat modifier)''' 25013 def setCharFormat(self, format): 25014 '''void QTextCursor.setCharFormat(QTextCharFormat format)''' 25015 def charFormat(self): 25016 '''QTextCharFormat QTextCursor.charFormat()''' 25017 return QTextCharFormat() 25018 def block(self): 25019 '''QTextBlock QTextCursor.block()''' 25020 return QTextBlock() 25021 def selectedTableCells(self, firstRow, numRows, firstColumn, numColumns): 25022 '''void QTextCursor.selectedTableCells(int firstRow, int numRows, int firstColumn, int numColumns)''' 25023 def selection(self): 25024 '''QTextDocumentFragment QTextCursor.selection()''' 25025 return QTextDocumentFragment() 25026 def selectedText(self): 25027 '''QString QTextCursor.selectedText()''' 25028 return QString() 25029 def selectionEnd(self): 25030 '''int QTextCursor.selectionEnd()''' 25031 return int() 25032 def selectionStart(self): 25033 '''int QTextCursor.selectionStart()''' 25034 return int() 25035 def clearSelection(self): 25036 '''void QTextCursor.clearSelection()''' 25037 def removeSelectedText(self): 25038 '''void QTextCursor.removeSelectedText()''' 25039 def hasComplexSelection(self): 25040 '''bool QTextCursor.hasComplexSelection()''' 25041 return bool() 25042 def hasSelection(self): 25043 '''bool QTextCursor.hasSelection()''' 25044 return bool() 25045 def select(self, selection): 25046 '''void QTextCursor.select(QTextCursor.SelectionType selection)''' 25047 def deletePreviousChar(self): 25048 '''void QTextCursor.deletePreviousChar()''' 25049 def deleteChar(self): 25050 '''void QTextCursor.deleteChar()''' 25051 def movePosition(self, op, mode = None, n = 1): 25052 '''bool QTextCursor.movePosition(QTextCursor.MoveOperation op, QTextCursor.MoveMode mode = QTextCursor.MoveAnchor, int n = 1)''' 25053 return bool() 25054 def insertText(self, text): 25055 '''void QTextCursor.insertText(QString text)''' 25056 def insertText(self, text, format): 25057 '''void QTextCursor.insertText(QString text, QTextCharFormat format)''' 25058 def anchor(self): 25059 '''int QTextCursor.anchor()''' 25060 return int() 25061 def position(self): 25062 '''int QTextCursor.position()''' 25063 return int() 25064 def setPosition(self, pos, mode = None): 25065 '''void QTextCursor.setPosition(int pos, QTextCursor.MoveMode mode = QTextCursor.MoveAnchor)''' 25066 def isNull(self): 25067 '''bool QTextCursor.isNull()''' 25068 return bool() 25069 25070 25071 class Qt(): 25072 """""" 25073 # Enum Qt.WhiteSpaceMode 25074 WhiteSpaceNormal = 0 25075 WhiteSpacePre = 0 25076 WhiteSpaceNoWrap = 0 25077 WhiteSpaceModeUndefined = 0 25078 25079 # Enum Qt.HitTestAccuracy 25080 ExactHit = 0 25081 FuzzyHit = 0 25082 25083 def convertFromPlainText(self, plain, mode = None): 25084 '''static QString Qt.convertFromPlainText(QString plain, Qt.WhiteSpaceMode mode = Qt.WhiteSpacePre)''' 25085 return QString() 25086 def escape(self, plain): 25087 '''static QString Qt.escape(QString plain)''' 25088 return QString() 25089 def mightBeRichText(self): 25090 '''static QString Qt.mightBeRichText()''' 25091 return QString() 25092 25093 25094 class QTextDocument(QObject): 25095 """""" 25096 # Enum QTextDocument.Stacks 25097 UndoStack = 0 25098 RedoStack = 0 25099 UndoAndRedoStacks = 0 25100 25101 # Enum QTextDocument.ResourceType 25102 HtmlResource = 0 25103 ImageResource = 0 25104 StyleSheetResource = 0 25105 UserResource = 0 25106 25107 # Enum QTextDocument.FindFlag 25108 FindBackward = 0 25109 FindCaseSensitively = 0 25110 FindWholeWords = 0 25111 25112 # Enum QTextDocument.MetaInformation 25113 DocumentTitle = 0 25114 DocumentUrl = 0 25115 25116 def __init__(self, parent = None): 25117 '''void QTextDocument.__init__(QObject parent = None)''' 25118 def __init__(self, text, parent = None): 25119 '''void QTextDocument.__init__(QString text, QObject parent = None)''' 25120 def setDefaultCursorMoveStyle(self, style): 25121 '''void QTextDocument.setDefaultCursorMoveStyle(Qt.CursorMoveStyle style)''' 25122 def defaultCursorMoveStyle(self): 25123 '''Qt.CursorMoveStyle QTextDocument.defaultCursorMoveStyle()''' 25124 return Qt.CursorMoveStyle() 25125 def clearUndoRedoStacks(self, stacks = None): 25126 '''void QTextDocument.clearUndoRedoStacks(QTextDocument.Stacks stacks = QTextDocument.UndoAndRedoStacks)''' 25127 def availableRedoSteps(self): 25128 '''int QTextDocument.availableRedoSteps()''' 25129 return int() 25130 def availableUndoSteps(self): 25131 '''int QTextDocument.availableUndoSteps()''' 25132 return int() 25133 def characterCount(self): 25134 '''int QTextDocument.characterCount()''' 25135 return int() 25136 def lineCount(self): 25137 '''int QTextDocument.lineCount()''' 25138 return int() 25139 def setDocumentMargin(self, margin): 25140 '''void QTextDocument.setDocumentMargin(float margin)''' 25141 def documentMargin(self): 25142 '''float QTextDocument.documentMargin()''' 25143 return float() 25144 def characterAt(self, pos): 25145 '''QChar QTextDocument.characterAt(int pos)''' 25146 return QChar() 25147 documentLayoutChanged = pyqtSignal() # void documentLayoutChanged() - signal 25148 undoCommandAdded = pyqtSignal() # void undoCommandAdded() - signal 25149 def setIndentWidth(self, width): 25150 '''void QTextDocument.setIndentWidth(float width)''' 25151 def indentWidth(self): 25152 '''float QTextDocument.indentWidth()''' 25153 return float() 25154 def lastBlock(self): 25155 '''QTextBlock QTextDocument.lastBlock()''' 25156 return QTextBlock() 25157 def firstBlock(self): 25158 '''QTextBlock QTextDocument.firstBlock()''' 25159 return QTextBlock() 25160 def findBlockByLineNumber(self, blockNumber): 25161 '''QTextBlock QTextDocument.findBlockByLineNumber(int blockNumber)''' 25162 return QTextBlock() 25163 def findBlockByNumber(self, blockNumber): 25164 '''QTextBlock QTextDocument.findBlockByNumber(int blockNumber)''' 25165 return QTextBlock() 25166 def revision(self): 25167 '''int QTextDocument.revision()''' 25168 return int() 25169 def setDefaultTextOption(self, option): 25170 '''void QTextDocument.setDefaultTextOption(QTextOption option)''' 25171 def defaultTextOption(self): 25172 '''QTextOption QTextDocument.defaultTextOption()''' 25173 return QTextOption() 25174 def setMaximumBlockCount(self, maximum): 25175 '''void QTextDocument.setMaximumBlockCount(int maximum)''' 25176 def maximumBlockCount(self): 25177 '''int QTextDocument.maximumBlockCount()''' 25178 return int() 25179 def defaultStyleSheet(self): 25180 '''QString QTextDocument.defaultStyleSheet()''' 25181 return QString() 25182 def setDefaultStyleSheet(self, sheet): 25183 '''void QTextDocument.setDefaultStyleSheet(QString sheet)''' 25184 def blockCount(self): 25185 '''int QTextDocument.blockCount()''' 25186 return int() 25187 def size(self): 25188 '''QSizeF QTextDocument.size()''' 25189 return QSizeF() 25190 def adjustSize(self): 25191 '''void QTextDocument.adjustSize()''' 25192 def idealWidth(self): 25193 '''float QTextDocument.idealWidth()''' 25194 return float() 25195 def textWidth(self): 25196 '''float QTextDocument.textWidth()''' 25197 return float() 25198 def setTextWidth(self, width): 25199 '''void QTextDocument.setTextWidth(float width)''' 25200 def drawContents(self, p, rect = QRectF()): 25201 '''void QTextDocument.drawContents(QPainter p, QRectF rect = QRectF())''' 25202 def loadResource(self, type, name): 25203 '''QVariant QTextDocument.loadResource(int type, QUrl name)''' 25204 return QVariant() 25205 def createObject(self, f): 25206 '''QTextObject QTextDocument.createObject(QTextFormat f)''' 25207 return QTextObject() 25208 def setModified(self, on = True): 25209 '''void QTextDocument.setModified(bool on = True)''' 25210 def redo(self): 25211 '''void QTextDocument.redo()''' 25212 def redo(self, cursor): 25213 '''void QTextDocument.redo(QTextCursor cursor)''' 25214 def undo(self): 25215 '''void QTextDocument.undo()''' 25216 def undo(self, cursor): 25217 '''void QTextDocument.undo(QTextCursor cursor)''' 25218 undoAvailable = pyqtSignal() # void undoAvailable(bool) - signal 25219 redoAvailable = pyqtSignal() # void redoAvailable(bool) - signal 25220 modificationChanged = pyqtSignal() # void modificationChanged(bool) - signal 25221 cursorPositionChanged = pyqtSignal() # void cursorPositionChanged(const QTextCursoramp;) - signal 25222 contentsChanged = pyqtSignal() # void contentsChanged() - signal 25223 contentsChange = pyqtSignal() # void contentsChange(int,int,int) - signal 25224 blockCountChanged = pyqtSignal() # void blockCountChanged(int) - signal 25225 def useDesignMetrics(self): 25226 '''bool QTextDocument.useDesignMetrics()''' 25227 return bool() 25228 def setUseDesignMetrics(self, b): 25229 '''void QTextDocument.setUseDesignMetrics(bool b)''' 25230 def markContentsDirty(self, from_, length): 25231 '''void QTextDocument.markContentsDirty(int from, int length)''' 25232 def allFormats(self): 25233 '''list-of-QTextFormat QTextDocument.allFormats()''' 25234 return [QTextFormat()] 25235 def addResource(self, type, name, resource): 25236 '''void QTextDocument.addResource(int type, QUrl name, QVariant resource)''' 25237 def resource(self, type, name): 25238 '''QVariant QTextDocument.resource(int type, QUrl name)''' 25239 return QVariant() 25240 def print_(self, printer): 25241 '''void QTextDocument.print_(QPrinter printer)''' 25242 def isModified(self): 25243 '''bool QTextDocument.isModified()''' 25244 return bool() 25245 def pageCount(self): 25246 '''int QTextDocument.pageCount()''' 25247 return int() 25248 def defaultFont(self): 25249 '''QFont QTextDocument.defaultFont()''' 25250 return QFont() 25251 def setDefaultFont(self, font): 25252 '''void QTextDocument.setDefaultFont(QFont font)''' 25253 def pageSize(self): 25254 '''QSizeF QTextDocument.pageSize()''' 25255 return QSizeF() 25256 def setPageSize(self, size): 25257 '''void QTextDocument.setPageSize(QSizeF size)''' 25258 def end(self): 25259 '''QTextBlock QTextDocument.end()''' 25260 return QTextBlock() 25261 def begin(self): 25262 '''QTextBlock QTextDocument.begin()''' 25263 return QTextBlock() 25264 def findBlock(self, pos): 25265 '''QTextBlock QTextDocument.findBlock(int pos)''' 25266 return QTextBlock() 25267 def objectForFormat(self): 25268 '''QTextFormat QTextDocument.objectForFormat()''' 25269 return QTextFormat() 25270 def object(self, objectIndex): 25271 '''QTextObject QTextDocument.object(int objectIndex)''' 25272 return QTextObject() 25273 def rootFrame(self): 25274 '''QTextFrame QTextDocument.rootFrame()''' 25275 return QTextFrame() 25276 def find(self, subString, position = 0, options = 0): 25277 '''QTextCursor QTextDocument.find(QString subString, int position = 0, QTextDocument.FindFlags options = 0)''' 25278 return QTextCursor() 25279 def find(self, expr, position = 0, options = 0): 25280 '''QTextCursor QTextDocument.find(QRegExp expr, int position = 0, QTextDocument.FindFlags options = 0)''' 25281 return QTextCursor() 25282 def find(self, subString, cursor, options = 0): 25283 '''QTextCursor QTextDocument.find(QString subString, QTextCursor cursor, QTextDocument.FindFlags options = 0)''' 25284 return QTextCursor() 25285 def find(self, expr, cursor, options = 0): 25286 '''QTextCursor QTextDocument.find(QRegExp expr, QTextCursor cursor, QTextDocument.FindFlags options = 0)''' 25287 return QTextCursor() 25288 def setPlainText(self, text): 25289 '''void QTextDocument.setPlainText(QString text)''' 25290 def toPlainText(self): 25291 '''QString QTextDocument.toPlainText()''' 25292 return QString() 25293 def setHtml(self, html): 25294 '''void QTextDocument.setHtml(QString html)''' 25295 def toHtml(self, encoding = QByteArray()): 25296 '''QString QTextDocument.toHtml(QByteArray encoding = QByteArray())''' 25297 return QString() 25298 def metaInformation(self, info): 25299 '''QString QTextDocument.metaInformation(QTextDocument.MetaInformation info)''' 25300 return QString() 25301 def setMetaInformation(self, info): 25302 '''QString QTextDocument.setMetaInformation(QTextDocument.MetaInformation info)''' 25303 return QString() 25304 def documentLayout(self): 25305 '''QAbstractTextDocumentLayout QTextDocument.documentLayout()''' 25306 return QAbstractTextDocumentLayout() 25307 def setDocumentLayout(self, layout): 25308 '''void QTextDocument.setDocumentLayout(QAbstractTextDocumentLayout layout)''' 25309 def isRedoAvailable(self): 25310 '''bool QTextDocument.isRedoAvailable()''' 25311 return bool() 25312 def isUndoAvailable(self): 25313 '''bool QTextDocument.isUndoAvailable()''' 25314 return bool() 25315 def isUndoRedoEnabled(self): 25316 '''bool QTextDocument.isUndoRedoEnabled()''' 25317 return bool() 25318 def setUndoRedoEnabled(self, enable): 25319 '''void QTextDocument.setUndoRedoEnabled(bool enable)''' 25320 def clear(self): 25321 '''void QTextDocument.clear()''' 25322 def isEmpty(self): 25323 '''bool QTextDocument.isEmpty()''' 25324 return bool() 25325 def clone(self, parent = None): 25326 '''QTextDocument QTextDocument.clone(QObject parent = None)''' 25327 return QTextDocument() 25328 class FindFlags(): 25329 """""" 25330 def __init__(self): 25331 '''QTextDocument.FindFlags QTextDocument.FindFlags.__init__()''' 25332 return QTextDocument.FindFlags() 25333 def __init__(self): 25334 '''int QTextDocument.FindFlags.__init__()''' 25335 return int() 25336 def __init__(self): 25337 '''void QTextDocument.FindFlags.__init__()''' 25338 def __bool__(self): 25339 '''int QTextDocument.FindFlags.__bool__()''' 25340 return int() 25341 def __ne__(self, f): 25342 '''bool QTextDocument.FindFlags.__ne__(QTextDocument.FindFlags f)''' 25343 return bool() 25344 def __eq__(self, f): 25345 '''bool QTextDocument.FindFlags.__eq__(QTextDocument.FindFlags f)''' 25346 return bool() 25347 def __invert__(self): 25348 '''QTextDocument.FindFlags QTextDocument.FindFlags.__invert__()''' 25349 return QTextDocument.FindFlags() 25350 def __and__(self, mask): 25351 '''QTextDocument.FindFlags QTextDocument.FindFlags.__and__(int mask)''' 25352 return QTextDocument.FindFlags() 25353 def __xor__(self, f): 25354 '''QTextDocument.FindFlags QTextDocument.FindFlags.__xor__(QTextDocument.FindFlags f)''' 25355 return QTextDocument.FindFlags() 25356 def __xor__(self, f): 25357 '''QTextDocument.FindFlags QTextDocument.FindFlags.__xor__(int f)''' 25358 return QTextDocument.FindFlags() 25359 def __or__(self, f): 25360 '''QTextDocument.FindFlags QTextDocument.FindFlags.__or__(QTextDocument.FindFlags f)''' 25361 return QTextDocument.FindFlags() 25362 def __or__(self, f): 25363 '''QTextDocument.FindFlags QTextDocument.FindFlags.__or__(int f)''' 25364 return QTextDocument.FindFlags() 25365 def __int__(self): 25366 '''int QTextDocument.FindFlags.__int__()''' 25367 return int() 25368 def __ixor__(self, f): 25369 '''QTextDocument.FindFlags QTextDocument.FindFlags.__ixor__(QTextDocument.FindFlags f)''' 25370 return QTextDocument.FindFlags() 25371 def __ior__(self, f): 25372 '''QTextDocument.FindFlags QTextDocument.FindFlags.__ior__(QTextDocument.FindFlags f)''' 25373 return QTextDocument.FindFlags() 25374 def __iand__(self, mask): 25375 '''QTextDocument.FindFlags QTextDocument.FindFlags.__iand__(int mask)''' 25376 return QTextDocument.FindFlags() 25377 25378 25379 class QTextDocumentFragment(): 25380 """""" 25381 def __init__(self): 25382 '''void QTextDocumentFragment.__init__()''' 25383 def __init__(self, document): 25384 '''void QTextDocumentFragment.__init__(QTextDocument document)''' 25385 def __init__(self, range): 25386 '''void QTextDocumentFragment.__init__(QTextCursor range)''' 25387 def __init__(self, rhs): 25388 '''void QTextDocumentFragment.__init__(QTextDocumentFragment rhs)''' 25389 def fromHtml(self, html): 25390 '''static QTextDocumentFragment QTextDocumentFragment.fromHtml(QString html)''' 25391 return QTextDocumentFragment() 25392 def fromHtml(self, html, resourceProvider): 25393 '''static QTextDocumentFragment QTextDocumentFragment.fromHtml(QString html, QTextDocument resourceProvider)''' 25394 return QTextDocumentFragment() 25395 def fromPlainText(self, plainText): 25396 '''static QTextDocumentFragment QTextDocumentFragment.fromPlainText(QString plainText)''' 25397 return QTextDocumentFragment() 25398 def toHtml(self): 25399 '''QString QTextDocumentFragment.toHtml()''' 25400 return QString() 25401 def toHtml(self, encoding): 25402 '''QString QTextDocumentFragment.toHtml(QByteArray encoding)''' 25403 return QString() 25404 def toPlainText(self): 25405 '''QString QTextDocumentFragment.toPlainText()''' 25406 return QString() 25407 def isEmpty(self): 25408 '''bool QTextDocumentFragment.isEmpty()''' 25409 return bool() 25410 25411 25412 class QTextDocumentWriter(): 25413 """""" 25414 def __init__(self): 25415 '''void QTextDocumentWriter.__init__()''' 25416 def __init__(self, device, format): 25417 '''void QTextDocumentWriter.__init__(QIODevice device, QByteArray format)''' 25418 def __init__(self, fileName, format = QByteArray()): 25419 '''void QTextDocumentWriter.__init__(QString fileName, QByteArray format = QByteArray())''' 25420 def supportedDocumentFormats(self): 25421 '''static list-of-QByteArray QTextDocumentWriter.supportedDocumentFormats()''' 25422 return [QByteArray()] 25423 def codec(self): 25424 '''QTextCodec QTextDocumentWriter.codec()''' 25425 return QTextCodec() 25426 def setCodec(self, codec): 25427 '''void QTextDocumentWriter.setCodec(QTextCodec codec)''' 25428 def write(self, document): 25429 '''bool QTextDocumentWriter.write(QTextDocument document)''' 25430 return bool() 25431 def write(self, fragment): 25432 '''bool QTextDocumentWriter.write(QTextDocumentFragment fragment)''' 25433 return bool() 25434 def fileName(self): 25435 '''QString QTextDocumentWriter.fileName()''' 25436 return QString() 25437 def setFileName(self, fileName): 25438 '''void QTextDocumentWriter.setFileName(QString fileName)''' 25439 def device(self): 25440 '''QIODevice QTextDocumentWriter.device()''' 25441 return QIODevice() 25442 def setDevice(self, device): 25443 '''void QTextDocumentWriter.setDevice(QIODevice device)''' 25444 def format(self): 25445 '''QByteArray QTextDocumentWriter.format()''' 25446 return QByteArray() 25447 def setFormat(self, format): 25448 '''void QTextDocumentWriter.setFormat(QByteArray format)''' 25449 25450 25451 class QTextLength(): 25452 """""" 25453 # Enum QTextLength.Type 25454 VariableLength = 0 25455 FixedLength = 0 25456 PercentageLength = 0 25457 25458 def __init__(self): 25459 '''void QTextLength.__init__()''' 25460 def __init__(self, atype, avalue): 25461 '''void QTextLength.__init__(QTextLength.Type atype, float avalue)''' 25462 def __init__(self, variant): 25463 '''void QTextLength.__init__(QVariant variant)''' 25464 def __init__(self): 25465 '''QTextLength QTextLength.__init__()''' 25466 return QTextLength() 25467 def __ne__(self, other): 25468 '''bool QTextLength.__ne__(QTextLength other)''' 25469 return bool() 25470 def __eq__(self, other): 25471 '''bool QTextLength.__eq__(QTextLength other)''' 25472 return bool() 25473 def rawValue(self): 25474 '''float QTextLength.rawValue()''' 25475 return float() 25476 def value(self, maximumLength): 25477 '''float QTextLength.value(float maximumLength)''' 25478 return float() 25479 def type(self): 25480 '''QTextLength.Type QTextLength.type()''' 25481 return QTextLength.Type() 25482 25483 25484 class QTextFormat(): 25485 """""" 25486 # Enum QTextFormat.Property 25487 ObjectIndex = 0 25488 CssFloat = 0 25489 LayoutDirection = 0 25490 OutlinePen = 0 25491 BackgroundBrush = 0 25492 ForegroundBrush = 0 25493 BlockAlignment = 0 25494 BlockTopMargin = 0 25495 BlockBottomMargin = 0 25496 BlockLeftMargin = 0 25497 BlockRightMargin = 0 25498 TextIndent = 0 25499 BlockIndent = 0 25500 BlockNonBreakableLines = 0 25501 BlockTrailingHorizontalRulerWidth = 0 25502 FontFamily = 0 25503 FontPointSize = 0 25504 FontSizeAdjustment = 0 25505 FontSizeIncrement = 0 25506 FontWeight = 0 25507 FontItalic = 0 25508 FontUnderline = 0 25509 FontOverline = 0 25510 FontStrikeOut = 0 25511 FontFixedPitch = 0 25512 FontPixelSize = 0 25513 TextUnderlineColor = 0 25514 TextVerticalAlignment = 0 25515 TextOutline = 0 25516 IsAnchor = 0 25517 AnchorHref = 0 25518 AnchorName = 0 25519 ObjectType = 0 25520 ListStyle = 0 25521 ListIndent = 0 25522 FrameBorder = 0 25523 FrameMargin = 0 25524 FramePadding = 0 25525 FrameWidth = 0 25526 FrameHeight = 0 25527 TableColumns = 0 25528 TableColumnWidthConstraints = 0 25529 TableCellSpacing = 0 25530 TableCellPadding = 0 25531 TableCellRowSpan = 0 25532 TableCellColumnSpan = 0 25533 ImageName = 0 25534 ImageWidth = 0 25535 ImageHeight = 0 25536 TextUnderlineStyle = 0 25537 TableHeaderRowCount = 0 25538 FullWidthSelection = 0 25539 PageBreakPolicy = 0 25540 TextToolTip = 0 25541 FrameTopMargin = 0 25542 FrameBottomMargin = 0 25543 FrameLeftMargin = 0 25544 FrameRightMargin = 0 25545 FrameBorderBrush = 0 25546 FrameBorderStyle = 0 25547 BackgroundImageUrl = 0 25548 TabPositions = 0 25549 FirstFontProperty = 0 25550 FontCapitalization = 0 25551 FontLetterSpacing = 0 25552 FontWordSpacing = 0 25553 LastFontProperty = 0 25554 TableCellTopPadding = 0 25555 TableCellBottomPadding = 0 25556 TableCellLeftPadding = 0 25557 TableCellRightPadding = 0 25558 FontStyleHint = 0 25559 FontStyleStrategy = 0 25560 FontKerning = 0 25561 LineHeight = 0 25562 LineHeightType = 0 25563 FontHintingPreference = 0 25564 ListNumberPrefix = 0 25565 ListNumberSuffix = 0 25566 UserProperty = 0 25567 25568 # Enum QTextFormat.PageBreakFlag 25569 PageBreak_Auto = 0 25570 PageBreak_AlwaysBefore = 0 25571 PageBreak_AlwaysAfter = 0 25572 25573 # Enum QTextFormat.ObjectTypes 25574 NoObject = 0 25575 ImageObject = 0 25576 TableObject = 0 25577 TableCellObject = 0 25578 UserObject = 0 25579 25580 # Enum QTextFormat.FormatType 25581 InvalidFormat = 0 25582 BlockFormat = 0 25583 CharFormat = 0 25584 ListFormat = 0 25585 TableFormat = 0 25586 FrameFormat = 0 25587 UserFormat = 0 25588 25589 def __init__(self): 25590 '''void QTextFormat.__init__()''' 25591 def __init__(self, type): 25592 '''void QTextFormat.__init__(int type)''' 25593 def __init__(self, rhs): 25594 '''void QTextFormat.__init__(QTextFormat rhs)''' 25595 def __init__(self, variant): 25596 '''void QTextFormat.__init__(QVariant variant)''' 25597 def toTableCellFormat(self): 25598 '''QTextTableCellFormat QTextFormat.toTableCellFormat()''' 25599 return QTextTableCellFormat() 25600 def isTableCellFormat(self): 25601 '''bool QTextFormat.isTableCellFormat()''' 25602 return bool() 25603 def propertyCount(self): 25604 '''int QTextFormat.propertyCount()''' 25605 return int() 25606 def setObjectType(self, atype): 25607 '''void QTextFormat.setObjectType(int atype)''' 25608 def clearForeground(self): 25609 '''void QTextFormat.clearForeground()''' 25610 def foreground(self): 25611 '''QBrush QTextFormat.foreground()''' 25612 return QBrush() 25613 def setForeground(self, brush): 25614 '''void QTextFormat.setForeground(QBrush brush)''' 25615 def clearBackground(self): 25616 '''void QTextFormat.clearBackground()''' 25617 def background(self): 25618 '''QBrush QTextFormat.background()''' 25619 return QBrush() 25620 def setBackground(self, brush): 25621 '''void QTextFormat.setBackground(QBrush brush)''' 25622 def layoutDirection(self): 25623 '''Qt.LayoutDirection QTextFormat.layoutDirection()''' 25624 return Qt.LayoutDirection() 25625 def setLayoutDirection(self, direction): 25626 '''void QTextFormat.setLayoutDirection(Qt.LayoutDirection direction)''' 25627 def __ne__(self, rhs): 25628 '''bool QTextFormat.__ne__(QTextFormat rhs)''' 25629 return bool() 25630 def __eq__(self, rhs): 25631 '''bool QTextFormat.__eq__(QTextFormat rhs)''' 25632 return bool() 25633 def toImageFormat(self): 25634 '''QTextImageFormat QTextFormat.toImageFormat()''' 25635 return QTextImageFormat() 25636 def toFrameFormat(self): 25637 '''QTextFrameFormat QTextFormat.toFrameFormat()''' 25638 return QTextFrameFormat() 25639 def toTableFormat(self): 25640 '''QTextTableFormat QTextFormat.toTableFormat()''' 25641 return QTextTableFormat() 25642 def toListFormat(self): 25643 '''QTextListFormat QTextFormat.toListFormat()''' 25644 return QTextListFormat() 25645 def toCharFormat(self): 25646 '''QTextCharFormat QTextFormat.toCharFormat()''' 25647 return QTextCharFormat() 25648 def toBlockFormat(self): 25649 '''QTextBlockFormat QTextFormat.toBlockFormat()''' 25650 return QTextBlockFormat() 25651 def isTableFormat(self): 25652 '''bool QTextFormat.isTableFormat()''' 25653 return bool() 25654 def isImageFormat(self): 25655 '''bool QTextFormat.isImageFormat()''' 25656 return bool() 25657 def isFrameFormat(self): 25658 '''bool QTextFormat.isFrameFormat()''' 25659 return bool() 25660 def isListFormat(self): 25661 '''bool QTextFormat.isListFormat()''' 25662 return bool() 25663 def isBlockFormat(self): 25664 '''bool QTextFormat.isBlockFormat()''' 25665 return bool() 25666 def isCharFormat(self): 25667 '''bool QTextFormat.isCharFormat()''' 25668 return bool() 25669 def objectType(self): 25670 '''int QTextFormat.objectType()''' 25671 return int() 25672 def properties(self): 25673 '''dict-of-int-QVariant QTextFormat.properties()''' 25674 return dict-of-int-QVariant() 25675 def lengthVectorProperty(self, propertyId): 25676 '''list-of-QTextLength QTextFormat.lengthVectorProperty(int propertyId)''' 25677 return [QTextLength()] 25678 def lengthProperty(self, propertyId): 25679 '''QTextLength QTextFormat.lengthProperty(int propertyId)''' 25680 return QTextLength() 25681 def brushProperty(self, propertyId): 25682 '''QBrush QTextFormat.brushProperty(int propertyId)''' 25683 return QBrush() 25684 def penProperty(self, propertyId): 25685 '''QPen QTextFormat.penProperty(int propertyId)''' 25686 return QPen() 25687 def colorProperty(self, propertyId): 25688 '''QColor QTextFormat.colorProperty(int propertyId)''' 25689 return QColor() 25690 def stringProperty(self, propertyId): 25691 '''QString QTextFormat.stringProperty(int propertyId)''' 25692 return QString() 25693 def doubleProperty(self, propertyId): 25694 '''float QTextFormat.doubleProperty(int propertyId)''' 25695 return float() 25696 def intProperty(self, propertyId): 25697 '''int QTextFormat.intProperty(int propertyId)''' 25698 return int() 25699 def boolProperty(self, propertyId): 25700 '''bool QTextFormat.boolProperty(int propertyId)''' 25701 return bool() 25702 def hasProperty(self, propertyId): 25703 '''bool QTextFormat.hasProperty(int propertyId)''' 25704 return bool() 25705 def clearProperty(self, propertyId): 25706 '''void QTextFormat.clearProperty(int propertyId)''' 25707 def setProperty(self, propertyId, value): 25708 '''void QTextFormat.setProperty(int propertyId, QVariant value)''' 25709 def setProperty(self, propertyId, lengths): 25710 '''void QTextFormat.setProperty(int propertyId, list-of-QTextLength lengths)''' 25711 def property(self, propertyId): 25712 '''QVariant QTextFormat.property(int propertyId)''' 25713 return QVariant() 25714 def setObjectIndex(self, object): 25715 '''void QTextFormat.setObjectIndex(int object)''' 25716 def objectIndex(self): 25717 '''int QTextFormat.objectIndex()''' 25718 return int() 25719 def type(self): 25720 '''int QTextFormat.type()''' 25721 return int() 25722 def isValid(self): 25723 '''bool QTextFormat.isValid()''' 25724 return bool() 25725 def merge(self, other): 25726 '''void QTextFormat.merge(QTextFormat other)''' 25727 class PageBreakFlags(): 25728 """""" 25729 def __init__(self): 25730 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__init__()''' 25731 return QTextFormat.PageBreakFlags() 25732 def __init__(self): 25733 '''int QTextFormat.PageBreakFlags.__init__()''' 25734 return int() 25735 def __init__(self): 25736 '''void QTextFormat.PageBreakFlags.__init__()''' 25737 def __bool__(self): 25738 '''int QTextFormat.PageBreakFlags.__bool__()''' 25739 return int() 25740 def __ne__(self, f): 25741 '''bool QTextFormat.PageBreakFlags.__ne__(QTextFormat.PageBreakFlags f)''' 25742 return bool() 25743 def __eq__(self, f): 25744 '''bool QTextFormat.PageBreakFlags.__eq__(QTextFormat.PageBreakFlags f)''' 25745 return bool() 25746 def __invert__(self): 25747 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__invert__()''' 25748 return QTextFormat.PageBreakFlags() 25749 def __and__(self, mask): 25750 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__and__(int mask)''' 25751 return QTextFormat.PageBreakFlags() 25752 def __xor__(self, f): 25753 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__xor__(QTextFormat.PageBreakFlags f)''' 25754 return QTextFormat.PageBreakFlags() 25755 def __xor__(self, f): 25756 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__xor__(int f)''' 25757 return QTextFormat.PageBreakFlags() 25758 def __or__(self, f): 25759 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__or__(QTextFormat.PageBreakFlags f)''' 25760 return QTextFormat.PageBreakFlags() 25761 def __or__(self, f): 25762 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__or__(int f)''' 25763 return QTextFormat.PageBreakFlags() 25764 def __int__(self): 25765 '''int QTextFormat.PageBreakFlags.__int__()''' 25766 return int() 25767 def __ixor__(self, f): 25768 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__ixor__(QTextFormat.PageBreakFlags f)''' 25769 return QTextFormat.PageBreakFlags() 25770 def __ior__(self, f): 25771 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__ior__(QTextFormat.PageBreakFlags f)''' 25772 return QTextFormat.PageBreakFlags() 25773 def __iand__(self, mask): 25774 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__iand__(int mask)''' 25775 return QTextFormat.PageBreakFlags() 25776 25777 25778 class QTextCharFormat(QTextFormat): 25779 """""" 25780 # Enum QTextCharFormat.UnderlineStyle 25781 NoUnderline = 0 25782 SingleUnderline = 0 25783 DashUnderline = 0 25784 DotLine = 0 25785 DashDotLine = 0 25786 DashDotDotLine = 0 25787 WaveUnderline = 0 25788 SpellCheckUnderline = 0 25789 25790 # Enum QTextCharFormat.VerticalAlignment 25791 AlignNormal = 0 25792 AlignSuperScript = 0 25793 AlignSubScript = 0 25794 AlignMiddle = 0 25795 AlignTop = 0 25796 AlignBottom = 0 25797 AlignBaseline = 0 25798 25799 def __init__(self): 25800 '''void QTextCharFormat.__init__()''' 25801 def __init__(self): 25802 '''QTextCharFormat QTextCharFormat.__init__()''' 25803 return QTextCharFormat() 25804 def fontHintingPreference(self): 25805 '''QFont.HintingPreference QTextCharFormat.fontHintingPreference()''' 25806 return QFont.HintingPreference() 25807 def setFontHintingPreference(self, hintingPreference): 25808 '''void QTextCharFormat.setFontHintingPreference(QFont.HintingPreference hintingPreference)''' 25809 def fontKerning(self): 25810 '''bool QTextCharFormat.fontKerning()''' 25811 return bool() 25812 def setFontKerning(self, enable): 25813 '''void QTextCharFormat.setFontKerning(bool enable)''' 25814 def fontStyleStrategy(self): 25815 '''QFont.StyleStrategy QTextCharFormat.fontStyleStrategy()''' 25816 return QFont.StyleStrategy() 25817 def fontStyleHint(self): 25818 '''QFont.StyleHint QTextCharFormat.fontStyleHint()''' 25819 return QFont.StyleHint() 25820 def setFontStyleStrategy(self, strategy): 25821 '''void QTextCharFormat.setFontStyleStrategy(QFont.StyleStrategy strategy)''' 25822 def setFontStyleHint(self, hint, strategy = None): 25823 '''void QTextCharFormat.setFontStyleHint(QFont.StyleHint hint, QFont.StyleStrategy strategy = QFont.PreferDefault)''' 25824 def fontWordSpacing(self): 25825 '''float QTextCharFormat.fontWordSpacing()''' 25826 return float() 25827 def setFontWordSpacing(self, spacing): 25828 '''void QTextCharFormat.setFontWordSpacing(float spacing)''' 25829 def fontLetterSpacing(self): 25830 '''float QTextCharFormat.fontLetterSpacing()''' 25831 return float() 25832 def setFontLetterSpacing(self, spacing): 25833 '''void QTextCharFormat.setFontLetterSpacing(float spacing)''' 25834 def fontCapitalization(self): 25835 '''QFont.Capitalization QTextCharFormat.fontCapitalization()''' 25836 return QFont.Capitalization() 25837 def setFontCapitalization(self, capitalization): 25838 '''void QTextCharFormat.setFontCapitalization(QFont.Capitalization capitalization)''' 25839 def anchorNames(self): 25840 '''QStringList QTextCharFormat.anchorNames()''' 25841 return QStringList() 25842 def setAnchorNames(self, names): 25843 '''void QTextCharFormat.setAnchorNames(QStringList names)''' 25844 def toolTip(self): 25845 '''QString QTextCharFormat.toolTip()''' 25846 return QString() 25847 def setToolTip(self, tip): 25848 '''void QTextCharFormat.setToolTip(QString tip)''' 25849 def underlineStyle(self): 25850 '''QTextCharFormat.UnderlineStyle QTextCharFormat.underlineStyle()''' 25851 return QTextCharFormat.UnderlineStyle() 25852 def setUnderlineStyle(self, style): 25853 '''void QTextCharFormat.setUnderlineStyle(QTextCharFormat.UnderlineStyle style)''' 25854 def textOutline(self): 25855 '''QPen QTextCharFormat.textOutline()''' 25856 return QPen() 25857 def setTextOutline(self, pen): 25858 '''void QTextCharFormat.setTextOutline(QPen pen)''' 25859 def setTableCellColumnSpan(self, atableCellColumnSpan): 25860 '''void QTextCharFormat.setTableCellColumnSpan(int atableCellColumnSpan)''' 25861 def setTableCellRowSpan(self, atableCellRowSpan): 25862 '''void QTextCharFormat.setTableCellRowSpan(int atableCellRowSpan)''' 25863 def tableCellColumnSpan(self): 25864 '''int QTextCharFormat.tableCellColumnSpan()''' 25865 return int() 25866 def tableCellRowSpan(self): 25867 '''int QTextCharFormat.tableCellRowSpan()''' 25868 return int() 25869 def anchorName(self): 25870 '''QString QTextCharFormat.anchorName()''' 25871 return QString() 25872 def setAnchorName(self, name): 25873 '''void QTextCharFormat.setAnchorName(QString name)''' 25874 def anchorHref(self): 25875 '''QString QTextCharFormat.anchorHref()''' 25876 return QString() 25877 def setAnchorHref(self, value): 25878 '''void QTextCharFormat.setAnchorHref(QString value)''' 25879 def isAnchor(self): 25880 '''bool QTextCharFormat.isAnchor()''' 25881 return bool() 25882 def setAnchor(self, anchor): 25883 '''void QTextCharFormat.setAnchor(bool anchor)''' 25884 def verticalAlignment(self): 25885 '''QTextCharFormat.VerticalAlignment QTextCharFormat.verticalAlignment()''' 25886 return QTextCharFormat.VerticalAlignment() 25887 def setVerticalAlignment(self, alignment): 25888 '''void QTextCharFormat.setVerticalAlignment(QTextCharFormat.VerticalAlignment alignment)''' 25889 def fontFixedPitch(self): 25890 '''bool QTextCharFormat.fontFixedPitch()''' 25891 return bool() 25892 def setFontFixedPitch(self, fixedPitch): 25893 '''void QTextCharFormat.setFontFixedPitch(bool fixedPitch)''' 25894 def underlineColor(self): 25895 '''QColor QTextCharFormat.underlineColor()''' 25896 return QColor() 25897 def setUnderlineColor(self, color): 25898 '''void QTextCharFormat.setUnderlineColor(QColor color)''' 25899 def fontStrikeOut(self): 25900 '''bool QTextCharFormat.fontStrikeOut()''' 25901 return bool() 25902 def setFontStrikeOut(self, strikeOut): 25903 '''void QTextCharFormat.setFontStrikeOut(bool strikeOut)''' 25904 def fontOverline(self): 25905 '''bool QTextCharFormat.fontOverline()''' 25906 return bool() 25907 def setFontOverline(self, overline): 25908 '''void QTextCharFormat.setFontOverline(bool overline)''' 25909 def fontUnderline(self): 25910 '''bool QTextCharFormat.fontUnderline()''' 25911 return bool() 25912 def setFontUnderline(self, underline): 25913 '''void QTextCharFormat.setFontUnderline(bool underline)''' 25914 def fontItalic(self): 25915 '''bool QTextCharFormat.fontItalic()''' 25916 return bool() 25917 def setFontItalic(self, italic): 25918 '''void QTextCharFormat.setFontItalic(bool italic)''' 25919 def fontWeight(self): 25920 '''int QTextCharFormat.fontWeight()''' 25921 return int() 25922 def setFontWeight(self, weight): 25923 '''void QTextCharFormat.setFontWeight(int weight)''' 25924 def fontPointSize(self): 25925 '''float QTextCharFormat.fontPointSize()''' 25926 return float() 25927 def setFontPointSize(self, size): 25928 '''void QTextCharFormat.setFontPointSize(float size)''' 25929 def fontFamily(self): 25930 '''QString QTextCharFormat.fontFamily()''' 25931 return QString() 25932 def setFontFamily(self, family): 25933 '''void QTextCharFormat.setFontFamily(QString family)''' 25934 def font(self): 25935 '''QFont QTextCharFormat.font()''' 25936 return QFont() 25937 def setFont(self, font): 25938 '''void QTextCharFormat.setFont(QFont font)''' 25939 def isValid(self): 25940 '''bool QTextCharFormat.isValid()''' 25941 return bool() 25942 25943 25944 class QTextBlockFormat(QTextFormat): 25945 """""" 25946 # Enum QTextBlockFormat.LineHeightTypes 25947 SingleHeight = 0 25948 ProportionalHeight = 0 25949 FixedHeight = 0 25950 MinimumHeight = 0 25951 LineDistanceHeight = 0 25952 25953 def __init__(self): 25954 '''void QTextBlockFormat.__init__()''' 25955 def __init__(self): 25956 '''QTextBlockFormat QTextBlockFormat.__init__()''' 25957 return QTextBlockFormat() 25958 def lineHeightType(self): 25959 '''int QTextBlockFormat.lineHeightType()''' 25960 return int() 25961 def lineHeight(self, scriptLineHeight, scaling): 25962 '''float QTextBlockFormat.lineHeight(float scriptLineHeight, float scaling)''' 25963 return float() 25964 def lineHeight(self): 25965 '''float QTextBlockFormat.lineHeight()''' 25966 return float() 25967 def setLineHeight(self, height, heightType): 25968 '''void QTextBlockFormat.setLineHeight(float height, int heightType)''' 25969 def tabPositions(self): 25970 '''list-of-QTextOption.Tab QTextBlockFormat.tabPositions()''' 25971 return [QTextOption.Tab()] 25972 def setTabPositions(self, tabs): 25973 '''void QTextBlockFormat.setTabPositions(list-of-QTextOption.Tab tabs)''' 25974 def pageBreakPolicy(self): 25975 '''QTextFormat.PageBreakFlags QTextBlockFormat.pageBreakPolicy()''' 25976 return QTextFormat.PageBreakFlags() 25977 def setPageBreakPolicy(self, flags): 25978 '''void QTextBlockFormat.setPageBreakPolicy(QTextFormat.PageBreakFlags flags)''' 25979 def setIndent(self, aindent): 25980 '''void QTextBlockFormat.setIndent(int aindent)''' 25981 def setAlignment(self, aalignment): 25982 '''void QTextBlockFormat.setAlignment(Qt.Alignment aalignment)''' 25983 def nonBreakableLines(self): 25984 '''bool QTextBlockFormat.nonBreakableLines()''' 25985 return bool() 25986 def setNonBreakableLines(self, b): 25987 '''void QTextBlockFormat.setNonBreakableLines(bool b)''' 25988 def indent(self): 25989 '''int QTextBlockFormat.indent()''' 25990 return int() 25991 def textIndent(self): 25992 '''float QTextBlockFormat.textIndent()''' 25993 return float() 25994 def setTextIndent(self, margin): 25995 '''void QTextBlockFormat.setTextIndent(float margin)''' 25996 def rightMargin(self): 25997 '''float QTextBlockFormat.rightMargin()''' 25998 return float() 25999 def setRightMargin(self, margin): 26000 '''void QTextBlockFormat.setRightMargin(float margin)''' 26001 def leftMargin(self): 26002 '''float QTextBlockFormat.leftMargin()''' 26003 return float() 26004 def setLeftMargin(self, margin): 26005 '''void QTextBlockFormat.setLeftMargin(float margin)''' 26006 def bottomMargin(self): 26007 '''float QTextBlockFormat.bottomMargin()''' 26008 return float() 26009 def setBottomMargin(self, margin): 26010 '''void QTextBlockFormat.setBottomMargin(float margin)''' 26011 def topMargin(self): 26012 '''float QTextBlockFormat.topMargin()''' 26013 return float() 26014 def setTopMargin(self, margin): 26015 '''void QTextBlockFormat.setTopMargin(float margin)''' 26016 def alignment(self): 26017 '''Qt.Alignment QTextBlockFormat.alignment()''' 26018 return Qt.Alignment() 26019 def isValid(self): 26020 '''bool QTextBlockFormat.isValid()''' 26021 return bool() 26022 26023 26024 class QTextListFormat(QTextFormat): 26025 """""" 26026 # Enum QTextListFormat.Style 26027 ListDisc = 0 26028 ListCircle = 0 26029 ListSquare = 0 26030 ListDecimal = 0 26031 ListLowerAlpha = 0 26032 ListUpperAlpha = 0 26033 ListLowerRoman = 0 26034 ListUpperRoman = 0 26035 26036 def __init__(self): 26037 '''void QTextListFormat.__init__()''' 26038 def __init__(self): 26039 '''QTextListFormat QTextListFormat.__init__()''' 26040 return QTextListFormat() 26041 def setNumberSuffix(self, ns): 26042 '''void QTextListFormat.setNumberSuffix(QString ns)''' 26043 def setNumberPrefix(self, np): 26044 '''void QTextListFormat.setNumberPrefix(QString np)''' 26045 def numberSuffix(self): 26046 '''QString QTextListFormat.numberSuffix()''' 26047 return QString() 26048 def numberPrefix(self): 26049 '''QString QTextListFormat.numberPrefix()''' 26050 return QString() 26051 def setIndent(self, aindent): 26052 '''void QTextListFormat.setIndent(int aindent)''' 26053 def setStyle(self, astyle): 26054 '''void QTextListFormat.setStyle(QTextListFormat.Style astyle)''' 26055 def indent(self): 26056 '''int QTextListFormat.indent()''' 26057 return int() 26058 def style(self): 26059 '''QTextListFormat.Style QTextListFormat.style()''' 26060 return QTextListFormat.Style() 26061 def isValid(self): 26062 '''bool QTextListFormat.isValid()''' 26063 return bool() 26064 26065 26066 class QTextImageFormat(QTextCharFormat): 26067 """""" 26068 def __init__(self): 26069 '''void QTextImageFormat.__init__()''' 26070 def __init__(self): 26071 '''QTextImageFormat QTextImageFormat.__init__()''' 26072 return QTextImageFormat() 26073 def setHeight(self, aheight): 26074 '''void QTextImageFormat.setHeight(float aheight)''' 26075 def setWidth(self, awidth): 26076 '''void QTextImageFormat.setWidth(float awidth)''' 26077 def setName(self, aname): 26078 '''void QTextImageFormat.setName(QString aname)''' 26079 def height(self): 26080 '''float QTextImageFormat.height()''' 26081 return float() 26082 def width(self): 26083 '''float QTextImageFormat.width()''' 26084 return float() 26085 def name(self): 26086 '''QString QTextImageFormat.name()''' 26087 return QString() 26088 def isValid(self): 26089 '''bool QTextImageFormat.isValid()''' 26090 return bool() 26091 26092 26093 class QTextFrameFormat(QTextFormat): 26094 """""" 26095 # Enum QTextFrameFormat.BorderStyle 26096 BorderStyle_None = 0 26097 BorderStyle_Dotted = 0 26098 BorderStyle_Dashed = 0 26099 BorderStyle_Solid = 0 26100 BorderStyle_Double = 0 26101 BorderStyle_DotDash = 0 26102 BorderStyle_DotDotDash = 0 26103 BorderStyle_Groove = 0 26104 BorderStyle_Ridge = 0 26105 BorderStyle_Inset = 0 26106 BorderStyle_Outset = 0 26107 26108 # Enum QTextFrameFormat.Position 26109 InFlow = 0 26110 FloatLeft = 0 26111 FloatRight = 0 26112 26113 def __init__(self): 26114 '''void QTextFrameFormat.__init__()''' 26115 def __init__(self): 26116 '''QTextFrameFormat QTextFrameFormat.__init__()''' 26117 return QTextFrameFormat() 26118 def setRightMargin(self, amargin): 26119 '''void QTextFrameFormat.setRightMargin(float amargin)''' 26120 def setLeftMargin(self, amargin): 26121 '''void QTextFrameFormat.setLeftMargin(float amargin)''' 26122 def setBottomMargin(self, amargin): 26123 '''void QTextFrameFormat.setBottomMargin(float amargin)''' 26124 def setTopMargin(self, amargin): 26125 '''void QTextFrameFormat.setTopMargin(float amargin)''' 26126 def rightMargin(self): 26127 '''float QTextFrameFormat.rightMargin()''' 26128 return float() 26129 def leftMargin(self): 26130 '''float QTextFrameFormat.leftMargin()''' 26131 return float() 26132 def bottomMargin(self): 26133 '''float QTextFrameFormat.bottomMargin()''' 26134 return float() 26135 def topMargin(self): 26136 '''float QTextFrameFormat.topMargin()''' 26137 return float() 26138 def borderStyle(self): 26139 '''QTextFrameFormat.BorderStyle QTextFrameFormat.borderStyle()''' 26140 return QTextFrameFormat.BorderStyle() 26141 def setBorderStyle(self, style): 26142 '''void QTextFrameFormat.setBorderStyle(QTextFrameFormat.BorderStyle style)''' 26143 def borderBrush(self): 26144 '''QBrush QTextFrameFormat.borderBrush()''' 26145 return QBrush() 26146 def setBorderBrush(self, brush): 26147 '''void QTextFrameFormat.setBorderBrush(QBrush brush)''' 26148 def pageBreakPolicy(self): 26149 '''QTextFormat.PageBreakFlags QTextFrameFormat.pageBreakPolicy()''' 26150 return QTextFormat.PageBreakFlags() 26151 def setPageBreakPolicy(self, flags): 26152 '''void QTextFrameFormat.setPageBreakPolicy(QTextFormat.PageBreakFlags flags)''' 26153 def setHeight(self, aheight): 26154 '''void QTextFrameFormat.setHeight(float aheight)''' 26155 def setHeight(self, aheight): 26156 '''void QTextFrameFormat.setHeight(QTextLength aheight)''' 26157 def setPadding(self, apadding): 26158 '''void QTextFrameFormat.setPadding(float apadding)''' 26159 def setMargin(self, amargin): 26160 '''void QTextFrameFormat.setMargin(float amargin)''' 26161 def setBorder(self, aborder): 26162 '''void QTextFrameFormat.setBorder(float aborder)''' 26163 def height(self): 26164 '''QTextLength QTextFrameFormat.height()''' 26165 return QTextLength() 26166 def width(self): 26167 '''QTextLength QTextFrameFormat.width()''' 26168 return QTextLength() 26169 def setWidth(self, length): 26170 '''void QTextFrameFormat.setWidth(QTextLength length)''' 26171 def setWidth(self, awidth): 26172 '''void QTextFrameFormat.setWidth(float awidth)''' 26173 def padding(self): 26174 '''float QTextFrameFormat.padding()''' 26175 return float() 26176 def margin(self): 26177 '''float QTextFrameFormat.margin()''' 26178 return float() 26179 def border(self): 26180 '''float QTextFrameFormat.border()''' 26181 return float() 26182 def position(self): 26183 '''QTextFrameFormat.Position QTextFrameFormat.position()''' 26184 return QTextFrameFormat.Position() 26185 def setPosition(self, f): 26186 '''void QTextFrameFormat.setPosition(QTextFrameFormat.Position f)''' 26187 def isValid(self): 26188 '''bool QTextFrameFormat.isValid()''' 26189 return bool() 26190 26191 26192 class QTextTableFormat(QTextFrameFormat): 26193 """""" 26194 def __init__(self): 26195 '''void QTextTableFormat.__init__()''' 26196 def __init__(self): 26197 '''QTextTableFormat QTextTableFormat.__init__()''' 26198 return QTextTableFormat() 26199 def headerRowCount(self): 26200 '''int QTextTableFormat.headerRowCount()''' 26201 return int() 26202 def setHeaderRowCount(self, count): 26203 '''void QTextTableFormat.setHeaderRowCount(int count)''' 26204 def setAlignment(self, aalignment): 26205 '''void QTextTableFormat.setAlignment(Qt.Alignment aalignment)''' 26206 def setCellPadding(self, apadding): 26207 '''void QTextTableFormat.setCellPadding(float apadding)''' 26208 def setColumns(self, acolumns): 26209 '''void QTextTableFormat.setColumns(int acolumns)''' 26210 def alignment(self): 26211 '''Qt.Alignment QTextTableFormat.alignment()''' 26212 return Qt.Alignment() 26213 def cellPadding(self): 26214 '''float QTextTableFormat.cellPadding()''' 26215 return float() 26216 def setCellSpacing(self, spacing): 26217 '''void QTextTableFormat.setCellSpacing(float spacing)''' 26218 def cellSpacing(self): 26219 '''float QTextTableFormat.cellSpacing()''' 26220 return float() 26221 def clearColumnWidthConstraints(self): 26222 '''void QTextTableFormat.clearColumnWidthConstraints()''' 26223 def columnWidthConstraints(self): 26224 '''list-of-QTextLength QTextTableFormat.columnWidthConstraints()''' 26225 return [QTextLength()] 26226 def setColumnWidthConstraints(self, constraints): 26227 '''void QTextTableFormat.setColumnWidthConstraints(list-of-QTextLength constraints)''' 26228 def columns(self): 26229 '''int QTextTableFormat.columns()''' 26230 return int() 26231 def isValid(self): 26232 '''bool QTextTableFormat.isValid()''' 26233 return bool() 26234 26235 26236 class QTextTableCellFormat(QTextCharFormat): 26237 """""" 26238 def __init__(self): 26239 '''void QTextTableCellFormat.__init__()''' 26240 def __init__(self): 26241 '''QTextTableCellFormat QTextTableCellFormat.__init__()''' 26242 return QTextTableCellFormat() 26243 def setPadding(self, padding): 26244 '''void QTextTableCellFormat.setPadding(float padding)''' 26245 def rightPadding(self): 26246 '''float QTextTableCellFormat.rightPadding()''' 26247 return float() 26248 def setRightPadding(self, padding): 26249 '''void QTextTableCellFormat.setRightPadding(float padding)''' 26250 def leftPadding(self): 26251 '''float QTextTableCellFormat.leftPadding()''' 26252 return float() 26253 def setLeftPadding(self, padding): 26254 '''void QTextTableCellFormat.setLeftPadding(float padding)''' 26255 def bottomPadding(self): 26256 '''float QTextTableCellFormat.bottomPadding()''' 26257 return float() 26258 def setBottomPadding(self, padding): 26259 '''void QTextTableCellFormat.setBottomPadding(float padding)''' 26260 def topPadding(self): 26261 '''float QTextTableCellFormat.topPadding()''' 26262 return float() 26263 def setTopPadding(self, padding): 26264 '''void QTextTableCellFormat.setTopPadding(float padding)''' 26265 def isValid(self): 26266 '''bool QTextTableCellFormat.isValid()''' 26267 return bool() 26268 26269 26270 class QTextInlineObject(): 26271 """""" 26272 def __init__(self): 26273 '''void QTextInlineObject.__init__()''' 26274 def __init__(self): 26275 '''QTextInlineObject QTextInlineObject.__init__()''' 26276 return QTextInlineObject() 26277 def format(self): 26278 '''QTextFormat QTextInlineObject.format()''' 26279 return QTextFormat() 26280 def formatIndex(self): 26281 '''int QTextInlineObject.formatIndex()''' 26282 return int() 26283 def textPosition(self): 26284 '''int QTextInlineObject.textPosition()''' 26285 return int() 26286 def setDescent(self, d): 26287 '''void QTextInlineObject.setDescent(float d)''' 26288 def setAscent(self, a): 26289 '''void QTextInlineObject.setAscent(float a)''' 26290 def setWidth(self, w): 26291 '''void QTextInlineObject.setWidth(float w)''' 26292 def textDirection(self): 26293 '''Qt.LayoutDirection QTextInlineObject.textDirection()''' 26294 return Qt.LayoutDirection() 26295 def height(self): 26296 '''float QTextInlineObject.height()''' 26297 return float() 26298 def descent(self): 26299 '''float QTextInlineObject.descent()''' 26300 return float() 26301 def ascent(self): 26302 '''float QTextInlineObject.ascent()''' 26303 return float() 26304 def width(self): 26305 '''float QTextInlineObject.width()''' 26306 return float() 26307 def rect(self): 26308 '''QRectF QTextInlineObject.rect()''' 26309 return QRectF() 26310 def isValid(self): 26311 '''bool QTextInlineObject.isValid()''' 26312 return bool() 26313 26314 26315 class QTextLayout(): 26316 """""" 26317 # Enum QTextLayout.CursorMode 26318 SkipCharacters = 0 26319 SkipWords = 0 26320 26321 def __init__(self): 26322 '''void QTextLayout.__init__()''' 26323 def __init__(self, text): 26324 '''void QTextLayout.__init__(QString text)''' 26325 def __init__(self, text, font, paintDevice = None): 26326 '''void QTextLayout.__init__(QString text, QFont font, QPaintDevice paintDevice = None)''' 26327 def __init__(self, b): 26328 '''void QTextLayout.__init__(QTextBlock b)''' 26329 def glyphRuns(self): 26330 '''list-of-QGlyphRun QTextLayout.glyphRuns()''' 26331 return [QGlyphRun()] 26332 def rightCursorPosition(self, oldPos): 26333 '''int QTextLayout.rightCursorPosition(int oldPos)''' 26334 return int() 26335 def leftCursorPosition(self, oldPos): 26336 '''int QTextLayout.leftCursorPosition(int oldPos)''' 26337 return int() 26338 def cursorMoveStyle(self): 26339 '''Qt.CursorMoveStyle QTextLayout.cursorMoveStyle()''' 26340 return Qt.CursorMoveStyle() 26341 def setCursorMoveStyle(self, style): 26342 '''void QTextLayout.setCursorMoveStyle(Qt.CursorMoveStyle style)''' 26343 def clearLayout(self): 26344 '''void QTextLayout.clearLayout()''' 26345 def maximumWidth(self): 26346 '''float QTextLayout.maximumWidth()''' 26347 return float() 26348 def minimumWidth(self): 26349 '''float QTextLayout.minimumWidth()''' 26350 return float() 26351 def boundingRect(self): 26352 '''QRectF QTextLayout.boundingRect()''' 26353 return QRectF() 26354 def setPosition(self, p): 26355 '''void QTextLayout.setPosition(QPointF p)''' 26356 def position(self): 26357 '''QPointF QTextLayout.position()''' 26358 return QPointF() 26359 def drawCursor(self, p, pos, cursorPosition): 26360 '''void QTextLayout.drawCursor(QPainter p, QPointF pos, int cursorPosition)''' 26361 def drawCursor(self, p, pos, cursorPosition, width): 26362 '''void QTextLayout.drawCursor(QPainter p, QPointF pos, int cursorPosition, int width)''' 26363 def draw(self, p, pos, selections = None, clip = QRectF()): 26364 '''void QTextLayout.draw(QPainter p, QPointF pos, list-of-QTextLayout.FormatRange selections = list-of-QTextLayout.FormatRange, QRectF clip = QRectF())''' 26365 def previousCursorPosition(self, oldPos, mode = None): 26366 '''int QTextLayout.previousCursorPosition(int oldPos, QTextLayout.CursorMode mode = QTextLayout.SkipCharacters)''' 26367 return int() 26368 def nextCursorPosition(self, oldPos, mode = None): 26369 '''int QTextLayout.nextCursorPosition(int oldPos, QTextLayout.CursorMode mode = QTextLayout.SkipCharacters)''' 26370 return int() 26371 def isValidCursorPosition(self, pos): 26372 '''bool QTextLayout.isValidCursorPosition(int pos)''' 26373 return bool() 26374 def lineForTextPosition(self, pos): 26375 '''QTextLine QTextLayout.lineForTextPosition(int pos)''' 26376 return QTextLine() 26377 def lineAt(self, i): 26378 '''QTextLine QTextLayout.lineAt(int i)''' 26379 return QTextLine() 26380 def lineCount(self): 26381 '''int QTextLayout.lineCount()''' 26382 return int() 26383 def createLine(self): 26384 '''QTextLine QTextLayout.createLine()''' 26385 return QTextLine() 26386 def endLayout(self): 26387 '''void QTextLayout.endLayout()''' 26388 def beginLayout(self): 26389 '''void QTextLayout.beginLayout()''' 26390 def cacheEnabled(self): 26391 '''bool QTextLayout.cacheEnabled()''' 26392 return bool() 26393 def setCacheEnabled(self, enable): 26394 '''void QTextLayout.setCacheEnabled(bool enable)''' 26395 def clearAdditionalFormats(self): 26396 '''void QTextLayout.clearAdditionalFormats()''' 26397 def additionalFormats(self): 26398 '''list-of-QTextLayout.FormatRange QTextLayout.additionalFormats()''' 26399 return [QTextLayout.FormatRange()] 26400 def setAdditionalFormats(self, overrides): 26401 '''void QTextLayout.setAdditionalFormats(list-of-QTextLayout.FormatRange overrides)''' 26402 def preeditAreaText(self): 26403 '''QString QTextLayout.preeditAreaText()''' 26404 return QString() 26405 def preeditAreaPosition(self): 26406 '''int QTextLayout.preeditAreaPosition()''' 26407 return int() 26408 def setPreeditArea(self, position, text): 26409 '''void QTextLayout.setPreeditArea(int position, QString text)''' 26410 def textOption(self): 26411 '''QTextOption QTextLayout.textOption()''' 26412 return QTextOption() 26413 def setTextOption(self, option): 26414 '''void QTextLayout.setTextOption(QTextOption option)''' 26415 def text(self): 26416 '''QString QTextLayout.text()''' 26417 return QString() 26418 def setText(self, string): 26419 '''void QTextLayout.setText(QString string)''' 26420 def font(self): 26421 '''QFont QTextLayout.font()''' 26422 return QFont() 26423 def setFont(self, f): 26424 '''void QTextLayout.setFont(QFont f)''' 26425 class FormatRange(): 26426 """""" 26427 format = None # QTextCharFormat - member 26428 length = None # int - member 26429 start = None # int - member 26430 def __init__(self): 26431 '''void QTextLayout.FormatRange.__init__()''' 26432 def __init__(self): 26433 '''QTextLayout.FormatRange QTextLayout.FormatRange.__init__()''' 26434 return QTextLayout.FormatRange() 26435 26436 26437 class QTextLine(): 26438 """""" 26439 # Enum QTextLine.CursorPosition 26440 CursorBetweenCharacters = 0 26441 CursorOnCharacter = 0 26442 26443 # Enum QTextLine.Edge 26444 Leading = 0 26445 Trailing = 0 26446 26447 def __init__(self): 26448 '''void QTextLine.__init__()''' 26449 def __init__(self): 26450 '''QTextLine QTextLine.__init__()''' 26451 return QTextLine() 26452 def horizontalAdvance(self): 26453 '''float QTextLine.horizontalAdvance()''' 26454 return float() 26455 def leadingIncluded(self): 26456 '''bool QTextLine.leadingIncluded()''' 26457 return bool() 26458 def setLeadingIncluded(self, included): 26459 '''void QTextLine.setLeadingIncluded(bool included)''' 26460 def leading(self): 26461 '''float QTextLine.leading()''' 26462 return float() 26463 def position(self): 26464 '''QPointF QTextLine.position()''' 26465 return QPointF() 26466 def draw(self, painter, position, selection = None): 26467 '''void QTextLine.draw(QPainter painter, QPointF position, QTextLayout.FormatRange selection = None)''' 26468 def lineNumber(self): 26469 '''int QTextLine.lineNumber()''' 26470 return int() 26471 def textLength(self): 26472 '''int QTextLine.textLength()''' 26473 return int() 26474 def textStart(self): 26475 '''int QTextLine.textStart()''' 26476 return int() 26477 def setPosition(self, pos): 26478 '''void QTextLine.setPosition(QPointF pos)''' 26479 def setNumColumns(self, columns): 26480 '''void QTextLine.setNumColumns(int columns)''' 26481 def setNumColumns(self, columns, alignmentWidth): 26482 '''void QTextLine.setNumColumns(int columns, float alignmentWidth)''' 26483 def setLineWidth(self, width): 26484 '''void QTextLine.setLineWidth(float width)''' 26485 def xToCursor(self, x, edge = None): 26486 '''int QTextLine.xToCursor(float x, QTextLine.CursorPosition edge = QTextLine.CursorBetweenCharacters)''' 26487 return int() 26488 def cursorToX(self, cursorPos, edge = None): 26489 '''float QTextLine.cursorToX(int cursorPos, QTextLine.Edge edge = QTextLine.Leading)''' 26490 return float() 26491 def naturalTextRect(self): 26492 '''QRectF QTextLine.naturalTextRect()''' 26493 return QRectF() 26494 def naturalTextWidth(self): 26495 '''float QTextLine.naturalTextWidth()''' 26496 return float() 26497 def height(self): 26498 '''float QTextLine.height()''' 26499 return float() 26500 def descent(self): 26501 '''float QTextLine.descent()''' 26502 return float() 26503 def ascent(self): 26504 '''float QTextLine.ascent()''' 26505 return float() 26506 def width(self): 26507 '''float QTextLine.width()''' 26508 return float() 26509 def y(self): 26510 '''float QTextLine.y()''' 26511 return float() 26512 def x(self): 26513 '''float QTextLine.x()''' 26514 return float() 26515 def rect(self): 26516 '''QRectF QTextLine.rect()''' 26517 return QRectF() 26518 def isValid(self): 26519 '''bool QTextLine.isValid()''' 26520 return bool() 26521 26522 26523 class QTextObject(QObject): 26524 """""" 26525 def __init__(self, doc): 26526 '''void QTextObject.__init__(QTextDocument doc)''' 26527 def objectIndex(self): 26528 '''int QTextObject.objectIndex()''' 26529 return int() 26530 def document(self): 26531 '''QTextDocument QTextObject.document()''' 26532 return QTextDocument() 26533 def formatIndex(self): 26534 '''int QTextObject.formatIndex()''' 26535 return int() 26536 def format(self): 26537 '''QTextFormat QTextObject.format()''' 26538 return QTextFormat() 26539 def setFormat(self, format): 26540 '''void QTextObject.setFormat(QTextFormat format)''' 26541 26542 26543 class QTextBlockGroup(QTextObject): 26544 """""" 26545 def __init__(self, doc): 26546 '''void QTextBlockGroup.__init__(QTextDocument doc)''' 26547 def blockList(self): 26548 '''list-of-QTextBlock QTextBlockGroup.blockList()''' 26549 return [QTextBlock()] 26550 def blockFormatChanged(self, block): 26551 '''void QTextBlockGroup.blockFormatChanged(QTextBlock block)''' 26552 def blockRemoved(self, block): 26553 '''void QTextBlockGroup.blockRemoved(QTextBlock block)''' 26554 def blockInserted(self, block): 26555 '''void QTextBlockGroup.blockInserted(QTextBlock block)''' 26556 26557 26558 class QTextList(QTextBlockGroup): 26559 """""" 26560 def __init__(self, doc): 26561 '''void QTextList.__init__(QTextDocument doc)''' 26562 def setFormat(self, aformat): 26563 '''void QTextList.setFormat(QTextListFormat aformat)''' 26564 def format(self): 26565 '''QTextListFormat QTextList.format()''' 26566 return QTextListFormat() 26567 def add(self, block): 26568 '''void QTextList.add(QTextBlock block)''' 26569 def remove(self): 26570 '''QTextBlock QTextList.remove()''' 26571 return QTextBlock() 26572 def removeItem(self, i): 26573 '''void QTextList.removeItem(int i)''' 26574 def itemText(self): 26575 '''QTextBlock QTextList.itemText()''' 26576 return QTextBlock() 26577 def itemNumber(self): 26578 '''QTextBlock QTextList.itemNumber()''' 26579 return QTextBlock() 26580 def item(self, i): 26581 '''QTextBlock QTextList.item(int i)''' 26582 return QTextBlock() 26583 def isEmpty(self): 26584 '''bool QTextList.isEmpty()''' 26585 return bool() 26586 def __len__(self): 26587 '''None QTextList.__len__()''' 26588 return None() 26589 def count(self): 26590 '''int QTextList.count()''' 26591 return int() 26592 26593 26594 class QTextFrame(QTextObject): 26595 """""" 26596 def __init__(self, doc): 26597 '''void QTextFrame.__init__(QTextDocument doc)''' 26598 def setFrameFormat(self, aformat): 26599 '''void QTextFrame.setFrameFormat(QTextFrameFormat aformat)''' 26600 def end(self): 26601 '''QTextFrame.iterator QTextFrame.end()''' 26602 return QTextFrame.iterator() 26603 def begin(self): 26604 '''QTextFrame.iterator QTextFrame.begin()''' 26605 return QTextFrame.iterator() 26606 def parentFrame(self): 26607 '''QTextFrame QTextFrame.parentFrame()''' 26608 return QTextFrame() 26609 def childFrames(self): 26610 '''list-of-QTextFrame QTextFrame.childFrames()''' 26611 return [QTextFrame()] 26612 def lastPosition(self): 26613 '''int QTextFrame.lastPosition()''' 26614 return int() 26615 def firstPosition(self): 26616 '''int QTextFrame.firstPosition()''' 26617 return int() 26618 def lastCursorPosition(self): 26619 '''QTextCursor QTextFrame.lastCursorPosition()''' 26620 return QTextCursor() 26621 def firstCursorPosition(self): 26622 '''QTextCursor QTextFrame.firstCursorPosition()''' 26623 return QTextCursor() 26624 def frameFormat(self): 26625 '''QTextFrameFormat QTextFrame.frameFormat()''' 26626 return QTextFrameFormat() 26627 class iterator(): 26628 """""" 26629 def __init__(self): 26630 '''void QTextFrame.iterator.__init__()''' 26631 def __init__(self, o): 26632 '''void QTextFrame.iterator.__init__(QTextFrame.iterator o)''' 26633 def __isub__(self): 26634 '''int QTextFrame.iterator.__isub__()''' 26635 return int() 26636 def __iadd__(self): 26637 '''int QTextFrame.iterator.__iadd__()''' 26638 return int() 26639 def __ne__(self, o): 26640 '''bool QTextFrame.iterator.__ne__(QTextFrame.iterator o)''' 26641 return bool() 26642 def __eq__(self, o): 26643 '''bool QTextFrame.iterator.__eq__(QTextFrame.iterator o)''' 26644 return bool() 26645 def atEnd(self): 26646 '''bool QTextFrame.iterator.atEnd()''' 26647 return bool() 26648 def currentBlock(self): 26649 '''QTextBlock QTextFrame.iterator.currentBlock()''' 26650 return QTextBlock() 26651 def currentFrame(self): 26652 '''QTextFrame QTextFrame.iterator.currentFrame()''' 26653 return QTextFrame() 26654 def parentFrame(self): 26655 '''QTextFrame QTextFrame.iterator.parentFrame()''' 26656 return QTextFrame() 26657 26658 26659 class QTextBlock(): 26660 """""" 26661 def __init__(self): 26662 '''void QTextBlock.__init__()''' 26663 def __init__(self, o): 26664 '''void QTextBlock.__init__(QTextBlock o)''' 26665 def __ge__(self, o): 26666 '''bool QTextBlock.__ge__(QTextBlock o)''' 26667 return bool() 26668 def textDirection(self): 26669 '''Qt.LayoutDirection QTextBlock.textDirection()''' 26670 return Qt.LayoutDirection() 26671 def lineCount(self): 26672 '''int QTextBlock.lineCount()''' 26673 return int() 26674 def setLineCount(self, count): 26675 '''void QTextBlock.setLineCount(int count)''' 26676 def firstLineNumber(self): 26677 '''int QTextBlock.firstLineNumber()''' 26678 return int() 26679 def blockNumber(self): 26680 '''int QTextBlock.blockNumber()''' 26681 return int() 26682 def setVisible(self, visible): 26683 '''void QTextBlock.setVisible(bool visible)''' 26684 def isVisible(self): 26685 '''bool QTextBlock.isVisible()''' 26686 return bool() 26687 def setRevision(self, rev): 26688 '''void QTextBlock.setRevision(int rev)''' 26689 def revision(self): 26690 '''int QTextBlock.revision()''' 26691 return int() 26692 def clearLayout(self): 26693 '''void QTextBlock.clearLayout()''' 26694 def setUserState(self, state): 26695 '''void QTextBlock.setUserState(int state)''' 26696 def userState(self): 26697 '''int QTextBlock.userState()''' 26698 return int() 26699 def setUserData(self, data): 26700 '''void QTextBlock.setUserData(QTextBlockUserData data)''' 26701 def userData(self): 26702 '''QTextBlockUserData QTextBlock.userData()''' 26703 return QTextBlockUserData() 26704 def previous(self): 26705 '''QTextBlock QTextBlock.previous()''' 26706 return QTextBlock() 26707 def next(self): 26708 '''QTextBlock QTextBlock.next()''' 26709 return QTextBlock() 26710 def end(self): 26711 '''QTextBlock.iterator QTextBlock.end()''' 26712 return QTextBlock.iterator() 26713 def begin(self): 26714 '''QTextBlock.iterator QTextBlock.begin()''' 26715 return QTextBlock.iterator() 26716 def textList(self): 26717 '''QTextList QTextBlock.textList()''' 26718 return QTextList() 26719 def document(self): 26720 '''QTextDocument QTextBlock.document()''' 26721 return QTextDocument() 26722 def text(self): 26723 '''QString QTextBlock.text()''' 26724 return QString() 26725 def charFormatIndex(self): 26726 '''int QTextBlock.charFormatIndex()''' 26727 return int() 26728 def charFormat(self): 26729 '''QTextCharFormat QTextBlock.charFormat()''' 26730 return QTextCharFormat() 26731 def blockFormatIndex(self): 26732 '''int QTextBlock.blockFormatIndex()''' 26733 return int() 26734 def blockFormat(self): 26735 '''QTextBlockFormat QTextBlock.blockFormat()''' 26736 return QTextBlockFormat() 26737 def layout(self): 26738 '''QTextLayout QTextBlock.layout()''' 26739 return QTextLayout() 26740 def contains(self, position): 26741 '''bool QTextBlock.contains(int position)''' 26742 return bool() 26743 def length(self): 26744 '''int QTextBlock.length()''' 26745 return int() 26746 def position(self): 26747 '''int QTextBlock.position()''' 26748 return int() 26749 def __lt__(self, o): 26750 '''bool QTextBlock.__lt__(QTextBlock o)''' 26751 return bool() 26752 def __ne__(self, o): 26753 '''bool QTextBlock.__ne__(QTextBlock o)''' 26754 return bool() 26755 def __eq__(self, o): 26756 '''bool QTextBlock.__eq__(QTextBlock o)''' 26757 return bool() 26758 def isValid(self): 26759 '''bool QTextBlock.isValid()''' 26760 return bool() 26761 class iterator(): 26762 """""" 26763 def __init__(self): 26764 '''void QTextBlock.iterator.__init__()''' 26765 def __init__(self, o): 26766 '''void QTextBlock.iterator.__init__(QTextBlock.iterator o)''' 26767 def __isub__(self): 26768 '''int QTextBlock.iterator.__isub__()''' 26769 return int() 26770 def __iadd__(self): 26771 '''int QTextBlock.iterator.__iadd__()''' 26772 return int() 26773 def __ne__(self, o): 26774 '''bool QTextBlock.iterator.__ne__(QTextBlock.iterator o)''' 26775 return bool() 26776 def __eq__(self, o): 26777 '''bool QTextBlock.iterator.__eq__(QTextBlock.iterator o)''' 26778 return bool() 26779 def atEnd(self): 26780 '''bool QTextBlock.iterator.atEnd()''' 26781 return bool() 26782 def fragment(self): 26783 '''QTextFragment QTextBlock.iterator.fragment()''' 26784 return QTextFragment() 26785 26786 26787 class QTextFragment(): 26788 """""" 26789 def __init__(self): 26790 '''void QTextFragment.__init__()''' 26791 def __init__(self, o): 26792 '''void QTextFragment.__init__(QTextFragment o)''' 26793 def __ge__(self, o): 26794 '''bool QTextFragment.__ge__(QTextFragment o)''' 26795 return bool() 26796 def glyphRuns(self): 26797 '''list-of-QGlyphRun QTextFragment.glyphRuns()''' 26798 return [QGlyphRun()] 26799 def text(self): 26800 '''QString QTextFragment.text()''' 26801 return QString() 26802 def charFormatIndex(self): 26803 '''int QTextFragment.charFormatIndex()''' 26804 return int() 26805 def charFormat(self): 26806 '''QTextCharFormat QTextFragment.charFormat()''' 26807 return QTextCharFormat() 26808 def contains(self, position): 26809 '''bool QTextFragment.contains(int position)''' 26810 return bool() 26811 def length(self): 26812 '''int QTextFragment.length()''' 26813 return int() 26814 def position(self): 26815 '''int QTextFragment.position()''' 26816 return int() 26817 def __lt__(self, o): 26818 '''bool QTextFragment.__lt__(QTextFragment o)''' 26819 return bool() 26820 def __ne__(self, o): 26821 '''bool QTextFragment.__ne__(QTextFragment o)''' 26822 return bool() 26823 def __eq__(self, o): 26824 '''bool QTextFragment.__eq__(QTextFragment o)''' 26825 return bool() 26826 def isValid(self): 26827 '''bool QTextFragment.isValid()''' 26828 return bool() 26829 26830 26831 class QTextBlockUserData(): 26832 """""" 26833 def __init__(self): 26834 '''void QTextBlockUserData.__init__()''' 26835 def __init__(self): 26836 '''QTextBlockUserData QTextBlockUserData.__init__()''' 26837 return QTextBlockUserData() 26838 26839 26840 class QTextOption(): 26841 """""" 26842 # Enum QTextOption.TabType 26843 LeftTab = 0 26844 RightTab = 0 26845 CenterTab = 0 26846 DelimiterTab = 0 26847 26848 # Enum QTextOption.Flag 26849 IncludeTrailingSpaces = 0 26850 ShowTabsAndSpaces = 0 26851 ShowLineAndParagraphSeparators = 0 26852 AddSpaceForLineAndParagraphSeparators = 0 26853 SuppressColors = 0 26854 26855 # Enum QTextOption.WrapMode 26856 NoWrap = 0 26857 WordWrap = 0 26858 ManualWrap = 0 26859 WrapAnywhere = 0 26860 WrapAtWordBoundaryOrAnywhere = 0 26861 26862 def __init__(self): 26863 '''void QTextOption.__init__()''' 26864 def __init__(self, alignment): 26865 '''void QTextOption.__init__(Qt.Alignment alignment)''' 26866 def __init__(self, o): 26867 '''void QTextOption.__init__(QTextOption o)''' 26868 def tabs(self): 26869 '''list-of-QTextOption.Tab QTextOption.tabs()''' 26870 return [QTextOption.Tab()] 26871 def setTabs(self, tabStops): 26872 '''void QTextOption.setTabs(list-of-QTextOption.Tab tabStops)''' 26873 def setTabStop(self, atabStop): 26874 '''void QTextOption.setTabStop(float atabStop)''' 26875 def setFlags(self, aflags): 26876 '''void QTextOption.setFlags(QTextOption.Flags aflags)''' 26877 def setAlignment(self, aalignment): 26878 '''void QTextOption.setAlignment(Qt.Alignment aalignment)''' 26879 def useDesignMetrics(self): 26880 '''bool QTextOption.useDesignMetrics()''' 26881 return bool() 26882 def setUseDesignMetrics(self, b): 26883 '''void QTextOption.setUseDesignMetrics(bool b)''' 26884 def tabArray(self): 26885 '''list-of-float QTextOption.tabArray()''' 26886 return [float()] 26887 def setTabArray(self, tabStops): 26888 '''void QTextOption.setTabArray(list-of-float tabStops)''' 26889 def tabStop(self): 26890 '''float QTextOption.tabStop()''' 26891 return float() 26892 def flags(self): 26893 '''QTextOption.Flags QTextOption.flags()''' 26894 return QTextOption.Flags() 26895 def wrapMode(self): 26896 '''QTextOption.WrapMode QTextOption.wrapMode()''' 26897 return QTextOption.WrapMode() 26898 def setWrapMode(self, wrap): 26899 '''void QTextOption.setWrapMode(QTextOption.WrapMode wrap)''' 26900 def textDirection(self): 26901 '''Qt.LayoutDirection QTextOption.textDirection()''' 26902 return Qt.LayoutDirection() 26903 def setTextDirection(self, aDirection): 26904 '''void QTextOption.setTextDirection(Qt.LayoutDirection aDirection)''' 26905 def alignment(self): 26906 '''Qt.Alignment QTextOption.alignment()''' 26907 return Qt.Alignment() 26908 class Tab(): 26909 """""" 26910 delimiter = None # QChar - member 26911 position = None # float - member 26912 type = None # QTextOption.TabType - member 26913 def __init__(self): 26914 '''void QTextOption.Tab.__init__()''' 26915 def __init__(self, pos, tabType, delim = QChar()): 26916 '''void QTextOption.Tab.__init__(float pos, QTextOption.TabType tabType, QChar delim = QChar())''' 26917 def __init__(self): 26918 '''QTextOption.Tab QTextOption.Tab.__init__()''' 26919 return QTextOption.Tab() 26920 def __ne__(self, other): 26921 '''bool QTextOption.Tab.__ne__(QTextOption.Tab other)''' 26922 return bool() 26923 def __eq__(self, other): 26924 '''bool QTextOption.Tab.__eq__(QTextOption.Tab other)''' 26925 return bool() 26926 class Flags(): 26927 """""" 26928 def __init__(self): 26929 '''QTextOption.Flags QTextOption.Flags.__init__()''' 26930 return QTextOption.Flags() 26931 def __init__(self): 26932 '''int QTextOption.Flags.__init__()''' 26933 return int() 26934 def __init__(self): 26935 '''void QTextOption.Flags.__init__()''' 26936 def __bool__(self): 26937 '''int QTextOption.Flags.__bool__()''' 26938 return int() 26939 def __ne__(self, f): 26940 '''bool QTextOption.Flags.__ne__(QTextOption.Flags f)''' 26941 return bool() 26942 def __eq__(self, f): 26943 '''bool QTextOption.Flags.__eq__(QTextOption.Flags f)''' 26944 return bool() 26945 def __invert__(self): 26946 '''QTextOption.Flags QTextOption.Flags.__invert__()''' 26947 return QTextOption.Flags() 26948 def __and__(self, mask): 26949 '''QTextOption.Flags QTextOption.Flags.__and__(int mask)''' 26950 return QTextOption.Flags() 26951 def __xor__(self, f): 26952 '''QTextOption.Flags QTextOption.Flags.__xor__(QTextOption.Flags f)''' 26953 return QTextOption.Flags() 26954 def __xor__(self, f): 26955 '''QTextOption.Flags QTextOption.Flags.__xor__(int f)''' 26956 return QTextOption.Flags() 26957 def __or__(self, f): 26958 '''QTextOption.Flags QTextOption.Flags.__or__(QTextOption.Flags f)''' 26959 return QTextOption.Flags() 26960 def __or__(self, f): 26961 '''QTextOption.Flags QTextOption.Flags.__or__(int f)''' 26962 return QTextOption.Flags() 26963 def __int__(self): 26964 '''int QTextOption.Flags.__int__()''' 26965 return int() 26966 def __ixor__(self, f): 26967 '''QTextOption.Flags QTextOption.Flags.__ixor__(QTextOption.Flags f)''' 26968 return QTextOption.Flags() 26969 def __ior__(self, f): 26970 '''QTextOption.Flags QTextOption.Flags.__ior__(QTextOption.Flags f)''' 26971 return QTextOption.Flags() 26972 def __iand__(self, mask): 26973 '''QTextOption.Flags QTextOption.Flags.__iand__(int mask)''' 26974 return QTextOption.Flags() 26975 26976 26977 class QTextTableCell(): 26978 """""" 26979 def __init__(self): 26980 '''void QTextTableCell.__init__()''' 26981 def __init__(self, o): 26982 '''void QTextTableCell.__init__(QTextTableCell o)''' 26983 def __ne__(self, other): 26984 '''bool QTextTableCell.__ne__(QTextTableCell other)''' 26985 return bool() 26986 def __eq__(self, other): 26987 '''bool QTextTableCell.__eq__(QTextTableCell other)''' 26988 return bool() 26989 def tableCellFormatIndex(self): 26990 '''int QTextTableCell.tableCellFormatIndex()''' 26991 return int() 26992 def lastCursorPosition(self): 26993 '''QTextCursor QTextTableCell.lastCursorPosition()''' 26994 return QTextCursor() 26995 def firstCursorPosition(self): 26996 '''QTextCursor QTextTableCell.firstCursorPosition()''' 26997 return QTextCursor() 26998 def isValid(self): 26999 '''bool QTextTableCell.isValid()''' 27000 return bool() 27001 def columnSpan(self): 27002 '''int QTextTableCell.columnSpan()''' 27003 return int() 27004 def rowSpan(self): 27005 '''int QTextTableCell.rowSpan()''' 27006 return int() 27007 def column(self): 27008 '''int QTextTableCell.column()''' 27009 return int() 27010 def row(self): 27011 '''int QTextTableCell.row()''' 27012 return int() 27013 def setFormat(self, format): 27014 '''void QTextTableCell.setFormat(QTextCharFormat format)''' 27015 def format(self): 27016 '''QTextCharFormat QTextTableCell.format()''' 27017 return QTextCharFormat() 27018 27019 27020 class QTextTable(QTextFrame): 27021 """""" 27022 def __init__(self, doc): 27023 '''void QTextTable.__init__(QTextDocument doc)''' 27024 def appendColumns(self, count): 27025 '''void QTextTable.appendColumns(int count)''' 27026 def appendRows(self, count): 27027 '''void QTextTable.appendRows(int count)''' 27028 def setFormat(self, aformat): 27029 '''void QTextTable.setFormat(QTextTableFormat aformat)''' 27030 def format(self): 27031 '''QTextTableFormat QTextTable.format()''' 27032 return QTextTableFormat() 27033 def rowEnd(self, c): 27034 '''QTextCursor QTextTable.rowEnd(QTextCursor c)''' 27035 return QTextCursor() 27036 def rowStart(self, c): 27037 '''QTextCursor QTextTable.rowStart(QTextCursor c)''' 27038 return QTextCursor() 27039 def cellAt(self, row, col): 27040 '''QTextTableCell QTextTable.cellAt(int row, int col)''' 27041 return QTextTableCell() 27042 def cellAt(self, position): 27043 '''QTextTableCell QTextTable.cellAt(int position)''' 27044 return QTextTableCell() 27045 def cellAt(self, c): 27046 '''QTextTableCell QTextTable.cellAt(QTextCursor c)''' 27047 return QTextTableCell() 27048 def columns(self): 27049 '''int QTextTable.columns()''' 27050 return int() 27051 def rows(self): 27052 '''int QTextTable.rows()''' 27053 return int() 27054 def splitCell(self, row, col, numRows, numCols): 27055 '''void QTextTable.splitCell(int row, int col, int numRows, int numCols)''' 27056 def mergeCells(self, row, col, numRows, numCols): 27057 '''void QTextTable.mergeCells(int row, int col, int numRows, int numCols)''' 27058 def mergeCells(self, cursor): 27059 '''void QTextTable.mergeCells(QTextCursor cursor)''' 27060 def removeColumns(self, pos, num): 27061 '''void QTextTable.removeColumns(int pos, int num)''' 27062 def removeRows(self, pos, num): 27063 '''void QTextTable.removeRows(int pos, int num)''' 27064 def insertColumns(self, pos, num): 27065 '''void QTextTable.insertColumns(int pos, int num)''' 27066 def insertRows(self, pos, num): 27067 '''void QTextTable.insertRows(int pos, int num)''' 27068 def resize(self, rows, cols): 27069 '''void QTextTable.resize(int rows, int cols)''' 27070 27071 27072 class QToolBar(QWidget): 27073 """""" 27074 def __init__(self, title, parent = None): 27075 '''void QToolBar.__init__(QString title, QWidget parent = None)''' 27076 def __init__(self, parent = None): 27077 '''void QToolBar.__init__(QWidget parent = None)''' 27078 def isFloating(self): 27079 '''bool QToolBar.isFloating()''' 27080 return bool() 27081 def setFloatable(self, floatable): 27082 '''void QToolBar.setFloatable(bool floatable)''' 27083 def isFloatable(self): 27084 '''bool QToolBar.isFloatable()''' 27085 return bool() 27086 def event(self, event): 27087 '''bool QToolBar.event(QEvent event)''' 27088 return bool() 27089 def resizeEvent(self, event): 27090 '''void QToolBar.resizeEvent(QResizeEvent event)''' 27091 def paintEvent(self, event): 27092 '''void QToolBar.paintEvent(QPaintEvent event)''' 27093 def childEvent(self, event): 27094 '''void QToolBar.childEvent(QChildEvent event)''' 27095 def changeEvent(self, event): 27096 '''void QToolBar.changeEvent(QEvent event)''' 27097 def actionEvent(self, event): 27098 '''void QToolBar.actionEvent(QActionEvent event)''' 27099 def initStyleOption(self, option): 27100 '''void QToolBar.initStyleOption(QStyleOptionToolBar option)''' 27101 visibilityChanged = pyqtSignal() # void visibilityChanged(bool) - signal 27102 topLevelChanged = pyqtSignal() # void topLevelChanged(bool) - signal 27103 toolButtonStyleChanged = pyqtSignal() # void toolButtonStyleChanged(Qt::ToolButtonStyle) - signal 27104 iconSizeChanged = pyqtSignal() # void iconSizeChanged(const QSizeamp;) - signal 27105 orientationChanged = pyqtSignal() # void orientationChanged(Qt::Orientation) - signal 27106 allowedAreasChanged = pyqtSignal() # void allowedAreasChanged(Qt::ToolBarAreas) - signal 27107 movableChanged = pyqtSignal() # void movableChanged(bool) - signal 27108 actionTriggered = pyqtSignal() # void actionTriggered(QAction *) - signal 27109 def setToolButtonStyle(self, toolButtonStyle): 27110 '''void QToolBar.setToolButtonStyle(Qt.ToolButtonStyle toolButtonStyle)''' 27111 def setIconSize(self, iconSize): 27112 '''void QToolBar.setIconSize(QSize iconSize)''' 27113 def widgetForAction(self, action): 27114 '''QWidget QToolBar.widgetForAction(QAction action)''' 27115 return QWidget() 27116 def toolButtonStyle(self): 27117 '''Qt.ToolButtonStyle QToolBar.toolButtonStyle()''' 27118 return Qt.ToolButtonStyle() 27119 def iconSize(self): 27120 '''QSize QToolBar.iconSize()''' 27121 return QSize() 27122 def toggleViewAction(self): 27123 '''QAction QToolBar.toggleViewAction()''' 27124 return QAction() 27125 def actionAt(self, p): 27126 '''QAction QToolBar.actionAt(QPoint p)''' 27127 return QAction() 27128 def actionAt(self, ax, ay): 27129 '''QAction QToolBar.actionAt(int ax, int ay)''' 27130 return QAction() 27131 def actionGeometry(self, action): 27132 '''QRect QToolBar.actionGeometry(QAction action)''' 27133 return QRect() 27134 def insertWidget(self, before, widget): 27135 '''QAction QToolBar.insertWidget(QAction before, QWidget widget)''' 27136 return QAction() 27137 def addWidget(self, widget): 27138 '''QAction QToolBar.addWidget(QWidget widget)''' 27139 return QAction() 27140 def insertSeparator(self, before): 27141 '''QAction QToolBar.insertSeparator(QAction before)''' 27142 return QAction() 27143 def addSeparator(self): 27144 '''QAction QToolBar.addSeparator()''' 27145 return QAction() 27146 def addAction(self, action): 27147 '''void QToolBar.addAction(QAction action)''' 27148 def addAction(self, text): 27149 '''QAction QToolBar.addAction(QString text)''' 27150 return QAction() 27151 def addAction(self, icon, text): 27152 '''QAction QToolBar.addAction(QIcon icon, QString text)''' 27153 return QAction() 27154 def addAction(self, text, receiver, member): 27155 '''QAction QToolBar.addAction(QString text, QObject receiver, SLOT() member)''' 27156 return QAction() 27157 def addAction(self, text, receiver): 27158 '''QAction QToolBar.addAction(QString text, callable receiver)''' 27159 return QAction() 27160 def addAction(self, icon, text, receiver, member): 27161 '''QAction QToolBar.addAction(QIcon icon, QString text, QObject receiver, SLOT() member)''' 27162 return QAction() 27163 def addAction(self, icon, text, receiver): 27164 '''QAction QToolBar.addAction(QIcon icon, QString text, callable receiver)''' 27165 return QAction() 27166 def clear(self): 27167 '''void QToolBar.clear()''' 27168 def orientation(self): 27169 '''Qt.Orientation QToolBar.orientation()''' 27170 return Qt.Orientation() 27171 def setOrientation(self, orientation): 27172 '''void QToolBar.setOrientation(Qt.Orientation orientation)''' 27173 def isAreaAllowed(self, area): 27174 '''bool QToolBar.isAreaAllowed(Qt.ToolBarArea area)''' 27175 return bool() 27176 def allowedAreas(self): 27177 '''Qt.ToolBarAreas QToolBar.allowedAreas()''' 27178 return Qt.ToolBarAreas() 27179 def setAllowedAreas(self, areas): 27180 '''void QToolBar.setAllowedAreas(Qt.ToolBarAreas areas)''' 27181 def isMovable(self): 27182 '''bool QToolBar.isMovable()''' 27183 return bool() 27184 def setMovable(self, movable): 27185 '''void QToolBar.setMovable(bool movable)''' 27186 27187 27188 class QToolBox(QFrame): 27189 """""" 27190 def __init__(self, parent = None, flags = 0): 27191 '''void QToolBox.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 27192 def changeEvent(self): 27193 '''QEvent QToolBox.changeEvent()''' 27194 return QEvent() 27195 def showEvent(self, e): 27196 '''void QToolBox.showEvent(QShowEvent e)''' 27197 def event(self, e): 27198 '''bool QToolBox.event(QEvent e)''' 27199 return bool() 27200 def itemRemoved(self, index): 27201 '''void QToolBox.itemRemoved(int index)''' 27202 def itemInserted(self, index): 27203 '''void QToolBox.itemInserted(int index)''' 27204 currentChanged = pyqtSignal() # void currentChanged(int) - signal 27205 def setCurrentWidget(self, widget): 27206 '''void QToolBox.setCurrentWidget(QWidget widget)''' 27207 def setCurrentIndex(self, index): 27208 '''void QToolBox.setCurrentIndex(int index)''' 27209 def __len__(self): 27210 '''None QToolBox.__len__()''' 27211 return None() 27212 def count(self): 27213 '''int QToolBox.count()''' 27214 return int() 27215 def indexOf(self, widget): 27216 '''int QToolBox.indexOf(QWidget widget)''' 27217 return int() 27218 def widget(self, index): 27219 '''QWidget QToolBox.widget(int index)''' 27220 return QWidget() 27221 def currentWidget(self): 27222 '''QWidget QToolBox.currentWidget()''' 27223 return QWidget() 27224 def currentIndex(self): 27225 '''int QToolBox.currentIndex()''' 27226 return int() 27227 def itemToolTip(self, index): 27228 '''QString QToolBox.itemToolTip(int index)''' 27229 return QString() 27230 def setItemToolTip(self, index, toolTip): 27231 '''void QToolBox.setItemToolTip(int index, QString toolTip)''' 27232 def itemIcon(self, index): 27233 '''QIcon QToolBox.itemIcon(int index)''' 27234 return QIcon() 27235 def setItemIcon(self, index, icon): 27236 '''void QToolBox.setItemIcon(int index, QIcon icon)''' 27237 def itemText(self, index): 27238 '''QString QToolBox.itemText(int index)''' 27239 return QString() 27240 def setItemText(self, index, text): 27241 '''void QToolBox.setItemText(int index, QString text)''' 27242 def isItemEnabled(self, index): 27243 '''bool QToolBox.isItemEnabled(int index)''' 27244 return bool() 27245 def setItemEnabled(self, index, enabled): 27246 '''void QToolBox.setItemEnabled(int index, bool enabled)''' 27247 def removeItem(self, index): 27248 '''void QToolBox.removeItem(int index)''' 27249 def insertItem(self, index, item, text): 27250 '''int QToolBox.insertItem(int index, QWidget item, QString text)''' 27251 return int() 27252 def insertItem(self, index, widget, icon, text): 27253 '''int QToolBox.insertItem(int index, QWidget widget, QIcon icon, QString text)''' 27254 return int() 27255 def addItem(self, item, text): 27256 '''int QToolBox.addItem(QWidget item, QString text)''' 27257 return int() 27258 def addItem(self, item, iconSet, text): 27259 '''int QToolBox.addItem(QWidget item, QIcon iconSet, QString text)''' 27260 return int() 27261 27262 27263 class QToolButton(QAbstractButton): 27264 """""" 27265 # Enum QToolButton.ToolButtonPopupMode 27266 DelayedPopup = 0 27267 MenuButtonPopup = 0 27268 InstantPopup = 0 27269 27270 def __init__(self, parent = None): 27271 '''void QToolButton.__init__(QWidget parent = None)''' 27272 def hitButton(self, pos): 27273 '''bool QToolButton.hitButton(QPoint pos)''' 27274 return bool() 27275 def nextCheckState(self): 27276 '''void QToolButton.nextCheckState()''' 27277 def mouseReleaseEvent(self): 27278 '''QMouseEvent QToolButton.mouseReleaseEvent()''' 27279 return QMouseEvent() 27280 def changeEvent(self): 27281 '''QEvent QToolButton.changeEvent()''' 27282 return QEvent() 27283 def timerEvent(self): 27284 '''QTimerEvent QToolButton.timerEvent()''' 27285 return QTimerEvent() 27286 def leaveEvent(self): 27287 '''QEvent QToolButton.leaveEvent()''' 27288 return QEvent() 27289 def enterEvent(self): 27290 '''QEvent QToolButton.enterEvent()''' 27291 return QEvent() 27292 def actionEvent(self): 27293 '''QActionEvent QToolButton.actionEvent()''' 27294 return QActionEvent() 27295 def paintEvent(self): 27296 '''QPaintEvent QToolButton.paintEvent()''' 27297 return QPaintEvent() 27298 def mousePressEvent(self): 27299 '''QMouseEvent QToolButton.mousePressEvent()''' 27300 return QMouseEvent() 27301 def event(self, e): 27302 '''bool QToolButton.event(QEvent e)''' 27303 return bool() 27304 def initStyleOption(self, option): 27305 '''void QToolButton.initStyleOption(QStyleOptionToolButton option)''' 27306 triggered = pyqtSignal() # void triggered(QAction *) - signal 27307 def setDefaultAction(self): 27308 '''QAction QToolButton.setDefaultAction()''' 27309 return QAction() 27310 def setToolButtonStyle(self, style): 27311 '''void QToolButton.setToolButtonStyle(Qt.ToolButtonStyle style)''' 27312 def showMenu(self): 27313 '''void QToolButton.showMenu()''' 27314 def autoRaise(self): 27315 '''bool QToolButton.autoRaise()''' 27316 return bool() 27317 def setAutoRaise(self, enable): 27318 '''void QToolButton.setAutoRaise(bool enable)''' 27319 def defaultAction(self): 27320 '''QAction QToolButton.defaultAction()''' 27321 return QAction() 27322 def popupMode(self): 27323 '''QToolButton.ToolButtonPopupMode QToolButton.popupMode()''' 27324 return QToolButton.ToolButtonPopupMode() 27325 def setPopupMode(self, mode): 27326 '''void QToolButton.setPopupMode(QToolButton.ToolButtonPopupMode mode)''' 27327 def menu(self): 27328 '''QMenu QToolButton.menu()''' 27329 return QMenu() 27330 def setMenu(self, menu): 27331 '''void QToolButton.setMenu(QMenu menu)''' 27332 def setArrowType(self, type): 27333 '''void QToolButton.setArrowType(Qt.ArrowType type)''' 27334 def arrowType(self): 27335 '''Qt.ArrowType QToolButton.arrowType()''' 27336 return Qt.ArrowType() 27337 def toolButtonStyle(self): 27338 '''Qt.ToolButtonStyle QToolButton.toolButtonStyle()''' 27339 return Qt.ToolButtonStyle() 27340 def minimumSizeHint(self): 27341 '''QSize QToolButton.minimumSizeHint()''' 27342 return QSize() 27343 def sizeHint(self): 27344 '''QSize QToolButton.sizeHint()''' 27345 return QSize() 27346 27347 27348 class QToolTip(): 27349 """""" 27350 def __init__(self): 27351 '''QToolTip QToolTip.__init__()''' 27352 return QToolTip() 27353 def text(self): 27354 '''static QString QToolTip.text()''' 27355 return QString() 27356 def isVisible(self): 27357 '''static bool QToolTip.isVisible()''' 27358 return bool() 27359 def setFont(self): 27360 '''static QFont QToolTip.setFont()''' 27361 return QFont() 27362 def font(self): 27363 '''static QFont QToolTip.font()''' 27364 return QFont() 27365 def setPalette(self): 27366 '''static QPalette QToolTip.setPalette()''' 27367 return QPalette() 27368 def hideText(self): 27369 '''static void QToolTip.hideText()''' 27370 def palette(self): 27371 '''static QPalette QToolTip.palette()''' 27372 return QPalette() 27373 def showText(self, pos, text, widget = None): 27374 '''static void QToolTip.showText(QPoint pos, QString text, QWidget widget = None)''' 27375 def showText(self, pos, text, w, rect): 27376 '''static void QToolTip.showText(QPoint pos, QString text, QWidget w, QRect rect)''' 27377 27378 27379 class QTransform(): 27380 """""" 27381 # Enum QTransform.TransformationType 27382 TxNone = 0 27383 TxTranslate = 0 27384 TxScale = 0 27385 TxRotate = 0 27386 TxShear = 0 27387 TxProject = 0 27388 27389 def __init__(self): 27390 '''void QTransform.__init__()''' 27391 def __init__(self, m11, m12, m13, m21, m22, m23, m31, m32, m33 = 1): 27392 '''void QTransform.__init__(float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33 = 1)''' 27393 def __init__(self, h11, h12, h13, h21, h22, h23): 27394 '''void QTransform.__init__(float h11, float h12, float h13, float h21, float h22, float h23)''' 27395 def __init__(self, mtx): 27396 '''void QTransform.__init__(QMatrix mtx)''' 27397 def __init__(self): 27398 '''QTransform QTransform.__init__()''' 27399 return QTransform() 27400 def __div__(self, n): 27401 '''QTransform QTransform.__div__(float n)''' 27402 return QTransform() 27403 def __add__(self, n): 27404 '''QTransform QTransform.__add__(float n)''' 27405 return QTransform() 27406 def __sub__(self, n): 27407 '''QTransform QTransform.__sub__(float n)''' 27408 return QTransform() 27409 def __isub__(self, num): 27410 '''QTransform QTransform.__isub__(float num)''' 27411 return QTransform() 27412 def __iadd__(self, num): 27413 '''QTransform QTransform.__iadd__(float num)''' 27414 return QTransform() 27415 def __idiv__(self, div): 27416 '''QTransform QTransform.__idiv__(float div)''' 27417 return QTransform() 27418 def fromScale(self, dx, dy): 27419 '''static QTransform QTransform.fromScale(float dx, float dy)''' 27420 return QTransform() 27421 def fromTranslate(self, dx, dy): 27422 '''static QTransform QTransform.fromTranslate(float dx, float dy)''' 27423 return QTransform() 27424 def dy(self): 27425 '''float QTransform.dy()''' 27426 return float() 27427 def dx(self): 27428 '''float QTransform.dx()''' 27429 return float() 27430 def m33(self): 27431 '''float QTransform.m33()''' 27432 return float() 27433 def m32(self): 27434 '''float QTransform.m32()''' 27435 return float() 27436 def m31(self): 27437 '''float QTransform.m31()''' 27438 return float() 27439 def m23(self): 27440 '''float QTransform.m23()''' 27441 return float() 27442 def m22(self): 27443 '''float QTransform.m22()''' 27444 return float() 27445 def m21(self): 27446 '''float QTransform.m21()''' 27447 return float() 27448 def m13(self): 27449 '''float QTransform.m13()''' 27450 return float() 27451 def m12(self): 27452 '''float QTransform.m12()''' 27453 return float() 27454 def m11(self): 27455 '''float QTransform.m11()''' 27456 return float() 27457 def det(self): 27458 '''float QTransform.det()''' 27459 return float() 27460 def determinant(self): 27461 '''float QTransform.determinant()''' 27462 return float() 27463 def isTranslating(self): 27464 '''bool QTransform.isTranslating()''' 27465 return bool() 27466 def isRotating(self): 27467 '''bool QTransform.isRotating()''' 27468 return bool() 27469 def isScaling(self): 27470 '''bool QTransform.isScaling()''' 27471 return bool() 27472 def isInvertible(self): 27473 '''bool QTransform.isInvertible()''' 27474 return bool() 27475 def isIdentity(self): 27476 '''bool QTransform.isIdentity()''' 27477 return bool() 27478 def isAffine(self): 27479 '''bool QTransform.isAffine()''' 27480 return bool() 27481 def toAffine(self): 27482 '''QMatrix QTransform.toAffine()''' 27483 return QMatrix() 27484 def mapRect(self): 27485 '''QRect QTransform.mapRect()''' 27486 return QRect() 27487 def mapRect(self): 27488 '''QRectF QTransform.mapRect()''' 27489 return QRectF() 27490 def mapToPolygon(self, r): 27491 '''QPolygon QTransform.mapToPolygon(QRect r)''' 27492 return QPolygon() 27493 def map(self, x, y, tx, ty): 27494 '''void QTransform.map(int x, int y, int tx, int ty)''' 27495 def map(self, x, y, tx, ty): 27496 '''void QTransform.map(float x, float y, float tx, float ty)''' 27497 def map(self, p): 27498 '''QPoint QTransform.map(QPoint p)''' 27499 return QPoint() 27500 def map(self, p): 27501 '''QPointF QTransform.map(QPointF p)''' 27502 return QPointF() 27503 def map(self, l): 27504 '''QLine QTransform.map(QLine l)''' 27505 return QLine() 27506 def map(self, l): 27507 '''QLineF QTransform.map(QLineF l)''' 27508 return QLineF() 27509 def map(self, a): 27510 '''QPolygonF QTransform.map(QPolygonF a)''' 27511 return QPolygonF() 27512 def map(self, a): 27513 '''QPolygon QTransform.map(QPolygon a)''' 27514 return QPolygon() 27515 def map(self, r): 27516 '''QRegion QTransform.map(QRegion r)''' 27517 return QRegion() 27518 def map(self, p): 27519 '''QPainterPath QTransform.map(QPainterPath p)''' 27520 return QPainterPath() 27521 def reset(self): 27522 '''void QTransform.reset()''' 27523 def __mul__(self, o): 27524 '''QTransform QTransform.__mul__(QTransform o)''' 27525 return QTransform() 27526 def __mul__(self, n): 27527 '''QTransform QTransform.__mul__(float n)''' 27528 return QTransform() 27529 def __imul__(self): 27530 '''QTransform QTransform.__imul__()''' 27531 return QTransform() 27532 def __imul__(self, num): 27533 '''QTransform QTransform.__imul__(float num)''' 27534 return QTransform() 27535 def __ne__(self): 27536 '''QTransform QTransform.__ne__()''' 27537 return QTransform() 27538 def __eq__(self): 27539 '''QTransform QTransform.__eq__()''' 27540 return QTransform() 27541 def quadToQuad(self, one, two, result): 27542 '''static bool QTransform.quadToQuad(QPolygonF one, QPolygonF two, QTransform result)''' 27543 return bool() 27544 def quadToSquare(self, quad, result): 27545 '''static bool QTransform.quadToSquare(QPolygonF quad, QTransform result)''' 27546 return bool() 27547 def squareToQuad(self, square, result): 27548 '''static bool QTransform.squareToQuad(QPolygonF square, QTransform result)''' 27549 return bool() 27550 def rotateRadians(self, angle, axis = None): 27551 '''QTransform QTransform.rotateRadians(float angle, Qt.Axis axis = Qt.ZAxis)''' 27552 return QTransform() 27553 def rotate(self, angle, axis = None): 27554 '''QTransform QTransform.rotate(float angle, Qt.Axis axis = Qt.ZAxis)''' 27555 return QTransform() 27556 def shear(self, sh, sv): 27557 '''QTransform QTransform.shear(float sh, float sv)''' 27558 return QTransform() 27559 def scale(self, sx, sy): 27560 '''QTransform QTransform.scale(float sx, float sy)''' 27561 return QTransform() 27562 def translate(self, dx, dy): 27563 '''QTransform QTransform.translate(float dx, float dy)''' 27564 return QTransform() 27565 def transposed(self): 27566 '''QTransform QTransform.transposed()''' 27567 return QTransform() 27568 def adjoint(self): 27569 '''QTransform QTransform.adjoint()''' 27570 return QTransform() 27571 def inverted(self, invertible): 27572 '''QTransform QTransform.inverted(bool invertible)''' 27573 return QTransform() 27574 def setMatrix(self, m11, m12, m13, m21, m22, m23, m31, m32, m33): 27575 '''void QTransform.setMatrix(float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33)''' 27576 def type(self): 27577 '''QTransform.TransformationType QTransform.type()''' 27578 return QTransform.TransformationType() 27579 27580 27581 class QTreeView(QAbstractItemView): 27582 """""" 27583 def __init__(self, parent = None): 27584 '''void QTreeView.__init__(QWidget parent = None)''' 27585 def setHeaderHidden(self, hide): 27586 '''void QTreeView.setHeaderHidden(bool hide)''' 27587 def isHeaderHidden(self): 27588 '''bool QTreeView.isHeaderHidden()''' 27589 return bool() 27590 def setExpandsOnDoubleClick(self, enable): 27591 '''void QTreeView.setExpandsOnDoubleClick(bool enable)''' 27592 def expandsOnDoubleClick(self): 27593 '''bool QTreeView.expandsOnDoubleClick()''' 27594 return bool() 27595 def currentChanged(self, current, previous): 27596 '''void QTreeView.currentChanged(QModelIndex current, QModelIndex previous)''' 27597 def selectionChanged(self, selected, deselected): 27598 '''void QTreeView.selectionChanged(QItemSelection selected, QItemSelection deselected)''' 27599 def rowHeight(self, index): 27600 '''int QTreeView.rowHeight(QModelIndex index)''' 27601 return int() 27602 def viewportEvent(self, event): 27603 '''bool QTreeView.viewportEvent(QEvent event)''' 27604 return bool() 27605 def dragMoveEvent(self, event): 27606 '''void QTreeView.dragMoveEvent(QDragMoveEvent event)''' 27607 def expandToDepth(self, depth): 27608 '''void QTreeView.expandToDepth(int depth)''' 27609 def wordWrap(self): 27610 '''bool QTreeView.wordWrap()''' 27611 return bool() 27612 def setWordWrap(self, on): 27613 '''void QTreeView.setWordWrap(bool on)''' 27614 def setFirstColumnSpanned(self, row, parent, span): 27615 '''void QTreeView.setFirstColumnSpanned(int row, QModelIndex parent, bool span)''' 27616 def isFirstColumnSpanned(self, row, parent): 27617 '''bool QTreeView.isFirstColumnSpanned(int row, QModelIndex parent)''' 27618 return bool() 27619 def setAutoExpandDelay(self, delay): 27620 '''void QTreeView.setAutoExpandDelay(int delay)''' 27621 def autoExpandDelay(self): 27622 '''int QTreeView.autoExpandDelay()''' 27623 return int() 27624 def allColumnsShowFocus(self): 27625 '''bool QTreeView.allColumnsShowFocus()''' 27626 return bool() 27627 def setAllColumnsShowFocus(self, enable): 27628 '''void QTreeView.setAllColumnsShowFocus(bool enable)''' 27629 def isAnimated(self): 27630 '''bool QTreeView.isAnimated()''' 27631 return bool() 27632 def setAnimated(self, enable): 27633 '''void QTreeView.setAnimated(bool enable)''' 27634 def isSortingEnabled(self): 27635 '''bool QTreeView.isSortingEnabled()''' 27636 return bool() 27637 def setSortingEnabled(self, enable): 27638 '''void QTreeView.setSortingEnabled(bool enable)''' 27639 def setColumnWidth(self, column, width): 27640 '''void QTreeView.setColumnWidth(int column, int width)''' 27641 def isIndexHidden(self, index): 27642 '''bool QTreeView.isIndexHidden(QModelIndex index)''' 27643 return bool() 27644 def horizontalScrollbarAction(self, action): 27645 '''void QTreeView.horizontalScrollbarAction(int action)''' 27646 def indexRowSizeHint(self, index): 27647 '''int QTreeView.indexRowSizeHint(QModelIndex index)''' 27648 return int() 27649 def sizeHintForColumn(self, column): 27650 '''int QTreeView.sizeHintForColumn(int column)''' 27651 return int() 27652 def updateGeometries(self): 27653 '''void QTreeView.updateGeometries()''' 27654 def keyPressEvent(self, event): 27655 '''void QTreeView.keyPressEvent(QKeyEvent event)''' 27656 def mouseDoubleClickEvent(self, e): 27657 '''void QTreeView.mouseDoubleClickEvent(QMouseEvent e)''' 27658 def mouseMoveEvent(self, event): 27659 '''void QTreeView.mouseMoveEvent(QMouseEvent event)''' 27660 def mousePressEvent(self, e): 27661 '''void QTreeView.mousePressEvent(QMouseEvent e)''' 27662 def drawTree(self, painter, region): 27663 '''void QTreeView.drawTree(QPainter painter, QRegion region)''' 27664 def drawBranches(self, painter, rect, index): 27665 '''void QTreeView.drawBranches(QPainter painter, QRect rect, QModelIndex index)''' 27666 def drawRow(self, painter, options, index): 27667 '''void QTreeView.drawRow(QPainter painter, QStyleOptionViewItem options, QModelIndex index)''' 27668 def mouseReleaseEvent(self, event): 27669 '''void QTreeView.mouseReleaseEvent(QMouseEvent event)''' 27670 def timerEvent(self, event): 27671 '''void QTreeView.timerEvent(QTimerEvent event)''' 27672 def paintEvent(self, e): 27673 '''void QTreeView.paintEvent(QPaintEvent e)''' 27674 def selectedIndexes(self): 27675 '''list-of-QModelIndex QTreeView.selectedIndexes()''' 27676 return [QModelIndex()] 27677 def visualRegionForSelection(self, selection): 27678 '''QRegion QTreeView.visualRegionForSelection(QItemSelection selection)''' 27679 return QRegion() 27680 def setSelection(self, rect, command): 27681 '''void QTreeView.setSelection(QRect rect, QItemSelectionModel.SelectionFlags command)''' 27682 def verticalOffset(self): 27683 '''int QTreeView.verticalOffset()''' 27684 return int() 27685 def horizontalOffset(self): 27686 '''int QTreeView.horizontalOffset()''' 27687 return int() 27688 def moveCursor(self, cursorAction, modifiers): 27689 '''QModelIndex QTreeView.moveCursor(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers)''' 27690 return QModelIndex() 27691 def rowsAboutToBeRemoved(self, parent, start, end): 27692 '''void QTreeView.rowsAboutToBeRemoved(QModelIndex parent, int start, int end)''' 27693 def rowsInserted(self, parent, start, end): 27694 '''void QTreeView.rowsInserted(QModelIndex parent, int start, int end)''' 27695 def scrollContentsBy(self, dx, dy): 27696 '''void QTreeView.scrollContentsBy(int dx, int dy)''' 27697 def rowsRemoved(self, parent, first, last): 27698 '''void QTreeView.rowsRemoved(QModelIndex parent, int first, int last)''' 27699 def reexpand(self): 27700 '''void QTreeView.reexpand()''' 27701 def columnMoved(self): 27702 '''void QTreeView.columnMoved()''' 27703 def columnCountChanged(self, oldCount, newCount): 27704 '''void QTreeView.columnCountChanged(int oldCount, int newCount)''' 27705 def columnResized(self, column, oldSize, newSize): 27706 '''void QTreeView.columnResized(int column, int oldSize, int newSize)''' 27707 def selectAll(self): 27708 '''void QTreeView.selectAll()''' 27709 def sortByColumn(self, column): 27710 '''void QTreeView.sortByColumn(int column)''' 27711 def sortByColumn(self, column, order): 27712 '''void QTreeView.sortByColumn(int column, Qt.SortOrder order)''' 27713 def resizeColumnToContents(self, column): 27714 '''void QTreeView.resizeColumnToContents(int column)''' 27715 def collapseAll(self): 27716 '''void QTreeView.collapseAll()''' 27717 def collapse(self, index): 27718 '''void QTreeView.collapse(QModelIndex index)''' 27719 def expandAll(self): 27720 '''void QTreeView.expandAll()''' 27721 def expand(self, index): 27722 '''void QTreeView.expand(QModelIndex index)''' 27723 def showColumn(self, column): 27724 '''void QTreeView.showColumn(int column)''' 27725 def hideColumn(self, column): 27726 '''void QTreeView.hideColumn(int column)''' 27727 def dataChanged(self, topLeft, bottomRight): 27728 '''void QTreeView.dataChanged(QModelIndex topLeft, QModelIndex bottomRight)''' 27729 collapsed = pyqtSignal() # void collapsed(const QModelIndexamp;) - signal 27730 expanded = pyqtSignal() # void expanded(const QModelIndexamp;) - signal 27731 def reset(self): 27732 '''void QTreeView.reset()''' 27733 def indexBelow(self, index): 27734 '''QModelIndex QTreeView.indexBelow(QModelIndex index)''' 27735 return QModelIndex() 27736 def indexAbove(self, index): 27737 '''QModelIndex QTreeView.indexAbove(QModelIndex index)''' 27738 return QModelIndex() 27739 def indexAt(self, p): 27740 '''QModelIndex QTreeView.indexAt(QPoint p)''' 27741 return QModelIndex() 27742 def scrollTo(self, index, hint = None): 27743 '''void QTreeView.scrollTo(QModelIndex index, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 27744 def visualRect(self, index): 27745 '''QRect QTreeView.visualRect(QModelIndex index)''' 27746 return QRect() 27747 def keyboardSearch(self, search): 27748 '''void QTreeView.keyboardSearch(QString search)''' 27749 def setExpanded(self, index, expand): 27750 '''void QTreeView.setExpanded(QModelIndex index, bool expand)''' 27751 def isExpanded(self, index): 27752 '''bool QTreeView.isExpanded(QModelIndex index)''' 27753 return bool() 27754 def setRowHidden(self, row, parent, hide): 27755 '''void QTreeView.setRowHidden(int row, QModelIndex parent, bool hide)''' 27756 def isRowHidden(self, row, parent): 27757 '''bool QTreeView.isRowHidden(int row, QModelIndex parent)''' 27758 return bool() 27759 def setColumnHidden(self, column, hide): 27760 '''void QTreeView.setColumnHidden(int column, bool hide)''' 27761 def isColumnHidden(self, column): 27762 '''bool QTreeView.isColumnHidden(int column)''' 27763 return bool() 27764 def columnAt(self, x): 27765 '''int QTreeView.columnAt(int x)''' 27766 return int() 27767 def columnWidth(self, column): 27768 '''int QTreeView.columnWidth(int column)''' 27769 return int() 27770 def columnViewportPosition(self, column): 27771 '''int QTreeView.columnViewportPosition(int column)''' 27772 return int() 27773 def setItemsExpandable(self, enable): 27774 '''void QTreeView.setItemsExpandable(bool enable)''' 27775 def itemsExpandable(self): 27776 '''bool QTreeView.itemsExpandable()''' 27777 return bool() 27778 def setUniformRowHeights(self, uniform): 27779 '''void QTreeView.setUniformRowHeights(bool uniform)''' 27780 def uniformRowHeights(self): 27781 '''bool QTreeView.uniformRowHeights()''' 27782 return bool() 27783 def setRootIsDecorated(self, show): 27784 '''void QTreeView.setRootIsDecorated(bool show)''' 27785 def rootIsDecorated(self): 27786 '''bool QTreeView.rootIsDecorated()''' 27787 return bool() 27788 def setIndentation(self, i): 27789 '''void QTreeView.setIndentation(int i)''' 27790 def indentation(self): 27791 '''int QTreeView.indentation()''' 27792 return int() 27793 def setHeader(self, header): 27794 '''void QTreeView.setHeader(QHeaderView header)''' 27795 def header(self): 27796 '''QHeaderView QTreeView.header()''' 27797 return QHeaderView() 27798 def setSelectionModel(self, selectionModel): 27799 '''void QTreeView.setSelectionModel(QItemSelectionModel selectionModel)''' 27800 def setRootIndex(self, index): 27801 '''void QTreeView.setRootIndex(QModelIndex index)''' 27802 def setModel(self, model): 27803 '''void QTreeView.setModel(QAbstractItemModel model)''' 27804 27805 27806 class QTreeWidgetItem(): 27807 """""" 27808 # Enum QTreeWidgetItem.ChildIndicatorPolicy 27809 ShowIndicator = 0 27810 DontShowIndicator = 0 27811 DontShowIndicatorWhenChildless = 0 27812 27813 # Enum QTreeWidgetItem.ItemType 27814 Type = 0 27815 UserType = 0 27816 27817 def __init__(self, type = None): 27818 '''void QTreeWidgetItem.__init__(int type = QTreeWidgetItem.Type)''' 27819 def __init__(self, strings, type = None): 27820 '''void QTreeWidgetItem.__init__(QStringList strings, int type = QTreeWidgetItem.Type)''' 27821 def __init__(self, parent, type = None): 27822 '''void QTreeWidgetItem.__init__(QTreeWidget parent, int type = QTreeWidgetItem.Type)''' 27823 def __init__(self, parent, strings, type = None): 27824 '''void QTreeWidgetItem.__init__(QTreeWidget parent, QStringList strings, int type = QTreeWidgetItem.Type)''' 27825 def __init__(self, parent, preceding, type = None): 27826 '''void QTreeWidgetItem.__init__(QTreeWidget parent, QTreeWidgetItem preceding, int type = QTreeWidgetItem.Type)''' 27827 def __init__(self, parent, type = None): 27828 '''void QTreeWidgetItem.__init__(QTreeWidgetItem parent, int type = QTreeWidgetItem.Type)''' 27829 def __init__(self, parent, strings, type = None): 27830 '''void QTreeWidgetItem.__init__(QTreeWidgetItem parent, QStringList strings, int type = QTreeWidgetItem.Type)''' 27831 def __init__(self, parent, preceding, type = None): 27832 '''void QTreeWidgetItem.__init__(QTreeWidgetItem parent, QTreeWidgetItem preceding, int type = QTreeWidgetItem.Type)''' 27833 def __init__(self, other): 27834 '''void QTreeWidgetItem.__init__(QTreeWidgetItem other)''' 27835 def __ge__(self, other): 27836 '''bool QTreeWidgetItem.__ge__(QTreeWidgetItem other)''' 27837 return bool() 27838 def emitDataChanged(self): 27839 '''void QTreeWidgetItem.emitDataChanged()''' 27840 def isDisabled(self): 27841 '''bool QTreeWidgetItem.isDisabled()''' 27842 return bool() 27843 def setDisabled(self, disabled): 27844 '''void QTreeWidgetItem.setDisabled(bool disabled)''' 27845 def isFirstColumnSpanned(self): 27846 '''bool QTreeWidgetItem.isFirstColumnSpanned()''' 27847 return bool() 27848 def setFirstColumnSpanned(self, aspan): 27849 '''void QTreeWidgetItem.setFirstColumnSpanned(bool aspan)''' 27850 def removeChild(self, child): 27851 '''void QTreeWidgetItem.removeChild(QTreeWidgetItem child)''' 27852 def childIndicatorPolicy(self): 27853 '''QTreeWidgetItem.ChildIndicatorPolicy QTreeWidgetItem.childIndicatorPolicy()''' 27854 return QTreeWidgetItem.ChildIndicatorPolicy() 27855 def setChildIndicatorPolicy(self, policy): 27856 '''void QTreeWidgetItem.setChildIndicatorPolicy(QTreeWidgetItem.ChildIndicatorPolicy policy)''' 27857 def isExpanded(self): 27858 '''bool QTreeWidgetItem.isExpanded()''' 27859 return bool() 27860 def setExpanded(self, aexpand): 27861 '''void QTreeWidgetItem.setExpanded(bool aexpand)''' 27862 def isHidden(self): 27863 '''bool QTreeWidgetItem.isHidden()''' 27864 return bool() 27865 def setHidden(self, ahide): 27866 '''void QTreeWidgetItem.setHidden(bool ahide)''' 27867 def isSelected(self): 27868 '''bool QTreeWidgetItem.isSelected()''' 27869 return bool() 27870 def setSelected(self, aselect): 27871 '''void QTreeWidgetItem.setSelected(bool aselect)''' 27872 def sortChildren(self, column, order): 27873 '''void QTreeWidgetItem.sortChildren(int column, Qt.SortOrder order)''' 27874 def setForeground(self, column, brush): 27875 '''void QTreeWidgetItem.setForeground(int column, QBrush brush)''' 27876 def foreground(self, column): 27877 '''QBrush QTreeWidgetItem.foreground(int column)''' 27878 return QBrush() 27879 def setBackground(self, column, brush): 27880 '''void QTreeWidgetItem.setBackground(int column, QBrush brush)''' 27881 def background(self, column): 27882 '''QBrush QTreeWidgetItem.background(int column)''' 27883 return QBrush() 27884 def takeChildren(self): 27885 '''list-of-QTreeWidgetItem QTreeWidgetItem.takeChildren()''' 27886 return [QTreeWidgetItem()] 27887 def insertChildren(self, index, children): 27888 '''void QTreeWidgetItem.insertChildren(int index, list-of-QTreeWidgetItem children)''' 27889 def addChildren(self, children): 27890 '''void QTreeWidgetItem.addChildren(list-of-QTreeWidgetItem children)''' 27891 def setSizeHint(self, column, size): 27892 '''void QTreeWidgetItem.setSizeHint(int column, QSize size)''' 27893 def sizeHint(self, column): 27894 '''QSize QTreeWidgetItem.sizeHint(int column)''' 27895 return QSize() 27896 def indexOfChild(self, achild): 27897 '''int QTreeWidgetItem.indexOfChild(QTreeWidgetItem achild)''' 27898 return int() 27899 def setFont(self, column, afont): 27900 '''void QTreeWidgetItem.setFont(int column, QFont afont)''' 27901 def setWhatsThis(self, column, awhatsThis): 27902 '''void QTreeWidgetItem.setWhatsThis(int column, QString awhatsThis)''' 27903 def setToolTip(self, column, atoolTip): 27904 '''void QTreeWidgetItem.setToolTip(int column, QString atoolTip)''' 27905 def setStatusTip(self, column, astatusTip): 27906 '''void QTreeWidgetItem.setStatusTip(int column, QString astatusTip)''' 27907 def setIcon(self, column, aicon): 27908 '''void QTreeWidgetItem.setIcon(int column, QIcon aicon)''' 27909 def setText(self, column, atext): 27910 '''void QTreeWidgetItem.setText(int column, QString atext)''' 27911 def setFlags(self, aflags): 27912 '''void QTreeWidgetItem.setFlags(Qt.ItemFlags aflags)''' 27913 def type(self): 27914 '''int QTreeWidgetItem.type()''' 27915 return int() 27916 def takeChild(self, index): 27917 '''QTreeWidgetItem QTreeWidgetItem.takeChild(int index)''' 27918 return QTreeWidgetItem() 27919 def insertChild(self, index, child): 27920 '''void QTreeWidgetItem.insertChild(int index, QTreeWidgetItem child)''' 27921 def addChild(self, child): 27922 '''void QTreeWidgetItem.addChild(QTreeWidgetItem child)''' 27923 def columnCount(self): 27924 '''int QTreeWidgetItem.columnCount()''' 27925 return int() 27926 def childCount(self): 27927 '''int QTreeWidgetItem.childCount()''' 27928 return int() 27929 def child(self, index): 27930 '''QTreeWidgetItem QTreeWidgetItem.child(int index)''' 27931 return QTreeWidgetItem() 27932 def parent(self): 27933 '''QTreeWidgetItem QTreeWidgetItem.parent()''' 27934 return QTreeWidgetItem() 27935 def write(self, out): 27936 '''void QTreeWidgetItem.write(QDataStream out)''' 27937 def read(self, in_): 27938 '''void QTreeWidgetItem.read(QDataStream in)''' 27939 def __lt__(self, other): 27940 '''bool QTreeWidgetItem.__lt__(QTreeWidgetItem other)''' 27941 return bool() 27942 def setData(self, column, role, value): 27943 '''void QTreeWidgetItem.setData(int column, int role, QVariant value)''' 27944 def data(self, column, role): 27945 '''QVariant QTreeWidgetItem.data(int column, int role)''' 27946 return QVariant() 27947 def setCheckState(self, column, state): 27948 '''void QTreeWidgetItem.setCheckState(int column, Qt.CheckState state)''' 27949 def checkState(self, column): 27950 '''Qt.CheckState QTreeWidgetItem.checkState(int column)''' 27951 return Qt.CheckState() 27952 def setTextColor(self, column, color): 27953 '''void QTreeWidgetItem.setTextColor(int column, QColor color)''' 27954 def textColor(self, column): 27955 '''QColor QTreeWidgetItem.textColor(int column)''' 27956 return QColor() 27957 def setBackgroundColor(self, column, color): 27958 '''void QTreeWidgetItem.setBackgroundColor(int column, QColor color)''' 27959 def backgroundColor(self, column): 27960 '''QColor QTreeWidgetItem.backgroundColor(int column)''' 27961 return QColor() 27962 def setTextAlignment(self, column, alignment): 27963 '''void QTreeWidgetItem.setTextAlignment(int column, int alignment)''' 27964 def textAlignment(self, column): 27965 '''int QTreeWidgetItem.textAlignment(int column)''' 27966 return int() 27967 def font(self, column): 27968 '''QFont QTreeWidgetItem.font(int column)''' 27969 return QFont() 27970 def whatsThis(self, column): 27971 '''QString QTreeWidgetItem.whatsThis(int column)''' 27972 return QString() 27973 def toolTip(self, column): 27974 '''QString QTreeWidgetItem.toolTip(int column)''' 27975 return QString() 27976 def statusTip(self, column): 27977 '''QString QTreeWidgetItem.statusTip(int column)''' 27978 return QString() 27979 def icon(self, column): 27980 '''QIcon QTreeWidgetItem.icon(int column)''' 27981 return QIcon() 27982 def text(self, column): 27983 '''QString QTreeWidgetItem.text(int column)''' 27984 return QString() 27985 def flags(self): 27986 '''Qt.ItemFlags QTreeWidgetItem.flags()''' 27987 return Qt.ItemFlags() 27988 def treeWidget(self): 27989 '''QTreeWidget QTreeWidgetItem.treeWidget()''' 27990 return QTreeWidget() 27991 def clone(self): 27992 '''QTreeWidgetItem QTreeWidgetItem.clone()''' 27993 return QTreeWidgetItem() 27994 27995 27996 class QTreeWidget(QTreeView): 27997 """""" 27998 def __init__(self, parent = None): 27999 '''void QTreeWidget.__init__(QWidget parent = None)''' 28000 def setSelectionModel(self, selectionModel): 28001 '''void QTreeWidget.setSelectionModel(QItemSelectionModel selectionModel)''' 28002 def removeItemWidget(self, item, column): 28003 '''void QTreeWidget.removeItemWidget(QTreeWidgetItem item, int column)''' 28004 def itemBelow(self, item): 28005 '''QTreeWidgetItem QTreeWidget.itemBelow(QTreeWidgetItem item)''' 28006 return QTreeWidgetItem() 28007 def itemAbove(self, item): 28008 '''QTreeWidgetItem QTreeWidget.itemAbove(QTreeWidgetItem item)''' 28009 return QTreeWidgetItem() 28010 def setFirstItemColumnSpanned(self, item, span): 28011 '''void QTreeWidget.setFirstItemColumnSpanned(QTreeWidgetItem item, bool span)''' 28012 def isFirstItemColumnSpanned(self, item): 28013 '''bool QTreeWidget.isFirstItemColumnSpanned(QTreeWidgetItem item)''' 28014 return bool() 28015 def setHeaderLabel(self, alabel): 28016 '''void QTreeWidget.setHeaderLabel(QString alabel)''' 28017 def invisibleRootItem(self): 28018 '''QTreeWidgetItem QTreeWidget.invisibleRootItem()''' 28019 return QTreeWidgetItem() 28020 def dropEvent(self, event): 28021 '''void QTreeWidget.dropEvent(QDropEvent event)''' 28022 def event(self, e): 28023 '''bool QTreeWidget.event(QEvent e)''' 28024 return bool() 28025 def itemFromIndex(self, index): 28026 '''QTreeWidgetItem QTreeWidget.itemFromIndex(QModelIndex index)''' 28027 return QTreeWidgetItem() 28028 def indexFromItem(self, item, column = 0): 28029 '''QModelIndex QTreeWidget.indexFromItem(QTreeWidgetItem item, int column = 0)''' 28030 return QModelIndex() 28031 def items(self, data): 28032 '''list-of-QTreeWidgetItem QTreeWidget.items(QMimeData data)''' 28033 return [QTreeWidgetItem()] 28034 def supportedDropActions(self): 28035 '''Qt.DropActions QTreeWidget.supportedDropActions()''' 28036 return Qt.DropActions() 28037 def dropMimeData(self, parent, index, data, action): 28038 '''bool QTreeWidget.dropMimeData(QTreeWidgetItem parent, int index, QMimeData data, Qt.DropAction action)''' 28039 return bool() 28040 def mimeData(self, items): 28041 '''QMimeData QTreeWidget.mimeData(list-of-QTreeWidgetItem items)''' 28042 return QMimeData() 28043 def mimeTypes(self): 28044 '''QStringList QTreeWidget.mimeTypes()''' 28045 return QStringList() 28046 itemSelectionChanged = pyqtSignal() # void itemSelectionChanged() - signal 28047 currentItemChanged = pyqtSignal() # void currentItemChanged(QTreeWidgetItem *,QTreeWidgetItem *) - signal 28048 itemCollapsed = pyqtSignal() # void itemCollapsed(QTreeWidgetItem *) - signal 28049 itemExpanded = pyqtSignal() # void itemExpanded(QTreeWidgetItem *) - signal 28050 itemChanged = pyqtSignal() # void itemChanged(QTreeWidgetItem *,int) - signal 28051 itemEntered = pyqtSignal() # void itemEntered(QTreeWidgetItem *,int) - signal 28052 itemActivated = pyqtSignal() # void itemActivated(QTreeWidgetItem *,int) - signal 28053 itemDoubleClicked = pyqtSignal() # void itemDoubleClicked(QTreeWidgetItem *,int) - signal 28054 itemClicked = pyqtSignal() # void itemClicked(QTreeWidgetItem *,int) - signal 28055 itemPressed = pyqtSignal() # void itemPressed(QTreeWidgetItem *,int) - signal 28056 def clear(self): 28057 '''void QTreeWidget.clear()''' 28058 def collapseItem(self, item): 28059 '''void QTreeWidget.collapseItem(QTreeWidgetItem item)''' 28060 def expandItem(self, item): 28061 '''void QTreeWidget.expandItem(QTreeWidgetItem item)''' 28062 def scrollToItem(self, item, hint = None): 28063 '''void QTreeWidget.scrollToItem(QTreeWidgetItem item, QAbstractItemView.ScrollHint hint = QAbstractItemView.EnsureVisible)''' 28064 def setItemExpanded(self, item, expand): 28065 '''void QTreeWidget.setItemExpanded(QTreeWidgetItem item, bool expand)''' 28066 def isItemExpanded(self, item): 28067 '''bool QTreeWidget.isItemExpanded(QTreeWidgetItem item)''' 28068 return bool() 28069 def setItemHidden(self, item, hide): 28070 '''void QTreeWidget.setItemHidden(QTreeWidgetItem item, bool hide)''' 28071 def isItemHidden(self, item): 28072 '''bool QTreeWidget.isItemHidden(QTreeWidgetItem item)''' 28073 return bool() 28074 def findItems(self, text, flags, column = 0): 28075 '''list-of-QTreeWidgetItem QTreeWidget.findItems(QString text, Qt.MatchFlags flags, int column = 0)''' 28076 return [QTreeWidgetItem()] 28077 def selectedItems(self): 28078 '''list-of-QTreeWidgetItem QTreeWidget.selectedItems()''' 28079 return [QTreeWidgetItem()] 28080 def setItemSelected(self, item, select): 28081 '''void QTreeWidget.setItemSelected(QTreeWidgetItem item, bool select)''' 28082 def isItemSelected(self, item): 28083 '''bool QTreeWidget.isItemSelected(QTreeWidgetItem item)''' 28084 return bool() 28085 def setItemWidget(self, item, column, widget): 28086 '''void QTreeWidget.setItemWidget(QTreeWidgetItem item, int column, QWidget widget)''' 28087 def itemWidget(self, item, column): 28088 '''QWidget QTreeWidget.itemWidget(QTreeWidgetItem item, int column)''' 28089 return QWidget() 28090 def closePersistentEditor(self, item, column = 0): 28091 '''void QTreeWidget.closePersistentEditor(QTreeWidgetItem item, int column = 0)''' 28092 def openPersistentEditor(self, item, column = 0): 28093 '''void QTreeWidget.openPersistentEditor(QTreeWidgetItem item, int column = 0)''' 28094 def editItem(self, item, column = 0): 28095 '''void QTreeWidget.editItem(QTreeWidgetItem item, int column = 0)''' 28096 def isSortingEnabled(self): 28097 '''bool QTreeWidget.isSortingEnabled()''' 28098 return bool() 28099 def setSortingEnabled(self, enable): 28100 '''void QTreeWidget.setSortingEnabled(bool enable)''' 28101 def sortItems(self, column, order): 28102 '''void QTreeWidget.sortItems(int column, Qt.SortOrder order)''' 28103 def sortColumn(self): 28104 '''int QTreeWidget.sortColumn()''' 28105 return int() 28106 def visualItemRect(self, item): 28107 '''QRect QTreeWidget.visualItemRect(QTreeWidgetItem item)''' 28108 return QRect() 28109 def itemAt(self, p): 28110 '''QTreeWidgetItem QTreeWidget.itemAt(QPoint p)''' 28111 return QTreeWidgetItem() 28112 def itemAt(self, ax, ay): 28113 '''QTreeWidgetItem QTreeWidget.itemAt(int ax, int ay)''' 28114 return QTreeWidgetItem() 28115 def setCurrentItem(self, item): 28116 '''void QTreeWidget.setCurrentItem(QTreeWidgetItem item)''' 28117 def setCurrentItem(self, item, column): 28118 '''void QTreeWidget.setCurrentItem(QTreeWidgetItem item, int column)''' 28119 def setCurrentItem(self, item, column, command): 28120 '''void QTreeWidget.setCurrentItem(QTreeWidgetItem item, int column, QItemSelectionModel.SelectionFlags command)''' 28121 def currentColumn(self): 28122 '''int QTreeWidget.currentColumn()''' 28123 return int() 28124 def currentItem(self): 28125 '''QTreeWidgetItem QTreeWidget.currentItem()''' 28126 return QTreeWidgetItem() 28127 def setHeaderLabels(self, labels): 28128 '''void QTreeWidget.setHeaderLabels(QStringList labels)''' 28129 def setHeaderItem(self, item): 28130 '''void QTreeWidget.setHeaderItem(QTreeWidgetItem item)''' 28131 def headerItem(self): 28132 '''QTreeWidgetItem QTreeWidget.headerItem()''' 28133 return QTreeWidgetItem() 28134 def addTopLevelItems(self, items): 28135 '''void QTreeWidget.addTopLevelItems(list-of-QTreeWidgetItem items)''' 28136 def insertTopLevelItems(self, index, items): 28137 '''void QTreeWidget.insertTopLevelItems(int index, list-of-QTreeWidgetItem items)''' 28138 def indexOfTopLevelItem(self, item): 28139 '''int QTreeWidget.indexOfTopLevelItem(QTreeWidgetItem item)''' 28140 return int() 28141 def takeTopLevelItem(self, index): 28142 '''QTreeWidgetItem QTreeWidget.takeTopLevelItem(int index)''' 28143 return QTreeWidgetItem() 28144 def addTopLevelItem(self, item): 28145 '''void QTreeWidget.addTopLevelItem(QTreeWidgetItem item)''' 28146 def insertTopLevelItem(self, index, item): 28147 '''void QTreeWidget.insertTopLevelItem(int index, QTreeWidgetItem item)''' 28148 def topLevelItemCount(self): 28149 '''int QTreeWidget.topLevelItemCount()''' 28150 return int() 28151 def topLevelItem(self, index): 28152 '''QTreeWidgetItem QTreeWidget.topLevelItem(int index)''' 28153 return QTreeWidgetItem() 28154 def setColumnCount(self, columns): 28155 '''void QTreeWidget.setColumnCount(int columns)''' 28156 def columnCount(self): 28157 '''int QTreeWidget.columnCount()''' 28158 return int() 28159 28160 28161 class QTreeWidgetItemIterator(): 28162 """""" 28163 # Enum QTreeWidgetItemIterator.IteratorFlag 28164 All = 0 28165 Hidden = 0 28166 NotHidden = 0 28167 Selected = 0 28168 Unselected = 0 28169 Selectable = 0 28170 NotSelectable = 0 28171 DragEnabled = 0 28172 DragDisabled = 0 28173 DropEnabled = 0 28174 DropDisabled = 0 28175 HasChildren = 0 28176 NoChildren = 0 28177 Checked = 0 28178 NotChecked = 0 28179 Enabled = 0 28180 Disabled = 0 28181 Editable = 0 28182 NotEditable = 0 28183 UserFlag = 0 28184 28185 def __init__(self, it): 28186 '''void QTreeWidgetItemIterator.__init__(QTreeWidgetItemIterator it)''' 28187 def __init__(self, widget, flags = None): 28188 '''void QTreeWidgetItemIterator.__init__(QTreeWidget widget, QTreeWidgetItemIterator.IteratorFlags flags = QTreeWidgetItemIterator.All)''' 28189 def __init__(self, item, flags = None): 28190 '''void QTreeWidgetItemIterator.__init__(QTreeWidgetItem item, QTreeWidgetItemIterator.IteratorFlags flags = QTreeWidgetItemIterator.All)''' 28191 def __isub__(self, n): 28192 '''QTreeWidgetItemIterator QTreeWidgetItemIterator.__isub__(int n)''' 28193 return QTreeWidgetItemIterator() 28194 def __iadd__(self, n): 28195 '''QTreeWidgetItemIterator QTreeWidgetItemIterator.__iadd__(int n)''' 28196 return QTreeWidgetItemIterator() 28197 def value(self): 28198 '''QTreeWidgetItem QTreeWidgetItemIterator.value()''' 28199 return QTreeWidgetItem() 28200 class IteratorFlags(): 28201 """""" 28202 def __init__(self): 28203 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__init__()''' 28204 return QTreeWidgetItemIterator.IteratorFlags() 28205 def __init__(self): 28206 '''int QTreeWidgetItemIterator.IteratorFlags.__init__()''' 28207 return int() 28208 def __init__(self): 28209 '''void QTreeWidgetItemIterator.IteratorFlags.__init__()''' 28210 def __bool__(self): 28211 '''int QTreeWidgetItemIterator.IteratorFlags.__bool__()''' 28212 return int() 28213 def __ne__(self, f): 28214 '''bool QTreeWidgetItemIterator.IteratorFlags.__ne__(QTreeWidgetItemIterator.IteratorFlags f)''' 28215 return bool() 28216 def __eq__(self, f): 28217 '''bool QTreeWidgetItemIterator.IteratorFlags.__eq__(QTreeWidgetItemIterator.IteratorFlags f)''' 28218 return bool() 28219 def __invert__(self): 28220 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__invert__()''' 28221 return QTreeWidgetItemIterator.IteratorFlags() 28222 def __and__(self, mask): 28223 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__and__(int mask)''' 28224 return QTreeWidgetItemIterator.IteratorFlags() 28225 def __xor__(self, f): 28226 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__xor__(QTreeWidgetItemIterator.IteratorFlags f)''' 28227 return QTreeWidgetItemIterator.IteratorFlags() 28228 def __xor__(self, f): 28229 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__xor__(int f)''' 28230 return QTreeWidgetItemIterator.IteratorFlags() 28231 def __or__(self, f): 28232 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__or__(QTreeWidgetItemIterator.IteratorFlags f)''' 28233 return QTreeWidgetItemIterator.IteratorFlags() 28234 def __or__(self, f): 28235 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__or__(int f)''' 28236 return QTreeWidgetItemIterator.IteratorFlags() 28237 def __int__(self): 28238 '''int QTreeWidgetItemIterator.IteratorFlags.__int__()''' 28239 return int() 28240 def __ixor__(self, f): 28241 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__ixor__(QTreeWidgetItemIterator.IteratorFlags f)''' 28242 return QTreeWidgetItemIterator.IteratorFlags() 28243 def __ior__(self, f): 28244 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__ior__(QTreeWidgetItemIterator.IteratorFlags f)''' 28245 return QTreeWidgetItemIterator.IteratorFlags() 28246 def __iand__(self, mask): 28247 '''QTreeWidgetItemIterator.IteratorFlags QTreeWidgetItemIterator.IteratorFlags.__iand__(int mask)''' 28248 return QTreeWidgetItemIterator.IteratorFlags() 28249 28250 28251 class QUndoGroup(QObject): 28252 """""" 28253 def __init__(self, parent = None): 28254 '''void QUndoGroup.__init__(QObject parent = None)''' 28255 undoTextChanged = pyqtSignal() # void undoTextChanged(const QStringamp;) - signal 28256 redoTextChanged = pyqtSignal() # void redoTextChanged(const QStringamp;) - signal 28257 indexChanged = pyqtSignal() # void indexChanged(int) - signal 28258 cleanChanged = pyqtSignal() # void cleanChanged(bool) - signal 28259 canUndoChanged = pyqtSignal() # void canUndoChanged(bool) - signal 28260 canRedoChanged = pyqtSignal() # void canRedoChanged(bool) - signal 28261 activeStackChanged = pyqtSignal() # void activeStackChanged(QUndoStack *) - signal 28262 def undo(self): 28263 '''void QUndoGroup.undo()''' 28264 def setActiveStack(self, stack): 28265 '''void QUndoGroup.setActiveStack(QUndoStack stack)''' 28266 def redo(self): 28267 '''void QUndoGroup.redo()''' 28268 def isClean(self): 28269 '''bool QUndoGroup.isClean()''' 28270 return bool() 28271 def redoText(self): 28272 '''QString QUndoGroup.redoText()''' 28273 return QString() 28274 def undoText(self): 28275 '''QString QUndoGroup.undoText()''' 28276 return QString() 28277 def canRedo(self): 28278 '''bool QUndoGroup.canRedo()''' 28279 return bool() 28280 def canUndo(self): 28281 '''bool QUndoGroup.canUndo()''' 28282 return bool() 28283 def createUndoAction(self, parent, prefix = QString()): 28284 '''QAction QUndoGroup.createUndoAction(QObject parent, QString prefix = QString())''' 28285 return QAction() 28286 def createRedoAction(self, parent, prefix = QString()): 28287 '''QAction QUndoGroup.createRedoAction(QObject parent, QString prefix = QString())''' 28288 return QAction() 28289 def activeStack(self): 28290 '''QUndoStack QUndoGroup.activeStack()''' 28291 return QUndoStack() 28292 def stacks(self): 28293 '''list-of-QUndoStack QUndoGroup.stacks()''' 28294 return [QUndoStack()] 28295 def removeStack(self, stack): 28296 '''void QUndoGroup.removeStack(QUndoStack stack)''' 28297 def addStack(self, stack): 28298 '''void QUndoGroup.addStack(QUndoStack stack)''' 28299 28300 28301 class QUndoCommand(): 28302 """""" 28303 def __init__(self, parent = None): 28304 '''void QUndoCommand.__init__(QUndoCommand parent = None)''' 28305 def __init__(self, text, parent = None): 28306 '''void QUndoCommand.__init__(QString text, QUndoCommand parent = None)''' 28307 def actionText(self): 28308 '''QString QUndoCommand.actionText()''' 28309 return QString() 28310 def child(self, index): 28311 '''QUndoCommand QUndoCommand.child(int index)''' 28312 return QUndoCommand() 28313 def childCount(self): 28314 '''int QUndoCommand.childCount()''' 28315 return int() 28316 def undo(self): 28317 '''void QUndoCommand.undo()''' 28318 def text(self): 28319 '''QString QUndoCommand.text()''' 28320 return QString() 28321 def setText(self, text): 28322 '''void QUndoCommand.setText(QString text)''' 28323 def redo(self): 28324 '''void QUndoCommand.redo()''' 28325 def mergeWith(self, other): 28326 '''bool QUndoCommand.mergeWith(QUndoCommand other)''' 28327 return bool() 28328 def id(self): 28329 '''int QUndoCommand.id()''' 28330 return int() 28331 28332 28333 class QUndoStack(QObject): 28334 """""" 28335 def __init__(self, parent = None): 28336 '''void QUndoStack.__init__(QObject parent = None)''' 28337 def command(self, index): 28338 '''QUndoCommand QUndoStack.command(int index)''' 28339 return QUndoCommand() 28340 def undoLimit(self): 28341 '''int QUndoStack.undoLimit()''' 28342 return int() 28343 def setUndoLimit(self, limit): 28344 '''void QUndoStack.setUndoLimit(int limit)''' 28345 undoTextChanged = pyqtSignal() # void undoTextChanged(const QStringamp;) - signal 28346 redoTextChanged = pyqtSignal() # void redoTextChanged(const QStringamp;) - signal 28347 indexChanged = pyqtSignal() # void indexChanged(int) - signal 28348 cleanChanged = pyqtSignal() # void cleanChanged(bool) - signal 28349 canUndoChanged = pyqtSignal() # void canUndoChanged(bool) - signal 28350 canRedoChanged = pyqtSignal() # void canRedoChanged(bool) - signal 28351 def undo(self): 28352 '''void QUndoStack.undo()''' 28353 def setIndex(self, idx): 28354 '''void QUndoStack.setIndex(int idx)''' 28355 def setClean(self): 28356 '''void QUndoStack.setClean()''' 28357 def setActive(self, active = True): 28358 '''void QUndoStack.setActive(bool active = True)''' 28359 def redo(self): 28360 '''void QUndoStack.redo()''' 28361 def endMacro(self): 28362 '''void QUndoStack.endMacro()''' 28363 def beginMacro(self, text): 28364 '''void QUndoStack.beginMacro(QString text)''' 28365 def cleanIndex(self): 28366 '''int QUndoStack.cleanIndex()''' 28367 return int() 28368 def isClean(self): 28369 '''bool QUndoStack.isClean()''' 28370 return bool() 28371 def isActive(self): 28372 '''bool QUndoStack.isActive()''' 28373 return bool() 28374 def createRedoAction(self, parent, prefix = QString()): 28375 '''QAction QUndoStack.createRedoAction(QObject parent, QString prefix = QString())''' 28376 return QAction() 28377 def createUndoAction(self, parent, prefix = QString()): 28378 '''QAction QUndoStack.createUndoAction(QObject parent, QString prefix = QString())''' 28379 return QAction() 28380 def text(self, idx): 28381 '''QString QUndoStack.text(int idx)''' 28382 return QString() 28383 def index(self): 28384 '''int QUndoStack.index()''' 28385 return int() 28386 def __len__(self): 28387 '''None QUndoStack.__len__()''' 28388 return None() 28389 def count(self): 28390 '''int QUndoStack.count()''' 28391 return int() 28392 def redoText(self): 28393 '''QString QUndoStack.redoText()''' 28394 return QString() 28395 def undoText(self): 28396 '''QString QUndoStack.undoText()''' 28397 return QString() 28398 def canRedo(self): 28399 '''bool QUndoStack.canRedo()''' 28400 return bool() 28401 def canUndo(self): 28402 '''bool QUndoStack.canUndo()''' 28403 return bool() 28404 def push(self, cmd): 28405 '''void QUndoStack.push(QUndoCommand cmd)''' 28406 def clear(self): 28407 '''void QUndoStack.clear()''' 28408 28409 28410 class QUndoView(QListView): 28411 """""" 28412 def __init__(self, parent = None): 28413 '''void QUndoView.__init__(QWidget parent = None)''' 28414 def __init__(self, stack, parent = None): 28415 '''void QUndoView.__init__(QUndoStack stack, QWidget parent = None)''' 28416 def __init__(self, group, parent = None): 28417 '''void QUndoView.__init__(QUndoGroup group, QWidget parent = None)''' 28418 def setGroup(self, group): 28419 '''void QUndoView.setGroup(QUndoGroup group)''' 28420 def setStack(self, stack): 28421 '''void QUndoView.setStack(QUndoStack stack)''' 28422 def cleanIcon(self): 28423 '''QIcon QUndoView.cleanIcon()''' 28424 return QIcon() 28425 def setCleanIcon(self, icon): 28426 '''void QUndoView.setCleanIcon(QIcon icon)''' 28427 def emptyLabel(self): 28428 '''QString QUndoView.emptyLabel()''' 28429 return QString() 28430 def setEmptyLabel(self, label): 28431 '''void QUndoView.setEmptyLabel(QString label)''' 28432 def group(self): 28433 '''QUndoGroup QUndoView.group()''' 28434 return QUndoGroup() 28435 def stack(self): 28436 '''QUndoStack QUndoView.stack()''' 28437 return QUndoStack() 28438 28439 28440 class QValidator(QObject): 28441 """""" 28442 # Enum QValidator.State 28443 Invalid = 0 28444 Intermediate = 0 28445 Acceptable = 0 28446 28447 def __init__(self, parent = None): 28448 '''void QValidator.__init__(QObject parent = None)''' 28449 def locale(self): 28450 '''QLocale QValidator.locale()''' 28451 return QLocale() 28452 def setLocale(self, locale): 28453 '''void QValidator.setLocale(QLocale locale)''' 28454 def fixup(self, input): 28455 '''void QValidator.fixup(QString input)''' 28456 def fixup(self): 28457 '''QString QValidator.fixup()''' 28458 return QString() 28459 def validate(self): 28460 '''abstract int QValidator.validate()''' 28461 return int() 28462 def validate(self): 28463 '''abstract int QValidator.validate()''' 28464 return int() 28465 28466 28467 class QIntValidator(QValidator): 28468 """""" 28469 def __init__(self, parent = None): 28470 '''void QIntValidator.__init__(QObject parent = None)''' 28471 def __init__(self, bottom, top, parent = None): 28472 '''void QIntValidator.__init__(int bottom, int top, QObject parent = None)''' 28473 def top(self): 28474 '''int QIntValidator.top()''' 28475 return int() 28476 def bottom(self): 28477 '''int QIntValidator.bottom()''' 28478 return int() 28479 def setRange(self, bottom, top): 28480 '''void QIntValidator.setRange(int bottom, int top)''' 28481 def setTop(self): 28482 '''int QIntValidator.setTop()''' 28483 return int() 28484 def setBottom(self): 28485 '''int QIntValidator.setBottom()''' 28486 return int() 28487 def fixup(self, input): 28488 '''void QIntValidator.fixup(QString input)''' 28489 def fixup(self, input): 28490 '''void QIntValidator.fixup(QString input)''' 28491 def validate(self): 28492 '''int QIntValidator.validate()''' 28493 return int() 28494 def validate(self): 28495 '''int QIntValidator.validate()''' 28496 return int() 28497 28498 28499 class QDoubleValidator(QValidator): 28500 """""" 28501 # Enum QDoubleValidator.Notation 28502 StandardNotation = 0 28503 ScientificNotation = 0 28504 28505 def __init__(self, parent = None): 28506 '''void QDoubleValidator.__init__(QObject parent = None)''' 28507 def __init__(self, bottom, top, decimals, parent = None): 28508 '''void QDoubleValidator.__init__(float bottom, float top, int decimals, QObject parent = None)''' 28509 def notation(self): 28510 '''QDoubleValidator.Notation QDoubleValidator.notation()''' 28511 return QDoubleValidator.Notation() 28512 def setNotation(self): 28513 '''QDoubleValidator.Notation QDoubleValidator.setNotation()''' 28514 return QDoubleValidator.Notation() 28515 def decimals(self): 28516 '''int QDoubleValidator.decimals()''' 28517 return int() 28518 def top(self): 28519 '''float QDoubleValidator.top()''' 28520 return float() 28521 def bottom(self): 28522 '''float QDoubleValidator.bottom()''' 28523 return float() 28524 def setDecimals(self): 28525 '''int QDoubleValidator.setDecimals()''' 28526 return int() 28527 def setTop(self): 28528 '''float QDoubleValidator.setTop()''' 28529 return float() 28530 def setBottom(self): 28531 '''float QDoubleValidator.setBottom()''' 28532 return float() 28533 def setRange(self, minimum, maximum, decimals = 0): 28534 '''void QDoubleValidator.setRange(float minimum, float maximum, int decimals = 0)''' 28535 def validate(self): 28536 '''int QDoubleValidator.validate()''' 28537 return int() 28538 def validate(self): 28539 '''int QDoubleValidator.validate()''' 28540 return int() 28541 28542 28543 class QRegExpValidator(QValidator): 28544 """""" 28545 def __init__(self, parent = None): 28546 '''void QRegExpValidator.__init__(QObject parent = None)''' 28547 def __init__(self, rx, parent = None): 28548 '''void QRegExpValidator.__init__(QRegExp rx, QObject parent = None)''' 28549 def regExp(self): 28550 '''QRegExp QRegExpValidator.regExp()''' 28551 return QRegExp() 28552 def setRegExp(self, rx): 28553 '''void QRegExpValidator.setRegExp(QRegExp rx)''' 28554 def validate(self, input, pos): 28555 '''QValidator.State QRegExpValidator.validate(QString input, int pos)''' 28556 return QValidator.State() 28557 def validate(self, input, pos): 28558 '''QValidator.State QRegExpValidator.validate(QString input, int pos)''' 28559 return QValidator.State() 28560 28561 28562 class QVector2D(): 28563 """""" 28564 def __init__(self): 28565 '''void QVector2D.__init__()''' 28566 def __init__(self, xpos, ypos): 28567 '''void QVector2D.__init__(float xpos, float ypos)''' 28568 def __init__(self, point): 28569 '''void QVector2D.__init__(QPoint point)''' 28570 def __init__(self, point): 28571 '''void QVector2D.__init__(QPointF point)''' 28572 def __init__(self, vector): 28573 '''void QVector2D.__init__(QVector3D vector)''' 28574 def __init__(self, vector): 28575 '''void QVector2D.__init__(QVector4D vector)''' 28576 def __init__(self): 28577 '''QVector2D QVector2D.__init__()''' 28578 return QVector2D() 28579 def __eq__(self, v2): 28580 '''bool QVector2D.__eq__(QVector2D v2)''' 28581 return bool() 28582 def __mul__(self, vector): 28583 '''QVector2D QVector2D.__mul__(QVector2D vector)''' 28584 return QVector2D() 28585 def __mul__(self, factor): 28586 '''QVector2D QVector2D.__mul__(float factor)''' 28587 return QVector2D() 28588 def __mul__(self, v2): 28589 '''QVector2D QVector2D.__mul__(QVector2D v2)''' 28590 return QVector2D() 28591 def __div__(self, divisor): 28592 '''QVector2D QVector2D.__div__(float divisor)''' 28593 return QVector2D() 28594 def __add__(self, v2): 28595 '''QVector2D QVector2D.__add__(QVector2D v2)''' 28596 return QVector2D() 28597 def __sub__(self, v2): 28598 '''QVector2D QVector2D.__sub__(QVector2D v2)''' 28599 return QVector2D() 28600 def __neg__(self): 28601 '''QVector2D QVector2D.__neg__()''' 28602 return QVector2D() 28603 def __ne__(self, v2): 28604 '''bool QVector2D.__ne__(QVector2D v2)''' 28605 return bool() 28606 def toPointF(self): 28607 '''QPointF QVector2D.toPointF()''' 28608 return QPointF() 28609 def toPoint(self): 28610 '''QPoint QVector2D.toPoint()''' 28611 return QPoint() 28612 def __idiv__(self, divisor): 28613 '''QVector2D QVector2D.__idiv__(float divisor)''' 28614 return QVector2D() 28615 def __imul__(self, factor): 28616 '''QVector2D QVector2D.__imul__(float factor)''' 28617 return QVector2D() 28618 def __imul__(self, vector): 28619 '''QVector2D QVector2D.__imul__(QVector2D vector)''' 28620 return QVector2D() 28621 def __isub__(self, vector): 28622 '''QVector2D QVector2D.__isub__(QVector2D vector)''' 28623 return QVector2D() 28624 def __iadd__(self, vector): 28625 '''QVector2D QVector2D.__iadd__(QVector2D vector)''' 28626 return QVector2D() 28627 def setY(self, aY): 28628 '''void QVector2D.setY(float aY)''' 28629 def setX(self, aX): 28630 '''void QVector2D.setX(float aX)''' 28631 def y(self): 28632 '''float QVector2D.y()''' 28633 return float() 28634 def x(self): 28635 '''float QVector2D.x()''' 28636 return float() 28637 def isNull(self): 28638 '''bool QVector2D.isNull()''' 28639 return bool() 28640 def toVector4D(self): 28641 '''QVector4D QVector2D.toVector4D()''' 28642 return QVector4D() 28643 def toVector3D(self): 28644 '''QVector3D QVector2D.toVector3D()''' 28645 return QVector3D() 28646 def dotProduct(self, v1, v2): 28647 '''static float QVector2D.dotProduct(QVector2D v1, QVector2D v2)''' 28648 return float() 28649 def normalize(self): 28650 '''void QVector2D.normalize()''' 28651 def normalized(self): 28652 '''QVector2D QVector2D.normalized()''' 28653 return QVector2D() 28654 def lengthSquared(self): 28655 '''float QVector2D.lengthSquared()''' 28656 return float() 28657 def length(self): 28658 '''float QVector2D.length()''' 28659 return float() 28660 def __repr__(self): 28661 '''str QVector2D.__repr__()''' 28662 return str() 28663 28664 28665 class QVector3D(): 28666 """""" 28667 def __init__(self): 28668 '''void QVector3D.__init__()''' 28669 def __init__(self, xpos, ypos, zpos): 28670 '''void QVector3D.__init__(float xpos, float ypos, float zpos)''' 28671 def __init__(self, point): 28672 '''void QVector3D.__init__(QPoint point)''' 28673 def __init__(self, point): 28674 '''void QVector3D.__init__(QPointF point)''' 28675 def __init__(self, vector): 28676 '''void QVector3D.__init__(QVector2D vector)''' 28677 def __init__(self, vector, zpos): 28678 '''void QVector3D.__init__(QVector2D vector, float zpos)''' 28679 def __init__(self, vector): 28680 '''void QVector3D.__init__(QVector4D vector)''' 28681 def __init__(self): 28682 '''QVector3D QVector3D.__init__()''' 28683 return QVector3D() 28684 def __eq__(self, v2): 28685 '''bool QVector3D.__eq__(QVector3D v2)''' 28686 return bool() 28687 def __mul__(self, matrix): 28688 '''QVector3D QVector3D.__mul__(QMatrix4x4 matrix)''' 28689 return QVector3D() 28690 def __mul__(self, vector): 28691 '''QVector3D QVector3D.__mul__(QVector3D vector)''' 28692 return QVector3D() 28693 def __mul__(self, factor): 28694 '''QVector3D QVector3D.__mul__(float factor)''' 28695 return QVector3D() 28696 def __mul__(self, v2): 28697 '''QVector3D QVector3D.__mul__(QVector3D v2)''' 28698 return QVector3D() 28699 def __div__(self, divisor): 28700 '''QVector3D QVector3D.__div__(float divisor)''' 28701 return QVector3D() 28702 def __add__(self, v2): 28703 '''QVector3D QVector3D.__add__(QVector3D v2)''' 28704 return QVector3D() 28705 def __sub__(self, v2): 28706 '''QVector3D QVector3D.__sub__(QVector3D v2)''' 28707 return QVector3D() 28708 def __neg__(self): 28709 '''QVector3D QVector3D.__neg__()''' 28710 return QVector3D() 28711 def __ne__(self, v2): 28712 '''bool QVector3D.__ne__(QVector3D v2)''' 28713 return bool() 28714 def toPointF(self): 28715 '''QPointF QVector3D.toPointF()''' 28716 return QPointF() 28717 def toPoint(self): 28718 '''QPoint QVector3D.toPoint()''' 28719 return QPoint() 28720 def __idiv__(self, divisor): 28721 '''QVector3D QVector3D.__idiv__(float divisor)''' 28722 return QVector3D() 28723 def __imul__(self, factor): 28724 '''QVector3D QVector3D.__imul__(float factor)''' 28725 return QVector3D() 28726 def __imul__(self, vector): 28727 '''QVector3D QVector3D.__imul__(QVector3D vector)''' 28728 return QVector3D() 28729 def __isub__(self, vector): 28730 '''QVector3D QVector3D.__isub__(QVector3D vector)''' 28731 return QVector3D() 28732 def __iadd__(self, vector): 28733 '''QVector3D QVector3D.__iadd__(QVector3D vector)''' 28734 return QVector3D() 28735 def setZ(self, aZ): 28736 '''void QVector3D.setZ(float aZ)''' 28737 def setY(self, aY): 28738 '''void QVector3D.setY(float aY)''' 28739 def setX(self, aX): 28740 '''void QVector3D.setX(float aX)''' 28741 def z(self): 28742 '''float QVector3D.z()''' 28743 return float() 28744 def y(self): 28745 '''float QVector3D.y()''' 28746 return float() 28747 def x(self): 28748 '''float QVector3D.x()''' 28749 return float() 28750 def isNull(self): 28751 '''bool QVector3D.isNull()''' 28752 return bool() 28753 def toVector4D(self): 28754 '''QVector4D QVector3D.toVector4D()''' 28755 return QVector4D() 28756 def toVector2D(self): 28757 '''QVector2D QVector3D.toVector2D()''' 28758 return QVector2D() 28759 def distanceToLine(self, point, direction): 28760 '''float QVector3D.distanceToLine(QVector3D point, QVector3D direction)''' 28761 return float() 28762 def distanceToPlane(self, plane, normal): 28763 '''float QVector3D.distanceToPlane(QVector3D plane, QVector3D normal)''' 28764 return float() 28765 def distanceToPlane(self, plane1, plane2, plane3): 28766 '''float QVector3D.distanceToPlane(QVector3D plane1, QVector3D plane2, QVector3D plane3)''' 28767 return float() 28768 def normal(self, v1, v2): 28769 '''static QVector3D QVector3D.normal(QVector3D v1, QVector3D v2)''' 28770 return QVector3D() 28771 def normal(self, v1, v2, v3): 28772 '''static QVector3D QVector3D.normal(QVector3D v1, QVector3D v2, QVector3D v3)''' 28773 return QVector3D() 28774 def crossProduct(self, v1, v2): 28775 '''static QVector3D QVector3D.crossProduct(QVector3D v1, QVector3D v2)''' 28776 return QVector3D() 28777 def dotProduct(self, v1, v2): 28778 '''static float QVector3D.dotProduct(QVector3D v1, QVector3D v2)''' 28779 return float() 28780 def normalize(self): 28781 '''void QVector3D.normalize()''' 28782 def normalized(self): 28783 '''QVector3D QVector3D.normalized()''' 28784 return QVector3D() 28785 def lengthSquared(self): 28786 '''float QVector3D.lengthSquared()''' 28787 return float() 28788 def length(self): 28789 '''float QVector3D.length()''' 28790 return float() 28791 def __repr__(self): 28792 '''str QVector3D.__repr__()''' 28793 return str() 28794 28795 28796 class QVector4D(): 28797 """""" 28798 def __init__(self): 28799 '''void QVector4D.__init__()''' 28800 def __init__(self, xpos, ypos, zpos, wpos): 28801 '''void QVector4D.__init__(float xpos, float ypos, float zpos, float wpos)''' 28802 def __init__(self, point): 28803 '''void QVector4D.__init__(QPoint point)''' 28804 def __init__(self, point): 28805 '''void QVector4D.__init__(QPointF point)''' 28806 def __init__(self, vector): 28807 '''void QVector4D.__init__(QVector2D vector)''' 28808 def __init__(self, vector, zpos, wpos): 28809 '''void QVector4D.__init__(QVector2D vector, float zpos, float wpos)''' 28810 def __init__(self, vector): 28811 '''void QVector4D.__init__(QVector3D vector)''' 28812 def __init__(self, vector, wpos): 28813 '''void QVector4D.__init__(QVector3D vector, float wpos)''' 28814 def __init__(self): 28815 '''QVector4D QVector4D.__init__()''' 28816 return QVector4D() 28817 def __eq__(self, v2): 28818 '''bool QVector4D.__eq__(QVector4D v2)''' 28819 return bool() 28820 def __mul__(self, matrix): 28821 '''QVector4D QVector4D.__mul__(QMatrix4x4 matrix)''' 28822 return QVector4D() 28823 def __mul__(self, vector): 28824 '''QVector4D QVector4D.__mul__(QVector4D vector)''' 28825 return QVector4D() 28826 def __mul__(self, factor): 28827 '''QVector4D QVector4D.__mul__(float factor)''' 28828 return QVector4D() 28829 def __mul__(self, v2): 28830 '''QVector4D QVector4D.__mul__(QVector4D v2)''' 28831 return QVector4D() 28832 def __div__(self, divisor): 28833 '''QVector4D QVector4D.__div__(float divisor)''' 28834 return QVector4D() 28835 def __add__(self, v2): 28836 '''QVector4D QVector4D.__add__(QVector4D v2)''' 28837 return QVector4D() 28838 def __sub__(self, v2): 28839 '''QVector4D QVector4D.__sub__(QVector4D v2)''' 28840 return QVector4D() 28841 def __neg__(self): 28842 '''QVector4D QVector4D.__neg__()''' 28843 return QVector4D() 28844 def __ne__(self, v2): 28845 '''bool QVector4D.__ne__(QVector4D v2)''' 28846 return bool() 28847 def toPointF(self): 28848 '''QPointF QVector4D.toPointF()''' 28849 return QPointF() 28850 def toPoint(self): 28851 '''QPoint QVector4D.toPoint()''' 28852 return QPoint() 28853 def __idiv__(self, divisor): 28854 '''QVector4D QVector4D.__idiv__(float divisor)''' 28855 return QVector4D() 28856 def __imul__(self, factor): 28857 '''QVector4D QVector4D.__imul__(float factor)''' 28858 return QVector4D() 28859 def __imul__(self, vector): 28860 '''QVector4D QVector4D.__imul__(QVector4D vector)''' 28861 return QVector4D() 28862 def __isub__(self, vector): 28863 '''QVector4D QVector4D.__isub__(QVector4D vector)''' 28864 return QVector4D() 28865 def __iadd__(self, vector): 28866 '''QVector4D QVector4D.__iadd__(QVector4D vector)''' 28867 return QVector4D() 28868 def setW(self, aW): 28869 '''void QVector4D.setW(float aW)''' 28870 def setZ(self, aZ): 28871 '''void QVector4D.setZ(float aZ)''' 28872 def setY(self, aY): 28873 '''void QVector4D.setY(float aY)''' 28874 def setX(self, aX): 28875 '''void QVector4D.setX(float aX)''' 28876 def w(self): 28877 '''float QVector4D.w()''' 28878 return float() 28879 def z(self): 28880 '''float QVector4D.z()''' 28881 return float() 28882 def y(self): 28883 '''float QVector4D.y()''' 28884 return float() 28885 def x(self): 28886 '''float QVector4D.x()''' 28887 return float() 28888 def isNull(self): 28889 '''bool QVector4D.isNull()''' 28890 return bool() 28891 def toVector3DAffine(self): 28892 '''QVector3D QVector4D.toVector3DAffine()''' 28893 return QVector3D() 28894 def toVector3D(self): 28895 '''QVector3D QVector4D.toVector3D()''' 28896 return QVector3D() 28897 def toVector2DAffine(self): 28898 '''QVector2D QVector4D.toVector2DAffine()''' 28899 return QVector2D() 28900 def toVector2D(self): 28901 '''QVector2D QVector4D.toVector2D()''' 28902 return QVector2D() 28903 def dotProduct(self, v1, v2): 28904 '''static float QVector4D.dotProduct(QVector4D v1, QVector4D v2)''' 28905 return float() 28906 def normalize(self): 28907 '''void QVector4D.normalize()''' 28908 def normalized(self): 28909 '''QVector4D QVector4D.normalized()''' 28910 return QVector4D() 28911 def lengthSquared(self): 28912 '''float QVector4D.lengthSquared()''' 28913 return float() 28914 def length(self): 28915 '''float QVector4D.length()''' 28916 return float() 28917 def __repr__(self): 28918 '''str QVector4D.__repr__()''' 28919 return str() 28920 28921 28922 class QWhatsThis(): 28923 """""" 28924 def __init__(self): 28925 '''QWhatsThis QWhatsThis.__init__()''' 28926 return QWhatsThis() 28927 def createAction(self, parent = None): 28928 '''static QAction QWhatsThis.createAction(QObject parent = None)''' 28929 return QAction() 28930 def hideText(self): 28931 '''static void QWhatsThis.hideText()''' 28932 def showText(self, pos, text, widget = None): 28933 '''static void QWhatsThis.showText(QPoint pos, QString text, QWidget widget = None)''' 28934 def leaveWhatsThisMode(self): 28935 '''static void QWhatsThis.leaveWhatsThisMode()''' 28936 def inWhatsThisMode(self): 28937 '''static bool QWhatsThis.inWhatsThisMode()''' 28938 return bool() 28939 def enterWhatsThisMode(self): 28940 '''static void QWhatsThis.enterWhatsThisMode()''' 28941 28942 28943 class QWidgetAction(QAction): 28944 """""" 28945 def __init__(self, parent): 28946 '''void QWidgetAction.__init__(QObject parent)''' 28947 def createdWidgets(self): 28948 '''list-of-QWidget QWidgetAction.createdWidgets()''' 28949 return [QWidget()] 28950 def deleteWidget(self, widget): 28951 '''void QWidgetAction.deleteWidget(QWidget widget)''' 28952 def createWidget(self, parent): 28953 '''QWidget QWidgetAction.createWidget(QWidget parent)''' 28954 return QWidget() 28955 def eventFilter(self): 28956 '''QEvent QWidgetAction.eventFilter()''' 28957 return QEvent() 28958 def event(self): 28959 '''QEvent QWidgetAction.event()''' 28960 return QEvent() 28961 def releaseWidget(self, widget): 28962 '''void QWidgetAction.releaseWidget(QWidget widget)''' 28963 def requestWidget(self, parent): 28964 '''QWidget QWidgetAction.requestWidget(QWidget parent)''' 28965 return QWidget() 28966 def defaultWidget(self): 28967 '''QWidget QWidgetAction.defaultWidget()''' 28968 return QWidget() 28969 def setDefaultWidget(self, w): 28970 '''void QWidgetAction.setDefaultWidget(QWidget w)''' 28971 28972 28973 class QWizard(QDialog): 28974 """""" 28975 # Enum QWizard.WizardOption 28976 IndependentPages = 0 28977 IgnoreSubTitles = 0 28978 ExtendedWatermarkPixmap = 0 28979 NoDefaultButton = 0 28980 NoBackButtonOnStartPage = 0 28981 NoBackButtonOnLastPage = 0 28982 DisabledBackButtonOnLastPage = 0 28983 HaveNextButtonOnLastPage = 0 28984 HaveFinishButtonOnEarlyPages = 0 28985 NoCancelButton = 0 28986 CancelButtonOnLeft = 0 28987 HaveHelpButton = 0 28988 HelpButtonOnRight = 0 28989 HaveCustomButton1 = 0 28990 HaveCustomButton2 = 0 28991 HaveCustomButton3 = 0 28992 28993 # Enum QWizard.WizardStyle 28994 ClassicStyle = 0 28995 ModernStyle = 0 28996 MacStyle = 0 28997 AeroStyle = 0 28998 28999 # Enum QWizard.WizardPixmap 29000 WatermarkPixmap = 0 29001 LogoPixmap = 0 29002 BannerPixmap = 0 29003 BackgroundPixmap = 0 29004 29005 # Enum QWizard.WizardButton 29006 BackButton = 0 29007 NextButton = 0 29008 CommitButton = 0 29009 FinishButton = 0 29010 CancelButton = 0 29011 HelpButton = 0 29012 CustomButton1 = 0 29013 CustomButton2 = 0 29014 CustomButton3 = 0 29015 Stretch = 0 29016 29017 def __init__(self, parent = None, flags = 0): 29018 '''void QWizard.__init__(QWidget parent = None, Qt.WindowFlags flags = 0)''' 29019 pageRemoved = pyqtSignal() # void pageRemoved(int) - signal 29020 pageAdded = pyqtSignal() # void pageAdded(int) - signal 29021 def sideWidget(self): 29022 '''QWidget QWizard.sideWidget()''' 29023 return QWidget() 29024 def setSideWidget(self, widget): 29025 '''void QWizard.setSideWidget(QWidget widget)''' 29026 def pageIds(self): 29027 '''list-of-int QWizard.pageIds()''' 29028 return [int()] 29029 def removePage(self, id): 29030 '''void QWizard.removePage(int id)''' 29031 def cleanupPage(self, id): 29032 '''void QWizard.cleanupPage(int id)''' 29033 def initializePage(self, id): 29034 '''void QWizard.initializePage(int id)''' 29035 def done(self, result): 29036 '''void QWizard.done(int result)''' 29037 def paintEvent(self, event): 29038 '''void QWizard.paintEvent(QPaintEvent event)''' 29039 def resizeEvent(self, event): 29040 '''void QWizard.resizeEvent(QResizeEvent event)''' 29041 def event(self, event): 29042 '''bool QWizard.event(QEvent event)''' 29043 return bool() 29044 def restart(self): 29045 '''void QWizard.restart()''' 29046 def next(self): 29047 '''void QWizard.next()''' 29048 def back(self): 29049 '''void QWizard.back()''' 29050 customButtonClicked = pyqtSignal() # void customButtonClicked(int) - signal 29051 helpRequested = pyqtSignal() # void helpRequested() - signal 29052 currentIdChanged = pyqtSignal() # void currentIdChanged(int) - signal 29053 def sizeHint(self): 29054 '''QSize QWizard.sizeHint()''' 29055 return QSize() 29056 def setVisible(self, visible): 29057 '''void QWizard.setVisible(bool visible)''' 29058 def setDefaultProperty(self, className, property, changedSignal): 29059 '''void QWizard.setDefaultProperty(str className, str property, str changedSignal)''' 29060 def pixmap(self, which): 29061 '''QPixmap QWizard.pixmap(QWizard.WizardPixmap which)''' 29062 return QPixmap() 29063 def setPixmap(self, which, pixmap): 29064 '''void QWizard.setPixmap(QWizard.WizardPixmap which, QPixmap pixmap)''' 29065 def subTitleFormat(self): 29066 '''Qt.TextFormat QWizard.subTitleFormat()''' 29067 return Qt.TextFormat() 29068 def setSubTitleFormat(self, format): 29069 '''void QWizard.setSubTitleFormat(Qt.TextFormat format)''' 29070 def titleFormat(self): 29071 '''Qt.TextFormat QWizard.titleFormat()''' 29072 return Qt.TextFormat() 29073 def setTitleFormat(self, format): 29074 '''void QWizard.setTitleFormat(Qt.TextFormat format)''' 29075 def button(self, which): 29076 '''QAbstractButton QWizard.button(QWizard.WizardButton which)''' 29077 return QAbstractButton() 29078 def setButton(self, which, button): 29079 '''void QWizard.setButton(QWizard.WizardButton which, QAbstractButton button)''' 29080 def setButtonLayout(self, layout): 29081 '''void QWizard.setButtonLayout(list-of-QWizard.WizardButton layout)''' 29082 def buttonText(self, which): 29083 '''QString QWizard.buttonText(QWizard.WizardButton which)''' 29084 return QString() 29085 def setButtonText(self, which, text): 29086 '''void QWizard.setButtonText(QWizard.WizardButton which, QString text)''' 29087 def options(self): 29088 '''QWizard.WizardOptions QWizard.options()''' 29089 return QWizard.WizardOptions() 29090 def setOptions(self, options): 29091 '''void QWizard.setOptions(QWizard.WizardOptions options)''' 29092 def testOption(self, option): 29093 '''bool QWizard.testOption(QWizard.WizardOption option)''' 29094 return bool() 29095 def setOption(self, option, on = True): 29096 '''void QWizard.setOption(QWizard.WizardOption option, bool on = True)''' 29097 def wizardStyle(self): 29098 '''QWizard.WizardStyle QWizard.wizardStyle()''' 29099 return QWizard.WizardStyle() 29100 def setWizardStyle(self, style): 29101 '''void QWizard.setWizardStyle(QWizard.WizardStyle style)''' 29102 def field(self, name): 29103 '''QVariant QWizard.field(QString name)''' 29104 return QVariant() 29105 def setField(self, name, value): 29106 '''void QWizard.setField(QString name, QVariant value)''' 29107 def nextId(self): 29108 '''int QWizard.nextId()''' 29109 return int() 29110 def validateCurrentPage(self): 29111 '''bool QWizard.validateCurrentPage()''' 29112 return bool() 29113 def currentId(self): 29114 '''int QWizard.currentId()''' 29115 return int() 29116 def currentPage(self): 29117 '''QWizardPage QWizard.currentPage()''' 29118 return QWizardPage() 29119 def startId(self): 29120 '''int QWizard.startId()''' 29121 return int() 29122 def setStartId(self, id): 29123 '''void QWizard.setStartId(int id)''' 29124 def visitedPages(self): 29125 '''list-of-int QWizard.visitedPages()''' 29126 return [int()] 29127 def hasVisitedPage(self, id): 29128 '''bool QWizard.hasVisitedPage(int id)''' 29129 return bool() 29130 def page(self, id): 29131 '''QWizardPage QWizard.page(int id)''' 29132 return QWizardPage() 29133 def setPage(self, id, page): 29134 '''void QWizard.setPage(int id, QWizardPage page)''' 29135 def addPage(self, page): 29136 '''int QWizard.addPage(QWizardPage page)''' 29137 return int() 29138 class WizardOptions(): 29139 """""" 29140 def __init__(self): 29141 '''QWizard.WizardOptions QWizard.WizardOptions.__init__()''' 29142 return QWizard.WizardOptions() 29143 def __init__(self): 29144 '''int QWizard.WizardOptions.__init__()''' 29145 return int() 29146 def __init__(self): 29147 '''void QWizard.WizardOptions.__init__()''' 29148 def __bool__(self): 29149 '''int QWizard.WizardOptions.__bool__()''' 29150 return int() 29151 def __ne__(self, f): 29152 '''bool QWizard.WizardOptions.__ne__(QWizard.WizardOptions f)''' 29153 return bool() 29154 def __eq__(self, f): 29155 '''bool QWizard.WizardOptions.__eq__(QWizard.WizardOptions f)''' 29156 return bool() 29157 def __invert__(self): 29158 '''QWizard.WizardOptions QWizard.WizardOptions.__invert__()''' 29159 return QWizard.WizardOptions() 29160 def __and__(self, mask): 29161 '''QWizard.WizardOptions QWizard.WizardOptions.__and__(int mask)''' 29162 return QWizard.WizardOptions() 29163 def __xor__(self, f): 29164 '''QWizard.WizardOptions QWizard.WizardOptions.__xor__(QWizard.WizardOptions f)''' 29165 return QWizard.WizardOptions() 29166 def __xor__(self, f): 29167 '''QWizard.WizardOptions QWizard.WizardOptions.__xor__(int f)''' 29168 return QWizard.WizardOptions() 29169 def __or__(self, f): 29170 '''QWizard.WizardOptions QWizard.WizardOptions.__or__(QWizard.WizardOptions f)''' 29171 return QWizard.WizardOptions() 29172 def __or__(self, f): 29173 '''QWizard.WizardOptions QWizard.WizardOptions.__or__(int f)''' 29174 return QWizard.WizardOptions() 29175 def __int__(self): 29176 '''int QWizard.WizardOptions.__int__()''' 29177 return int() 29178 def __ixor__(self, f): 29179 '''QWizard.WizardOptions QWizard.WizardOptions.__ixor__(QWizard.WizardOptions f)''' 29180 return QWizard.WizardOptions() 29181 def __ior__(self, f): 29182 '''QWizard.WizardOptions QWizard.WizardOptions.__ior__(QWizard.WizardOptions f)''' 29183 return QWizard.WizardOptions() 29184 def __iand__(self, mask): 29185 '''QWizard.WizardOptions QWizard.WizardOptions.__iand__(int mask)''' 29186 return QWizard.WizardOptions() 29187 29188 29189 class QWizardPage(QWidget): 29190 """""" 29191 def __init__(self, parent = None): 29192 '''void QWizardPage.__init__(QWidget parent = None)''' 29193 def wizard(self): 29194 '''QWizard QWizardPage.wizard()''' 29195 return QWizard() 29196 def registerField(self, name, widget, property = None, changedSignal = 0): 29197 '''void QWizardPage.registerField(QString name, QWidget widget, str property = None, signal changedSignal = 0)''' 29198 def registerField(self, name, widget, property = None, changedSignal = 0): 29199 '''void QWizardPage.registerField(QString name, QWidget widget, str property = None, SIGNAL() changedSignal = 0)''' 29200 def field(self, name): 29201 '''QVariant QWizardPage.field(QString name)''' 29202 return QVariant() 29203 def setField(self, name, value): 29204 '''void QWizardPage.setField(QString name, QVariant value)''' 29205 completeChanged = pyqtSignal() # void completeChanged() - signal 29206 def nextId(self): 29207 '''int QWizardPage.nextId()''' 29208 return int() 29209 def isComplete(self): 29210 '''bool QWizardPage.isComplete()''' 29211 return bool() 29212 def validatePage(self): 29213 '''bool QWizardPage.validatePage()''' 29214 return bool() 29215 def cleanupPage(self): 29216 '''void QWizardPage.cleanupPage()''' 29217 def initializePage(self): 29218 '''void QWizardPage.initializePage()''' 29219 def buttonText(self, which): 29220 '''QString QWizardPage.buttonText(QWizard.WizardButton which)''' 29221 return QString() 29222 def setButtonText(self, which, text): 29223 '''void QWizardPage.setButtonText(QWizard.WizardButton which, QString text)''' 29224 def isCommitPage(self): 29225 '''bool QWizardPage.isCommitPage()''' 29226 return bool() 29227 def setCommitPage(self, commitPage): 29228 '''void QWizardPage.setCommitPage(bool commitPage)''' 29229 def isFinalPage(self): 29230 '''bool QWizardPage.isFinalPage()''' 29231 return bool() 29232 def setFinalPage(self, finalPage): 29233 '''void QWizardPage.setFinalPage(bool finalPage)''' 29234 def pixmap(self, which): 29235 '''QPixmap QWizardPage.pixmap(QWizard.WizardPixmap which)''' 29236 return QPixmap() 29237 def setPixmap(self, which, pixmap): 29238 '''void QWizardPage.setPixmap(QWizard.WizardPixmap which, QPixmap pixmap)''' 29239 def subTitle(self): 29240 '''QString QWizardPage.subTitle()''' 29241 return QString() 29242 def setSubTitle(self, subTitle): 29243 '''void QWizardPage.setSubTitle(QString subTitle)''' 29244 def title(self): 29245 '''QString QWizardPage.title()''' 29246 return QString() 29247 def setTitle(self, title): 29248 '''void QWizardPage.setTitle(QString title)''' 29249 29250 29251 class QWorkspace(QWidget): 29252 """""" 29253 # Enum QWorkspace.WindowOrder 29254 CreationOrder = 0 29255 StackingOrder = 0 29256 29257 def __init__(self, parent = None): 29258 '''void QWorkspace.__init__(QWidget parent = None)''' 29259 def wheelEvent(self, e): 29260 '''void QWorkspace.wheelEvent(QWheelEvent e)''' 29261 def hideEvent(self, e): 29262 '''void QWorkspace.hideEvent(QHideEvent e)''' 29263 def showEvent(self, e): 29264 '''void QWorkspace.showEvent(QShowEvent e)''' 29265 def eventFilter(self): 29266 '''QEvent QWorkspace.eventFilter()''' 29267 return QEvent() 29268 def resizeEvent(self): 29269 '''QResizeEvent QWorkspace.resizeEvent()''' 29270 return QResizeEvent() 29271 def childEvent(self): 29272 '''QChildEvent QWorkspace.childEvent()''' 29273 return QChildEvent() 29274 def changeEvent(self): 29275 '''QEvent QWorkspace.changeEvent()''' 29276 return QEvent() 29277 def paintEvent(self, e): 29278 '''void QWorkspace.paintEvent(QPaintEvent e)''' 29279 def event(self, e): 29280 '''bool QWorkspace.event(QEvent e)''' 29281 return bool() 29282 def activatePreviousWindow(self): 29283 '''void QWorkspace.activatePreviousWindow()''' 29284 def activateNextWindow(self): 29285 '''void QWorkspace.activateNextWindow()''' 29286 def closeAllWindows(self): 29287 '''void QWorkspace.closeAllWindows()''' 29288 def closeActiveWindow(self): 29289 '''void QWorkspace.closeActiveWindow()''' 29290 def arrangeIcons(self): 29291 '''void QWorkspace.arrangeIcons()''' 29292 def tile(self): 29293 '''void QWorkspace.tile()''' 29294 def cascade(self): 29295 '''void QWorkspace.cascade()''' 29296 def setActiveWindow(self, w): 29297 '''void QWorkspace.setActiveWindow(QWidget w)''' 29298 windowActivated = pyqtSignal() # void windowActivated(QWidget *) - signal 29299 def background(self): 29300 '''QBrush QWorkspace.background()''' 29301 return QBrush() 29302 def setBackground(self, background): 29303 '''void QWorkspace.setBackground(QBrush background)''' 29304 def setScrollBarsEnabled(self, enable): 29305 '''void QWorkspace.setScrollBarsEnabled(bool enable)''' 29306 def scrollBarsEnabled(self): 29307 '''bool QWorkspace.scrollBarsEnabled()''' 29308 return bool() 29309 def sizeHint(self): 29310 '''QSize QWorkspace.sizeHint()''' 29311 return QSize() 29312 def addWindow(self, w, flags = 0): 29313 '''QWidget QWorkspace.addWindow(QWidget w, Qt.WindowFlags flags = 0)''' 29314 return QWidget() 29315 def windowList(self, order = None): 29316 '''list-of-QWidget QWorkspace.windowList(QWorkspace.WindowOrder order = QWorkspace.CreationOrder)''' 29317 return [QWidget()] 29318 def activeWindow(self): 29319 '''QWidget QWorkspace.activeWindow()''' 29320 return QWidget() 29321 29322 29323 class QX11EmbedWidget(QWidget): 29324 """""" 29325 # Enum QX11EmbedWidget.Error 29326 Unknown = 0 29327 Internal = 0 29328 InvalidWindowID = 0 29329 29330 def __init__(self, parent = None): 29331 '''void QX11EmbedWidget.__init__(QWidget parent = None)''' 29332 def resizeEvent(self): 29333 '''QResizeEvent QX11EmbedWidget.resizeEvent()''' 29334 return QResizeEvent() 29335 def event(self): 29336 '''QEvent QX11EmbedWidget.event()''' 29337 return QEvent() 29338 def eventFilter(self): 29339 '''QEvent QX11EmbedWidget.eventFilter()''' 29340 return QEvent() 29341 embedded = pyqtSignal() # void embedded() - signal 29342 containerClosed = pyqtSignal() # void containerClosed() - signal 29343 def error(self): 29344 '''QX11EmbedWidget.Error QX11EmbedWidget.error()''' 29345 return QX11EmbedWidget.Error() 29346 error = pyqtSignal() # void error(QX11EmbedWidget::Error) - signal 29347 def containerWinId(self): 29348 '''int QX11EmbedWidget.containerWinId()''' 29349 return int() 29350 def embedInto(self, id): 29351 '''void QX11EmbedWidget.embedInto(int id)''' 29352 29353 29354 class QX11EmbedContainer(QWidget): 29355 """""" 29356 # Enum QX11EmbedContainer.Error 29357 Unknown = 0 29358 Internal = 0 29359 InvalidWindowID = 0 29360 29361 def __init__(self, parent = None): 29362 '''void QX11EmbedContainer.__init__(QWidget parent = None)''' 29363 def event(self): 29364 '''QEvent QX11EmbedContainer.event()''' 29365 return QEvent() 29366 def hideEvent(self): 29367 '''QHideEvent QX11EmbedContainer.hideEvent()''' 29368 return QHideEvent() 29369 def showEvent(self): 29370 '''QShowEvent QX11EmbedContainer.showEvent()''' 29371 return QShowEvent() 29372 def resizeEvent(self): 29373 '''QResizeEvent QX11EmbedContainer.resizeEvent()''' 29374 return QResizeEvent() 29375 def paintEvent(self, e): 29376 '''void QX11EmbedContainer.paintEvent(QPaintEvent e)''' 29377 def eventFilter(self): 29378 '''QEvent QX11EmbedContainer.eventFilter()''' 29379 return QEvent() 29380 clientIsEmbedded = pyqtSignal() # void clientIsEmbedded() - signal 29381 clientClosed = pyqtSignal() # void clientClosed() - signal 29382 def minimumSizeHint(self): 29383 '''QSize QX11EmbedContainer.minimumSizeHint()''' 29384 return QSize() 29385 def error(self): 29386 '''QX11EmbedContainer.Error QX11EmbedContainer.error()''' 29387 return QX11EmbedContainer.Error() 29388 error = pyqtSignal() # void error(QX11EmbedContainer::Error) - signal 29389 def embedClient(self, id): 29390 '''void QX11EmbedContainer.embedClient(int id)''' 29391 def discardClient(self): 29392 '''void QX11EmbedContainer.discardClient()''' 29393 def clientWinId(self): 29394 '''int QX11EmbedContainer.clientWinId()''' 29395 return int() 29396 29397 29398 class QX11Info(): 29399 """""" 29400 def __init__(self): 29401 '''void QX11Info.__init__()''' 29402 def __init__(self, other): 29403 '''void QX11Info.__init__(QX11Info other)''' 29404 def isCompositingManagerRunning(self): 29405 '''static bool QX11Info.isCompositingManagerRunning()''' 29406 return bool() 29407 def setAppUserTime(self, time): 29408 '''static void QX11Info.setAppUserTime(int time)''' 29409 def setAppTime(self, time): 29410 '''static void QX11Info.setAppTime(int time)''' 29411 def appUserTime(self): 29412 '''static int QX11Info.appUserTime()''' 29413 return int() 29414 def appTime(self): 29415 '''static int QX11Info.appTime()''' 29416 return int() 29417 def setAppDpiY(self, screen, dpi): 29418 '''static void QX11Info.setAppDpiY(int screen, int dpi)''' 29419 def setAppDpiX(self, screen, dpi): 29420 '''static void QX11Info.setAppDpiX(int screen, int dpi)''' 29421 def appDpiY(self, screen = None): 29422 '''static int QX11Info.appDpiY(int screen = -1)''' 29423 return int() 29424 def appDpiX(self, screen = None): 29425 '''static int QX11Info.appDpiX(int screen = -1)''' 29426 return int() 29427 def appDefaultVisual(self, screen = None): 29428 '''static bool QX11Info.appDefaultVisual(int screen = -1)''' 29429 return bool() 29430 def appDefaultColormap(self, screen = None): 29431 '''static bool QX11Info.appDefaultColormap(int screen = -1)''' 29432 return bool() 29433 def appRootWindow(self, screen = None): 29434 '''static int QX11Info.appRootWindow(int screen = -1)''' 29435 return int() 29436 def appVisual(self, screen = None): 29437 '''static sip.voidptr QX11Info.appVisual(int screen = -1)''' 29438 return sip.voidptr() 29439 def appColormap(self, screen = None): 29440 '''static int QX11Info.appColormap(int screen = -1)''' 29441 return int() 29442 def appCells(self, screen = None): 29443 '''static int QX11Info.appCells(int screen = -1)''' 29444 return int() 29445 def appDepth(self, screen = None): 29446 '''static int QX11Info.appDepth(int screen = -1)''' 29447 return int() 29448 def appScreen(self): 29449 '''static int QX11Info.appScreen()''' 29450 return int() 29451 def defaultVisual(self): 29452 '''bool QX11Info.defaultVisual()''' 29453 return bool() 29454 def visual(self): 29455 '''sip.voidptr QX11Info.visual()''' 29456 return sip.voidptr() 29457 def defaultColormap(self): 29458 '''bool QX11Info.defaultColormap()''' 29459 return bool() 29460 def colormap(self): 29461 '''int QX11Info.colormap()''' 29462 return int() 29463 def cells(self): 29464 '''int QX11Info.cells()''' 29465 return int() 29466 def depth(self): 29467 '''int QX11Info.depth()''' 29468 return int() 29469 def screen(self): 29470 '''int QX11Info.screen()''' 29471 return int() 29472 def appClass(self): 29473 '''static str QX11Info.appClass()''' 29474 return str() 29475 def display(self): 29476 '''static Display QX11Info.display()''' 29477 return Display() 29478 29479 29480 class QPyTextObject(QObject, QTextObjectInterface): 29481 """""" 29482 def __init__(self, parent = None): 29483 '''void QPyTextObject.__init__(QObject parent = None)''' 29484 29485 29486 class QPointF(): 29487 """""" 29488 def __init__(self): 29489 '''QPainterPath.Element QPointF.__init__()''' 29490 return QPainterPath.Element() 29491 29492 29493 class QString(): 29494 """""" 29495 def __init__(self): 29496 '''QKeySequence QString.__init__()''' 29497 return QKeySequence() 29498 29499 29500 qApp = None # QApplication member 29501 29502 def qIsGray(rgb): 29503 '''static bool qIsGray(int rgb)''' 29504 return bool() 29505 29506 def qGray(r, g, b): 29507 '''static int qGray(int r, int g, int b)''' 29508 return int() 29509 29510 def qGray(rgb): 29511 '''static int qGray(int rgb)''' 29512 return int() 29513 29514 def qRgba(r, g, b, a): 29515 '''static int qRgba(int r, int g, int b, int a)''' 29516 return int() 29517 29518 def qRgb(r, g, b): 29519 '''static int qRgb(int r, int g, int b)''' 29520 return int() 29521 29522 def qAlpha(rgb): 29523 '''static int qAlpha(int rgb)''' 29524 return int() 29525 29526 def qBlue(rgb): 29527 '''static int qBlue(int rgb)''' 29528 return int() 29529 29530 def qGreen(rgb): 29531 '''static int qGreen(int rgb)''' 29532 return int() 29533 29534 def qRed(rgb): 29535 '''static int qRed(int rgb)''' 29536 return int() 29537 29538 def qFuzzyCompare(m1, m2): 29539 '''static bool qFuzzyCompare(QMatrix m1, QMatrix m2)''' 29540 return bool() 29541 29542 def qFuzzyCompare(m1, m2): 29543 '''static bool qFuzzyCompare(QMatrix4x4 m1, QMatrix4x4 m2)''' 29544 return bool() 29545 29546 def qFuzzyCompare(q1, q2): 29547 '''static bool qFuzzyCompare(QQuaternion q1, QQuaternion q2)''' 29548 return bool() 29549 29550 def qFuzzyCompare(t1, t2): 29551 '''static bool qFuzzyCompare(QTransform t1, QTransform t2)''' 29552 return bool() 29553 29554 def qFuzzyCompare(v1, v2): 29555 '''static bool qFuzzyCompare(QVector2D v1, QVector2D v2)''' 29556 return bool() 29557 29558 def qFuzzyCompare(v1, v2): 29559 '''static bool qFuzzyCompare(QVector3D v1, QVector3D v2)''' 29560 return bool() 29561 29562 def qFuzzyCompare(v1, v2): 29563 '''static bool qFuzzyCompare(QVector4D v1, QVector4D v2)''' 29564 return bool() 29565 29566 def qDrawBorderPixmap(painter, target, margins, pixmap): 29567 '''static void qDrawBorderPixmap(QPainter painter, QRect target, QMargins margins, QPixmap pixmap)''' 29568 29569 29570 def qDrawPlainRect(p, x, y, w, h, lineWidth = 1, fill = None): 29571 '''static QColor qDrawPlainRect(QPainter p, int x, int y, int w, int h, int lineWidth = 1, QBrush fill = None)''' 29572 return QColor() 29573 29574 def qDrawPlainRect(p, r, lineWidth = 1, fill = None): 29575 '''static QColor qDrawPlainRect(QPainter p, QRect r, int lineWidth = 1, QBrush fill = None)''' 29576 return QColor() 29577 29578 def qDrawWinPanel(p, x, y, w, h, pal, sunken = False, fill = None): 29579 '''static void qDrawWinPanel(QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken = False, QBrush fill = None)''' 29580 29581 29582 def qDrawWinPanel(p, r, pal, sunken = False, fill = None): 29583 '''static void qDrawWinPanel(QPainter p, QRect r, QPalette pal, bool sunken = False, QBrush fill = None)''' 29584 29585 29586 def qDrawWinButton(p, x, y, w, h, pal, sunken = False, fill = None): 29587 '''static void qDrawWinButton(QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken = False, QBrush fill = None)''' 29588 29589 29590 def qDrawWinButton(p, r, pal, sunken = False, fill = None): 29591 '''static void qDrawWinButton(QPainter p, QRect r, QPalette pal, bool sunken = False, QBrush fill = None)''' 29592 29593 29594 def qDrawShadePanel(p, x, y, w, h, pal, sunken = False, lineWidth = 1, fill = None): 29595 '''static void qDrawShadePanel(QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken = False, int lineWidth = 1, QBrush fill = None)''' 29596 29597 29598 def qDrawShadePanel(p, r, pal, sunken = False, lineWidth = 1, fill = None): 29599 '''static void qDrawShadePanel(QPainter p, QRect r, QPalette pal, bool sunken = False, int lineWidth = 1, QBrush fill = None)''' 29600 29601 29602 def qDrawShadeRect(p, x, y, w, h, pal, sunken = False, lineWidth = 1, midLineWidth = 0, fill = None): 29603 '''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)''' 29604 29605 29606 def qDrawShadeRect(p, r, pal, sunken = False, lineWidth = 1, midLineWidth = 0, fill = None): 29607 '''static void qDrawShadeRect(QPainter p, QRect r, QPalette pal, bool sunken = False, int lineWidth = 1, int midLineWidth = 0, QBrush fill = None)''' 29608 29609 29610 def qDrawShadeLine(p, x1, y1, x2, y2, pal, sunken = True, lineWidth = 1, midLineWidth = 0): 29611 '''static void qDrawShadeLine(QPainter p, int x1, int y1, int x2, int y2, QPalette pal, bool sunken = True, int lineWidth = 1, int midLineWidth = 0)''' 29612 29613 29614 def qDrawShadeLine(p, p1, p2, pal, sunken = True, lineWidth = 1, midLineWidth = 0): 29615 '''static void qDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QPalette pal, bool sunken = True, int lineWidth = 1, int midLineWidth = 0)''' 29616 29617 29618 def qSwap(value1, value2): 29619 '''static void qSwap(QBitmap value1, QBitmap value2)''' 29620 29621 29622 def qSwap(value1, value2): 29623 '''static void qSwap(QBrush value1, QBrush value2)''' 29624 29625 29626 def qSwap(value1, value2): 29627 '''static void qSwap(QIcon value1, QIcon value2)''' 29628 29629 29630 def qSwap(value1, value2): 29631 '''static void qSwap(QImage value1, QImage value2)''' 29632 29633 29634 def qSwap(value1, value2): 29635 '''static void qSwap(QKeySequence value1, QKeySequence value2)''' 29636 29637 29638 def qSwap(value1, value2): 29639 '''static void qSwap(QPen value1, QPen value2)''' 29640 29641 29642 def qSwap(value1, value2): 29643 '''static void qSwap(QPicture value1, QPicture value2)''' 29644 29645 29646 def qSwap(value1, value2): 29647 '''static void qSwap(QPixmap value1, QPixmap value2)''' 29648 29649 29650 def qt_x11_wait_for_window_manager(widget): 29651 '''static void qt_x11_wait_for_window_manager(QWidget widget)''' 29652 29653