File indexing completed on 2024-05-12 16:09:02
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 from QtWidgets import * 0007 0008 import datetime 0009 0010 class QAbstractTextDocumentLayout(QObject): 0011 """""" 0012 def __init__(self, doc): 0013 '''void QAbstractTextDocumentLayout.__init__(QTextDocument doc)''' 0014 def format(self, pos): 0015 '''QTextCharFormat QAbstractTextDocumentLayout.format(int pos)''' 0016 return QTextCharFormat() 0017 def drawInlineObject(self, painter, rect, object, posInDocument, format): 0018 '''void QAbstractTextDocumentLayout.drawInlineObject(QPainter painter, QRectF rect, QTextInlineObject object, int posInDocument, QTextFormat format)''' 0019 def positionInlineObject(self, item, posInDocument, format): 0020 '''void QAbstractTextDocumentLayout.positionInlineObject(QTextInlineObject item, int posInDocument, QTextFormat format)''' 0021 def resizeInlineObject(self, item, posInDocument, format): 0022 '''void QAbstractTextDocumentLayout.resizeInlineObject(QTextInlineObject item, int posInDocument, QTextFormat format)''' 0023 def documentChanged(self, from_, charsRemoved, charsAdded): 0024 '''abstract void QAbstractTextDocumentLayout.documentChanged(int from, int charsRemoved, int charsAdded)''' 0025 updateBlock = pyqtSignal() # void updateBlock(const QTextBlockamp;) - signal 0026 pageCountChanged = pyqtSignal() # void pageCountChanged(int) - signal 0027 documentSizeChanged = pyqtSignal() # void documentSizeChanged(const QSizeFamp;) - signal 0028 update = pyqtSignal() # void update(const QRectFamp; = QRectF(0,0,1e+09,1e+09)) - signal 0029 def handlerForObject(self, objectType): 0030 '''QTextObjectInterface QAbstractTextDocumentLayout.handlerForObject(int objectType)''' 0031 return QTextObjectInterface() 0032 def unregisterHandler(self, objectType, component = None): 0033 '''void QAbstractTextDocumentLayout.unregisterHandler(int objectType, QObject component = None)''' 0034 def registerHandler(self, objectType, component): 0035 '''void QAbstractTextDocumentLayout.registerHandler(int objectType, QObject component)''' 0036 def document(self): 0037 '''QTextDocument QAbstractTextDocumentLayout.document()''' 0038 return QTextDocument() 0039 def paintDevice(self): 0040 '''QPaintDevice QAbstractTextDocumentLayout.paintDevice()''' 0041 return QPaintDevice() 0042 def setPaintDevice(self, device): 0043 '''void QAbstractTextDocumentLayout.setPaintDevice(QPaintDevice device)''' 0044 def blockBoundingRect(self, block): 0045 '''abstract QRectF QAbstractTextDocumentLayout.blockBoundingRect(QTextBlock block)''' 0046 return QRectF() 0047 def frameBoundingRect(self, frame): 0048 '''abstract QRectF QAbstractTextDocumentLayout.frameBoundingRect(QTextFrame frame)''' 0049 return QRectF() 0050 def documentSize(self): 0051 '''abstract QSizeF QAbstractTextDocumentLayout.documentSize()''' 0052 return QSizeF() 0053 def pageCount(self): 0054 '''abstract int QAbstractTextDocumentLayout.pageCount()''' 0055 return int() 0056 def anchorAt(self, pos): 0057 '''str QAbstractTextDocumentLayout.anchorAt(QPointF pos)''' 0058 return str() 0059 def hitTest(self, point, accuracy): 0060 '''abstract int QAbstractTextDocumentLayout.hitTest(QPointF point, Qt.HitTestAccuracy accuracy)''' 0061 return int() 0062 def draw(self, painter, context): 0063 '''abstract void QAbstractTextDocumentLayout.draw(QPainter painter, QAbstractTextDocumentLayout.PaintContext context)''' 0064 class PaintContext(): 0065 """""" 0066 clip = None # QRectF - member 0067 cursorPosition = None # int - member 0068 palette = None # QPalette - member 0069 selections = None # list-of-QAbstractTextDocumentLayout.Selection - member 0070 def __init__(self): 0071 '''void QAbstractTextDocumentLayout.PaintContext.__init__()''' 0072 def __init__(self): 0073 '''QAbstractTextDocumentLayout.PaintContext QAbstractTextDocumentLayout.PaintContext.__init__()''' 0074 return QAbstractTextDocumentLayout.PaintContext() 0075 class Selection(): 0076 """""" 0077 cursor = None # QTextCursor - member 0078 format = None # QTextCharFormat - member 0079 def __init__(self): 0080 '''void QAbstractTextDocumentLayout.Selection.__init__()''' 0081 def __init__(self): 0082 '''QAbstractTextDocumentLayout.Selection QAbstractTextDocumentLayout.Selection.__init__()''' 0083 return QAbstractTextDocumentLayout.Selection() 0084 0085 0086 class QTextObjectInterface(): 0087 """""" 0088 def __init__(self): 0089 '''void QTextObjectInterface.__init__()''' 0090 def __init__(self): 0091 '''QTextObjectInterface QTextObjectInterface.__init__()''' 0092 return QTextObjectInterface() 0093 def drawObject(self, painter, rect, doc, posInDocument, format): 0094 '''abstract void QTextObjectInterface.drawObject(QPainter painter, QRectF rect, QTextDocument doc, int posInDocument, QTextFormat format)''' 0095 def intrinsicSize(self, doc, posInDocument, format): 0096 '''abstract QSizeF QTextObjectInterface.intrinsicSize(QTextDocument doc, int posInDocument, QTextFormat format)''' 0097 return QSizeF() 0098 0099 0100 class QBackingStore(): 0101 """""" 0102 def __init__(self, window): 0103 '''void QBackingStore.__init__(QWindow window)''' 0104 def hasStaticContents(self): 0105 '''bool QBackingStore.hasStaticContents()''' 0106 return bool() 0107 def staticContents(self): 0108 '''QRegion QBackingStore.staticContents()''' 0109 return QRegion() 0110 def setStaticContents(self, region): 0111 '''void QBackingStore.setStaticContents(QRegion region)''' 0112 def endPaint(self): 0113 '''void QBackingStore.endPaint()''' 0114 def beginPaint(self): 0115 '''QRegion QBackingStore.beginPaint()''' 0116 return QRegion() 0117 def scroll(self, area, dx, dy): 0118 '''bool QBackingStore.scroll(QRegion area, int dx, int dy)''' 0119 return bool() 0120 def size(self): 0121 '''QSize QBackingStore.size()''' 0122 return QSize() 0123 def resize(self, size): 0124 '''void QBackingStore.resize(QSize size)''' 0125 def flush(self, region, window = None, offset = QPoint()): 0126 '''void QBackingStore.flush(QRegion region, QWindow window = None, QPoint offset = QPoint())''' 0127 def paintDevice(self): 0128 '''QPaintDevice QBackingStore.paintDevice()''' 0129 return QPaintDevice() 0130 def window(self): 0131 '''QWindow QBackingStore.window()''' 0132 return QWindow() 0133 0134 0135 class QPaintDevice(): 0136 """""" 0137 # Enum QPaintDevice.PaintDeviceMetric 0138 PdmWidth = 0 0139 PdmHeight = 0 0140 PdmWidthMM = 0 0141 PdmHeightMM = 0 0142 PdmNumColors = 0 0143 PdmDepth = 0 0144 PdmDpiX = 0 0145 PdmDpiY = 0 0146 PdmPhysicalDpiX = 0 0147 PdmPhysicalDpiY = 0 0148 PdmDevicePixelRatio = 0 0149 0150 def __init__(self): 0151 '''void QPaintDevice.__init__()''' 0152 def metric(self, metric): 0153 '''int QPaintDevice.metric(QPaintDevice.PaintDeviceMetric metric)''' 0154 return int() 0155 def devicePixelRatio(self): 0156 '''int QPaintDevice.devicePixelRatio()''' 0157 return int() 0158 def colorCount(self): 0159 '''int QPaintDevice.colorCount()''' 0160 return int() 0161 def paintingActive(self): 0162 '''bool QPaintDevice.paintingActive()''' 0163 return bool() 0164 def depth(self): 0165 '''int QPaintDevice.depth()''' 0166 return int() 0167 def physicalDpiY(self): 0168 '''int QPaintDevice.physicalDpiY()''' 0169 return int() 0170 def physicalDpiX(self): 0171 '''int QPaintDevice.physicalDpiX()''' 0172 return int() 0173 def logicalDpiY(self): 0174 '''int QPaintDevice.logicalDpiY()''' 0175 return int() 0176 def logicalDpiX(self): 0177 '''int QPaintDevice.logicalDpiX()''' 0178 return int() 0179 def heightMM(self): 0180 '''int QPaintDevice.heightMM()''' 0181 return int() 0182 def widthMM(self): 0183 '''int QPaintDevice.widthMM()''' 0184 return int() 0185 def height(self): 0186 '''int QPaintDevice.height()''' 0187 return int() 0188 def width(self): 0189 '''int QPaintDevice.width()''' 0190 return int() 0191 def paintEngine(self): 0192 '''abstract QPaintEngine QPaintDevice.paintEngine()''' 0193 return QPaintEngine() 0194 0195 0196 class QPixmap(QPaintDevice): 0197 """""" 0198 def __init__(self): 0199 '''void QPixmap.__init__()''' 0200 def __init__(self, w, h): 0201 '''void QPixmap.__init__(int w, int h)''' 0202 def __init__(self): 0203 '''QSize QPixmap.__init__()''' 0204 return QSize() 0205 def __init__(self, fileName, format = None, flags = None): 0206 '''void QPixmap.__init__(str fileName, str format = None, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 0207 def __init__(self, xpm): 0208 '''void QPixmap.__init__(list-of-str xpm)''' 0209 def __init__(self): 0210 '''QPixmap QPixmap.__init__()''' 0211 return QPixmap() 0212 def __init__(self, variant): 0213 '''void QPixmap.__init__(QVariant variant)''' 0214 def setDevicePixelRatio(self, scaleFactor): 0215 '''void QPixmap.setDevicePixelRatio(float scaleFactor)''' 0216 def devicePixelRatio(self): 0217 '''float QPixmap.devicePixelRatio()''' 0218 return float() 0219 def swap(self, other): 0220 '''void QPixmap.swap(QPixmap other)''' 0221 def scroll(self, dx, dy, rect, exposed): 0222 '''void QPixmap.scroll(int dx, int dy, QRect rect, QRegion exposed)''' 0223 def scroll(self, dx, dy, x, y, width, height, exposed): 0224 '''void QPixmap.scroll(int dx, int dy, int x, int y, int width, int height, QRegion exposed)''' 0225 def cacheKey(self): 0226 '''int QPixmap.cacheKey()''' 0227 return int() 0228 def trueMatrix(self, m, w, h): 0229 '''static QTransform QPixmap.trueMatrix(QTransform m, int w, int h)''' 0230 return QTransform() 0231 def transformed(self, transform, mode = None): 0232 '''QPixmap QPixmap.transformed(QTransform transform, Qt.TransformationMode mode = Qt.FastTransformation)''' 0233 return QPixmap() 0234 def metric(self): 0235 '''QPaintDevice.PaintDeviceMetric QPixmap.metric()''' 0236 return QPaintDevice.PaintDeviceMetric() 0237 def paintEngine(self): 0238 '''QPaintEngine QPixmap.paintEngine()''' 0239 return QPaintEngine() 0240 def isQBitmap(self): 0241 '''bool QPixmap.isQBitmap()''' 0242 return bool() 0243 def detach(self): 0244 '''void QPixmap.detach()''' 0245 def copy(self, rect = QRect()): 0246 '''QPixmap QPixmap.copy(QRect rect = QRect())''' 0247 return QPixmap() 0248 def copy(self, ax, ay, awidth, aheight): 0249 '''QPixmap QPixmap.copy(int ax, int ay, int awidth, int aheight)''' 0250 return QPixmap() 0251 def save(self, fileName, format = None, quality = None): 0252 '''bool QPixmap.save(str fileName, str format = None, int quality = -1)''' 0253 return bool() 0254 def save(self, device, format = None, quality = None): 0255 '''bool QPixmap.save(QIODevice device, str format = None, int quality = -1)''' 0256 return bool() 0257 def loadFromData(self, buf, format = None, flags = None): 0258 '''bool QPixmap.loadFromData(str buf, str format = None, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 0259 return bool() 0260 def loadFromData(self, buf, format = None, flags = None): 0261 '''bool QPixmap.loadFromData(QByteArray buf, str format = None, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 0262 return bool() 0263 def load(self, fileName, format = None, flags = None): 0264 '''bool QPixmap.load(str fileName, str format = None, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 0265 return bool() 0266 def convertFromImage(self, img, flags = None): 0267 '''bool QPixmap.convertFromImage(QImage img, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 0268 return bool() 0269 def fromImageReader(self, imageReader, flags = None): 0270 '''static QPixmap QPixmap.fromImageReader(QImageReader imageReader, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 0271 return QPixmap() 0272 def fromImage(self, image, flags = None): 0273 '''static QPixmap QPixmap.fromImage(QImage image, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 0274 return QPixmap() 0275 def toImage(self): 0276 '''QImage QPixmap.toImage()''' 0277 return QImage() 0278 def scaledToHeight(self, height, mode = None): 0279 '''QPixmap QPixmap.scaledToHeight(int height, Qt.TransformationMode mode = Qt.FastTransformation)''' 0280 return QPixmap() 0281 def scaledToWidth(self, width, mode = None): 0282 '''QPixmap QPixmap.scaledToWidth(int width, Qt.TransformationMode mode = Qt.FastTransformation)''' 0283 return QPixmap() 0284 def scaled(self, width, height, aspectRatioMode = None, transformMode = None): 0285 '''QPixmap QPixmap.scaled(int width, int height, Qt.AspectRatioMode aspectRatioMode = Qt.IgnoreAspectRatio, Qt.TransformationMode transformMode = Qt.FastTransformation)''' 0286 return QPixmap() 0287 def scaled(self, size, aspectRatioMode = None, transformMode = None): 0288 '''QPixmap QPixmap.scaled(QSize size, Qt.AspectRatioMode aspectRatioMode = Qt.IgnoreAspectRatio, Qt.TransformationMode transformMode = Qt.FastTransformation)''' 0289 return QPixmap() 0290 def createMaskFromColor(self, maskColor, mode = None): 0291 '''QBitmap QPixmap.createMaskFromColor(QColor maskColor, Qt.MaskMode mode = Qt.MaskInColor)''' 0292 return QBitmap() 0293 def createHeuristicMask(self, clipTight = True): 0294 '''QBitmap QPixmap.createHeuristicMask(bool clipTight = True)''' 0295 return QBitmap() 0296 def hasAlphaChannel(self): 0297 '''bool QPixmap.hasAlphaChannel()''' 0298 return bool() 0299 def hasAlpha(self): 0300 '''bool QPixmap.hasAlpha()''' 0301 return bool() 0302 def setMask(self): 0303 '''QBitmap QPixmap.setMask()''' 0304 return QBitmap() 0305 def mask(self): 0306 '''QBitmap QPixmap.mask()''' 0307 return QBitmap() 0308 def fill(self, color = None): 0309 '''void QPixmap.fill(QColor color = Qt.white)''' 0310 def defaultDepth(self): 0311 '''static int QPixmap.defaultDepth()''' 0312 return int() 0313 def depth(self): 0314 '''int QPixmap.depth()''' 0315 return int() 0316 def rect(self): 0317 '''QRect QPixmap.rect()''' 0318 return QRect() 0319 def size(self): 0320 '''QSize QPixmap.size()''' 0321 return QSize() 0322 def height(self): 0323 '''int QPixmap.height()''' 0324 return int() 0325 def width(self): 0326 '''int QPixmap.width()''' 0327 return int() 0328 def devType(self): 0329 '''int QPixmap.devType()''' 0330 return int() 0331 def isNull(self): 0332 '''bool QPixmap.isNull()''' 0333 return bool() 0334 0335 0336 class QBitmap(QPixmap): 0337 """""" 0338 def __init__(self): 0339 '''void QBitmap.__init__()''' 0340 def __init__(self): 0341 '''QPixmap QBitmap.__init__()''' 0342 return QPixmap() 0343 def __init__(self, w, h): 0344 '''void QBitmap.__init__(int w, int h)''' 0345 def __init__(self): 0346 '''QSize QBitmap.__init__()''' 0347 return QSize() 0348 def __init__(self, fileName, format = None): 0349 '''void QBitmap.__init__(str fileName, str format = None)''' 0350 def __init__(self, variant): 0351 '''void QBitmap.__init__(QVariant variant)''' 0352 def __init__(self): 0353 '''QBitmap QBitmap.__init__()''' 0354 return QBitmap() 0355 def swap(self, other): 0356 '''void QBitmap.swap(QBitmap other)''' 0357 def transformed(self, matrix): 0358 '''QBitmap QBitmap.transformed(QTransform matrix)''' 0359 return QBitmap() 0360 def fromData(self, size, bits, format = None): 0361 '''static QBitmap QBitmap.fromData(QSize size, str bits, QImage.Format format = QImage.Format_MonoLSB)''' 0362 return QBitmap() 0363 def fromImage(self, image, flags = None): 0364 '''static QBitmap QBitmap.fromImage(QImage image, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 0365 return QBitmap() 0366 def clear(self): 0367 '''void QBitmap.clear()''' 0368 0369 0370 class QColor(): 0371 """""" 0372 # Enum QColor.NameFormat 0373 HexRgb = 0 0374 HexArgb = 0 0375 0376 # Enum QColor.Spec 0377 Invalid = 0 0378 Rgb = 0 0379 Hsv = 0 0380 Cmyk = 0 0381 Hsl = 0 0382 0383 def __init__(self, color): 0384 '''void QColor.__init__(Qt.GlobalColor color)''' 0385 def __init__(self, rgb): 0386 '''void QColor.__init__(int rgb)''' 0387 def __init__(self, variant): 0388 '''void QColor.__init__(QVariant variant)''' 0389 def __init__(self): 0390 '''void QColor.__init__()''' 0391 def __init__(self, r, g, b, alpha = 255): 0392 '''void QColor.__init__(int r, int g, int b, int alpha = 255)''' 0393 def __init__(self, aname): 0394 '''void QColor.__init__(str aname)''' 0395 def __init__(self, acolor): 0396 '''void QColor.__init__(QColor acolor)''' 0397 def isValidColor(self, name): 0398 '''static bool QColor.isValidColor(str name)''' 0399 return bool() 0400 def fromHslF(self, h, s, l, alpha = 1): 0401 '''static QColor QColor.fromHslF(float h, float s, float l, float alpha = 1)''' 0402 return QColor() 0403 def fromHsl(self, h, s, l, alpha = 255): 0404 '''static QColor QColor.fromHsl(int h, int s, int l, int alpha = 255)''' 0405 return QColor() 0406 def toHsl(self): 0407 '''QColor QColor.toHsl()''' 0408 return QColor() 0409 def setHslF(self, h, s, l, alpha = 1): 0410 '''void QColor.setHslF(float h, float s, float l, float alpha = 1)''' 0411 def getHslF(self, h, s, l, alpha): 0412 '''void QColor.getHslF(float h, float s, float l, float alpha)''' 0413 def setHsl(self, h, s, l, alpha = 255): 0414 '''void QColor.setHsl(int h, int s, int l, int alpha = 255)''' 0415 def getHsl(self, h, s, l, alpha): 0416 '''void QColor.getHsl(int h, int s, int l, int alpha)''' 0417 def lightnessF(self): 0418 '''float QColor.lightnessF()''' 0419 return float() 0420 def hslSaturationF(self): 0421 '''float QColor.hslSaturationF()''' 0422 return float() 0423 def hslHueF(self): 0424 '''float QColor.hslHueF()''' 0425 return float() 0426 def lightness(self): 0427 '''int QColor.lightness()''' 0428 return int() 0429 def hslSaturation(self): 0430 '''int QColor.hslSaturation()''' 0431 return int() 0432 def hslHue(self): 0433 '''int QColor.hslHue()''' 0434 return int() 0435 def hsvSaturationF(self): 0436 '''float QColor.hsvSaturationF()''' 0437 return float() 0438 def hsvHueF(self): 0439 '''float QColor.hsvHueF()''' 0440 return float() 0441 def hsvSaturation(self): 0442 '''int QColor.hsvSaturation()''' 0443 return int() 0444 def hsvHue(self): 0445 '''int QColor.hsvHue()''' 0446 return int() 0447 def darker(self, factor = 200): 0448 '''QColor QColor.darker(int factor = 200)''' 0449 return QColor() 0450 def lighter(self, factor = 150): 0451 '''QColor QColor.lighter(int factor = 150)''' 0452 return QColor() 0453 def isValid(self): 0454 '''bool QColor.isValid()''' 0455 return bool() 0456 def __ne__(self, c): 0457 '''bool QColor.__ne__(QColor c)''' 0458 return bool() 0459 def __eq__(self, c): 0460 '''bool QColor.__eq__(QColor c)''' 0461 return bool() 0462 def fromCmykF(self, c, m, y, k, alpha = 1): 0463 '''static QColor QColor.fromCmykF(float c, float m, float y, float k, float alpha = 1)''' 0464 return QColor() 0465 def fromCmyk(self, c, m, y, k, alpha = 255): 0466 '''static QColor QColor.fromCmyk(int c, int m, int y, int k, int alpha = 255)''' 0467 return QColor() 0468 def fromHsvF(self, h, s, v, alpha = 1): 0469 '''static QColor QColor.fromHsvF(float h, float s, float v, float alpha = 1)''' 0470 return QColor() 0471 def fromHsv(self, h, s, v, alpha = 255): 0472 '''static QColor QColor.fromHsv(int h, int s, int v, int alpha = 255)''' 0473 return QColor() 0474 def fromRgbF(self, r, g, b, alpha = 1): 0475 '''static QColor QColor.fromRgbF(float r, float g, float b, float alpha = 1)''' 0476 return QColor() 0477 def fromRgba(self, rgba): 0478 '''static QColor QColor.fromRgba(int rgba)''' 0479 return QColor() 0480 def fromRgb(self, rgb): 0481 '''static QColor QColor.fromRgb(int rgb)''' 0482 return QColor() 0483 def fromRgb(self, r, g, b, alpha = 255): 0484 '''static QColor QColor.fromRgb(int r, int g, int b, int alpha = 255)''' 0485 return QColor() 0486 def convertTo(self, colorSpec): 0487 '''QColor QColor.convertTo(QColor.Spec colorSpec)''' 0488 return QColor() 0489 def toCmyk(self): 0490 '''QColor QColor.toCmyk()''' 0491 return QColor() 0492 def toHsv(self): 0493 '''QColor QColor.toHsv()''' 0494 return QColor() 0495 def toRgb(self): 0496 '''QColor QColor.toRgb()''' 0497 return QColor() 0498 def setCmykF(self, c, m, y, k, alpha = 1): 0499 '''void QColor.setCmykF(float c, float m, float y, float k, float alpha = 1)''' 0500 def getCmykF(self, c, m, y, k, alpha): 0501 '''void QColor.getCmykF(float c, float m, float y, float k, float alpha)''' 0502 def setCmyk(self, c, m, y, k, alpha = 255): 0503 '''void QColor.setCmyk(int c, int m, int y, int k, int alpha = 255)''' 0504 def getCmyk(self, c, m, y, k, alpha): 0505 '''void QColor.getCmyk(int c, int m, int y, int k, int alpha)''' 0506 def blackF(self): 0507 '''float QColor.blackF()''' 0508 return float() 0509 def yellowF(self): 0510 '''float QColor.yellowF()''' 0511 return float() 0512 def magentaF(self): 0513 '''float QColor.magentaF()''' 0514 return float() 0515 def cyanF(self): 0516 '''float QColor.cyanF()''' 0517 return float() 0518 def black(self): 0519 '''int QColor.black()''' 0520 return int() 0521 def yellow(self): 0522 '''int QColor.yellow()''' 0523 return int() 0524 def magenta(self): 0525 '''int QColor.magenta()''' 0526 return int() 0527 def cyan(self): 0528 '''int QColor.cyan()''' 0529 return int() 0530 def setHsvF(self, h, s, v, alpha = 1): 0531 '''void QColor.setHsvF(float h, float s, float v, float alpha = 1)''' 0532 def getHsvF(self, h, s, v, alpha): 0533 '''void QColor.getHsvF(float h, float s, float v, float alpha)''' 0534 def setHsv(self, h, s, v, alpha = 255): 0535 '''void QColor.setHsv(int h, int s, int v, int alpha = 255)''' 0536 def getHsv(self, h, s, v, alpha): 0537 '''void QColor.getHsv(int h, int s, int v, int alpha)''' 0538 def valueF(self): 0539 '''float QColor.valueF()''' 0540 return float() 0541 def saturationF(self): 0542 '''float QColor.saturationF()''' 0543 return float() 0544 def hueF(self): 0545 '''float QColor.hueF()''' 0546 return float() 0547 def value(self): 0548 '''int QColor.value()''' 0549 return int() 0550 def saturation(self): 0551 '''int QColor.saturation()''' 0552 return int() 0553 def hue(self): 0554 '''int QColor.hue()''' 0555 return int() 0556 def rgb(self): 0557 '''int QColor.rgb()''' 0558 return int() 0559 def setRgba(self, rgba): 0560 '''void QColor.setRgba(int rgba)''' 0561 def rgba(self): 0562 '''int QColor.rgba()''' 0563 return int() 0564 def setRgbF(self, r, g, b, alpha = 1): 0565 '''void QColor.setRgbF(float r, float g, float b, float alpha = 1)''' 0566 def getRgbF(self, r, g, b, alpha): 0567 '''void QColor.getRgbF(float r, float g, float b, float alpha)''' 0568 def setRgb(self, r, g, b, alpha = 255): 0569 '''void QColor.setRgb(int r, int g, int b, int alpha = 255)''' 0570 def setRgb(self, rgb): 0571 '''void QColor.setRgb(int rgb)''' 0572 def getRgb(self, r, g, b, alpha): 0573 '''void QColor.getRgb(int r, int g, int b, int alpha)''' 0574 def setBlueF(self, blue): 0575 '''void QColor.setBlueF(float blue)''' 0576 def setGreenF(self, green): 0577 '''void QColor.setGreenF(float green)''' 0578 def setRedF(self, red): 0579 '''void QColor.setRedF(float red)''' 0580 def blueF(self): 0581 '''float QColor.blueF()''' 0582 return float() 0583 def greenF(self): 0584 '''float QColor.greenF()''' 0585 return float() 0586 def redF(self): 0587 '''float QColor.redF()''' 0588 return float() 0589 def setBlue(self, blue): 0590 '''void QColor.setBlue(int blue)''' 0591 def setGreen(self, green): 0592 '''void QColor.setGreen(int green)''' 0593 def setRed(self, red): 0594 '''void QColor.setRed(int red)''' 0595 def blue(self): 0596 '''int QColor.blue()''' 0597 return int() 0598 def green(self): 0599 '''int QColor.green()''' 0600 return int() 0601 def red(self): 0602 '''int QColor.red()''' 0603 return int() 0604 def setAlphaF(self, alpha): 0605 '''void QColor.setAlphaF(float alpha)''' 0606 def alphaF(self): 0607 '''float QColor.alphaF()''' 0608 return float() 0609 def setAlpha(self, alpha): 0610 '''void QColor.setAlpha(int alpha)''' 0611 def alpha(self): 0612 '''int QColor.alpha()''' 0613 return int() 0614 def spec(self): 0615 '''QColor.Spec QColor.spec()''' 0616 return QColor.Spec() 0617 def colorNames(self): 0618 '''static list-of-str QColor.colorNames()''' 0619 return [str()] 0620 def setNamedColor(self, name): 0621 '''void QColor.setNamedColor(str name)''' 0622 def name(self): 0623 '''str QColor.name()''' 0624 return str() 0625 def name(self, format): 0626 '''str QColor.name(QColor.NameFormat format)''' 0627 return str() 0628 0629 0630 class QBrush(): 0631 """""" 0632 def __init__(self): 0633 '''void QBrush.__init__()''' 0634 def __init__(self, bs): 0635 '''void QBrush.__init__(Qt.BrushStyle bs)''' 0636 def __init__(self, color, style = None): 0637 '''void QBrush.__init__(QColor color, Qt.BrushStyle style = Qt.SolidPattern)''' 0638 def __init__(self, color, style = None): 0639 '''void QBrush.__init__(Qt.GlobalColor color, Qt.BrushStyle style = Qt.SolidPattern)''' 0640 def __init__(self, color, pixmap): 0641 '''void QBrush.__init__(QColor color, QPixmap pixmap)''' 0642 def __init__(self, color, pixmap): 0643 '''void QBrush.__init__(Qt.GlobalColor color, QPixmap pixmap)''' 0644 def __init__(self, pixmap): 0645 '''void QBrush.__init__(QPixmap pixmap)''' 0646 def __init__(self, image): 0647 '''void QBrush.__init__(QImage image)''' 0648 def __init__(self, gradient): 0649 '''void QBrush.__init__(QGradient gradient)''' 0650 def __init__(self, brush): 0651 '''void QBrush.__init__(QBrush brush)''' 0652 def __init__(self, variant): 0653 '''void QBrush.__init__(QVariant variant)''' 0654 def swap(self, other): 0655 '''void QBrush.swap(QBrush other)''' 0656 def transform(self): 0657 '''QTransform QBrush.transform()''' 0658 return QTransform() 0659 def setTransform(self): 0660 '''QTransform QBrush.setTransform()''' 0661 return QTransform() 0662 def textureImage(self): 0663 '''QImage QBrush.textureImage()''' 0664 return QImage() 0665 def setTextureImage(self, image): 0666 '''void QBrush.setTextureImage(QImage image)''' 0667 def color(self): 0668 '''QColor QBrush.color()''' 0669 return QColor() 0670 def style(self): 0671 '''Qt.BrushStyle QBrush.style()''' 0672 return Qt.BrushStyle() 0673 def __ne__(self, b): 0674 '''bool QBrush.__ne__(QBrush b)''' 0675 return bool() 0676 def __eq__(self, b): 0677 '''bool QBrush.__eq__(QBrush b)''' 0678 return bool() 0679 def isOpaque(self): 0680 '''bool QBrush.isOpaque()''' 0681 return bool() 0682 def gradient(self): 0683 '''QGradient QBrush.gradient()''' 0684 return QGradient() 0685 def setColor(self, color): 0686 '''void QBrush.setColor(QColor color)''' 0687 def setColor(self, acolor): 0688 '''void QBrush.setColor(Qt.GlobalColor acolor)''' 0689 def setTexture(self, pixmap): 0690 '''void QBrush.setTexture(QPixmap pixmap)''' 0691 def texture(self): 0692 '''QPixmap QBrush.texture()''' 0693 return QPixmap() 0694 def setStyle(self): 0695 '''Qt.BrushStyle QBrush.setStyle()''' 0696 return Qt.BrushStyle() 0697 0698 0699 class QGradient(): 0700 """""" 0701 # Enum QGradient.Spread 0702 PadSpread = 0 0703 ReflectSpread = 0 0704 RepeatSpread = 0 0705 0706 # Enum QGradient.Type 0707 LinearGradient = 0 0708 RadialGradient = 0 0709 ConicalGradient = 0 0710 NoGradient = 0 0711 0712 # Enum QGradient.CoordinateMode 0713 LogicalMode = 0 0714 StretchToDeviceMode = 0 0715 ObjectBoundingMode = 0 0716 0717 def __init__(self): 0718 '''void QGradient.__init__()''' 0719 def __init__(self): 0720 '''QGradient QGradient.__init__()''' 0721 return QGradient() 0722 def setCoordinateMode(self, mode): 0723 '''void QGradient.setCoordinateMode(QGradient.CoordinateMode mode)''' 0724 def coordinateMode(self): 0725 '''QGradient.CoordinateMode QGradient.coordinateMode()''' 0726 return QGradient.CoordinateMode() 0727 def setSpread(self, aspread): 0728 '''void QGradient.setSpread(QGradient.Spread aspread)''' 0729 def __ne__(self, other): 0730 '''bool QGradient.__ne__(QGradient other)''' 0731 return bool() 0732 def __eq__(self, gradient): 0733 '''bool QGradient.__eq__(QGradient gradient)''' 0734 return bool() 0735 def stops(self): 0736 '''list-of-tuple-of-float-QColor QGradient.stops()''' 0737 return [tuple-of-float-QColor()] 0738 def setStops(self, stops): 0739 '''void QGradient.setStops(list-of-tuple-of-float-QColor stops)''' 0740 def setColorAt(self, pos, color): 0741 '''void QGradient.setColorAt(float pos, QColor color)''' 0742 def spread(self): 0743 '''QGradient.Spread QGradient.spread()''' 0744 return QGradient.Spread() 0745 def type(self): 0746 '''QGradient.Type QGradient.type()''' 0747 return QGradient.Type() 0748 0749 0750 class QLinearGradient(QGradient): 0751 """""" 0752 def __init__(self): 0753 '''void QLinearGradient.__init__()''' 0754 def __init__(self, start, finalStop): 0755 '''void QLinearGradient.__init__(QPointF start, QPointF finalStop)''' 0756 def __init__(self, xStart, yStart, xFinalStop, yFinalStop): 0757 '''void QLinearGradient.__init__(float xStart, float yStart, float xFinalStop, float yFinalStop)''' 0758 def __init__(self): 0759 '''QLinearGradient QLinearGradient.__init__()''' 0760 return QLinearGradient() 0761 def setFinalStop(self, stop): 0762 '''void QLinearGradient.setFinalStop(QPointF stop)''' 0763 def setFinalStop(self, x, y): 0764 '''void QLinearGradient.setFinalStop(float x, float y)''' 0765 def setStart(self, start): 0766 '''void QLinearGradient.setStart(QPointF start)''' 0767 def setStart(self, x, y): 0768 '''void QLinearGradient.setStart(float x, float y)''' 0769 def finalStop(self): 0770 '''QPointF QLinearGradient.finalStop()''' 0771 return QPointF() 0772 def start(self): 0773 '''QPointF QLinearGradient.start()''' 0774 return QPointF() 0775 0776 0777 class QRadialGradient(QGradient): 0778 """""" 0779 def __init__(self): 0780 '''void QRadialGradient.__init__()''' 0781 def __init__(self, center, radius, focalPoint): 0782 '''void QRadialGradient.__init__(QPointF center, float radius, QPointF focalPoint)''' 0783 def __init__(self, center, centerRadius, focalPoint, focalRadius): 0784 '''void QRadialGradient.__init__(QPointF center, float centerRadius, QPointF focalPoint, float focalRadius)''' 0785 def __init__(self, center, radius): 0786 '''void QRadialGradient.__init__(QPointF center, float radius)''' 0787 def __init__(self, cx, cy, radius, fx, fy): 0788 '''void QRadialGradient.__init__(float cx, float cy, float radius, float fx, float fy)''' 0789 def __init__(self, cx, cy, centerRadius, fx, fy, focalRadius): 0790 '''void QRadialGradient.__init__(float cx, float cy, float centerRadius, float fx, float fy, float focalRadius)''' 0791 def __init__(self, cx, cy, radius): 0792 '''void QRadialGradient.__init__(float cx, float cy, float radius)''' 0793 def __init__(self): 0794 '''QRadialGradient QRadialGradient.__init__()''' 0795 return QRadialGradient() 0796 def setFocalRadius(self, radius): 0797 '''void QRadialGradient.setFocalRadius(float radius)''' 0798 def focalRadius(self): 0799 '''float QRadialGradient.focalRadius()''' 0800 return float() 0801 def setCenterRadius(self, radius): 0802 '''void QRadialGradient.setCenterRadius(float radius)''' 0803 def centerRadius(self): 0804 '''float QRadialGradient.centerRadius()''' 0805 return float() 0806 def setRadius(self, radius): 0807 '''void QRadialGradient.setRadius(float radius)''' 0808 def setFocalPoint(self, focalPoint): 0809 '''void QRadialGradient.setFocalPoint(QPointF focalPoint)''' 0810 def setFocalPoint(self, x, y): 0811 '''void QRadialGradient.setFocalPoint(float x, float y)''' 0812 def setCenter(self, center): 0813 '''void QRadialGradient.setCenter(QPointF center)''' 0814 def setCenter(self, x, y): 0815 '''void QRadialGradient.setCenter(float x, float y)''' 0816 def radius(self): 0817 '''float QRadialGradient.radius()''' 0818 return float() 0819 def focalPoint(self): 0820 '''QPointF QRadialGradient.focalPoint()''' 0821 return QPointF() 0822 def center(self): 0823 '''QPointF QRadialGradient.center()''' 0824 return QPointF() 0825 0826 0827 class QConicalGradient(QGradient): 0828 """""" 0829 def __init__(self): 0830 '''void QConicalGradient.__init__()''' 0831 def __init__(self, center, startAngle): 0832 '''void QConicalGradient.__init__(QPointF center, float startAngle)''' 0833 def __init__(self, cx, cy, startAngle): 0834 '''void QConicalGradient.__init__(float cx, float cy, float startAngle)''' 0835 def __init__(self): 0836 '''QConicalGradient QConicalGradient.__init__()''' 0837 return QConicalGradient() 0838 def setAngle(self, angle): 0839 '''void QConicalGradient.setAngle(float angle)''' 0840 def setCenter(self, center): 0841 '''void QConicalGradient.setCenter(QPointF center)''' 0842 def setCenter(self, x, y): 0843 '''void QConicalGradient.setCenter(float x, float y)''' 0844 def angle(self): 0845 '''float QConicalGradient.angle()''' 0846 return float() 0847 def center(self): 0848 '''QPointF QConicalGradient.center()''' 0849 return QPointF() 0850 0851 0852 class QClipboard(QObject): 0853 """""" 0854 # Enum QClipboard.Mode 0855 Clipboard = 0 0856 Selection = 0 0857 FindBuffer = 0 0858 0859 selectionChanged = pyqtSignal() # void selectionChanged() - signal 0860 findBufferChanged = pyqtSignal() # void findBufferChanged() - signal 0861 dataChanged = pyqtSignal() # void dataChanged() - signal 0862 changed = pyqtSignal() # void changed(QClipboard::Mode) - signal 0863 def setPixmap(self, mode = None): 0864 '''QPixmap QClipboard.setPixmap(QClipboard.Mode mode = QClipboard.Clipboard)''' 0865 return QPixmap() 0866 def setImage(self, mode = None): 0867 '''QImage QClipboard.setImage(QClipboard.Mode mode = QClipboard.Clipboard)''' 0868 return QImage() 0869 def pixmap(self, mode = None): 0870 '''QPixmap QClipboard.pixmap(QClipboard.Mode mode = QClipboard.Clipboard)''' 0871 return QPixmap() 0872 def image(self, mode = None): 0873 '''QImage QClipboard.image(QClipboard.Mode mode = QClipboard.Clipboard)''' 0874 return QImage() 0875 def setMimeData(self, data, mode = None): 0876 '''void QClipboard.setMimeData(QMimeData data, QClipboard.Mode mode = QClipboard.Clipboard)''' 0877 def mimeData(self, mode = None): 0878 '''QMimeData QClipboard.mimeData(QClipboard.Mode mode = QClipboard.Clipboard)''' 0879 return QMimeData() 0880 def setText(self, mode = None): 0881 '''str QClipboard.setText(QClipboard.Mode mode = QClipboard.Clipboard)''' 0882 return str() 0883 def text(self, mode = None): 0884 '''str QClipboard.text(QClipboard.Mode mode = QClipboard.Clipboard)''' 0885 return str() 0886 def text(self, subtype, mode = None): 0887 '''(str, str) QClipboard.text(str subtype, QClipboard.Mode mode = QClipboard.Clipboard)''' 0888 return (str, str)() 0889 def ownsSelection(self): 0890 '''bool QClipboard.ownsSelection()''' 0891 return bool() 0892 def ownsFindBuffer(self): 0893 '''bool QClipboard.ownsFindBuffer()''' 0894 return bool() 0895 def ownsClipboard(self): 0896 '''bool QClipboard.ownsClipboard()''' 0897 return bool() 0898 def supportsSelection(self): 0899 '''bool QClipboard.supportsSelection()''' 0900 return bool() 0901 def supportsFindBuffer(self): 0902 '''bool QClipboard.supportsFindBuffer()''' 0903 return bool() 0904 def clear(self, mode = None): 0905 '''void QClipboard.clear(QClipboard.Mode mode = QClipboard.Clipboard)''' 0906 0907 0908 class QCursor(): 0909 """""" 0910 def __init__(self): 0911 '''void QCursor.__init__()''' 0912 def __init__(self, shape): 0913 '''void QCursor.__init__(Qt.CursorShape shape)''' 0914 def __init__(self, bitmap, mask, hotX = None, hotY = None): 0915 '''void QCursor.__init__(QBitmap bitmap, QBitmap mask, int hotX = -1, int hotY = -1)''' 0916 def __init__(self, pixmap, hotX = None, hotY = None): 0917 '''void QCursor.__init__(QPixmap pixmap, int hotX = -1, int hotY = -1)''' 0918 def __init__(self, cursor): 0919 '''void QCursor.__init__(QCursor cursor)''' 0920 def __init__(self, variant): 0921 '''void QCursor.__init__(QVariant variant)''' 0922 def setPos(self, x, y): 0923 '''static void QCursor.setPos(int x, int y)''' 0924 def setPos(self, p): 0925 '''static void QCursor.setPos(QPoint p)''' 0926 def pos(self): 0927 '''static QPoint QCursor.pos()''' 0928 return QPoint() 0929 def hotSpot(self): 0930 '''QPoint QCursor.hotSpot()''' 0931 return QPoint() 0932 def pixmap(self): 0933 '''QPixmap QCursor.pixmap()''' 0934 return QPixmap() 0935 def mask(self): 0936 '''QBitmap QCursor.mask()''' 0937 return QBitmap() 0938 def bitmap(self): 0939 '''QBitmap QCursor.bitmap()''' 0940 return QBitmap() 0941 def setShape(self, newShape): 0942 '''void QCursor.setShape(Qt.CursorShape newShape)''' 0943 def shape(self): 0944 '''Qt.CursorShape QCursor.shape()''' 0945 return Qt.CursorShape() 0946 0947 0948 class QDesktopServices(): 0949 """""" 0950 def __init__(self): 0951 '''void QDesktopServices.__init__()''' 0952 def __init__(self): 0953 '''QDesktopServices QDesktopServices.__init__()''' 0954 return QDesktopServices() 0955 def unsetUrlHandler(self, scheme): 0956 '''static void QDesktopServices.unsetUrlHandler(str scheme)''' 0957 def setUrlHandler(self, scheme, receiver, method): 0958 '''static void QDesktopServices.setUrlHandler(str scheme, QObject receiver, str method)''' 0959 def setUrlHandler(self, scheme, method): 0960 '''static void QDesktopServices.setUrlHandler(str scheme, callable method)''' 0961 def openUrl(self, url): 0962 '''static bool QDesktopServices.openUrl(QUrl url)''' 0963 return bool() 0964 0965 0966 class QDrag(QObject): 0967 """""" 0968 def __init__(self, dragSource): 0969 '''void QDrag.__init__(QObject dragSource)''' 0970 def defaultAction(self): 0971 '''Qt.DropAction QDrag.defaultAction()''' 0972 return Qt.DropAction() 0973 def supportedActions(self): 0974 '''Qt.DropActions QDrag.supportedActions()''' 0975 return Qt.DropActions() 0976 def dragCursor(self, action): 0977 '''QPixmap QDrag.dragCursor(Qt.DropAction action)''' 0978 return QPixmap() 0979 targetChanged = pyqtSignal() # void targetChanged(QObject*) - signal 0980 actionChanged = pyqtSignal() # void actionChanged(Qt::DropAction) - signal 0981 def setDragCursor(self, cursor, action): 0982 '''void QDrag.setDragCursor(QPixmap cursor, Qt.DropAction action)''' 0983 def target(self): 0984 '''QObject QDrag.target()''' 0985 return QObject() 0986 def source(self): 0987 '''QObject QDrag.source()''' 0988 return QObject() 0989 def hotSpot(self): 0990 '''QPoint QDrag.hotSpot()''' 0991 return QPoint() 0992 def setHotSpot(self, hotspot): 0993 '''void QDrag.setHotSpot(QPoint hotspot)''' 0994 def pixmap(self): 0995 '''QPixmap QDrag.pixmap()''' 0996 return QPixmap() 0997 def setPixmap(self): 0998 '''QPixmap QDrag.setPixmap()''' 0999 return QPixmap() 1000 def mimeData(self): 1001 '''QMimeData QDrag.mimeData()''' 1002 return QMimeData() 1003 def setMimeData(self, data): 1004 '''void QDrag.setMimeData(QMimeData data)''' 1005 def exec_(self, supportedActions = None): 1006 '''Qt.DropAction QDrag.exec_(Qt.DropActions supportedActions = Qt.MoveAction)''' 1007 return Qt.DropAction() 1008 def exec_(self, supportedActions, defaultDropAction): 1009 '''Qt.DropAction QDrag.exec_(Qt.DropActions supportedActions, Qt.DropAction defaultDropAction)''' 1010 return Qt.DropAction() 1011 1012 1013 class QInputEvent(QEvent): 1014 """""" 1015 def setTimestamp(self, atimestamp): 1016 '''void QInputEvent.setTimestamp(int atimestamp)''' 1017 def timestamp(self): 1018 '''int QInputEvent.timestamp()''' 1019 return int() 1020 def modifiers(self): 1021 '''Qt.KeyboardModifiers QInputEvent.modifiers()''' 1022 return Qt.KeyboardModifiers() 1023 1024 1025 class QMouseEvent(QInputEvent): 1026 """""" 1027 def __init__(self, type, pos, button, buttons, modifiers): 1028 '''void QMouseEvent.__init__(QEvent.Type type, QPointF pos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers)''' 1029 def __init__(self, type, pos, globalPos, button, buttons, modifiers): 1030 '''void QMouseEvent.__init__(QEvent.Type type, QPointF pos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers)''' 1031 def __init__(self, type, pos, windowPos, globalPos, button, buttons, modifiers): 1032 '''void QMouseEvent.__init__(QEvent.Type type, QPointF pos, QPointF windowPos, QPointF globalPos, Qt.MouseButton button, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers)''' 1033 def __init__(self): 1034 '''QMouseEvent QMouseEvent.__init__()''' 1035 return QMouseEvent() 1036 def flags(self): 1037 '''Qt.MouseEventFlags QMouseEvent.flags()''' 1038 return Qt.MouseEventFlags() 1039 def source(self): 1040 '''Qt.MouseEventSource QMouseEvent.source()''' 1041 return Qt.MouseEventSource() 1042 def screenPos(self): 1043 '''QPointF QMouseEvent.screenPos()''' 1044 return QPointF() 1045 def windowPos(self): 1046 '''QPointF QMouseEvent.windowPos()''' 1047 return QPointF() 1048 def localPos(self): 1049 '''QPointF QMouseEvent.localPos()''' 1050 return QPointF() 1051 def buttons(self): 1052 '''Qt.MouseButtons QMouseEvent.buttons()''' 1053 return Qt.MouseButtons() 1054 def button(self): 1055 '''Qt.MouseButton QMouseEvent.button()''' 1056 return Qt.MouseButton() 1057 def globalY(self): 1058 '''int QMouseEvent.globalY()''' 1059 return int() 1060 def globalX(self): 1061 '''int QMouseEvent.globalX()''' 1062 return int() 1063 def y(self): 1064 '''int QMouseEvent.y()''' 1065 return int() 1066 def x(self): 1067 '''int QMouseEvent.x()''' 1068 return int() 1069 def globalPos(self): 1070 '''QPoint QMouseEvent.globalPos()''' 1071 return QPoint() 1072 def pos(self): 1073 '''QPoint QMouseEvent.pos()''' 1074 return QPoint() 1075 1076 1077 class QHoverEvent(QInputEvent): 1078 """""" 1079 def __init__(self, type, pos, oldPos, modifiers = None): 1080 '''void QHoverEvent.__init__(QEvent.Type type, QPointF pos, QPointF oldPos, Qt.KeyboardModifiers modifiers = Qt.NoModifier)''' 1081 def __init__(self): 1082 '''QHoverEvent QHoverEvent.__init__()''' 1083 return QHoverEvent() 1084 def oldPosF(self): 1085 '''QPointF QHoverEvent.oldPosF()''' 1086 return QPointF() 1087 def posF(self): 1088 '''QPointF QHoverEvent.posF()''' 1089 return QPointF() 1090 def oldPos(self): 1091 '''QPoint QHoverEvent.oldPos()''' 1092 return QPoint() 1093 def pos(self): 1094 '''QPoint QHoverEvent.pos()''' 1095 return QPoint() 1096 1097 1098 class QWheelEvent(QInputEvent): 1099 """""" 1100 def __init__(self, pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers): 1101 '''void QWheelEvent.__init__(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers)''' 1102 def __init__(self, pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase): 1103 '''void QWheelEvent.__init__(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase)''' 1104 def __init__(self, pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source): 1105 '''void QWheelEvent.__init__(QPointF pos, QPointF globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt.Orientation qt4Orientation, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, Qt.ScrollPhase phase, Qt.MouseEventSource source)''' 1106 def __init__(self): 1107 '''QWheelEvent QWheelEvent.__init__()''' 1108 return QWheelEvent() 1109 def source(self): 1110 '''Qt.MouseEventSource QWheelEvent.source()''' 1111 return Qt.MouseEventSource() 1112 def phase(self): 1113 '''Qt.ScrollPhase QWheelEvent.phase()''' 1114 return Qt.ScrollPhase() 1115 def globalPosF(self): 1116 '''QPointF QWheelEvent.globalPosF()''' 1117 return QPointF() 1118 def posF(self): 1119 '''QPointF QWheelEvent.posF()''' 1120 return QPointF() 1121 def angleDelta(self): 1122 '''QPoint QWheelEvent.angleDelta()''' 1123 return QPoint() 1124 def pixelDelta(self): 1125 '''QPoint QWheelEvent.pixelDelta()''' 1126 return QPoint() 1127 def buttons(self): 1128 '''Qt.MouseButtons QWheelEvent.buttons()''' 1129 return Qt.MouseButtons() 1130 def globalY(self): 1131 '''int QWheelEvent.globalY()''' 1132 return int() 1133 def globalX(self): 1134 '''int QWheelEvent.globalX()''' 1135 return int() 1136 def y(self): 1137 '''int QWheelEvent.y()''' 1138 return int() 1139 def x(self): 1140 '''int QWheelEvent.x()''' 1141 return int() 1142 def globalPos(self): 1143 '''QPoint QWheelEvent.globalPos()''' 1144 return QPoint() 1145 def pos(self): 1146 '''QPoint QWheelEvent.pos()''' 1147 return QPoint() 1148 1149 1150 class QTabletEvent(QInputEvent): 1151 """""" 1152 # Enum QTabletEvent.PointerType 1153 UnknownPointer = 0 1154 Pen = 0 1155 Cursor = 0 1156 Eraser = 0 1157 1158 # Enum QTabletEvent.TabletDevice 1159 NoDevice = 0 1160 Puck = 0 1161 Stylus = 0 1162 Airbrush = 0 1163 FourDMouse = 0 1164 XFreeEraser = 0 1165 RotationStylus = 0 1166 1167 def __init__(self, t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID, button, buttons): 1168 '''void QTabletEvent.__init__(QEvent.Type t, QPointF pos, QPointF globalPos, int device, int pointerType, float pressure, int xTilt, int yTilt, float tangentialPressure, float rotation, int z, Qt.KeyboardModifiers keyState, int uniqueID, Qt.MouseButton button, Qt.MouseButtons buttons)''' 1169 def __init__(self, t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID): 1170 '''void QTabletEvent.__init__(QEvent.Type t, QPointF pos, QPointF globalPos, int device, int pointerType, float pressure, int xTilt, int yTilt, float tangentialPressure, float rotation, int z, Qt.KeyboardModifiers keyState, int uniqueID)''' 1171 def __init__(self): 1172 '''QTabletEvent QTabletEvent.__init__()''' 1173 return QTabletEvent() 1174 def buttons(self): 1175 '''Qt.MouseButtons QTabletEvent.buttons()''' 1176 return Qt.MouseButtons() 1177 def button(self): 1178 '''Qt.MouseButton QTabletEvent.button()''' 1179 return Qt.MouseButton() 1180 def globalPosF(self): 1181 '''QPointF QTabletEvent.globalPosF()''' 1182 return QPointF() 1183 def posF(self): 1184 '''QPointF QTabletEvent.posF()''' 1185 return QPointF() 1186 def yTilt(self): 1187 '''int QTabletEvent.yTilt()''' 1188 return int() 1189 def xTilt(self): 1190 '''int QTabletEvent.xTilt()''' 1191 return int() 1192 def rotation(self): 1193 '''float QTabletEvent.rotation()''' 1194 return float() 1195 def tangentialPressure(self): 1196 '''float QTabletEvent.tangentialPressure()''' 1197 return float() 1198 def z(self): 1199 '''int QTabletEvent.z()''' 1200 return int() 1201 def pressure(self): 1202 '''float QTabletEvent.pressure()''' 1203 return float() 1204 def uniqueId(self): 1205 '''int QTabletEvent.uniqueId()''' 1206 return int() 1207 def pointerType(self): 1208 '''QTabletEvent.PointerType QTabletEvent.pointerType()''' 1209 return QTabletEvent.PointerType() 1210 def device(self): 1211 '''QTabletEvent.TabletDevice QTabletEvent.device()''' 1212 return QTabletEvent.TabletDevice() 1213 def hiResGlobalY(self): 1214 '''float QTabletEvent.hiResGlobalY()''' 1215 return float() 1216 def hiResGlobalX(self): 1217 '''float QTabletEvent.hiResGlobalX()''' 1218 return float() 1219 def globalY(self): 1220 '''int QTabletEvent.globalY()''' 1221 return int() 1222 def globalX(self): 1223 '''int QTabletEvent.globalX()''' 1224 return int() 1225 def y(self): 1226 '''int QTabletEvent.y()''' 1227 return int() 1228 def x(self): 1229 '''int QTabletEvent.x()''' 1230 return int() 1231 def globalPos(self): 1232 '''QPoint QTabletEvent.globalPos()''' 1233 return QPoint() 1234 def pos(self): 1235 '''QPoint QTabletEvent.pos()''' 1236 return QPoint() 1237 1238 1239 class QKeyEvent(QInputEvent): 1240 """""" 1241 def __init__(self, type, key, modifiers, nativeScanCode, nativeVirtualKey, nativeModifiers, text = str(), autorep = False, count = 1): 1242 '''void QKeyEvent.__init__(QEvent.Type type, int key, Qt.KeyboardModifiers modifiers, int nativeScanCode, int nativeVirtualKey, int nativeModifiers, str text = str(), bool autorep = False, int count = 1)''' 1243 def __init__(self, type, key, modifiers, text = None, autorep = False, count = 1): 1244 '''void QKeyEvent.__init__(QEvent.Type type, int key, Qt.KeyboardModifiers modifiers, str text = '', bool autorep = False, int count = 1)''' 1245 def __init__(self): 1246 '''QKeyEvent QKeyEvent.__init__()''' 1247 return QKeyEvent() 1248 def __ne__(self, key): 1249 '''bool QKeyEvent.__ne__(QKeySequence.StandardKey key)''' 1250 return bool() 1251 def __eq__(self, key): 1252 '''bool QKeyEvent.__eq__(QKeySequence.StandardKey key)''' 1253 return bool() 1254 def nativeVirtualKey(self): 1255 '''int QKeyEvent.nativeVirtualKey()''' 1256 return int() 1257 def nativeScanCode(self): 1258 '''int QKeyEvent.nativeScanCode()''' 1259 return int() 1260 def nativeModifiers(self): 1261 '''int QKeyEvent.nativeModifiers()''' 1262 return int() 1263 def matches(self, key): 1264 '''bool QKeyEvent.matches(QKeySequence.StandardKey key)''' 1265 return bool() 1266 def __len__(self): 1267 ''' QKeyEvent.__len__()''' 1268 return () 1269 def count(self): 1270 '''int QKeyEvent.count()''' 1271 return int() 1272 def isAutoRepeat(self): 1273 '''bool QKeyEvent.isAutoRepeat()''' 1274 return bool() 1275 def text(self): 1276 '''str QKeyEvent.text()''' 1277 return str() 1278 def modifiers(self): 1279 '''Qt.KeyboardModifiers QKeyEvent.modifiers()''' 1280 return Qt.KeyboardModifiers() 1281 def key(self): 1282 '''int QKeyEvent.key()''' 1283 return int() 1284 1285 1286 class QFocusEvent(QEvent): 1287 """""" 1288 def __init__(self, type, reason = None): 1289 '''void QFocusEvent.__init__(QEvent.Type type, Qt.FocusReason reason = Qt.OtherFocusReason)''' 1290 def __init__(self): 1291 '''QFocusEvent QFocusEvent.__init__()''' 1292 return QFocusEvent() 1293 def reason(self): 1294 '''Qt.FocusReason QFocusEvent.reason()''' 1295 return Qt.FocusReason() 1296 def lostFocus(self): 1297 '''bool QFocusEvent.lostFocus()''' 1298 return bool() 1299 def gotFocus(self): 1300 '''bool QFocusEvent.gotFocus()''' 1301 return bool() 1302 1303 1304 class QPaintEvent(QEvent): 1305 """""" 1306 def __init__(self, paintRegion): 1307 '''void QPaintEvent.__init__(QRegion paintRegion)''' 1308 def __init__(self, paintRect): 1309 '''void QPaintEvent.__init__(QRect paintRect)''' 1310 def __init__(self): 1311 '''QPaintEvent QPaintEvent.__init__()''' 1312 return QPaintEvent() 1313 def region(self): 1314 '''QRegion QPaintEvent.region()''' 1315 return QRegion() 1316 def rect(self): 1317 '''QRect QPaintEvent.rect()''' 1318 return QRect() 1319 1320 1321 class QMoveEvent(QEvent): 1322 """""" 1323 def __init__(self, pos, oldPos): 1324 '''void QMoveEvent.__init__(QPoint pos, QPoint oldPos)''' 1325 def __init__(self): 1326 '''QMoveEvent QMoveEvent.__init__()''' 1327 return QMoveEvent() 1328 def oldPos(self): 1329 '''QPoint QMoveEvent.oldPos()''' 1330 return QPoint() 1331 def pos(self): 1332 '''QPoint QMoveEvent.pos()''' 1333 return QPoint() 1334 1335 1336 class QResizeEvent(QEvent): 1337 """""" 1338 def __init__(self, size, oldSize): 1339 '''void QResizeEvent.__init__(QSize size, QSize oldSize)''' 1340 def __init__(self): 1341 '''QResizeEvent QResizeEvent.__init__()''' 1342 return QResizeEvent() 1343 def oldSize(self): 1344 '''QSize QResizeEvent.oldSize()''' 1345 return QSize() 1346 def size(self): 1347 '''QSize QResizeEvent.size()''' 1348 return QSize() 1349 1350 1351 class QCloseEvent(QEvent): 1352 """""" 1353 def __init__(self): 1354 '''void QCloseEvent.__init__()''' 1355 def __init__(self): 1356 '''QCloseEvent QCloseEvent.__init__()''' 1357 return QCloseEvent() 1358 1359 1360 class QIconDragEvent(QEvent): 1361 """""" 1362 def __init__(self): 1363 '''void QIconDragEvent.__init__()''' 1364 def __init__(self): 1365 '''QIconDragEvent QIconDragEvent.__init__()''' 1366 return QIconDragEvent() 1367 1368 1369 class QShowEvent(QEvent): 1370 """""" 1371 def __init__(self): 1372 '''void QShowEvent.__init__()''' 1373 def __init__(self): 1374 '''QShowEvent QShowEvent.__init__()''' 1375 return QShowEvent() 1376 1377 1378 class QHideEvent(QEvent): 1379 """""" 1380 def __init__(self): 1381 '''void QHideEvent.__init__()''' 1382 def __init__(self): 1383 '''QHideEvent QHideEvent.__init__()''' 1384 return QHideEvent() 1385 1386 1387 class QContextMenuEvent(QInputEvent): 1388 """""" 1389 # Enum QContextMenuEvent.Reason 1390 Mouse = 0 1391 Keyboard = 0 1392 Other = 0 1393 1394 def __init__(self, reason, pos, globalPos, modifiers): 1395 '''void QContextMenuEvent.__init__(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos, Qt.KeyboardModifiers modifiers)''' 1396 def __init__(self, reason, pos, globalPos): 1397 '''void QContextMenuEvent.__init__(QContextMenuEvent.Reason reason, QPoint pos, QPoint globalPos)''' 1398 def __init__(self, reason, pos): 1399 '''void QContextMenuEvent.__init__(QContextMenuEvent.Reason reason, QPoint pos)''' 1400 def __init__(self): 1401 '''QContextMenuEvent QContextMenuEvent.__init__()''' 1402 return QContextMenuEvent() 1403 def reason(self): 1404 '''QContextMenuEvent.Reason QContextMenuEvent.reason()''' 1405 return QContextMenuEvent.Reason() 1406 def globalPos(self): 1407 '''QPoint QContextMenuEvent.globalPos()''' 1408 return QPoint() 1409 def pos(self): 1410 '''QPoint QContextMenuEvent.pos()''' 1411 return QPoint() 1412 def globalY(self): 1413 '''int QContextMenuEvent.globalY()''' 1414 return int() 1415 def globalX(self): 1416 '''int QContextMenuEvent.globalX()''' 1417 return int() 1418 def y(self): 1419 '''int QContextMenuEvent.y()''' 1420 return int() 1421 def x(self): 1422 '''int QContextMenuEvent.x()''' 1423 return int() 1424 1425 1426 class QInputMethodEvent(QEvent): 1427 """""" 1428 # Enum QInputMethodEvent.AttributeType 1429 TextFormat = 0 1430 Cursor = 0 1431 Language = 0 1432 Ruby = 0 1433 Selection = 0 1434 1435 def __init__(self): 1436 '''void QInputMethodEvent.__init__()''' 1437 def __init__(self, preeditText, attributes): 1438 '''void QInputMethodEvent.__init__(str preeditText, list-of-QInputMethodEvent.Attribute attributes)''' 1439 def __init__(self, other): 1440 '''void QInputMethodEvent.__init__(QInputMethodEvent other)''' 1441 def replacementLength(self): 1442 '''int QInputMethodEvent.replacementLength()''' 1443 return int() 1444 def replacementStart(self): 1445 '''int QInputMethodEvent.replacementStart()''' 1446 return int() 1447 def commitString(self): 1448 '''str QInputMethodEvent.commitString()''' 1449 return str() 1450 def preeditString(self): 1451 '''str QInputMethodEvent.preeditString()''' 1452 return str() 1453 def attributes(self): 1454 '''list-of-QInputMethodEvent.Attribute QInputMethodEvent.attributes()''' 1455 return [QInputMethodEvent.Attribute()] 1456 def setCommitString(self, commitString, from_ = 0, length = 0): 1457 '''void QInputMethodEvent.setCommitString(str commitString, int from = 0, int length = 0)''' 1458 class Attribute(): 1459 """""" 1460 length = None # int - member 1461 start = None # int - member 1462 type = None # QInputMethodEvent.AttributeType - member 1463 value = None # QVariant - member 1464 def __init__(self, t, s, l, val): 1465 '''void QInputMethodEvent.Attribute.__init__(QInputMethodEvent.AttributeType t, int s, int l, QVariant val)''' 1466 def __init__(self): 1467 '''QInputMethodEvent.Attribute QInputMethodEvent.Attribute.__init__()''' 1468 return QInputMethodEvent.Attribute() 1469 1470 1471 class QInputMethodQueryEvent(QEvent): 1472 """""" 1473 def __init__(self, queries): 1474 '''void QInputMethodQueryEvent.__init__(Qt.InputMethodQueries queries)''' 1475 def __init__(self): 1476 '''QInputMethodQueryEvent QInputMethodQueryEvent.__init__()''' 1477 return QInputMethodQueryEvent() 1478 def value(self, query): 1479 '''QVariant QInputMethodQueryEvent.value(Qt.InputMethodQuery query)''' 1480 return QVariant() 1481 def setValue(self, query, value): 1482 '''void QInputMethodQueryEvent.setValue(Qt.InputMethodQuery query, QVariant value)''' 1483 def queries(self): 1484 '''Qt.InputMethodQueries QInputMethodQueryEvent.queries()''' 1485 return Qt.InputMethodQueries() 1486 1487 1488 class QDropEvent(QEvent): 1489 """""" 1490 def __init__(self, pos, actions, data, buttons, modifiers, type = None): 1491 '''void QDropEvent.__init__(QPointF pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QEvent.Type type = QEvent.Drop)''' 1492 def __init__(self): 1493 '''QDropEvent QDropEvent.__init__()''' 1494 return QDropEvent() 1495 def mimeData(self): 1496 '''QMimeData QDropEvent.mimeData()''' 1497 return QMimeData() 1498 def source(self): 1499 '''QObject QDropEvent.source()''' 1500 return QObject() 1501 def setDropAction(self, action): 1502 '''void QDropEvent.setDropAction(Qt.DropAction action)''' 1503 def dropAction(self): 1504 '''Qt.DropAction QDropEvent.dropAction()''' 1505 return Qt.DropAction() 1506 def acceptProposedAction(self): 1507 '''void QDropEvent.acceptProposedAction()''' 1508 def proposedAction(self): 1509 '''Qt.DropAction QDropEvent.proposedAction()''' 1510 return Qt.DropAction() 1511 def possibleActions(self): 1512 '''Qt.DropActions QDropEvent.possibleActions()''' 1513 return Qt.DropActions() 1514 def keyboardModifiers(self): 1515 '''Qt.KeyboardModifiers QDropEvent.keyboardModifiers()''' 1516 return Qt.KeyboardModifiers() 1517 def mouseButtons(self): 1518 '''Qt.MouseButtons QDropEvent.mouseButtons()''' 1519 return Qt.MouseButtons() 1520 def posF(self): 1521 '''QPointF QDropEvent.posF()''' 1522 return QPointF() 1523 def pos(self): 1524 '''QPoint QDropEvent.pos()''' 1525 return QPoint() 1526 1527 1528 class QDragMoveEvent(QDropEvent): 1529 """""" 1530 def __init__(self, pos, actions, data, buttons, modifiers, type = None): 1531 '''void QDragMoveEvent.__init__(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QEvent.Type type = QEvent.DragMove)''' 1532 def __init__(self): 1533 '''QDragMoveEvent QDragMoveEvent.__init__()''' 1534 return QDragMoveEvent() 1535 def ignore(self): 1536 '''void QDragMoveEvent.ignore()''' 1537 def ignore(self, r): 1538 '''void QDragMoveEvent.ignore(QRect r)''' 1539 def accept(self): 1540 '''void QDragMoveEvent.accept()''' 1541 def accept(self, r): 1542 '''void QDragMoveEvent.accept(QRect r)''' 1543 def answerRect(self): 1544 '''QRect QDragMoveEvent.answerRect()''' 1545 return QRect() 1546 1547 1548 class QDragEnterEvent(QDragMoveEvent): 1549 """""" 1550 def __init__(self, pos, actions, data, buttons, modifiers): 1551 '''void QDragEnterEvent.__init__(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers)''' 1552 def __init__(self): 1553 '''QDragEnterEvent QDragEnterEvent.__init__()''' 1554 return QDragEnterEvent() 1555 1556 1557 class QDragLeaveEvent(QEvent): 1558 """""" 1559 def __init__(self): 1560 '''void QDragLeaveEvent.__init__()''' 1561 def __init__(self): 1562 '''QDragLeaveEvent QDragLeaveEvent.__init__()''' 1563 return QDragLeaveEvent() 1564 1565 1566 class QHelpEvent(QEvent): 1567 """""" 1568 def __init__(self, type, pos, globalPos): 1569 '''void QHelpEvent.__init__(QEvent.Type type, QPoint pos, QPoint globalPos)''' 1570 def __init__(self): 1571 '''QHelpEvent QHelpEvent.__init__()''' 1572 return QHelpEvent() 1573 def globalPos(self): 1574 '''QPoint QHelpEvent.globalPos()''' 1575 return QPoint() 1576 def pos(self): 1577 '''QPoint QHelpEvent.pos()''' 1578 return QPoint() 1579 def globalY(self): 1580 '''int QHelpEvent.globalY()''' 1581 return int() 1582 def globalX(self): 1583 '''int QHelpEvent.globalX()''' 1584 return int() 1585 def y(self): 1586 '''int QHelpEvent.y()''' 1587 return int() 1588 def x(self): 1589 '''int QHelpEvent.x()''' 1590 return int() 1591 1592 1593 class QStatusTipEvent(QEvent): 1594 """""" 1595 def __init__(self, tip): 1596 '''void QStatusTipEvent.__init__(str tip)''' 1597 def __init__(self): 1598 '''QStatusTipEvent QStatusTipEvent.__init__()''' 1599 return QStatusTipEvent() 1600 def tip(self): 1601 '''str QStatusTipEvent.tip()''' 1602 return str() 1603 1604 1605 class QWhatsThisClickedEvent(QEvent): 1606 """""" 1607 def __init__(self, href): 1608 '''void QWhatsThisClickedEvent.__init__(str href)''' 1609 def __init__(self): 1610 '''QWhatsThisClickedEvent QWhatsThisClickedEvent.__init__()''' 1611 return QWhatsThisClickedEvent() 1612 def href(self): 1613 '''str QWhatsThisClickedEvent.href()''' 1614 return str() 1615 1616 1617 class QActionEvent(QEvent): 1618 """""" 1619 def __init__(self, type, action, before = None): 1620 '''void QActionEvent.__init__(int type, QAction action, QAction before = None)''' 1621 def __init__(self): 1622 '''QActionEvent QActionEvent.__init__()''' 1623 return QActionEvent() 1624 def before(self): 1625 '''QAction QActionEvent.before()''' 1626 return QAction() 1627 def action(self): 1628 '''QAction QActionEvent.action()''' 1629 return QAction() 1630 1631 1632 class QFileOpenEvent(QEvent): 1633 """""" 1634 def openFile(self, file, flags): 1635 '''bool QFileOpenEvent.openFile(QFile file, QIODevice.OpenMode flags)''' 1636 return bool() 1637 def url(self): 1638 '''QUrl QFileOpenEvent.url()''' 1639 return QUrl() 1640 def file(self): 1641 '''str QFileOpenEvent.file()''' 1642 return str() 1643 1644 1645 class QShortcutEvent(QEvent): 1646 """""" 1647 def __init__(self, key, id, ambiguous = False): 1648 '''void QShortcutEvent.__init__(QKeySequence key, int id, bool ambiguous = False)''' 1649 def __init__(self): 1650 '''QShortcutEvent QShortcutEvent.__init__()''' 1651 return QShortcutEvent() 1652 def shortcutId(self): 1653 '''int QShortcutEvent.shortcutId()''' 1654 return int() 1655 def key(self): 1656 '''QKeySequence QShortcutEvent.key()''' 1657 return QKeySequence() 1658 def isAmbiguous(self): 1659 '''bool QShortcutEvent.isAmbiguous()''' 1660 return bool() 1661 1662 1663 class QWindowStateChangeEvent(QEvent): 1664 """""" 1665 def oldState(self): 1666 '''Qt.WindowStates QWindowStateChangeEvent.oldState()''' 1667 return Qt.WindowStates() 1668 1669 1670 class QTouchEvent(QInputEvent): 1671 """""" 1672 def __init__(self, eventType, device = None, modifiers = None, touchPointStates = 0, touchPoints = None): 1673 '''void QTouchEvent.__init__(QEvent.Type eventType, QTouchDevice device = None, Qt.KeyboardModifiers modifiers = Qt.NoModifier, Qt.TouchPointStates touchPointStates = 0, list-of-QTouchEvent.TouchPoint touchPoints = QListlt;QTouchEvent.TouchPointgt;())''' 1674 def __init__(self): 1675 '''QTouchEvent QTouchEvent.__init__()''' 1676 return QTouchEvent() 1677 def setDevice(self, adevice): 1678 '''void QTouchEvent.setDevice(QTouchDevice adevice)''' 1679 def device(self): 1680 '''QTouchDevice QTouchEvent.device()''' 1681 return QTouchDevice() 1682 def window(self): 1683 '''QWindow QTouchEvent.window()''' 1684 return QWindow() 1685 def touchPoints(self): 1686 '''list-of-QTouchEvent.TouchPoint QTouchEvent.touchPoints()''' 1687 return [QTouchEvent.TouchPoint()] 1688 def touchPointStates(self): 1689 '''Qt.TouchPointStates QTouchEvent.touchPointStates()''' 1690 return Qt.TouchPointStates() 1691 def target(self): 1692 '''QObject QTouchEvent.target()''' 1693 return QObject() 1694 class TouchPoint(): 1695 """""" 1696 # Enum QTouchEvent.TouchPoint.InfoFlag 1697 Pen = 0 1698 1699 def rawScreenPositions(self): 1700 '''list-of-QPointF QTouchEvent.TouchPoint.rawScreenPositions()''' 1701 return [QPointF()] 1702 def flags(self): 1703 '''QTouchEvent.TouchPoint.InfoFlags QTouchEvent.TouchPoint.flags()''' 1704 return QTouchEvent.TouchPoint.InfoFlags() 1705 def velocity(self): 1706 '''QVector2D QTouchEvent.TouchPoint.velocity()''' 1707 return QVector2D() 1708 def pressure(self): 1709 '''float QTouchEvent.TouchPoint.pressure()''' 1710 return float() 1711 def screenRect(self): 1712 '''QRectF QTouchEvent.TouchPoint.screenRect()''' 1713 return QRectF() 1714 def sceneRect(self): 1715 '''QRectF QTouchEvent.TouchPoint.sceneRect()''' 1716 return QRectF() 1717 def rect(self): 1718 '''QRectF QTouchEvent.TouchPoint.rect()''' 1719 return QRectF() 1720 def lastNormalizedPos(self): 1721 '''QPointF QTouchEvent.TouchPoint.lastNormalizedPos()''' 1722 return QPointF() 1723 def startNormalizedPos(self): 1724 '''QPointF QTouchEvent.TouchPoint.startNormalizedPos()''' 1725 return QPointF() 1726 def normalizedPos(self): 1727 '''QPointF QTouchEvent.TouchPoint.normalizedPos()''' 1728 return QPointF() 1729 def lastScreenPos(self): 1730 '''QPointF QTouchEvent.TouchPoint.lastScreenPos()''' 1731 return QPointF() 1732 def startScreenPos(self): 1733 '''QPointF QTouchEvent.TouchPoint.startScreenPos()''' 1734 return QPointF() 1735 def screenPos(self): 1736 '''QPointF QTouchEvent.TouchPoint.screenPos()''' 1737 return QPointF() 1738 def lastScenePos(self): 1739 '''QPointF QTouchEvent.TouchPoint.lastScenePos()''' 1740 return QPointF() 1741 def startScenePos(self): 1742 '''QPointF QTouchEvent.TouchPoint.startScenePos()''' 1743 return QPointF() 1744 def scenePos(self): 1745 '''QPointF QTouchEvent.TouchPoint.scenePos()''' 1746 return QPointF() 1747 def lastPos(self): 1748 '''QPointF QTouchEvent.TouchPoint.lastPos()''' 1749 return QPointF() 1750 def startPos(self): 1751 '''QPointF QTouchEvent.TouchPoint.startPos()''' 1752 return QPointF() 1753 def pos(self): 1754 '''QPointF QTouchEvent.TouchPoint.pos()''' 1755 return QPointF() 1756 def state(self): 1757 '''Qt.TouchPointState QTouchEvent.TouchPoint.state()''' 1758 return Qt.TouchPointState() 1759 def id(self): 1760 '''int QTouchEvent.TouchPoint.id()''' 1761 return int() 1762 class TouchPoint(): 1763 """""" 1764 class InfoFlags(): 1765 """""" 1766 def __init__(self): 1767 '''QTouchEvent.TouchPoint.InfoFlags QTouchEvent.TouchPoint.InfoFlags.__init__()''' 1768 return QTouchEvent.TouchPoint.InfoFlags() 1769 def __init__(self): 1770 '''int QTouchEvent.TouchPoint.InfoFlags.__init__()''' 1771 return int() 1772 def __init__(self): 1773 '''void QTouchEvent.TouchPoint.InfoFlags.__init__()''' 1774 def __bool__(self): 1775 '''int QTouchEvent.TouchPoint.InfoFlags.__bool__()''' 1776 return int() 1777 def __ne__(self, f): 1778 '''bool QTouchEvent.TouchPoint.InfoFlags.__ne__(QTouchEvent.TouchPoint.InfoFlags f)''' 1779 return bool() 1780 def __eq__(self, f): 1781 '''bool QTouchEvent.TouchPoint.InfoFlags.__eq__(QTouchEvent.TouchPoint.InfoFlags f)''' 1782 return bool() 1783 def __invert__(self): 1784 '''QTouchEvent.TouchPoint.InfoFlags QTouchEvent.TouchPoint.InfoFlags.__invert__()''' 1785 return QTouchEvent.TouchPoint.InfoFlags() 1786 def __and__(self, mask): 1787 '''QTouchEvent.TouchPoint.InfoFlags QTouchEvent.TouchPoint.InfoFlags.__and__(int mask)''' 1788 return QTouchEvent.TouchPoint.InfoFlags() 1789 def __xor__(self, f): 1790 '''QTouchEvent.TouchPoint.InfoFlags QTouchEvent.TouchPoint.InfoFlags.__xor__(QTouchEvent.TouchPoint.InfoFlags f)''' 1791 return QTouchEvent.TouchPoint.InfoFlags() 1792 def __xor__(self, f): 1793 '''QTouchEvent.TouchPoint.InfoFlags QTouchEvent.TouchPoint.InfoFlags.__xor__(int f)''' 1794 return QTouchEvent.TouchPoint.InfoFlags() 1795 def __or__(self, f): 1796 '''QTouchEvent.TouchPoint.InfoFlags QTouchEvent.TouchPoint.InfoFlags.__or__(QTouchEvent.TouchPoint.InfoFlags f)''' 1797 return QTouchEvent.TouchPoint.InfoFlags() 1798 def __or__(self, f): 1799 '''QTouchEvent.TouchPoint.InfoFlags QTouchEvent.TouchPoint.InfoFlags.__or__(int f)''' 1800 return QTouchEvent.TouchPoint.InfoFlags() 1801 def __int__(self): 1802 '''int QTouchEvent.TouchPoint.InfoFlags.__int__()''' 1803 return int() 1804 def __ixor__(self, f): 1805 '''QTouchEvent.TouchPoint.InfoFlags QTouchEvent.TouchPoint.InfoFlags.__ixor__(QTouchEvent.TouchPoint.InfoFlags f)''' 1806 return QTouchEvent.TouchPoint.InfoFlags() 1807 def __ior__(self, f): 1808 '''QTouchEvent.TouchPoint.InfoFlags QTouchEvent.TouchPoint.InfoFlags.__ior__(QTouchEvent.TouchPoint.InfoFlags f)''' 1809 return QTouchEvent.TouchPoint.InfoFlags() 1810 def __iand__(self, mask): 1811 '''QTouchEvent.TouchPoint.InfoFlags QTouchEvent.TouchPoint.InfoFlags.__iand__(int mask)''' 1812 return QTouchEvent.TouchPoint.InfoFlags() 1813 1814 1815 class QExposeEvent(QEvent): 1816 """""" 1817 def __init__(self, rgn): 1818 '''void QExposeEvent.__init__(QRegion rgn)''' 1819 def __init__(self): 1820 '''QExposeEvent QExposeEvent.__init__()''' 1821 return QExposeEvent() 1822 def region(self): 1823 '''QRegion QExposeEvent.region()''' 1824 return QRegion() 1825 1826 1827 class QScrollPrepareEvent(QEvent): 1828 """""" 1829 def __init__(self, startPos): 1830 '''void QScrollPrepareEvent.__init__(QPointF startPos)''' 1831 def __init__(self): 1832 '''QScrollPrepareEvent QScrollPrepareEvent.__init__()''' 1833 return QScrollPrepareEvent() 1834 def setContentPos(self, pos): 1835 '''void QScrollPrepareEvent.setContentPos(QPointF pos)''' 1836 def setContentPosRange(self, rect): 1837 '''void QScrollPrepareEvent.setContentPosRange(QRectF rect)''' 1838 def setViewportSize(self, size): 1839 '''void QScrollPrepareEvent.setViewportSize(QSizeF size)''' 1840 def contentPos(self): 1841 '''QPointF QScrollPrepareEvent.contentPos()''' 1842 return QPointF() 1843 def contentPosRange(self): 1844 '''QRectF QScrollPrepareEvent.contentPosRange()''' 1845 return QRectF() 1846 def viewportSize(self): 1847 '''QSizeF QScrollPrepareEvent.viewportSize()''' 1848 return QSizeF() 1849 def startPos(self): 1850 '''QPointF QScrollPrepareEvent.startPos()''' 1851 return QPointF() 1852 1853 1854 class QScrollEvent(QEvent): 1855 """""" 1856 # Enum QScrollEvent.ScrollState 1857 ScrollStarted = 0 1858 ScrollUpdated = 0 1859 ScrollFinished = 0 1860 1861 def __init__(self, contentPos, overshoot, scrollState): 1862 '''void QScrollEvent.__init__(QPointF contentPos, QPointF overshoot, QScrollEvent.ScrollState scrollState)''' 1863 def __init__(self): 1864 '''QScrollEvent QScrollEvent.__init__()''' 1865 return QScrollEvent() 1866 def scrollState(self): 1867 '''QScrollEvent.ScrollState QScrollEvent.scrollState()''' 1868 return QScrollEvent.ScrollState() 1869 def overshootDistance(self): 1870 '''QPointF QScrollEvent.overshootDistance()''' 1871 return QPointF() 1872 def contentPos(self): 1873 '''QPointF QScrollEvent.contentPos()''' 1874 return QPointF() 1875 1876 1877 class QEnterEvent(QEvent): 1878 """""" 1879 def __init__(self, localPos, windowPos, screenPos): 1880 '''void QEnterEvent.__init__(QPointF localPos, QPointF windowPos, QPointF screenPos)''' 1881 def __init__(self): 1882 '''QEnterEvent QEnterEvent.__init__()''' 1883 return QEnterEvent() 1884 def screenPos(self): 1885 '''QPointF QEnterEvent.screenPos()''' 1886 return QPointF() 1887 def windowPos(self): 1888 '''QPointF QEnterEvent.windowPos()''' 1889 return QPointF() 1890 def localPos(self): 1891 '''QPointF QEnterEvent.localPos()''' 1892 return QPointF() 1893 def globalY(self): 1894 '''int QEnterEvent.globalY()''' 1895 return int() 1896 def globalX(self): 1897 '''int QEnterEvent.globalX()''' 1898 return int() 1899 def y(self): 1900 '''int QEnterEvent.y()''' 1901 return int() 1902 def x(self): 1903 '''int QEnterEvent.x()''' 1904 return int() 1905 def globalPos(self): 1906 '''QPoint QEnterEvent.globalPos()''' 1907 return QPoint() 1908 def pos(self): 1909 '''QPoint QEnterEvent.pos()''' 1910 return QPoint() 1911 1912 1913 class QNativeGestureEvent(QInputEvent): 1914 """""" 1915 def __init__(self, type, localPos, windowPos, screenPos, value, sequenceId, intArgument): 1916 '''void QNativeGestureEvent.__init__(Qt.NativeGestureType type, QPointF localPos, QPointF windowPos, QPointF screenPos, float value, int sequenceId, int intArgument)''' 1917 def __init__(self): 1918 '''QNativeGestureEvent QNativeGestureEvent.__init__()''' 1919 return QNativeGestureEvent() 1920 def screenPos(self): 1921 '''QPointF QNativeGestureEvent.screenPos()''' 1922 return QPointF() 1923 def windowPos(self): 1924 '''QPointF QNativeGestureEvent.windowPos()''' 1925 return QPointF() 1926 def localPos(self): 1927 '''QPointF QNativeGestureEvent.localPos()''' 1928 return QPointF() 1929 def globalPos(self): 1930 '''QPoint QNativeGestureEvent.globalPos()''' 1931 return QPoint() 1932 def pos(self): 1933 '''QPoint QNativeGestureEvent.pos()''' 1934 return QPoint() 1935 def value(self): 1936 '''float QNativeGestureEvent.value()''' 1937 return float() 1938 def gestureType(self): 1939 '''Qt.NativeGestureType QNativeGestureEvent.gestureType()''' 1940 return Qt.NativeGestureType() 1941 1942 1943 class QPlatformSurfaceEvent(QEvent): 1944 """""" 1945 # Enum QPlatformSurfaceEvent.SurfaceEventType 1946 SurfaceCreated = 0 1947 SurfaceAboutToBeDestroyed = 0 1948 1949 def __init__(self, surfaceEventType): 1950 '''void QPlatformSurfaceEvent.__init__(QPlatformSurfaceEvent.SurfaceEventType surfaceEventType)''' 1951 def __init__(self): 1952 '''QPlatformSurfaceEvent QPlatformSurfaceEvent.__init__()''' 1953 return QPlatformSurfaceEvent() 1954 def surfaceEventType(self): 1955 '''QPlatformSurfaceEvent.SurfaceEventType QPlatformSurfaceEvent.surfaceEventType()''' 1956 return QPlatformSurfaceEvent.SurfaceEventType() 1957 1958 1959 class QFont(): 1960 """""" 1961 # Enum QFont.HintingPreference 1962 PreferDefaultHinting = 0 1963 PreferNoHinting = 0 1964 PreferVerticalHinting = 0 1965 PreferFullHinting = 0 1966 1967 # Enum QFont.SpacingType 1968 PercentageSpacing = 0 1969 AbsoluteSpacing = 0 1970 1971 # Enum QFont.Capitalization 1972 MixedCase = 0 1973 AllUppercase = 0 1974 AllLowercase = 0 1975 SmallCaps = 0 1976 Capitalize = 0 1977 1978 # Enum QFont.Stretch 1979 UltraCondensed = 0 1980 ExtraCondensed = 0 1981 Condensed = 0 1982 SemiCondensed = 0 1983 Unstretched = 0 1984 SemiExpanded = 0 1985 Expanded = 0 1986 ExtraExpanded = 0 1987 UltraExpanded = 0 1988 1989 # Enum QFont.Style 1990 StyleNormal = 0 1991 StyleItalic = 0 1992 StyleOblique = 0 1993 1994 # Enum QFont.Weight 1995 Thin = 0 1996 ExtraLight = 0 1997 Light = 0 1998 Normal = 0 1999 Medium = 0 2000 DemiBold = 0 2001 Bold = 0 2002 ExtraBold = 0 2003 Black = 0 2004 2005 # Enum QFont.StyleStrategy 2006 PreferDefault = 0 2007 PreferBitmap = 0 2008 PreferDevice = 0 2009 PreferOutline = 0 2010 ForceOutline = 0 2011 PreferMatch = 0 2012 PreferQuality = 0 2013 PreferAntialias = 0 2014 NoAntialias = 0 2015 NoSubpixelAntialias = 0 2016 OpenGLCompatible = 0 2017 NoFontMerging = 0 2018 ForceIntegerMetrics = 0 2019 2020 # Enum QFont.StyleHint 2021 Helvetica = 0 2022 SansSerif = 0 2023 Times = 0 2024 Serif = 0 2025 Courier = 0 2026 TypeWriter = 0 2027 OldEnglish = 0 2028 Decorative = 0 2029 System = 0 2030 AnyStyle = 0 2031 Cursive = 0 2032 Monospace = 0 2033 Fantasy = 0 2034 2035 def __init__(self): 2036 '''void QFont.__init__()''' 2037 def __init__(self, family, pointSize = None, weight = None, italic = False): 2038 '''void QFont.__init__(str family, int pointSize = -1, int weight = -1, bool italic = False)''' 2039 def __init__(self, pd): 2040 '''QFont QFont.__init__(QPaintDevice pd)''' 2041 return QFont() 2042 def __init__(self): 2043 '''QFont QFont.__init__()''' 2044 return QFont() 2045 def __init__(self, variant): 2046 '''void QFont.__init__(QVariant variant)''' 2047 def __ge__(self): 2048 '''QFont QFont.__ge__()''' 2049 return QFont() 2050 def __hash__(self): 2051 '''int QFont.__hash__()''' 2052 return int() 2053 def swap(self, other): 2054 '''void QFont.swap(QFont other)''' 2055 def hintingPreference(self): 2056 '''QFont.HintingPreference QFont.hintingPreference()''' 2057 return QFont.HintingPreference() 2058 def setHintingPreference(self, hintingPreference): 2059 '''void QFont.setHintingPreference(QFont.HintingPreference hintingPreference)''' 2060 def setStyleName(self, styleName): 2061 '''void QFont.setStyleName(str styleName)''' 2062 def styleName(self): 2063 '''str QFont.styleName()''' 2064 return str() 2065 def capitalization(self): 2066 '''QFont.Capitalization QFont.capitalization()''' 2067 return QFont.Capitalization() 2068 def setCapitalization(self): 2069 '''QFont.Capitalization QFont.setCapitalization()''' 2070 return QFont.Capitalization() 2071 def setWordSpacing(self, spacing): 2072 '''void QFont.setWordSpacing(float spacing)''' 2073 def wordSpacing(self): 2074 '''float QFont.wordSpacing()''' 2075 return float() 2076 def setLetterSpacing(self, type, spacing): 2077 '''void QFont.setLetterSpacing(QFont.SpacingType type, float spacing)''' 2078 def letterSpacingType(self): 2079 '''QFont.SpacingType QFont.letterSpacingType()''' 2080 return QFont.SpacingType() 2081 def letterSpacing(self): 2082 '''float QFont.letterSpacing()''' 2083 return float() 2084 def setItalic(self, b): 2085 '''void QFont.setItalic(bool b)''' 2086 def italic(self): 2087 '''bool QFont.italic()''' 2088 return bool() 2089 def setBold(self, enable): 2090 '''void QFont.setBold(bool enable)''' 2091 def bold(self): 2092 '''bool QFont.bold()''' 2093 return bool() 2094 def resolve(self): 2095 '''QFont QFont.resolve()''' 2096 return QFont() 2097 def lastResortFont(self): 2098 '''str QFont.lastResortFont()''' 2099 return str() 2100 def lastResortFamily(self): 2101 '''str QFont.lastResortFamily()''' 2102 return str() 2103 def defaultFamily(self): 2104 '''str QFont.defaultFamily()''' 2105 return str() 2106 def cacheStatistics(self): 2107 '''static void QFont.cacheStatistics()''' 2108 def cleanup(self): 2109 '''static void QFont.cleanup()''' 2110 def initialize(self): 2111 '''static void QFont.initialize()''' 2112 def removeSubstitutions(self): 2113 '''static str QFont.removeSubstitutions()''' 2114 return str() 2115 def insertSubstitutions(self): 2116 '''static list-of-str QFont.insertSubstitutions()''' 2117 return [str()] 2118 def insertSubstitution(self): 2119 '''static str QFont.insertSubstitution()''' 2120 return str() 2121 def substitutions(self): 2122 '''static list-of-str QFont.substitutions()''' 2123 return [str()] 2124 def substitutes(self): 2125 '''static str QFont.substitutes()''' 2126 return str() 2127 def substitute(self): 2128 '''static str QFont.substitute()''' 2129 return str() 2130 def fromString(self): 2131 '''str QFont.fromString()''' 2132 return str() 2133 def toString(self): 2134 '''str QFont.toString()''' 2135 return str() 2136 def key(self): 2137 '''str QFont.key()''' 2138 return str() 2139 def rawName(self): 2140 '''str QFont.rawName()''' 2141 return str() 2142 def setRawName(self): 2143 '''str QFont.setRawName()''' 2144 return str() 2145 def isCopyOf(self): 2146 '''QFont QFont.isCopyOf()''' 2147 return QFont() 2148 def __lt__(self): 2149 '''QFont QFont.__lt__()''' 2150 return QFont() 2151 def __ne__(self): 2152 '''QFont QFont.__ne__()''' 2153 return QFont() 2154 def __eq__(self): 2155 '''QFont QFont.__eq__()''' 2156 return QFont() 2157 def exactMatch(self): 2158 '''bool QFont.exactMatch()''' 2159 return bool() 2160 def setRawMode(self): 2161 '''bool QFont.setRawMode()''' 2162 return bool() 2163 def rawMode(self): 2164 '''bool QFont.rawMode()''' 2165 return bool() 2166 def setStretch(self): 2167 '''int QFont.setStretch()''' 2168 return int() 2169 def stretch(self): 2170 '''int QFont.stretch()''' 2171 return int() 2172 def setStyleStrategy(self, s): 2173 '''void QFont.setStyleStrategy(QFont.StyleStrategy s)''' 2174 def setStyleHint(self, hint, strategy = None): 2175 '''void QFont.setStyleHint(QFont.StyleHint hint, QFont.StyleStrategy strategy = QFont.PreferDefault)''' 2176 def styleStrategy(self): 2177 '''QFont.StyleStrategy QFont.styleStrategy()''' 2178 return QFont.StyleStrategy() 2179 def styleHint(self): 2180 '''QFont.StyleHint QFont.styleHint()''' 2181 return QFont.StyleHint() 2182 def setKerning(self): 2183 '''bool QFont.setKerning()''' 2184 return bool() 2185 def kerning(self): 2186 '''bool QFont.kerning()''' 2187 return bool() 2188 def setFixedPitch(self): 2189 '''bool QFont.setFixedPitch()''' 2190 return bool() 2191 def fixedPitch(self): 2192 '''bool QFont.fixedPitch()''' 2193 return bool() 2194 def setStrikeOut(self): 2195 '''bool QFont.setStrikeOut()''' 2196 return bool() 2197 def strikeOut(self): 2198 '''bool QFont.strikeOut()''' 2199 return bool() 2200 def setOverline(self): 2201 '''bool QFont.setOverline()''' 2202 return bool() 2203 def overline(self): 2204 '''bool QFont.overline()''' 2205 return bool() 2206 def setUnderline(self): 2207 '''bool QFont.setUnderline()''' 2208 return bool() 2209 def underline(self): 2210 '''bool QFont.underline()''' 2211 return bool() 2212 def style(self): 2213 '''QFont.Style QFont.style()''' 2214 return QFont.Style() 2215 def setStyle(self, style): 2216 '''void QFont.setStyle(QFont.Style style)''' 2217 def setWeight(self): 2218 '''int QFont.setWeight()''' 2219 return int() 2220 def weight(self): 2221 '''int QFont.weight()''' 2222 return int() 2223 def setPixelSize(self): 2224 '''int QFont.setPixelSize()''' 2225 return int() 2226 def pixelSize(self): 2227 '''int QFont.pixelSize()''' 2228 return int() 2229 def setPointSizeF(self): 2230 '''float QFont.setPointSizeF()''' 2231 return float() 2232 def pointSizeF(self): 2233 '''float QFont.pointSizeF()''' 2234 return float() 2235 def setPointSize(self): 2236 '''int QFont.setPointSize()''' 2237 return int() 2238 def pointSize(self): 2239 '''int QFont.pointSize()''' 2240 return int() 2241 def setFamily(self): 2242 '''str QFont.setFamily()''' 2243 return str() 2244 def family(self): 2245 '''str QFont.family()''' 2246 return str() 2247 2248 2249 class QFontDatabase(): 2250 """""" 2251 # Enum QFontDatabase.SystemFont 2252 GeneralFont = 0 2253 FixedFont = 0 2254 TitleFont = 0 2255 SmallestReadableFont = 0 2256 2257 # Enum QFontDatabase.WritingSystem 2258 Any = 0 2259 Latin = 0 2260 Greek = 0 2261 Cyrillic = 0 2262 Armenian = 0 2263 Hebrew = 0 2264 Arabic = 0 2265 Syriac = 0 2266 Thaana = 0 2267 Devanagari = 0 2268 Bengali = 0 2269 Gurmukhi = 0 2270 Gujarati = 0 2271 Oriya = 0 2272 Tamil = 0 2273 Telugu = 0 2274 Kannada = 0 2275 Malayalam = 0 2276 Sinhala = 0 2277 Thai = 0 2278 Lao = 0 2279 Tibetan = 0 2280 Myanmar = 0 2281 Georgian = 0 2282 Khmer = 0 2283 SimplifiedChinese = 0 2284 TraditionalChinese = 0 2285 Japanese = 0 2286 Korean = 0 2287 Vietnamese = 0 2288 Other = 0 2289 Symbol = 0 2290 Ogham = 0 2291 Runic = 0 2292 Nko = 0 2293 2294 def __init__(self): 2295 '''void QFontDatabase.__init__()''' 2296 def __init__(self): 2297 '''QFontDatabase QFontDatabase.__init__()''' 2298 return QFontDatabase() 2299 def isPrivateFamily(self, family): 2300 '''bool QFontDatabase.isPrivateFamily(str family)''' 2301 return bool() 2302 def systemFont(self, type): 2303 '''static QFont QFontDatabase.systemFont(QFontDatabase.SystemFont type)''' 2304 return QFont() 2305 def supportsThreadedFontRendering(self): 2306 '''static bool QFontDatabase.supportsThreadedFontRendering()''' 2307 return bool() 2308 def removeAllApplicationFonts(self): 2309 '''static bool QFontDatabase.removeAllApplicationFonts()''' 2310 return bool() 2311 def removeApplicationFont(self, id): 2312 '''static bool QFontDatabase.removeApplicationFont(int id)''' 2313 return bool() 2314 def applicationFontFamilies(self, id): 2315 '''static list-of-str QFontDatabase.applicationFontFamilies(int id)''' 2316 return [str()] 2317 def addApplicationFontFromData(self, fontData): 2318 '''static int QFontDatabase.addApplicationFontFromData(QByteArray fontData)''' 2319 return int() 2320 def addApplicationFont(self, fileName): 2321 '''static int QFontDatabase.addApplicationFont(str fileName)''' 2322 return int() 2323 def writingSystemSample(self, writingSystem): 2324 '''static str QFontDatabase.writingSystemSample(QFontDatabase.WritingSystem writingSystem)''' 2325 return str() 2326 def writingSystemName(self, writingSystem): 2327 '''static str QFontDatabase.writingSystemName(QFontDatabase.WritingSystem writingSystem)''' 2328 return str() 2329 def weight(self, family, style): 2330 '''int QFontDatabase.weight(str family, str style)''' 2331 return int() 2332 def bold(self, family, style): 2333 '''bool QFontDatabase.bold(str family, str style)''' 2334 return bool() 2335 def italic(self, family, style): 2336 '''bool QFontDatabase.italic(str family, str style)''' 2337 return bool() 2338 def isFixedPitch(self, family, style = None): 2339 '''bool QFontDatabase.isFixedPitch(str family, str style = '')''' 2340 return bool() 2341 def isScalable(self, family, style = None): 2342 '''bool QFontDatabase.isScalable(str family, str style = '')''' 2343 return bool() 2344 def isSmoothlyScalable(self, family, style = None): 2345 '''bool QFontDatabase.isSmoothlyScalable(str family, str style = '')''' 2346 return bool() 2347 def isBitmapScalable(self, family, style = None): 2348 '''bool QFontDatabase.isBitmapScalable(str family, str style = '')''' 2349 return bool() 2350 def font(self, family, style, pointSize): 2351 '''QFont QFontDatabase.font(str family, str style, int pointSize)''' 2352 return QFont() 2353 def styleString(self, font): 2354 '''str QFontDatabase.styleString(QFont font)''' 2355 return str() 2356 def styleString(self, fontInfo): 2357 '''str QFontDatabase.styleString(QFontInfo fontInfo)''' 2358 return str() 2359 def smoothSizes(self, family, style): 2360 '''list-of-int QFontDatabase.smoothSizes(str family, str style)''' 2361 return [int()] 2362 def pointSizes(self, family, style = None): 2363 '''list-of-int QFontDatabase.pointSizes(str family, str style = '')''' 2364 return [int()] 2365 def styles(self, family): 2366 '''list-of-str QFontDatabase.styles(str family)''' 2367 return [str()] 2368 def families(self, writingSystem = None): 2369 '''list-of-str QFontDatabase.families(QFontDatabase.WritingSystem writingSystem = QFontDatabase.Any)''' 2370 return [str()] 2371 def writingSystems(self): 2372 '''list-of-QFontDatabase.WritingSystem QFontDatabase.writingSystems()''' 2373 return [QFontDatabase.WritingSystem()] 2374 def writingSystems(self, family): 2375 '''list-of-QFontDatabase.WritingSystem QFontDatabase.writingSystems(str family)''' 2376 return [QFontDatabase.WritingSystem()] 2377 def standardSizes(self): 2378 '''static list-of-int QFontDatabase.standardSizes()''' 2379 return [int()] 2380 2381 2382 class QFontInfo(): 2383 """""" 2384 def __init__(self): 2385 '''QFont QFontInfo.__init__()''' 2386 return QFont() 2387 def __init__(self): 2388 '''QFontInfo QFontInfo.__init__()''' 2389 return QFontInfo() 2390 def swap(self, other): 2391 '''void QFontInfo.swap(QFontInfo other)''' 2392 def styleName(self): 2393 '''str QFontInfo.styleName()''' 2394 return str() 2395 def exactMatch(self): 2396 '''bool QFontInfo.exactMatch()''' 2397 return bool() 2398 def rawMode(self): 2399 '''bool QFontInfo.rawMode()''' 2400 return bool() 2401 def styleHint(self): 2402 '''QFont.StyleHint QFontInfo.styleHint()''' 2403 return QFont.StyleHint() 2404 def fixedPitch(self): 2405 '''bool QFontInfo.fixedPitch()''' 2406 return bool() 2407 def bold(self): 2408 '''bool QFontInfo.bold()''' 2409 return bool() 2410 def weight(self): 2411 '''int QFontInfo.weight()''' 2412 return int() 2413 def style(self): 2414 '''QFont.Style QFontInfo.style()''' 2415 return QFont.Style() 2416 def italic(self): 2417 '''bool QFontInfo.italic()''' 2418 return bool() 2419 def pointSizeF(self): 2420 '''float QFontInfo.pointSizeF()''' 2421 return float() 2422 def pointSize(self): 2423 '''int QFontInfo.pointSize()''' 2424 return int() 2425 def pixelSize(self): 2426 '''int QFontInfo.pixelSize()''' 2427 return int() 2428 def family(self): 2429 '''str QFontInfo.family()''' 2430 return str() 2431 2432 2433 class QFontMetrics(): 2434 """""" 2435 def __init__(self): 2436 '''QFont QFontMetrics.__init__()''' 2437 return QFont() 2438 def __init__(self, pd): 2439 '''QFont QFontMetrics.__init__(QPaintDevice pd)''' 2440 return QFont() 2441 def __init__(self): 2442 '''QFontMetrics QFontMetrics.__init__()''' 2443 return QFontMetrics() 2444 def swap(self, other): 2445 '''void QFontMetrics.swap(QFontMetrics other)''' 2446 def inFontUcs4(self, character): 2447 '''bool QFontMetrics.inFontUcs4(int character)''' 2448 return bool() 2449 def tightBoundingRect(self, text): 2450 '''QRect QFontMetrics.tightBoundingRect(str text)''' 2451 return QRect() 2452 def __ne__(self, other): 2453 '''bool QFontMetrics.__ne__(QFontMetrics other)''' 2454 return bool() 2455 def __eq__(self, other): 2456 '''bool QFontMetrics.__eq__(QFontMetrics other)''' 2457 return bool() 2458 def elidedText(self, text, mode, width, flags = 0): 2459 '''str QFontMetrics.elidedText(str text, Qt.TextElideMode mode, int width, int flags = 0)''' 2460 return str() 2461 def averageCharWidth(self): 2462 '''int QFontMetrics.averageCharWidth()''' 2463 return int() 2464 def lineWidth(self): 2465 '''int QFontMetrics.lineWidth()''' 2466 return int() 2467 def strikeOutPos(self): 2468 '''int QFontMetrics.strikeOutPos()''' 2469 return int() 2470 def overlinePos(self): 2471 '''int QFontMetrics.overlinePos()''' 2472 return int() 2473 def underlinePos(self): 2474 '''int QFontMetrics.underlinePos()''' 2475 return int() 2476 def size(self, flags, text, tabStops = 0, tabArray = 0): 2477 '''QSize QFontMetrics.size(int flags, str text, int tabStops = 0, list-of-int tabArray = 0)''' 2478 return QSize() 2479 def boundingRect(self, text): 2480 '''QRect QFontMetrics.boundingRect(str text)''' 2481 return QRect() 2482 def boundingRect(self, rect, flags, text, tabStops = 0, tabArray = 0): 2483 '''QRect QFontMetrics.boundingRect(QRect rect, int flags, str text, int tabStops = 0, list-of-int tabArray = 0)''' 2484 return QRect() 2485 def boundingRect(self, x, y, width, height, flags, text, tabStops = 0, tabArray = 0): 2486 '''QRect QFontMetrics.boundingRect(int x, int y, int width, int height, int flags, str text, int tabStops = 0, list-of-int tabArray = 0)''' 2487 return QRect() 2488 def boundingRectChar(self): 2489 '''str QFontMetrics.boundingRectChar()''' 2490 return str() 2491 def width(self, text, length = None): 2492 '''int QFontMetrics.width(str text, int length = -1)''' 2493 return int() 2494 def widthChar(self): 2495 '''str QFontMetrics.widthChar()''' 2496 return str() 2497 def rightBearing(self): 2498 '''str QFontMetrics.rightBearing()''' 2499 return str() 2500 def leftBearing(self): 2501 '''str QFontMetrics.leftBearing()''' 2502 return str() 2503 def inFont(self): 2504 '''str QFontMetrics.inFont()''' 2505 return str() 2506 def xHeight(self): 2507 '''int QFontMetrics.xHeight()''' 2508 return int() 2509 def maxWidth(self): 2510 '''int QFontMetrics.maxWidth()''' 2511 return int() 2512 def minRightBearing(self): 2513 '''int QFontMetrics.minRightBearing()''' 2514 return int() 2515 def minLeftBearing(self): 2516 '''int QFontMetrics.minLeftBearing()''' 2517 return int() 2518 def lineSpacing(self): 2519 '''int QFontMetrics.lineSpacing()''' 2520 return int() 2521 def leading(self): 2522 '''int QFontMetrics.leading()''' 2523 return int() 2524 def height(self): 2525 '''int QFontMetrics.height()''' 2526 return int() 2527 def descent(self): 2528 '''int QFontMetrics.descent()''' 2529 return int() 2530 def ascent(self): 2531 '''int QFontMetrics.ascent()''' 2532 return int() 2533 2534 2535 class QFontMetricsF(): 2536 """""" 2537 def __init__(self): 2538 '''QFont QFontMetricsF.__init__()''' 2539 return QFont() 2540 def __init__(self, pd): 2541 '''QFont QFontMetricsF.__init__(QPaintDevice pd)''' 2542 return QFont() 2543 def __init__(self): 2544 '''QFontMetrics QFontMetricsF.__init__()''' 2545 return QFontMetrics() 2546 def __init__(self): 2547 '''QFontMetricsF QFontMetricsF.__init__()''' 2548 return QFontMetricsF() 2549 def swap(self, other): 2550 '''void QFontMetricsF.swap(QFontMetricsF other)''' 2551 def inFontUcs4(self, character): 2552 '''bool QFontMetricsF.inFontUcs4(int character)''' 2553 return bool() 2554 def tightBoundingRect(self, text): 2555 '''QRectF QFontMetricsF.tightBoundingRect(str text)''' 2556 return QRectF() 2557 def __ne__(self, other): 2558 '''bool QFontMetricsF.__ne__(QFontMetricsF other)''' 2559 return bool() 2560 def __eq__(self, other): 2561 '''bool QFontMetricsF.__eq__(QFontMetricsF other)''' 2562 return bool() 2563 def elidedText(self, text, mode, width, flags = 0): 2564 '''str QFontMetricsF.elidedText(str text, Qt.TextElideMode mode, float width, int flags = 0)''' 2565 return str() 2566 def averageCharWidth(self): 2567 '''float QFontMetricsF.averageCharWidth()''' 2568 return float() 2569 def lineWidth(self): 2570 '''float QFontMetricsF.lineWidth()''' 2571 return float() 2572 def strikeOutPos(self): 2573 '''float QFontMetricsF.strikeOutPos()''' 2574 return float() 2575 def overlinePos(self): 2576 '''float QFontMetricsF.overlinePos()''' 2577 return float() 2578 def underlinePos(self): 2579 '''float QFontMetricsF.underlinePos()''' 2580 return float() 2581 def size(self, flags, text, tabStops = 0, tabArray = 0): 2582 '''QSizeF QFontMetricsF.size(int flags, str text, int tabStops = 0, list-of-int tabArray = 0)''' 2583 return QSizeF() 2584 def boundingRect(self, string): 2585 '''QRectF QFontMetricsF.boundingRect(str string)''' 2586 return QRectF() 2587 def boundingRect(self, rect, flags, text, tabStops = 0, tabArray = 0): 2588 '''QRectF QFontMetricsF.boundingRect(QRectF rect, int flags, str text, int tabStops = 0, list-of-int tabArray = 0)''' 2589 return QRectF() 2590 def boundingRectChar(self): 2591 '''str QFontMetricsF.boundingRectChar()''' 2592 return str() 2593 def width(self, string): 2594 '''float QFontMetricsF.width(str string)''' 2595 return float() 2596 def widthChar(self): 2597 '''str QFontMetricsF.widthChar()''' 2598 return str() 2599 def rightBearing(self): 2600 '''str QFontMetricsF.rightBearing()''' 2601 return str() 2602 def leftBearing(self): 2603 '''str QFontMetricsF.leftBearing()''' 2604 return str() 2605 def inFont(self): 2606 '''str QFontMetricsF.inFont()''' 2607 return str() 2608 def xHeight(self): 2609 '''float QFontMetricsF.xHeight()''' 2610 return float() 2611 def maxWidth(self): 2612 '''float QFontMetricsF.maxWidth()''' 2613 return float() 2614 def minRightBearing(self): 2615 '''float QFontMetricsF.minRightBearing()''' 2616 return float() 2617 def minLeftBearing(self): 2618 '''float QFontMetricsF.minLeftBearing()''' 2619 return float() 2620 def lineSpacing(self): 2621 '''float QFontMetricsF.lineSpacing()''' 2622 return float() 2623 def leading(self): 2624 '''float QFontMetricsF.leading()''' 2625 return float() 2626 def height(self): 2627 '''float QFontMetricsF.height()''' 2628 return float() 2629 def descent(self): 2630 '''float QFontMetricsF.descent()''' 2631 return float() 2632 def ascent(self): 2633 '''float QFontMetricsF.ascent()''' 2634 return float() 2635 2636 2637 class QMatrix4x3(): 2638 """""" 2639 def __init__(self): 2640 '''void QMatrix4x3.__init__()''' 2641 def __init__(self, other): 2642 '''void QMatrix4x3.__init__(QMatrix4x3 other)''' 2643 def __init__(self, values): 2644 '''void QMatrix4x3.__init__(sequence-of-float values)''' 2645 def __ne__(self): 2646 '''QMatrix4x3 QMatrix4x3.__ne__()''' 2647 return QMatrix4x3() 2648 def __eq__(self): 2649 '''QMatrix4x3 QMatrix4x3.__eq__()''' 2650 return QMatrix4x3() 2651 def __idiv__(self): 2652 '''float QMatrix4x3.__idiv__()''' 2653 return float() 2654 def __imul__(self): 2655 '''float QMatrix4x3.__imul__()''' 2656 return float() 2657 def __isub__(self): 2658 '''QMatrix4x3 QMatrix4x3.__isub__()''' 2659 return QMatrix4x3() 2660 def __iadd__(self): 2661 '''QMatrix4x3 QMatrix4x3.__iadd__()''' 2662 return QMatrix4x3() 2663 def transposed(self): 2664 '''QMatrix3x4 QMatrix4x3.transposed()''' 2665 return QMatrix3x4() 2666 def fill(self, value): 2667 '''void QMatrix4x3.fill(float value)''' 2668 def setToIdentity(self): 2669 '''void QMatrix4x3.setToIdentity()''' 2670 def isIdentity(self): 2671 '''bool QMatrix4x3.isIdentity()''' 2672 return bool() 2673 def __setitem__(self): 2674 '''float QMatrix4x3.__setitem__()''' 2675 return float() 2676 def __getitem__(self): 2677 '''object QMatrix4x3.__getitem__()''' 2678 return object() 2679 def copyDataTo(self): 2680 '''list-of-float QMatrix4x3.copyDataTo()''' 2681 return [float()] 2682 def data(self): 2683 '''list-of-float QMatrix4x3.data()''' 2684 return [float()] 2685 def __repr__(self): 2686 '''str QMatrix4x3.__repr__()''' 2687 return str() 2688 2689 2690 class QMatrix4x2(): 2691 """""" 2692 def __init__(self): 2693 '''void QMatrix4x2.__init__()''' 2694 def __init__(self, other): 2695 '''void QMatrix4x2.__init__(QMatrix4x2 other)''' 2696 def __init__(self, values): 2697 '''void QMatrix4x2.__init__(sequence-of-float values)''' 2698 def __ne__(self): 2699 '''QMatrix4x2 QMatrix4x2.__ne__()''' 2700 return QMatrix4x2() 2701 def __eq__(self): 2702 '''QMatrix4x2 QMatrix4x2.__eq__()''' 2703 return QMatrix4x2() 2704 def __idiv__(self): 2705 '''float QMatrix4x2.__idiv__()''' 2706 return float() 2707 def __imul__(self): 2708 '''float QMatrix4x2.__imul__()''' 2709 return float() 2710 def __isub__(self): 2711 '''QMatrix4x2 QMatrix4x2.__isub__()''' 2712 return QMatrix4x2() 2713 def __iadd__(self): 2714 '''QMatrix4x2 QMatrix4x2.__iadd__()''' 2715 return QMatrix4x2() 2716 def transposed(self): 2717 '''QMatrix2x4 QMatrix4x2.transposed()''' 2718 return QMatrix2x4() 2719 def fill(self, value): 2720 '''void QMatrix4x2.fill(float value)''' 2721 def setToIdentity(self): 2722 '''void QMatrix4x2.setToIdentity()''' 2723 def isIdentity(self): 2724 '''bool QMatrix4x2.isIdentity()''' 2725 return bool() 2726 def __setitem__(self): 2727 '''float QMatrix4x2.__setitem__()''' 2728 return float() 2729 def __getitem__(self): 2730 '''object QMatrix4x2.__getitem__()''' 2731 return object() 2732 def copyDataTo(self): 2733 '''list-of-float QMatrix4x2.copyDataTo()''' 2734 return [float()] 2735 def data(self): 2736 '''list-of-float QMatrix4x2.data()''' 2737 return [float()] 2738 def __repr__(self): 2739 '''str QMatrix4x2.__repr__()''' 2740 return str() 2741 2742 2743 class QMatrix3x4(): 2744 """""" 2745 def __init__(self): 2746 '''void QMatrix3x4.__init__()''' 2747 def __init__(self, other): 2748 '''void QMatrix3x4.__init__(QMatrix3x4 other)''' 2749 def __init__(self, values): 2750 '''void QMatrix3x4.__init__(sequence-of-float values)''' 2751 def __ne__(self): 2752 '''QMatrix3x4 QMatrix3x4.__ne__()''' 2753 return QMatrix3x4() 2754 def __eq__(self): 2755 '''QMatrix3x4 QMatrix3x4.__eq__()''' 2756 return QMatrix3x4() 2757 def __idiv__(self): 2758 '''float QMatrix3x4.__idiv__()''' 2759 return float() 2760 def __imul__(self): 2761 '''float QMatrix3x4.__imul__()''' 2762 return float() 2763 def __isub__(self): 2764 '''QMatrix3x4 QMatrix3x4.__isub__()''' 2765 return QMatrix3x4() 2766 def __iadd__(self): 2767 '''QMatrix3x4 QMatrix3x4.__iadd__()''' 2768 return QMatrix3x4() 2769 def transposed(self): 2770 '''QMatrix4x3 QMatrix3x4.transposed()''' 2771 return QMatrix4x3() 2772 def fill(self, value): 2773 '''void QMatrix3x4.fill(float value)''' 2774 def setToIdentity(self): 2775 '''void QMatrix3x4.setToIdentity()''' 2776 def isIdentity(self): 2777 '''bool QMatrix3x4.isIdentity()''' 2778 return bool() 2779 def __setitem__(self): 2780 '''float QMatrix3x4.__setitem__()''' 2781 return float() 2782 def __getitem__(self): 2783 '''object QMatrix3x4.__getitem__()''' 2784 return object() 2785 def copyDataTo(self): 2786 '''list-of-float QMatrix3x4.copyDataTo()''' 2787 return [float()] 2788 def data(self): 2789 '''list-of-float QMatrix3x4.data()''' 2790 return [float()] 2791 def __repr__(self): 2792 '''str QMatrix3x4.__repr__()''' 2793 return str() 2794 2795 2796 class QMatrix3x3(): 2797 """""" 2798 def __init__(self): 2799 '''void QMatrix3x3.__init__()''' 2800 def __init__(self, other): 2801 '''void QMatrix3x3.__init__(QMatrix3x3 other)''' 2802 def __init__(self, values): 2803 '''void QMatrix3x3.__init__(sequence-of-float values)''' 2804 def __ne__(self): 2805 '''QMatrix3x3 QMatrix3x3.__ne__()''' 2806 return QMatrix3x3() 2807 def __eq__(self): 2808 '''QMatrix3x3 QMatrix3x3.__eq__()''' 2809 return QMatrix3x3() 2810 def __idiv__(self): 2811 '''float QMatrix3x3.__idiv__()''' 2812 return float() 2813 def __imul__(self): 2814 '''float QMatrix3x3.__imul__()''' 2815 return float() 2816 def __isub__(self): 2817 '''QMatrix3x3 QMatrix3x3.__isub__()''' 2818 return QMatrix3x3() 2819 def __iadd__(self): 2820 '''QMatrix3x3 QMatrix3x3.__iadd__()''' 2821 return QMatrix3x3() 2822 def transposed(self): 2823 '''QMatrix3x3 QMatrix3x3.transposed()''' 2824 return QMatrix3x3() 2825 def fill(self, value): 2826 '''void QMatrix3x3.fill(float value)''' 2827 def setToIdentity(self): 2828 '''void QMatrix3x3.setToIdentity()''' 2829 def isIdentity(self): 2830 '''bool QMatrix3x3.isIdentity()''' 2831 return bool() 2832 def __setitem__(self): 2833 '''float QMatrix3x3.__setitem__()''' 2834 return float() 2835 def __getitem__(self): 2836 '''object QMatrix3x3.__getitem__()''' 2837 return object() 2838 def copyDataTo(self): 2839 '''list-of-float QMatrix3x3.copyDataTo()''' 2840 return [float()] 2841 def data(self): 2842 '''list-of-float QMatrix3x3.data()''' 2843 return [float()] 2844 def __repr__(self): 2845 '''str QMatrix3x3.__repr__()''' 2846 return str() 2847 2848 2849 class QMatrix3x2(): 2850 """""" 2851 def __init__(self): 2852 '''void QMatrix3x2.__init__()''' 2853 def __init__(self, other): 2854 '''void QMatrix3x2.__init__(QMatrix3x2 other)''' 2855 def __init__(self, values): 2856 '''void QMatrix3x2.__init__(sequence-of-float values)''' 2857 def __ne__(self): 2858 '''QMatrix3x2 QMatrix3x2.__ne__()''' 2859 return QMatrix3x2() 2860 def __eq__(self): 2861 '''QMatrix3x2 QMatrix3x2.__eq__()''' 2862 return QMatrix3x2() 2863 def __idiv__(self): 2864 '''float QMatrix3x2.__idiv__()''' 2865 return float() 2866 def __imul__(self): 2867 '''float QMatrix3x2.__imul__()''' 2868 return float() 2869 def __isub__(self): 2870 '''QMatrix3x2 QMatrix3x2.__isub__()''' 2871 return QMatrix3x2() 2872 def __iadd__(self): 2873 '''QMatrix3x2 QMatrix3x2.__iadd__()''' 2874 return QMatrix3x2() 2875 def transposed(self): 2876 '''QMatrix2x3 QMatrix3x2.transposed()''' 2877 return QMatrix2x3() 2878 def fill(self, value): 2879 '''void QMatrix3x2.fill(float value)''' 2880 def setToIdentity(self): 2881 '''void QMatrix3x2.setToIdentity()''' 2882 def isIdentity(self): 2883 '''bool QMatrix3x2.isIdentity()''' 2884 return bool() 2885 def __setitem__(self): 2886 '''float QMatrix3x2.__setitem__()''' 2887 return float() 2888 def __getitem__(self): 2889 '''object QMatrix3x2.__getitem__()''' 2890 return object() 2891 def copyDataTo(self): 2892 '''list-of-float QMatrix3x2.copyDataTo()''' 2893 return [float()] 2894 def data(self): 2895 '''list-of-float QMatrix3x2.data()''' 2896 return [float()] 2897 def __repr__(self): 2898 '''str QMatrix3x2.__repr__()''' 2899 return str() 2900 2901 2902 class QMatrix2x4(): 2903 """""" 2904 def __init__(self): 2905 '''void QMatrix2x4.__init__()''' 2906 def __init__(self, other): 2907 '''void QMatrix2x4.__init__(QMatrix2x4 other)''' 2908 def __init__(self, values): 2909 '''void QMatrix2x4.__init__(sequence-of-float values)''' 2910 def __ne__(self): 2911 '''QMatrix2x4 QMatrix2x4.__ne__()''' 2912 return QMatrix2x4() 2913 def __eq__(self): 2914 '''QMatrix2x4 QMatrix2x4.__eq__()''' 2915 return QMatrix2x4() 2916 def __idiv__(self): 2917 '''float QMatrix2x4.__idiv__()''' 2918 return float() 2919 def __imul__(self): 2920 '''float QMatrix2x4.__imul__()''' 2921 return float() 2922 def __isub__(self): 2923 '''QMatrix2x4 QMatrix2x4.__isub__()''' 2924 return QMatrix2x4() 2925 def __iadd__(self): 2926 '''QMatrix2x4 QMatrix2x4.__iadd__()''' 2927 return QMatrix2x4() 2928 def transposed(self): 2929 '''QMatrix4x2 QMatrix2x4.transposed()''' 2930 return QMatrix4x2() 2931 def fill(self, value): 2932 '''void QMatrix2x4.fill(float value)''' 2933 def setToIdentity(self): 2934 '''void QMatrix2x4.setToIdentity()''' 2935 def isIdentity(self): 2936 '''bool QMatrix2x4.isIdentity()''' 2937 return bool() 2938 def __setitem__(self): 2939 '''float QMatrix2x4.__setitem__()''' 2940 return float() 2941 def __getitem__(self): 2942 '''object QMatrix2x4.__getitem__()''' 2943 return object() 2944 def copyDataTo(self): 2945 '''list-of-float QMatrix2x4.copyDataTo()''' 2946 return [float()] 2947 def data(self): 2948 '''list-of-float QMatrix2x4.data()''' 2949 return [float()] 2950 def __repr__(self): 2951 '''str QMatrix2x4.__repr__()''' 2952 return str() 2953 2954 2955 class QMatrix2x3(): 2956 """""" 2957 def __init__(self): 2958 '''void QMatrix2x3.__init__()''' 2959 def __init__(self, other): 2960 '''void QMatrix2x3.__init__(QMatrix2x3 other)''' 2961 def __init__(self, values): 2962 '''void QMatrix2x3.__init__(sequence-of-float values)''' 2963 def __ne__(self): 2964 '''QMatrix2x3 QMatrix2x3.__ne__()''' 2965 return QMatrix2x3() 2966 def __eq__(self): 2967 '''QMatrix2x3 QMatrix2x3.__eq__()''' 2968 return QMatrix2x3() 2969 def __idiv__(self): 2970 '''float QMatrix2x3.__idiv__()''' 2971 return float() 2972 def __imul__(self): 2973 '''float QMatrix2x3.__imul__()''' 2974 return float() 2975 def __isub__(self): 2976 '''QMatrix2x3 QMatrix2x3.__isub__()''' 2977 return QMatrix2x3() 2978 def __iadd__(self): 2979 '''QMatrix2x3 QMatrix2x3.__iadd__()''' 2980 return QMatrix2x3() 2981 def transposed(self): 2982 '''QMatrix3x2 QMatrix2x3.transposed()''' 2983 return QMatrix3x2() 2984 def fill(self, value): 2985 '''void QMatrix2x3.fill(float value)''' 2986 def setToIdentity(self): 2987 '''void QMatrix2x3.setToIdentity()''' 2988 def isIdentity(self): 2989 '''bool QMatrix2x3.isIdentity()''' 2990 return bool() 2991 def __setitem__(self): 2992 '''float QMatrix2x3.__setitem__()''' 2993 return float() 2994 def __getitem__(self): 2995 '''object QMatrix2x3.__getitem__()''' 2996 return object() 2997 def copyDataTo(self): 2998 '''list-of-float QMatrix2x3.copyDataTo()''' 2999 return [float()] 3000 def data(self): 3001 '''list-of-float QMatrix2x3.data()''' 3002 return [float()] 3003 def __repr__(self): 3004 '''str QMatrix2x3.__repr__()''' 3005 return str() 3006 3007 3008 class QMatrix2x2(): 3009 """""" 3010 def __init__(self): 3011 '''void QMatrix2x2.__init__()''' 3012 def __init__(self, other): 3013 '''void QMatrix2x2.__init__(QMatrix2x2 other)''' 3014 def __init__(self, values): 3015 '''void QMatrix2x2.__init__(sequence-of-float values)''' 3016 def __ne__(self): 3017 '''QMatrix2x2 QMatrix2x2.__ne__()''' 3018 return QMatrix2x2() 3019 def __eq__(self): 3020 '''QMatrix2x2 QMatrix2x2.__eq__()''' 3021 return QMatrix2x2() 3022 def __idiv__(self): 3023 '''float QMatrix2x2.__idiv__()''' 3024 return float() 3025 def __imul__(self): 3026 '''float QMatrix2x2.__imul__()''' 3027 return float() 3028 def __isub__(self): 3029 '''QMatrix2x2 QMatrix2x2.__isub__()''' 3030 return QMatrix2x2() 3031 def __iadd__(self): 3032 '''QMatrix2x2 QMatrix2x2.__iadd__()''' 3033 return QMatrix2x2() 3034 def transposed(self): 3035 '''QMatrix2x2 QMatrix2x2.transposed()''' 3036 return QMatrix2x2() 3037 def fill(self, value): 3038 '''void QMatrix2x2.fill(float value)''' 3039 def setToIdentity(self): 3040 '''void QMatrix2x2.setToIdentity()''' 3041 def isIdentity(self): 3042 '''bool QMatrix2x2.isIdentity()''' 3043 return bool() 3044 def __setitem__(self): 3045 '''float QMatrix2x2.__setitem__()''' 3046 return float() 3047 def __getitem__(self): 3048 '''object QMatrix2x2.__getitem__()''' 3049 return object() 3050 def copyDataTo(self): 3051 '''list-of-float QMatrix2x2.copyDataTo()''' 3052 return [float()] 3053 def data(self): 3054 '''list-of-float QMatrix2x2.data()''' 3055 return [float()] 3056 def __repr__(self): 3057 '''str QMatrix2x2.__repr__()''' 3058 return str() 3059 3060 3061 class QGlyphRun(): 3062 """""" 3063 # Enum QGlyphRun.GlyphRunFlag 3064 Overline = 0 3065 Underline = 0 3066 StrikeOut = 0 3067 RightToLeft = 0 3068 SplitLigature = 0 3069 3070 def __init__(self): 3071 '''void QGlyphRun.__init__()''' 3072 def __init__(self, other): 3073 '''void QGlyphRun.__init__(QGlyphRun other)''' 3074 def swap(self, other): 3075 '''void QGlyphRun.swap(QGlyphRun other)''' 3076 def isEmpty(self): 3077 '''bool QGlyphRun.isEmpty()''' 3078 return bool() 3079 def boundingRect(self): 3080 '''QRectF QGlyphRun.boundingRect()''' 3081 return QRectF() 3082 def setBoundingRect(self, boundingRect): 3083 '''void QGlyphRun.setBoundingRect(QRectF boundingRect)''' 3084 def flags(self): 3085 '''QGlyphRun.GlyphRunFlags QGlyphRun.flags()''' 3086 return QGlyphRun.GlyphRunFlags() 3087 def setFlags(self, flags): 3088 '''void QGlyphRun.setFlags(QGlyphRun.GlyphRunFlags flags)''' 3089 def setFlag(self, flag, enabled = True): 3090 '''void QGlyphRun.setFlag(QGlyphRun.GlyphRunFlag flag, bool enabled = True)''' 3091 def isRightToLeft(self): 3092 '''bool QGlyphRun.isRightToLeft()''' 3093 return bool() 3094 def setRightToLeft(self, on): 3095 '''void QGlyphRun.setRightToLeft(bool on)''' 3096 def strikeOut(self): 3097 '''bool QGlyphRun.strikeOut()''' 3098 return bool() 3099 def setStrikeOut(self, strikeOut): 3100 '''void QGlyphRun.setStrikeOut(bool strikeOut)''' 3101 def underline(self): 3102 '''bool QGlyphRun.underline()''' 3103 return bool() 3104 def setUnderline(self, underline): 3105 '''void QGlyphRun.setUnderline(bool underline)''' 3106 def overline(self): 3107 '''bool QGlyphRun.overline()''' 3108 return bool() 3109 def setOverline(self, overline): 3110 '''void QGlyphRun.setOverline(bool overline)''' 3111 def __ne__(self, other): 3112 '''bool QGlyphRun.__ne__(QGlyphRun other)''' 3113 return bool() 3114 def __eq__(self, other): 3115 '''bool QGlyphRun.__eq__(QGlyphRun other)''' 3116 return bool() 3117 def clear(self): 3118 '''void QGlyphRun.clear()''' 3119 def setPositions(self, positions): 3120 '''void QGlyphRun.setPositions(list-of-QPointF positions)''' 3121 def positions(self): 3122 '''list-of-QPointF QGlyphRun.positions()''' 3123 return [QPointF()] 3124 def setGlyphIndexes(self, glyphIndexes): 3125 '''void QGlyphRun.setGlyphIndexes(list-of-int glyphIndexes)''' 3126 def glyphIndexes(self): 3127 '''list-of-int QGlyphRun.glyphIndexes()''' 3128 return [int()] 3129 def setRawFont(self, rawFont): 3130 '''void QGlyphRun.setRawFont(QRawFont rawFont)''' 3131 def rawFont(self): 3132 '''QRawFont QGlyphRun.rawFont()''' 3133 return QRawFont() 3134 class GlyphRunFlags(): 3135 """""" 3136 def __init__(self): 3137 '''QGlyphRun.GlyphRunFlags QGlyphRun.GlyphRunFlags.__init__()''' 3138 return QGlyphRun.GlyphRunFlags() 3139 def __init__(self): 3140 '''int QGlyphRun.GlyphRunFlags.__init__()''' 3141 return int() 3142 def __init__(self): 3143 '''void QGlyphRun.GlyphRunFlags.__init__()''' 3144 def __bool__(self): 3145 '''int QGlyphRun.GlyphRunFlags.__bool__()''' 3146 return int() 3147 def __ne__(self, f): 3148 '''bool QGlyphRun.GlyphRunFlags.__ne__(QGlyphRun.GlyphRunFlags f)''' 3149 return bool() 3150 def __eq__(self, f): 3151 '''bool QGlyphRun.GlyphRunFlags.__eq__(QGlyphRun.GlyphRunFlags f)''' 3152 return bool() 3153 def __invert__(self): 3154 '''QGlyphRun.GlyphRunFlags QGlyphRun.GlyphRunFlags.__invert__()''' 3155 return QGlyphRun.GlyphRunFlags() 3156 def __and__(self, mask): 3157 '''QGlyphRun.GlyphRunFlags QGlyphRun.GlyphRunFlags.__and__(int mask)''' 3158 return QGlyphRun.GlyphRunFlags() 3159 def __xor__(self, f): 3160 '''QGlyphRun.GlyphRunFlags QGlyphRun.GlyphRunFlags.__xor__(QGlyphRun.GlyphRunFlags f)''' 3161 return QGlyphRun.GlyphRunFlags() 3162 def __xor__(self, f): 3163 '''QGlyphRun.GlyphRunFlags QGlyphRun.GlyphRunFlags.__xor__(int f)''' 3164 return QGlyphRun.GlyphRunFlags() 3165 def __or__(self, f): 3166 '''QGlyphRun.GlyphRunFlags QGlyphRun.GlyphRunFlags.__or__(QGlyphRun.GlyphRunFlags f)''' 3167 return QGlyphRun.GlyphRunFlags() 3168 def __or__(self, f): 3169 '''QGlyphRun.GlyphRunFlags QGlyphRun.GlyphRunFlags.__or__(int f)''' 3170 return QGlyphRun.GlyphRunFlags() 3171 def __int__(self): 3172 '''int QGlyphRun.GlyphRunFlags.__int__()''' 3173 return int() 3174 def __ixor__(self, f): 3175 '''QGlyphRun.GlyphRunFlags QGlyphRun.GlyphRunFlags.__ixor__(QGlyphRun.GlyphRunFlags f)''' 3176 return QGlyphRun.GlyphRunFlags() 3177 def __ior__(self, f): 3178 '''QGlyphRun.GlyphRunFlags QGlyphRun.GlyphRunFlags.__ior__(QGlyphRun.GlyphRunFlags f)''' 3179 return QGlyphRun.GlyphRunFlags() 3180 def __iand__(self, mask): 3181 '''QGlyphRun.GlyphRunFlags QGlyphRun.GlyphRunFlags.__iand__(int mask)''' 3182 return QGlyphRun.GlyphRunFlags() 3183 3184 3185 class QGuiApplication(QCoreApplication): 3186 """""" 3187 def __init__(self, argv): 3188 '''void QGuiApplication.__init__(list-of-str argv)''' 3189 paletteChanged = pyqtSignal() # void paletteChanged(const QPaletteamp;) - signal 3190 layoutDirectionChanged = pyqtSignal() # void layoutDirectionChanged(Qt::LayoutDirection) - signal 3191 screenRemoved = pyqtSignal() # void screenRemoved(QScreen*) - signal 3192 def event(self): 3193 '''QEvent QGuiApplication.event()''' 3194 return QEvent() 3195 def windowIcon(self): 3196 '''static QIcon QGuiApplication.windowIcon()''' 3197 return QIcon() 3198 def setWindowIcon(self, icon): 3199 '''static void QGuiApplication.setWindowIcon(QIcon icon)''' 3200 def sync(self): 3201 '''static void QGuiApplication.sync()''' 3202 def applicationState(self): 3203 '''static Qt.ApplicationState QGuiApplication.applicationState()''' 3204 return Qt.ApplicationState() 3205 def isSavingSession(self): 3206 '''bool QGuiApplication.isSavingSession()''' 3207 return bool() 3208 def sessionKey(self): 3209 '''str QGuiApplication.sessionKey()''' 3210 return str() 3211 def sessionId(self): 3212 '''str QGuiApplication.sessionId()''' 3213 return str() 3214 def isSessionRestored(self): 3215 '''bool QGuiApplication.isSessionRestored()''' 3216 return bool() 3217 def devicePixelRatio(self): 3218 '''float QGuiApplication.devicePixelRatio()''' 3219 return float() 3220 def modalWindow(self): 3221 '''static QWindow QGuiApplication.modalWindow()''' 3222 return QWindow() 3223 def applicationDisplayName(self): 3224 '''static str QGuiApplication.applicationDisplayName()''' 3225 return str() 3226 def setApplicationDisplayName(self, name): 3227 '''static void QGuiApplication.setApplicationDisplayName(str name)''' 3228 applicationStateChanged = pyqtSignal() # void applicationStateChanged(Qt::ApplicationState) - signal 3229 focusWindowChanged = pyqtSignal() # void focusWindowChanged(QWindow*) - signal 3230 saveStateRequest = pyqtSignal() # void saveStateRequest(QSessionManageramp;) - signal 3231 commitDataRequest = pyqtSignal() # void commitDataRequest(QSessionManageramp;) - signal 3232 focusObjectChanged = pyqtSignal() # void focusObjectChanged(QObject*) - signal 3233 lastWindowClosed = pyqtSignal() # void lastWindowClosed() - signal 3234 screenAdded = pyqtSignal() # void screenAdded(QScreen*) - signal 3235 fontDatabaseChanged = pyqtSignal() # void fontDatabaseChanged() - signal 3236 def notify(self): 3237 '''QEvent QGuiApplication.notify()''' 3238 return QEvent() 3239 def exec_(self): 3240 '''static int QGuiApplication.exec_()''' 3241 return int() 3242 def quitOnLastWindowClosed(self): 3243 '''static bool QGuiApplication.quitOnLastWindowClosed()''' 3244 return bool() 3245 def setQuitOnLastWindowClosed(self, quit): 3246 '''static void QGuiApplication.setQuitOnLastWindowClosed(bool quit)''' 3247 def desktopSettingsAware(self): 3248 '''static bool QGuiApplication.desktopSettingsAware()''' 3249 return bool() 3250 def setDesktopSettingsAware(self, on): 3251 '''static void QGuiApplication.setDesktopSettingsAware(bool on)''' 3252 def isLeftToRight(self): 3253 '''static bool QGuiApplication.isLeftToRight()''' 3254 return bool() 3255 def isRightToLeft(self): 3256 '''static bool QGuiApplication.isRightToLeft()''' 3257 return bool() 3258 def layoutDirection(self): 3259 '''static Qt.LayoutDirection QGuiApplication.layoutDirection()''' 3260 return Qt.LayoutDirection() 3261 def setLayoutDirection(self, direction): 3262 '''static void QGuiApplication.setLayoutDirection(Qt.LayoutDirection direction)''' 3263 def mouseButtons(self): 3264 '''static Qt.MouseButtons QGuiApplication.mouseButtons()''' 3265 return Qt.MouseButtons() 3266 def queryKeyboardModifiers(self): 3267 '''static Qt.KeyboardModifiers QGuiApplication.queryKeyboardModifiers()''' 3268 return Qt.KeyboardModifiers() 3269 def keyboardModifiers(self): 3270 '''static Qt.KeyboardModifiers QGuiApplication.keyboardModifiers()''' 3271 return Qt.KeyboardModifiers() 3272 def setPalette(self, pal): 3273 '''static void QGuiApplication.setPalette(QPalette pal)''' 3274 def palette(self): 3275 '''static QPalette QGuiApplication.palette()''' 3276 return QPalette() 3277 def clipboard(self): 3278 '''static QClipboard QGuiApplication.clipboard()''' 3279 return QClipboard() 3280 def setFont(self): 3281 '''static QFont QGuiApplication.setFont()''' 3282 return QFont() 3283 def font(self): 3284 '''static QFont QGuiApplication.font()''' 3285 return QFont() 3286 def restoreOverrideCursor(self): 3287 '''static void QGuiApplication.restoreOverrideCursor()''' 3288 def changeOverrideCursor(self): 3289 '''static QCursor QGuiApplication.changeOverrideCursor()''' 3290 return QCursor() 3291 def setOverrideCursor(self): 3292 '''static QCursor QGuiApplication.setOverrideCursor()''' 3293 return QCursor() 3294 def overrideCursor(self): 3295 '''static QCursor QGuiApplication.overrideCursor()''' 3296 return QCursor() 3297 def screens(self): 3298 '''static list-of-QScreen QGuiApplication.screens()''' 3299 return [QScreen()] 3300 def primaryScreen(self): 3301 '''static QScreen QGuiApplication.primaryScreen()''' 3302 return QScreen() 3303 def focusObject(self): 3304 '''static QObject QGuiApplication.focusObject()''' 3305 return QObject() 3306 def focusWindow(self): 3307 '''static QWindow QGuiApplication.focusWindow()''' 3308 return QWindow() 3309 def platformName(self): 3310 '''static str QGuiApplication.platformName()''' 3311 return str() 3312 def topLevelAt(self, pos): 3313 '''static QWindow QGuiApplication.topLevelAt(QPoint pos)''' 3314 return QWindow() 3315 def topLevelWindows(self): 3316 '''static list-of-QWindow QGuiApplication.topLevelWindows()''' 3317 return [QWindow()] 3318 def allWindows(self): 3319 '''static list-of-QWindow QGuiApplication.allWindows()''' 3320 return [QWindow()] 3321 3322 3323 class QIcon(): 3324 """""" 3325 # Enum QIcon.State 3326 On = 0 3327 Off = 0 3328 3329 # Enum QIcon.Mode 3330 Normal = 0 3331 Disabled = 0 3332 Active = 0 3333 Selected = 0 3334 3335 def __init__(self): 3336 '''void QIcon.__init__()''' 3337 def __init__(self, pixmap): 3338 '''void QIcon.__init__(QPixmap pixmap)''' 3339 def __init__(self, other): 3340 '''void QIcon.__init__(QIcon other)''' 3341 def __init__(self, fileName): 3342 '''void QIcon.__init__(str fileName)''' 3343 def __init__(self, engine): 3344 '''void QIcon.__init__(QIconEngine engine)''' 3345 def __init__(self, variant): 3346 '''void QIcon.__init__(QVariant variant)''' 3347 def swap(self, other): 3348 '''void QIcon.swap(QIcon other)''' 3349 def name(self): 3350 '''str QIcon.name()''' 3351 return str() 3352 def setThemeName(self, path): 3353 '''static void QIcon.setThemeName(str path)''' 3354 def themeName(self): 3355 '''static str QIcon.themeName()''' 3356 return str() 3357 def setThemeSearchPaths(self, searchpath): 3358 '''static void QIcon.setThemeSearchPaths(list-of-str searchpath)''' 3359 def themeSearchPaths(self): 3360 '''static list-of-str QIcon.themeSearchPaths()''' 3361 return [str()] 3362 def hasThemeIcon(self, name): 3363 '''static bool QIcon.hasThemeIcon(str name)''' 3364 return bool() 3365 def fromTheme(self, name, fallback = QIcon()): 3366 '''static QIcon QIcon.fromTheme(str name, QIcon fallback = QIcon())''' 3367 return QIcon() 3368 def cacheKey(self): 3369 '''int QIcon.cacheKey()''' 3370 return int() 3371 def addFile(self, fileName, size = QSize(), mode = None, state = None): 3372 '''void QIcon.addFile(str fileName, QSize size = QSize(), QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 3373 def addPixmap(self, pixmap, mode = None, state = None): 3374 '''void QIcon.addPixmap(QPixmap pixmap, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 3375 def isDetached(self): 3376 '''bool QIcon.isDetached()''' 3377 return bool() 3378 def isNull(self): 3379 '''bool QIcon.isNull()''' 3380 return bool() 3381 def paint(self, painter, rect, alignment = None, mode = None, state = None): 3382 '''void QIcon.paint(QPainter painter, QRect rect, Qt.Alignment alignment = Qt.AlignCenter, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 3383 def paint(self, painter, x, y, w, h, alignment = None, mode = None, state = None): 3384 '''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)''' 3385 def availableSizes(self, mode = None, state = None): 3386 '''list-of-QSize QIcon.availableSizes(QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 3387 return [QSize()] 3388 def actualSize(self, size, mode = None, state = None): 3389 '''QSize QIcon.actualSize(QSize size, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 3390 return QSize() 3391 def actualSize(self, window, size, mode = None, state = None): 3392 '''QSize QIcon.actualSize(QWindow window, QSize size, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 3393 return QSize() 3394 def pixmap(self, size, mode = None, state = None): 3395 '''QPixmap QIcon.pixmap(QSize size, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 3396 return QPixmap() 3397 def pixmap(self, w, h, mode = None, state = None): 3398 '''QPixmap QIcon.pixmap(int w, int h, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 3399 return QPixmap() 3400 def pixmap(self, extent, mode = None, state = None): 3401 '''QPixmap QIcon.pixmap(int extent, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 3402 return QPixmap() 3403 def pixmap(self, window, size, mode = None, state = None): 3404 '''QPixmap QIcon.pixmap(QWindow window, QSize size, QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 3405 return QPixmap() 3406 3407 3408 class QIconEngine(): 3409 """""" 3410 # Enum QIconEngine.IconEngineHook 3411 AvailableSizesHook = 0 3412 IconNameHook = 0 3413 3414 def __init__(self): 3415 '''void QIconEngine.__init__()''' 3416 def __init__(self): 3417 '''QIconEngine QIconEngine.__init__()''' 3418 return QIconEngine() 3419 def iconName(self): 3420 '''str QIconEngine.iconName()''' 3421 return str() 3422 def availableSizes(self, mode = None, state = None): 3423 '''list-of-QSize QIconEngine.availableSizes(QIcon.Mode mode = QIcon.Normal, QIcon.State state = QIcon.Off)''' 3424 return [QSize()] 3425 def write(self, out): 3426 '''bool QIconEngine.write(QDataStream out)''' 3427 return bool() 3428 def read(self, in_): 3429 '''bool QIconEngine.read(QDataStream in)''' 3430 return bool() 3431 def clone(self): 3432 '''abstract QIconEngine QIconEngine.clone()''' 3433 return QIconEngine() 3434 def key(self): 3435 '''str QIconEngine.key()''' 3436 return str() 3437 def addFile(self, fileName, size, mode, state): 3438 '''void QIconEngine.addFile(str fileName, QSize size, QIcon.Mode mode, QIcon.State state)''' 3439 def addPixmap(self, pixmap, mode, state): 3440 '''void QIconEngine.addPixmap(QPixmap pixmap, QIcon.Mode mode, QIcon.State state)''' 3441 def pixmap(self, size, mode, state): 3442 '''QPixmap QIconEngine.pixmap(QSize size, QIcon.Mode mode, QIcon.State state)''' 3443 return QPixmap() 3444 def actualSize(self, size, mode, state): 3445 '''QSize QIconEngine.actualSize(QSize size, QIcon.Mode mode, QIcon.State state)''' 3446 return QSize() 3447 def paint(self, painter, rect, mode, state): 3448 '''abstract void QIconEngine.paint(QPainter painter, QRect rect, QIcon.Mode mode, QIcon.State state)''' 3449 class AvailableSizesArgument(): 3450 """""" 3451 mode = None # QIcon.Mode - member 3452 sizes = None # list-of-QSize - member 3453 state = None # QIcon.State - member 3454 def __init__(self): 3455 '''void QIconEngine.AvailableSizesArgument.__init__()''' 3456 def __init__(self): 3457 '''QIconEngine.AvailableSizesArgument QIconEngine.AvailableSizesArgument.__init__()''' 3458 return QIconEngine.AvailableSizesArgument() 3459 3460 3461 class QImage(QPaintDevice): 3462 """""" 3463 # Enum QImage.Format 3464 Format_Invalid = 0 3465 Format_Mono = 0 3466 Format_MonoLSB = 0 3467 Format_Indexed8 = 0 3468 Format_RGB32 = 0 3469 Format_ARGB32 = 0 3470 Format_ARGB32_Premultiplied = 0 3471 Format_RGB16 = 0 3472 Format_ARGB8565_Premultiplied = 0 3473 Format_RGB666 = 0 3474 Format_ARGB6666_Premultiplied = 0 3475 Format_RGB555 = 0 3476 Format_ARGB8555_Premultiplied = 0 3477 Format_RGB888 = 0 3478 Format_RGB444 = 0 3479 Format_ARGB4444_Premultiplied = 0 3480 Format_RGBX8888 = 0 3481 Format_RGBA8888 = 0 3482 Format_RGBA8888_Premultiplied = 0 3483 Format_BGR30 = 0 3484 Format_A2BGR30_Premultiplied = 0 3485 Format_RGB30 = 0 3486 Format_A2RGB30_Premultiplied = 0 3487 Format_Alpha8 = 0 3488 Format_Grayscale8 = 0 3489 3490 # Enum QImage.InvertMode 3491 InvertRgb = 0 3492 InvertRgba = 0 3493 3494 def __init__(self): 3495 '''void QImage.__init__()''' 3496 def __init__(self, size, format): 3497 '''void QImage.__init__(QSize size, QImage.Format format)''' 3498 def __init__(self, width, height, format): 3499 '''void QImage.__init__(int width, int height, QImage.Format format)''' 3500 def __init__(self, data, width, height, format): 3501 '''void QImage.__init__(str data, int width, int height, QImage.Format format)''' 3502 def __init__(self, data, width, height, format): 3503 '''void QImage.__init__(sip.voidptr data, int width, int height, QImage.Format format)''' 3504 def __init__(self, data, width, height, bytesPerLine, format): 3505 '''void QImage.__init__(str data, int width, int height, int bytesPerLine, QImage.Format format)''' 3506 def __init__(self, data, width, height, bytesPerLine, format): 3507 '''void QImage.__init__(sip.voidptr data, int width, int height, int bytesPerLine, QImage.Format format)''' 3508 def __init__(self, xpm): 3509 '''void QImage.__init__(list-of-str xpm)''' 3510 def __init__(self, fileName, format = None): 3511 '''void QImage.__init__(str fileName, str format = None)''' 3512 def __init__(self): 3513 '''QImage QImage.__init__()''' 3514 return QImage() 3515 def __init__(self, variant): 3516 '''void QImage.__init__(QVariant variant)''' 3517 def toImageFormat(self, format): 3518 '''static QImage.Format QImage.toImageFormat(QPixelFormat format)''' 3519 return QImage.Format() 3520 def toPixelFormat(self, format): 3521 '''static QPixelFormat QImage.toPixelFormat(QImage.Format format)''' 3522 return QPixelFormat() 3523 def pixelFormat(self): 3524 '''QPixelFormat QImage.pixelFormat()''' 3525 return QPixelFormat() 3526 def setDevicePixelRatio(self, scaleFactor): 3527 '''void QImage.setDevicePixelRatio(float scaleFactor)''' 3528 def devicePixelRatio(self): 3529 '''float QImage.devicePixelRatio()''' 3530 return float() 3531 def swap(self, other): 3532 '''void QImage.swap(QImage other)''' 3533 def bitPlaneCount(self): 3534 '''int QImage.bitPlaneCount()''' 3535 return int() 3536 def byteCount(self): 3537 '''int QImage.byteCount()''' 3538 return int() 3539 def setColorCount(self): 3540 '''int QImage.setColorCount()''' 3541 return int() 3542 def colorCount(self): 3543 '''int QImage.colorCount()''' 3544 return int() 3545 def cacheKey(self): 3546 '''int QImage.cacheKey()''' 3547 return int() 3548 def trueMatrix(self, w, h): 3549 '''static QTransform QImage.trueMatrix(int w, int h)''' 3550 return QTransform() 3551 def transformed(self, matrix, mode = None): 3552 '''QImage QImage.transformed(QTransform matrix, Qt.TransformationMode mode = Qt.FastTransformation)''' 3553 return QImage() 3554 def createMaskFromColor(self, color, mode = None): 3555 '''QImage QImage.createMaskFromColor(int color, Qt.MaskMode mode = Qt.MaskInColor)''' 3556 return QImage() 3557 def smoothScaled(self, w, h): 3558 '''QImage QImage.smoothScaled(int w, int h)''' 3559 return QImage() 3560 def metric(self, metric): 3561 '''int QImage.metric(QPaintDevice.PaintDeviceMetric metric)''' 3562 return int() 3563 def setText(self, key, value): 3564 '''void QImage.setText(str key, str value)''' 3565 def text(self, key = None): 3566 '''str QImage.text(str key = '')''' 3567 return str() 3568 def textKeys(self): 3569 '''list-of-str QImage.textKeys()''' 3570 return [str()] 3571 def setOffset(self): 3572 '''QPoint QImage.setOffset()''' 3573 return QPoint() 3574 def offset(self): 3575 '''QPoint QImage.offset()''' 3576 return QPoint() 3577 def setDotsPerMeterY(self): 3578 '''int QImage.setDotsPerMeterY()''' 3579 return int() 3580 def setDotsPerMeterX(self): 3581 '''int QImage.setDotsPerMeterX()''' 3582 return int() 3583 def dotsPerMeterY(self): 3584 '''int QImage.dotsPerMeterY()''' 3585 return int() 3586 def dotsPerMeterX(self): 3587 '''int QImage.dotsPerMeterX()''' 3588 return int() 3589 def paintEngine(self): 3590 '''QPaintEngine QImage.paintEngine()''' 3591 return QPaintEngine() 3592 def fromData(self, data, format = None): 3593 '''static QImage QImage.fromData(str data, str format = None)''' 3594 return QImage() 3595 def fromData(self, data, format = None): 3596 '''static QImage QImage.fromData(QByteArray data, str format = None)''' 3597 return QImage() 3598 def save(self, fileName, format = None, quality = None): 3599 '''bool QImage.save(str fileName, str format = None, int quality = -1)''' 3600 return bool() 3601 def save(self, device, format = None, quality = None): 3602 '''bool QImage.save(QIODevice device, str format = None, int quality = -1)''' 3603 return bool() 3604 def loadFromData(self, data, format = None): 3605 '''bool QImage.loadFromData(str data, str format = None)''' 3606 return bool() 3607 def loadFromData(self, data, format = None): 3608 '''bool QImage.loadFromData(QByteArray data, str format = None)''' 3609 return bool() 3610 def load(self, device, format): 3611 '''bool QImage.load(QIODevice device, str format)''' 3612 return bool() 3613 def load(self, fileName, format = None): 3614 '''bool QImage.load(str fileName, str format = None)''' 3615 return bool() 3616 def invertPixels(self, mode = None): 3617 '''void QImage.invertPixels(QImage.InvertMode mode = QImage.InvertRgb)''' 3618 def rgbSwapped(self): 3619 '''QImage QImage.rgbSwapped()''' 3620 return QImage() 3621 def mirrored(self, horizontal = False, vertical = True): 3622 '''QImage QImage.mirrored(bool horizontal = False, bool vertical = True)''' 3623 return QImage() 3624 def scaledToHeight(self, height, mode = None): 3625 '''QImage QImage.scaledToHeight(int height, Qt.TransformationMode mode = Qt.FastTransformation)''' 3626 return QImage() 3627 def scaledToWidth(self, width, mode = None): 3628 '''QImage QImage.scaledToWidth(int width, Qt.TransformationMode mode = Qt.FastTransformation)''' 3629 return QImage() 3630 def scaled(self, width, height, aspectRatioMode = None, transformMode = None): 3631 '''QImage QImage.scaled(int width, int height, Qt.AspectRatioMode aspectRatioMode = Qt.IgnoreAspectRatio, Qt.TransformationMode transformMode = Qt.FastTransformation)''' 3632 return QImage() 3633 def scaled(self, size, aspectRatioMode = None, transformMode = None): 3634 '''QImage QImage.scaled(QSize size, Qt.AspectRatioMode aspectRatioMode = Qt.IgnoreAspectRatio, Qt.TransformationMode transformMode = Qt.FastTransformation)''' 3635 return QImage() 3636 def createHeuristicMask(self, clipTight = True): 3637 '''QImage QImage.createHeuristicMask(bool clipTight = True)''' 3638 return QImage() 3639 def createAlphaMask(self, flags = None): 3640 '''QImage QImage.createAlphaMask(Qt.ImageConversionFlags flags = Qt.AutoColor)''' 3641 return QImage() 3642 def hasAlphaChannel(self): 3643 '''bool QImage.hasAlphaChannel()''' 3644 return bool() 3645 def fill(self, color): 3646 '''void QImage.fill(Qt.GlobalColor color)''' 3647 def fill(self, color): 3648 '''void QImage.fill(QColor color)''' 3649 def fill(self, pixel): 3650 '''void QImage.fill(int pixel)''' 3651 def setColorTable(self, colors): 3652 '''void QImage.setColorTable(list-of-int colors)''' 3653 def colorTable(self): 3654 '''list-of-int QImage.colorTable()''' 3655 return [int()] 3656 def setPixel(self, pt, index_or_rgb): 3657 '''void QImage.setPixel(QPoint pt, int index_or_rgb)''' 3658 def setPixel(self, x, y, index_or_rgb): 3659 '''void QImage.setPixel(int x, int y, int index_or_rgb)''' 3660 def pixel(self, pt): 3661 '''int QImage.pixel(QPoint pt)''' 3662 return int() 3663 def pixel(self, x, y): 3664 '''int QImage.pixel(int x, int y)''' 3665 return int() 3666 def pixelIndex(self, pt): 3667 '''int QImage.pixelIndex(QPoint pt)''' 3668 return int() 3669 def pixelIndex(self, x, y): 3670 '''int QImage.pixelIndex(int x, int y)''' 3671 return int() 3672 def valid(self, pt): 3673 '''bool QImage.valid(QPoint pt)''' 3674 return bool() 3675 def valid(self, x, y): 3676 '''bool QImage.valid(int x, int y)''' 3677 return bool() 3678 def bytesPerLine(self): 3679 '''int QImage.bytesPerLine()''' 3680 return int() 3681 def constScanLine(self): 3682 '''int QImage.constScanLine()''' 3683 return int() 3684 def scanLine(self): 3685 '''int QImage.scanLine()''' 3686 return int() 3687 def constBits(self): 3688 '''sip.voidptr QImage.constBits()''' 3689 return sip.voidptr() 3690 def bits(self): 3691 '''sip.voidptr QImage.bits()''' 3692 return sip.voidptr() 3693 def isGrayscale(self): 3694 '''bool QImage.isGrayscale()''' 3695 return bool() 3696 def allGray(self): 3697 '''bool QImage.allGray()''' 3698 return bool() 3699 def setColor(self, i, c): 3700 '''void QImage.setColor(int i, int c)''' 3701 def color(self, i): 3702 '''int QImage.color(int i)''' 3703 return int() 3704 def depth(self): 3705 '''int QImage.depth()''' 3706 return int() 3707 def rect(self): 3708 '''QRect QImage.rect()''' 3709 return QRect() 3710 def size(self): 3711 '''QSize QImage.size()''' 3712 return QSize() 3713 def height(self): 3714 '''int QImage.height()''' 3715 return int() 3716 def width(self): 3717 '''int QImage.width()''' 3718 return int() 3719 def convertToFormat(self, format, flags = None): 3720 '''QImage QImage.convertToFormat(QImage.Format format, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 3721 return QImage() 3722 def convertToFormat(self, format, colorTable, flags = None): 3723 '''QImage QImage.convertToFormat(QImage.Format format, list-of-int colorTable, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 3724 return QImage() 3725 def format(self): 3726 '''QImage.Format QImage.format()''' 3727 return QImage.Format() 3728 def copy(self, rect = QRect()): 3729 '''QImage QImage.copy(QRect rect = QRect())''' 3730 return QImage() 3731 def copy(self, x, y, w, h): 3732 '''QImage QImage.copy(int x, int y, int w, int h)''' 3733 return QImage() 3734 def isDetached(self): 3735 '''bool QImage.isDetached()''' 3736 return bool() 3737 def detach(self): 3738 '''void QImage.detach()''' 3739 def __ne__(self): 3740 '''QImage QImage.__ne__()''' 3741 return QImage() 3742 def __eq__(self): 3743 '''QImage QImage.__eq__()''' 3744 return QImage() 3745 def devType(self): 3746 '''int QImage.devType()''' 3747 return int() 3748 def isNull(self): 3749 '''bool QImage.isNull()''' 3750 return bool() 3751 3752 3753 class QImageIOHandler(): 3754 """""" 3755 # Enum QImageIOHandler.Transformation 3756 TransformationNone = 0 3757 TransformationMirror = 0 3758 TransformationFlip = 0 3759 TransformationRotate180 = 0 3760 TransformationRotate90 = 0 3761 TransformationMirrorAndRotate90 = 0 3762 TransformationFlipAndRotate90 = 0 3763 TransformationRotate270 = 0 3764 3765 # Enum QImageIOHandler.ImageOption 3766 Size = 0 3767 ClipRect = 0 3768 Description = 0 3769 ScaledClipRect = 0 3770 ScaledSize = 0 3771 CompressionRatio = 0 3772 Gamma = 0 3773 Quality = 0 3774 Name = 0 3775 SubType = 0 3776 IncrementalReading = 0 3777 Endianness = 0 3778 Animation = 0 3779 BackgroundColor = 0 3780 SupportedSubTypes = 0 3781 OptimizedWrite = 0 3782 ProgressiveScanWrite = 0 3783 ImageTransformation = 0 3784 TransformedByDefault = 0 3785 3786 def __init__(self): 3787 '''void QImageIOHandler.__init__()''' 3788 def currentImageRect(self): 3789 '''QRect QImageIOHandler.currentImageRect()''' 3790 return QRect() 3791 def currentImageNumber(self): 3792 '''int QImageIOHandler.currentImageNumber()''' 3793 return int() 3794 def nextImageDelay(self): 3795 '''int QImageIOHandler.nextImageDelay()''' 3796 return int() 3797 def imageCount(self): 3798 '''int QImageIOHandler.imageCount()''' 3799 return int() 3800 def loopCount(self): 3801 '''int QImageIOHandler.loopCount()''' 3802 return int() 3803 def jumpToImage(self, imageNumber): 3804 '''bool QImageIOHandler.jumpToImage(int imageNumber)''' 3805 return bool() 3806 def jumpToNextImage(self): 3807 '''bool QImageIOHandler.jumpToNextImage()''' 3808 return bool() 3809 def supportsOption(self, option): 3810 '''bool QImageIOHandler.supportsOption(QImageIOHandler.ImageOption option)''' 3811 return bool() 3812 def setOption(self, option, value): 3813 '''void QImageIOHandler.setOption(QImageIOHandler.ImageOption option, QVariant value)''' 3814 def option(self, option): 3815 '''QVariant QImageIOHandler.option(QImageIOHandler.ImageOption option)''' 3816 return QVariant() 3817 def write(self, image): 3818 '''bool QImageIOHandler.write(QImage image)''' 3819 return bool() 3820 def read(self, image): 3821 '''abstract bool QImageIOHandler.read(QImage image)''' 3822 return bool() 3823 def canRead(self): 3824 '''abstract bool QImageIOHandler.canRead()''' 3825 return bool() 3826 def format(self): 3827 '''QByteArray QImageIOHandler.format()''' 3828 return QByteArray() 3829 def setFormat(self, format): 3830 '''void QImageIOHandler.setFormat(QByteArray format)''' 3831 def device(self): 3832 '''QIODevice QImageIOHandler.device()''' 3833 return QIODevice() 3834 def setDevice(self, device): 3835 '''void QImageIOHandler.setDevice(QIODevice device)''' 3836 class Transformations(): 3837 """""" 3838 def __init__(self): 3839 '''QImageIOHandler.Transformations QImageIOHandler.Transformations.__init__()''' 3840 return QImageIOHandler.Transformations() 3841 def __init__(self): 3842 '''int QImageIOHandler.Transformations.__init__()''' 3843 return int() 3844 def __init__(self): 3845 '''void QImageIOHandler.Transformations.__init__()''' 3846 def __bool__(self): 3847 '''int QImageIOHandler.Transformations.__bool__()''' 3848 return int() 3849 def __ne__(self, f): 3850 '''bool QImageIOHandler.Transformations.__ne__(QImageIOHandler.Transformations f)''' 3851 return bool() 3852 def __eq__(self, f): 3853 '''bool QImageIOHandler.Transformations.__eq__(QImageIOHandler.Transformations f)''' 3854 return bool() 3855 def __invert__(self): 3856 '''QImageIOHandler.Transformations QImageIOHandler.Transformations.__invert__()''' 3857 return QImageIOHandler.Transformations() 3858 def __and__(self, mask): 3859 '''QImageIOHandler.Transformations QImageIOHandler.Transformations.__and__(int mask)''' 3860 return QImageIOHandler.Transformations() 3861 def __xor__(self, f): 3862 '''QImageIOHandler.Transformations QImageIOHandler.Transformations.__xor__(QImageIOHandler.Transformations f)''' 3863 return QImageIOHandler.Transformations() 3864 def __xor__(self, f): 3865 '''QImageIOHandler.Transformations QImageIOHandler.Transformations.__xor__(int f)''' 3866 return QImageIOHandler.Transformations() 3867 def __or__(self, f): 3868 '''QImageIOHandler.Transformations QImageIOHandler.Transformations.__or__(QImageIOHandler.Transformations f)''' 3869 return QImageIOHandler.Transformations() 3870 def __or__(self, f): 3871 '''QImageIOHandler.Transformations QImageIOHandler.Transformations.__or__(int f)''' 3872 return QImageIOHandler.Transformations() 3873 def __int__(self): 3874 '''int QImageIOHandler.Transformations.__int__()''' 3875 return int() 3876 def __ixor__(self, f): 3877 '''QImageIOHandler.Transformations QImageIOHandler.Transformations.__ixor__(QImageIOHandler.Transformations f)''' 3878 return QImageIOHandler.Transformations() 3879 def __ior__(self, f): 3880 '''QImageIOHandler.Transformations QImageIOHandler.Transformations.__ior__(QImageIOHandler.Transformations f)''' 3881 return QImageIOHandler.Transformations() 3882 def __iand__(self, mask): 3883 '''QImageIOHandler.Transformations QImageIOHandler.Transformations.__iand__(int mask)''' 3884 return QImageIOHandler.Transformations() 3885 3886 3887 class QImageReader(): 3888 """""" 3889 # Enum QImageReader.ImageReaderError 3890 UnknownError = 0 3891 FileNotFoundError = 0 3892 DeviceError = 0 3893 UnsupportedFormatError = 0 3894 InvalidDataError = 0 3895 3896 def __init__(self): 3897 '''void QImageReader.__init__()''' 3898 def __init__(self, device, format = QByteArray()): 3899 '''void QImageReader.__init__(QIODevice device, QByteArray format = QByteArray())''' 3900 def __init__(self, fileName, format = QByteArray()): 3901 '''void QImageReader.__init__(str fileName, QByteArray format = QByteArray())''' 3902 def autoTransform(self): 3903 '''bool QImageReader.autoTransform()''' 3904 return bool() 3905 def setAutoTransform(self, enabled): 3906 '''void QImageReader.setAutoTransform(bool enabled)''' 3907 def transformation(self): 3908 '''QImageIOHandler.Transformations QImageReader.transformation()''' 3909 return QImageIOHandler.Transformations() 3910 def supportedSubTypes(self): 3911 '''list-of-QByteArray QImageReader.supportedSubTypes()''' 3912 return [QByteArray()] 3913 def subType(self): 3914 '''QByteArray QImageReader.subType()''' 3915 return QByteArray() 3916 def supportedMimeTypes(self): 3917 '''static list-of-QByteArray QImageReader.supportedMimeTypes()''' 3918 return [QByteArray()] 3919 def decideFormatFromContent(self): 3920 '''bool QImageReader.decideFormatFromContent()''' 3921 return bool() 3922 def setDecideFormatFromContent(self, ignored): 3923 '''void QImageReader.setDecideFormatFromContent(bool ignored)''' 3924 def autoDetectImageFormat(self): 3925 '''bool QImageReader.autoDetectImageFormat()''' 3926 return bool() 3927 def setAutoDetectImageFormat(self, enabled): 3928 '''void QImageReader.setAutoDetectImageFormat(bool enabled)''' 3929 def supportsOption(self, option): 3930 '''bool QImageReader.supportsOption(QImageIOHandler.ImageOption option)''' 3931 return bool() 3932 def quality(self): 3933 '''int QImageReader.quality()''' 3934 return int() 3935 def setQuality(self, quality): 3936 '''void QImageReader.setQuality(int quality)''' 3937 def supportsAnimation(self): 3938 '''bool QImageReader.supportsAnimation()''' 3939 return bool() 3940 def backgroundColor(self): 3941 '''QColor QImageReader.backgroundColor()''' 3942 return QColor() 3943 def setBackgroundColor(self, color): 3944 '''void QImageReader.setBackgroundColor(QColor color)''' 3945 def text(self, key): 3946 '''str QImageReader.text(str key)''' 3947 return str() 3948 def textKeys(self): 3949 '''list-of-str QImageReader.textKeys()''' 3950 return [str()] 3951 def supportedImageFormats(self): 3952 '''static list-of-QByteArray QImageReader.supportedImageFormats()''' 3953 return [QByteArray()] 3954 def imageFormat(self, fileName): 3955 '''static QByteArray QImageReader.imageFormat(str fileName)''' 3956 return QByteArray() 3957 def imageFormat(self, device): 3958 '''static QByteArray QImageReader.imageFormat(QIODevice device)''' 3959 return QByteArray() 3960 def imageFormat(self): 3961 '''QImage.Format QImageReader.imageFormat()''' 3962 return QImage.Format() 3963 def errorString(self): 3964 '''str QImageReader.errorString()''' 3965 return str() 3966 def error(self): 3967 '''QImageReader.ImageReaderError QImageReader.error()''' 3968 return QImageReader.ImageReaderError() 3969 def currentImageRect(self): 3970 '''QRect QImageReader.currentImageRect()''' 3971 return QRect() 3972 def currentImageNumber(self): 3973 '''int QImageReader.currentImageNumber()''' 3974 return int() 3975 def nextImageDelay(self): 3976 '''int QImageReader.nextImageDelay()''' 3977 return int() 3978 def imageCount(self): 3979 '''int QImageReader.imageCount()''' 3980 return int() 3981 def loopCount(self): 3982 '''int QImageReader.loopCount()''' 3983 return int() 3984 def jumpToImage(self, imageNumber): 3985 '''bool QImageReader.jumpToImage(int imageNumber)''' 3986 return bool() 3987 def jumpToNextImage(self): 3988 '''bool QImageReader.jumpToNextImage()''' 3989 return bool() 3990 def read(self): 3991 '''QImage QImageReader.read()''' 3992 return QImage() 3993 def read(self, image): 3994 '''bool QImageReader.read(QImage image)''' 3995 return bool() 3996 def canRead(self): 3997 '''bool QImageReader.canRead()''' 3998 return bool() 3999 def scaledClipRect(self): 4000 '''QRect QImageReader.scaledClipRect()''' 4001 return QRect() 4002 def setScaledClipRect(self, rect): 4003 '''void QImageReader.setScaledClipRect(QRect rect)''' 4004 def scaledSize(self): 4005 '''QSize QImageReader.scaledSize()''' 4006 return QSize() 4007 def setScaledSize(self, size): 4008 '''void QImageReader.setScaledSize(QSize size)''' 4009 def clipRect(self): 4010 '''QRect QImageReader.clipRect()''' 4011 return QRect() 4012 def setClipRect(self, rect): 4013 '''void QImageReader.setClipRect(QRect rect)''' 4014 def size(self): 4015 '''QSize QImageReader.size()''' 4016 return QSize() 4017 def fileName(self): 4018 '''str QImageReader.fileName()''' 4019 return str() 4020 def setFileName(self, fileName): 4021 '''void QImageReader.setFileName(str fileName)''' 4022 def device(self): 4023 '''QIODevice QImageReader.device()''' 4024 return QIODevice() 4025 def setDevice(self, device): 4026 '''void QImageReader.setDevice(QIODevice device)''' 4027 def format(self): 4028 '''QByteArray QImageReader.format()''' 4029 return QByteArray() 4030 def setFormat(self, format): 4031 '''void QImageReader.setFormat(QByteArray format)''' 4032 4033 4034 class QImageWriter(): 4035 """""" 4036 # Enum QImageWriter.ImageWriterError 4037 UnknownError = 0 4038 DeviceError = 0 4039 UnsupportedFormatError = 0 4040 4041 def __init__(self): 4042 '''void QImageWriter.__init__()''' 4043 def __init__(self, device, format): 4044 '''void QImageWriter.__init__(QIODevice device, QByteArray format)''' 4045 def __init__(self, fileName, format = QByteArray()): 4046 '''void QImageWriter.__init__(str fileName, QByteArray format = QByteArray())''' 4047 def setTransformation(self, orientation): 4048 '''void QImageWriter.setTransformation(QImageIOHandler.Transformations orientation)''' 4049 def transformation(self): 4050 '''QImageIOHandler.Transformations QImageWriter.transformation()''' 4051 return QImageIOHandler.Transformations() 4052 def progressiveScanWrite(self): 4053 '''bool QImageWriter.progressiveScanWrite()''' 4054 return bool() 4055 def setProgressiveScanWrite(self, progressive): 4056 '''void QImageWriter.setProgressiveScanWrite(bool progressive)''' 4057 def optimizedWrite(self): 4058 '''bool QImageWriter.optimizedWrite()''' 4059 return bool() 4060 def setOptimizedWrite(self, optimize): 4061 '''void QImageWriter.setOptimizedWrite(bool optimize)''' 4062 def supportedSubTypes(self): 4063 '''list-of-QByteArray QImageWriter.supportedSubTypes()''' 4064 return [QByteArray()] 4065 def subType(self): 4066 '''QByteArray QImageWriter.subType()''' 4067 return QByteArray() 4068 def setSubType(self, type): 4069 '''void QImageWriter.setSubType(QByteArray type)''' 4070 def supportedMimeTypes(self): 4071 '''static list-of-QByteArray QImageWriter.supportedMimeTypes()''' 4072 return [QByteArray()] 4073 def compression(self): 4074 '''int QImageWriter.compression()''' 4075 return int() 4076 def setCompression(self, compression): 4077 '''void QImageWriter.setCompression(int compression)''' 4078 def supportsOption(self, option): 4079 '''bool QImageWriter.supportsOption(QImageIOHandler.ImageOption option)''' 4080 return bool() 4081 def setText(self, key, text): 4082 '''void QImageWriter.setText(str key, str text)''' 4083 def supportedImageFormats(self): 4084 '''static list-of-QByteArray QImageWriter.supportedImageFormats()''' 4085 return [QByteArray()] 4086 def errorString(self): 4087 '''str QImageWriter.errorString()''' 4088 return str() 4089 def error(self): 4090 '''QImageWriter.ImageWriterError QImageWriter.error()''' 4091 return QImageWriter.ImageWriterError() 4092 def write(self, image): 4093 '''bool QImageWriter.write(QImage image)''' 4094 return bool() 4095 def canWrite(self): 4096 '''bool QImageWriter.canWrite()''' 4097 return bool() 4098 def gamma(self): 4099 '''float QImageWriter.gamma()''' 4100 return float() 4101 def setGamma(self, gamma): 4102 '''void QImageWriter.setGamma(float gamma)''' 4103 def quality(self): 4104 '''int QImageWriter.quality()''' 4105 return int() 4106 def setQuality(self, quality): 4107 '''void QImageWriter.setQuality(int quality)''' 4108 def fileName(self): 4109 '''str QImageWriter.fileName()''' 4110 return str() 4111 def setFileName(self, fileName): 4112 '''void QImageWriter.setFileName(str fileName)''' 4113 def device(self): 4114 '''QIODevice QImageWriter.device()''' 4115 return QIODevice() 4116 def setDevice(self, device): 4117 '''void QImageWriter.setDevice(QIODevice device)''' 4118 def format(self): 4119 '''QByteArray QImageWriter.format()''' 4120 return QByteArray() 4121 def setFormat(self, format): 4122 '''void QImageWriter.setFormat(QByteArray format)''' 4123 4124 4125 class QInputMethod(QObject): 4126 """""" 4127 # Enum QInputMethod.Action 4128 Click = 0 4129 ContextMenu = 0 4130 4131 inputDirectionChanged = pyqtSignal() # void inputDirectionChanged(Qt::LayoutDirection) - signal 4132 localeChanged = pyqtSignal() # void localeChanged() - signal 4133 animatingChanged = pyqtSignal() # void animatingChanged() - signal 4134 visibleChanged = pyqtSignal() # void visibleChanged() - signal 4135 keyboardRectangleChanged = pyqtSignal() # void keyboardRectangleChanged() - signal 4136 cursorRectangleChanged = pyqtSignal() # void cursorRectangleChanged() - signal 4137 def invokeAction(self, a, cursorPosition): 4138 '''void QInputMethod.invokeAction(QInputMethod.Action a, int cursorPosition)''' 4139 def commit(self): 4140 '''void QInputMethod.commit()''' 4141 def reset(self): 4142 '''void QInputMethod.reset()''' 4143 def update(self, queries): 4144 '''void QInputMethod.update(Qt.InputMethodQueries queries)''' 4145 def hide(self): 4146 '''void QInputMethod.hide()''' 4147 def show(self): 4148 '''void QInputMethod.show()''' 4149 def queryFocusObject(self, query, argument): 4150 '''static QVariant QInputMethod.queryFocusObject(Qt.InputMethodQuery query, QVariant argument)''' 4151 return QVariant() 4152 def setInputItemRectangle(self, rect): 4153 '''void QInputMethod.setInputItemRectangle(QRectF rect)''' 4154 def inputItemRectangle(self): 4155 '''QRectF QInputMethod.inputItemRectangle()''' 4156 return QRectF() 4157 def inputDirection(self): 4158 '''Qt.LayoutDirection QInputMethod.inputDirection()''' 4159 return Qt.LayoutDirection() 4160 def locale(self): 4161 '''QLocale QInputMethod.locale()''' 4162 return QLocale() 4163 def isAnimating(self): 4164 '''bool QInputMethod.isAnimating()''' 4165 return bool() 4166 def setVisible(self, visible): 4167 '''void QInputMethod.setVisible(bool visible)''' 4168 def isVisible(self): 4169 '''bool QInputMethod.isVisible()''' 4170 return bool() 4171 def keyboardRectangle(self): 4172 '''QRectF QInputMethod.keyboardRectangle()''' 4173 return QRectF() 4174 def cursorRectangle(self): 4175 '''QRectF QInputMethod.cursorRectangle()''' 4176 return QRectF() 4177 def setInputItemTransform(self, transform): 4178 '''void QInputMethod.setInputItemTransform(QTransform transform)''' 4179 def inputItemTransform(self): 4180 '''QTransform QInputMethod.inputItemTransform()''' 4181 return QTransform() 4182 4183 4184 class QKeySequence(): 4185 """""" 4186 # Enum QKeySequence.StandardKey 4187 UnknownKey = 0 4188 HelpContents = 0 4189 WhatsThis = 0 4190 Open = 0 4191 Close = 0 4192 Save = 0 4193 New = 0 4194 Delete = 0 4195 Cut = 0 4196 Copy = 0 4197 Paste = 0 4198 Undo = 0 4199 Redo = 0 4200 Back = 0 4201 Forward = 0 4202 Refresh = 0 4203 ZoomIn = 0 4204 ZoomOut = 0 4205 Print = 0 4206 AddTab = 0 4207 NextChild = 0 4208 PreviousChild = 0 4209 Find = 0 4210 FindNext = 0 4211 FindPrevious = 0 4212 Replace = 0 4213 SelectAll = 0 4214 Bold = 0 4215 Italic = 0 4216 Underline = 0 4217 MoveToNextChar = 0 4218 MoveToPreviousChar = 0 4219 MoveToNextWord = 0 4220 MoveToPreviousWord = 0 4221 MoveToNextLine = 0 4222 MoveToPreviousLine = 0 4223 MoveToNextPage = 0 4224 MoveToPreviousPage = 0 4225 MoveToStartOfLine = 0 4226 MoveToEndOfLine = 0 4227 MoveToStartOfBlock = 0 4228 MoveToEndOfBlock = 0 4229 MoveToStartOfDocument = 0 4230 MoveToEndOfDocument = 0 4231 SelectNextChar = 0 4232 SelectPreviousChar = 0 4233 SelectNextWord = 0 4234 SelectPreviousWord = 0 4235 SelectNextLine = 0 4236 SelectPreviousLine = 0 4237 SelectNextPage = 0 4238 SelectPreviousPage = 0 4239 SelectStartOfLine = 0 4240 SelectEndOfLine = 0 4241 SelectStartOfBlock = 0 4242 SelectEndOfBlock = 0 4243 SelectStartOfDocument = 0 4244 SelectEndOfDocument = 0 4245 DeleteStartOfWord = 0 4246 DeleteEndOfWord = 0 4247 DeleteEndOfLine = 0 4248 InsertParagraphSeparator = 0 4249 InsertLineSeparator = 0 4250 SaveAs = 0 4251 Preferences = 0 4252 Quit = 0 4253 FullScreen = 0 4254 Deselect = 0 4255 DeleteCompleteLine = 0 4256 Backspace = 0 4257 4258 # Enum QKeySequence.SequenceMatch 4259 NoMatch = 0 4260 PartialMatch = 0 4261 ExactMatch = 0 4262 4263 # Enum QKeySequence.SequenceFormat 4264 NativeText = 0 4265 PortableText = 0 4266 4267 def __init__(self): 4268 '''void QKeySequence.__init__()''' 4269 def __init__(self, ks): 4270 '''void QKeySequence.__init__(QKeySequence ks)''' 4271 def __init__(self, key, format = None): 4272 '''void QKeySequence.__init__(str key, QKeySequence.SequenceFormat format = QKeySequence.NativeText)''' 4273 def __init__(self, k1, key2 = 0, key3 = 0, key4 = 0): 4274 '''void QKeySequence.__init__(int k1, int key2 = 0, int key3 = 0, int key4 = 0)''' 4275 def __init__(self, variant): 4276 '''void QKeySequence.__init__(QVariant variant)''' 4277 def listToString(self, list, format = None): 4278 '''static str QKeySequence.listToString(list-of-QKeySequence list, QKeySequence.SequenceFormat format = QKeySequence.PortableText)''' 4279 return str() 4280 def listFromString(self, str, format = None): 4281 '''static list-of-QKeySequence QKeySequence.listFromString(str str, QKeySequence.SequenceFormat format = QKeySequence.PortableText)''' 4282 return [QKeySequence()] 4283 def keyBindings(self, key): 4284 '''static list-of-QKeySequence QKeySequence.keyBindings(QKeySequence.StandardKey key)''' 4285 return [QKeySequence()] 4286 def fromString(self, str, format = None): 4287 '''static QKeySequence QKeySequence.fromString(str str, QKeySequence.SequenceFormat format = QKeySequence.PortableText)''' 4288 return QKeySequence() 4289 def toString(self, format = None): 4290 '''str QKeySequence.toString(QKeySequence.SequenceFormat format = QKeySequence.PortableText)''' 4291 return str() 4292 def swap(self, other): 4293 '''void QKeySequence.swap(QKeySequence other)''' 4294 def isDetached(self): 4295 '''bool QKeySequence.isDetached()''' 4296 return bool() 4297 def __ge__(self, other): 4298 '''bool QKeySequence.__ge__(QKeySequence other)''' 4299 return bool() 4300 def __le__(self, other): 4301 '''bool QKeySequence.__le__(QKeySequence other)''' 4302 return bool() 4303 def __gt__(self, other): 4304 '''bool QKeySequence.__gt__(QKeySequence other)''' 4305 return bool() 4306 def __lt__(self, ks): 4307 '''bool QKeySequence.__lt__(QKeySequence ks)''' 4308 return bool() 4309 def __ne__(self, other): 4310 '''bool QKeySequence.__ne__(QKeySequence other)''' 4311 return bool() 4312 def __eq__(self, other): 4313 '''bool QKeySequence.__eq__(QKeySequence other)''' 4314 return bool() 4315 def __getitem__(self, i): 4316 '''int QKeySequence.__getitem__(int i)''' 4317 return int() 4318 def mnemonic(self, text): 4319 '''static QKeySequence QKeySequence.mnemonic(str text)''' 4320 return QKeySequence() 4321 def matches(self, seq): 4322 '''QKeySequence.SequenceMatch QKeySequence.matches(QKeySequence seq)''' 4323 return QKeySequence.SequenceMatch() 4324 def isEmpty(self): 4325 '''bool QKeySequence.isEmpty()''' 4326 return bool() 4327 def __len__(self): 4328 ''' QKeySequence.__len__()''' 4329 return () 4330 def count(self): 4331 '''int QKeySequence.count()''' 4332 return int() 4333 4334 4335 class QMatrix4x4(): 4336 """""" 4337 def __init__(self): 4338 '''void QMatrix4x4.__init__()''' 4339 def __init__(self, values): 4340 '''void QMatrix4x4.__init__(sequence-of-float values)''' 4341 def __init__(self, m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44): 4342 '''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)''' 4343 def __init__(self, transform): 4344 '''void QMatrix4x4.__init__(QTransform transform)''' 4345 def __init__(self): 4346 '''QMatrix4x4 QMatrix4x4.__init__()''' 4347 return QMatrix4x4() 4348 def __div__(self, divisor): 4349 '''QMatrix4x4 QMatrix4x4.__div__(float divisor)''' 4350 return QMatrix4x4() 4351 def __add__(self, m2): 4352 '''QMatrix4x4 QMatrix4x4.__add__(QMatrix4x4 m2)''' 4353 return QMatrix4x4() 4354 def __sub__(self, m2): 4355 '''QMatrix4x4 QMatrix4x4.__sub__(QMatrix4x4 m2)''' 4356 return QMatrix4x4() 4357 def __mul__(self, m2): 4358 '''QMatrix4x4 QMatrix4x4.__mul__(QMatrix4x4 m2)''' 4359 return QMatrix4x4() 4360 def __mul__(self, vector): 4361 '''QVector3D QMatrix4x4.__mul__(QVector3D vector)''' 4362 return QVector3D() 4363 def __mul__(self, vector): 4364 '''QVector4D QMatrix4x4.__mul__(QVector4D vector)''' 4365 return QVector4D() 4366 def __mul__(self, point): 4367 '''QPoint QMatrix4x4.__mul__(QPoint point)''' 4368 return QPoint() 4369 def __mul__(self, point): 4370 '''QPointF QMatrix4x4.__mul__(QPointF point)''' 4371 return QPointF() 4372 def __mul__(self, matrix): 4373 '''QMatrix4x4 QMatrix4x4.__mul__(QMatrix4x4 matrix)''' 4374 return QMatrix4x4() 4375 def __mul__(self, factor): 4376 '''QMatrix4x4 QMatrix4x4.__mul__(float factor)''' 4377 return QMatrix4x4() 4378 def __neg__(self): 4379 '''QMatrix4x4 QMatrix4x4.__neg__()''' 4380 return QMatrix4x4() 4381 def isAffine(self): 4382 '''bool QMatrix4x4.isAffine()''' 4383 return bool() 4384 def viewport(self, left, bottom, width, height, nearPlane = 0, farPlane = 1): 4385 '''void QMatrix4x4.viewport(float left, float bottom, float width, float height, float nearPlane = 0, float farPlane = 1)''' 4386 def viewport(self, rect): 4387 '''void QMatrix4x4.viewport(QRectF rect)''' 4388 def mapVector(self, vector): 4389 '''QVector3D QMatrix4x4.mapVector(QVector3D vector)''' 4390 return QVector3D() 4391 def map(self, point): 4392 '''QPoint QMatrix4x4.map(QPoint point)''' 4393 return QPoint() 4394 def map(self, point): 4395 '''QPointF QMatrix4x4.map(QPointF point)''' 4396 return QPointF() 4397 def map(self, point): 4398 '''QVector3D QMatrix4x4.map(QVector3D point)''' 4399 return QVector3D() 4400 def map(self, point): 4401 '''QVector4D QMatrix4x4.map(QVector4D point)''' 4402 return QVector4D() 4403 def __ne__(self, other): 4404 '''bool QMatrix4x4.__ne__(QMatrix4x4 other)''' 4405 return bool() 4406 def __eq__(self, other): 4407 '''bool QMatrix4x4.__eq__(QMatrix4x4 other)''' 4408 return bool() 4409 def __idiv__(self, divisor): 4410 '''QMatrix4x4 QMatrix4x4.__idiv__(float divisor)''' 4411 return QMatrix4x4() 4412 def __imul__(self, other): 4413 '''QMatrix4x4 QMatrix4x4.__imul__(QMatrix4x4 other)''' 4414 return QMatrix4x4() 4415 def __imul__(self, factor): 4416 '''QMatrix4x4 QMatrix4x4.__imul__(float factor)''' 4417 return QMatrix4x4() 4418 def __isub__(self, other): 4419 '''QMatrix4x4 QMatrix4x4.__isub__(QMatrix4x4 other)''' 4420 return QMatrix4x4() 4421 def __iadd__(self, other): 4422 '''QMatrix4x4 QMatrix4x4.__iadd__(QMatrix4x4 other)''' 4423 return QMatrix4x4() 4424 def fill(self, value): 4425 '''void QMatrix4x4.fill(float value)''' 4426 def setToIdentity(self): 4427 '''void QMatrix4x4.setToIdentity()''' 4428 def isIdentity(self): 4429 '''bool QMatrix4x4.isIdentity()''' 4430 return bool() 4431 def setRow(self, index, value): 4432 '''void QMatrix4x4.setRow(int index, QVector4D value)''' 4433 def row(self, index): 4434 '''QVector4D QMatrix4x4.row(int index)''' 4435 return QVector4D() 4436 def setColumn(self, index, value): 4437 '''void QMatrix4x4.setColumn(int index, QVector4D value)''' 4438 def column(self, index): 4439 '''QVector4D QMatrix4x4.column(int index)''' 4440 return QVector4D() 4441 def __setitem__(self): 4442 '''float QMatrix4x4.__setitem__()''' 4443 return float() 4444 def __getitem__(self): 4445 '''object QMatrix4x4.__getitem__()''' 4446 return object() 4447 def optimize(self): 4448 '''void QMatrix4x4.optimize()''' 4449 def data(self): 4450 '''list-of-float QMatrix4x4.data()''' 4451 return [float()] 4452 def mapRect(self, rect): 4453 '''QRect QMatrix4x4.mapRect(QRect rect)''' 4454 return QRect() 4455 def mapRect(self, rect): 4456 '''QRectF QMatrix4x4.mapRect(QRectF rect)''' 4457 return QRectF() 4458 def toTransform(self): 4459 '''QTransform QMatrix4x4.toTransform()''' 4460 return QTransform() 4461 def toTransform(self, distanceToPlane): 4462 '''QTransform QMatrix4x4.toTransform(float distanceToPlane)''' 4463 return QTransform() 4464 def copyDataTo(self): 4465 '''list-of-float QMatrix4x4.copyDataTo()''' 4466 return [float()] 4467 def lookAt(self, eye, center, up): 4468 '''void QMatrix4x4.lookAt(QVector3D eye, QVector3D center, QVector3D up)''' 4469 def perspective(self, angle, aspect, nearPlane, farPlane): 4470 '''void QMatrix4x4.perspective(float angle, float aspect, float nearPlane, float farPlane)''' 4471 def frustum(self, left, right, bottom, top, nearPlane, farPlane): 4472 '''void QMatrix4x4.frustum(float left, float right, float bottom, float top, float nearPlane, float farPlane)''' 4473 def ortho(self, rect): 4474 '''void QMatrix4x4.ortho(QRect rect)''' 4475 def ortho(self, rect): 4476 '''void QMatrix4x4.ortho(QRectF rect)''' 4477 def ortho(self, left, right, bottom, top, nearPlane, farPlane): 4478 '''void QMatrix4x4.ortho(float left, float right, float bottom, float top, float nearPlane, float farPlane)''' 4479 def rotate(self, angle, vector): 4480 '''void QMatrix4x4.rotate(float angle, QVector3D vector)''' 4481 def rotate(self, angle, x, y, z = 0): 4482 '''void QMatrix4x4.rotate(float angle, float x, float y, float z = 0)''' 4483 def rotate(self, quaternion): 4484 '''void QMatrix4x4.rotate(QQuaternion quaternion)''' 4485 def translate(self, vector): 4486 '''void QMatrix4x4.translate(QVector3D vector)''' 4487 def translate(self, x, y): 4488 '''void QMatrix4x4.translate(float x, float y)''' 4489 def translate(self, x, y, z): 4490 '''void QMatrix4x4.translate(float x, float y, float z)''' 4491 def scale(self, vector): 4492 '''void QMatrix4x4.scale(QVector3D vector)''' 4493 def scale(self, x, y): 4494 '''void QMatrix4x4.scale(float x, float y)''' 4495 def scale(self, x, y, z): 4496 '''void QMatrix4x4.scale(float x, float y, float z)''' 4497 def scale(self, factor): 4498 '''void QMatrix4x4.scale(float factor)''' 4499 def normalMatrix(self): 4500 '''QMatrix3x3 QMatrix4x4.normalMatrix()''' 4501 return QMatrix3x3() 4502 def transposed(self): 4503 '''QMatrix4x4 QMatrix4x4.transposed()''' 4504 return QMatrix4x4() 4505 def inverted(self, invertible): 4506 '''QMatrix4x4 QMatrix4x4.inverted(bool invertible)''' 4507 return QMatrix4x4() 4508 def determinant(self): 4509 '''float QMatrix4x4.determinant()''' 4510 return float() 4511 def __repr__(self): 4512 '''str QMatrix4x4.__repr__()''' 4513 return str() 4514 4515 4516 class QMovie(QObject): 4517 """""" 4518 # Enum QMovie.CacheMode 4519 CacheNone = 0 4520 CacheAll = 0 4521 4522 # Enum QMovie.MovieState 4523 NotRunning = 0 4524 Paused = 0 4525 Running = 0 4526 4527 def __init__(self, parent = None): 4528 '''void QMovie.__init__(QObject parent = None)''' 4529 def __init__(self, device, format = QByteArray(), parent = None): 4530 '''void QMovie.__init__(QIODevice device, QByteArray format = QByteArray(), QObject parent = None)''' 4531 def __init__(self, fileName, format = QByteArray(), parent = None): 4532 '''void QMovie.__init__(str fileName, QByteArray format = QByteArray(), QObject parent = None)''' 4533 def stop(self): 4534 '''void QMovie.stop()''' 4535 def setPaused(self, paused): 4536 '''void QMovie.setPaused(bool paused)''' 4537 def jumpToNextFrame(self): 4538 '''bool QMovie.jumpToNextFrame()''' 4539 return bool() 4540 def start(self): 4541 '''void QMovie.start()''' 4542 frameChanged = pyqtSignal() # void frameChanged(int) - signal 4543 finished = pyqtSignal() # void finished() - signal 4544 error = pyqtSignal() # void error(QImageReader::ImageReaderError) - signal 4545 stateChanged = pyqtSignal() # void stateChanged(QMovie::MovieState) - signal 4546 updated = pyqtSignal() # void updated(const QRectamp;) - signal 4547 resized = pyqtSignal() # void resized(const QSizeamp;) - signal 4548 started = pyqtSignal() # void started() - signal 4549 def setCacheMode(self, mode): 4550 '''void QMovie.setCacheMode(QMovie.CacheMode mode)''' 4551 def cacheMode(self): 4552 '''QMovie.CacheMode QMovie.cacheMode()''' 4553 return QMovie.CacheMode() 4554 def setScaledSize(self, size): 4555 '''void QMovie.setScaledSize(QSize size)''' 4556 def scaledSize(self): 4557 '''QSize QMovie.scaledSize()''' 4558 return QSize() 4559 def speed(self): 4560 '''int QMovie.speed()''' 4561 return int() 4562 def setSpeed(self, percentSpeed): 4563 '''void QMovie.setSpeed(int percentSpeed)''' 4564 def currentFrameNumber(self): 4565 '''int QMovie.currentFrameNumber()''' 4566 return int() 4567 def nextFrameDelay(self): 4568 '''int QMovie.nextFrameDelay()''' 4569 return int() 4570 def frameCount(self): 4571 '''int QMovie.frameCount()''' 4572 return int() 4573 def loopCount(self): 4574 '''int QMovie.loopCount()''' 4575 return int() 4576 def jumpToFrame(self, frameNumber): 4577 '''bool QMovie.jumpToFrame(int frameNumber)''' 4578 return bool() 4579 def isValid(self): 4580 '''bool QMovie.isValid()''' 4581 return bool() 4582 def currentPixmap(self): 4583 '''QPixmap QMovie.currentPixmap()''' 4584 return QPixmap() 4585 def currentImage(self): 4586 '''QImage QMovie.currentImage()''' 4587 return QImage() 4588 def frameRect(self): 4589 '''QRect QMovie.frameRect()''' 4590 return QRect() 4591 def state(self): 4592 '''QMovie.MovieState QMovie.state()''' 4593 return QMovie.MovieState() 4594 def backgroundColor(self): 4595 '''QColor QMovie.backgroundColor()''' 4596 return QColor() 4597 def setBackgroundColor(self, color): 4598 '''void QMovie.setBackgroundColor(QColor color)''' 4599 def format(self): 4600 '''QByteArray QMovie.format()''' 4601 return QByteArray() 4602 def setFormat(self, format): 4603 '''void QMovie.setFormat(QByteArray format)''' 4604 def fileName(self): 4605 '''str QMovie.fileName()''' 4606 return str() 4607 def setFileName(self, fileName): 4608 '''void QMovie.setFileName(str fileName)''' 4609 def device(self): 4610 '''QIODevice QMovie.device()''' 4611 return QIODevice() 4612 def setDevice(self, device): 4613 '''void QMovie.setDevice(QIODevice device)''' 4614 def supportedFormats(self): 4615 '''static list-of-QByteArray QMovie.supportedFormats()''' 4616 return [QByteArray()] 4617 4618 4619 class QSurface(): 4620 """""" 4621 # Enum QSurface.SurfaceType 4622 RasterSurface = 0 4623 OpenGLSurface = 0 4624 RasterGLSurface = 0 4625 4626 # Enum QSurface.SurfaceClass 4627 Window = 0 4628 Offscreen = 0 4629 4630 def __init__(self, type): 4631 '''void QSurface.__init__(QSurface.SurfaceClass type)''' 4632 def __init__(self): 4633 '''QSurface QSurface.__init__()''' 4634 return QSurface() 4635 def supportsOpenGL(self): 4636 '''bool QSurface.supportsOpenGL()''' 4637 return bool() 4638 def size(self): 4639 '''abstract QSize QSurface.size()''' 4640 return QSize() 4641 def surfaceType(self): 4642 '''abstract QSurface.SurfaceType QSurface.surfaceType()''' 4643 return QSurface.SurfaceType() 4644 def format(self): 4645 '''abstract QSurfaceFormat QSurface.format()''' 4646 return QSurfaceFormat() 4647 def surfaceClass(self): 4648 '''QSurface.SurfaceClass QSurface.surfaceClass()''' 4649 return QSurface.SurfaceClass() 4650 4651 4652 class QOffscreenSurface(QObject, QSurface): 4653 """""" 4654 def __init__(self, screen = None): 4655 '''void QOffscreenSurface.__init__(QScreen screen = None)''' 4656 screenChanged = pyqtSignal() # void screenChanged(QScreen*) - signal 4657 def setScreen(self, screen): 4658 '''void QOffscreenSurface.setScreen(QScreen screen)''' 4659 def screen(self): 4660 '''QScreen QOffscreenSurface.screen()''' 4661 return QScreen() 4662 def size(self): 4663 '''QSize QOffscreenSurface.size()''' 4664 return QSize() 4665 def requestedFormat(self): 4666 '''QSurfaceFormat QOffscreenSurface.requestedFormat()''' 4667 return QSurfaceFormat() 4668 def format(self): 4669 '''QSurfaceFormat QOffscreenSurface.format()''' 4670 return QSurfaceFormat() 4671 def setFormat(self, format): 4672 '''void QOffscreenSurface.setFormat(QSurfaceFormat format)''' 4673 def isValid(self): 4674 '''bool QOffscreenSurface.isValid()''' 4675 return bool() 4676 def destroy(self): 4677 '''void QOffscreenSurface.destroy()''' 4678 def create(self): 4679 '''void QOffscreenSurface.create()''' 4680 def surfaceType(self): 4681 '''QSurface.SurfaceType QOffscreenSurface.surfaceType()''' 4682 return QSurface.SurfaceType() 4683 4684 4685 class QOpenGLBuffer(): 4686 """""" 4687 # Enum QOpenGLBuffer.RangeAccessFlag 4688 RangeRead = 0 4689 RangeWrite = 0 4690 RangeInvalidate = 0 4691 RangeInvalidateBuffer = 0 4692 RangeFlushExplicit = 0 4693 RangeUnsynchronized = 0 4694 4695 # Enum QOpenGLBuffer.Access 4696 ReadOnly = 0 4697 WriteOnly = 0 4698 ReadWrite = 0 4699 4700 # Enum QOpenGLBuffer.UsagePattern 4701 StreamDraw = 0 4702 StreamRead = 0 4703 StreamCopy = 0 4704 StaticDraw = 0 4705 StaticRead = 0 4706 StaticCopy = 0 4707 DynamicDraw = 0 4708 DynamicRead = 0 4709 DynamicCopy = 0 4710 4711 # Enum QOpenGLBuffer.Type 4712 VertexBuffer = 0 4713 IndexBuffer = 0 4714 PixelPackBuffer = 0 4715 PixelUnpackBuffer = 0 4716 4717 def __init__(self): 4718 '''void QOpenGLBuffer.__init__()''' 4719 def __init__(self, type): 4720 '''void QOpenGLBuffer.__init__(QOpenGLBuffer.Type type)''' 4721 def __init__(self, other): 4722 '''void QOpenGLBuffer.__init__(QOpenGLBuffer other)''' 4723 def mapRange(self, offset, count, access): 4724 '''sip.voidptr QOpenGLBuffer.mapRange(int offset, int count, QOpenGLBuffer.RangeAccessFlags access)''' 4725 return sip.voidptr() 4726 def unmap(self): 4727 '''bool QOpenGLBuffer.unmap()''' 4728 return bool() 4729 def map(self, access): 4730 '''sip.voidptr QOpenGLBuffer.map(QOpenGLBuffer.Access access)''' 4731 return sip.voidptr() 4732 def allocate(self, data, count): 4733 '''void QOpenGLBuffer.allocate(sip.voidptr data, int count)''' 4734 def allocate(self, count): 4735 '''void QOpenGLBuffer.allocate(int count)''' 4736 def write(self, offset, data, count): 4737 '''void QOpenGLBuffer.write(int offset, sip.voidptr data, int count)''' 4738 def read(self, offset, data, count): 4739 '''bool QOpenGLBuffer.read(int offset, sip.voidptr data, int count)''' 4740 return bool() 4741 def __len__(self): 4742 ''' QOpenGLBuffer.__len__()''' 4743 return () 4744 def size(self): 4745 '''int QOpenGLBuffer.size()''' 4746 return int() 4747 def bufferId(self): 4748 '''int QOpenGLBuffer.bufferId()''' 4749 return int() 4750 def release(self): 4751 '''void QOpenGLBuffer.release()''' 4752 def release(self, type): 4753 '''static void QOpenGLBuffer.release(QOpenGLBuffer.Type type)''' 4754 def bind(self): 4755 '''bool QOpenGLBuffer.bind()''' 4756 return bool() 4757 def destroy(self): 4758 '''void QOpenGLBuffer.destroy()''' 4759 def isCreated(self): 4760 '''bool QOpenGLBuffer.isCreated()''' 4761 return bool() 4762 def create(self): 4763 '''bool QOpenGLBuffer.create()''' 4764 return bool() 4765 def setUsagePattern(self, value): 4766 '''void QOpenGLBuffer.setUsagePattern(QOpenGLBuffer.UsagePattern value)''' 4767 def usagePattern(self): 4768 '''QOpenGLBuffer.UsagePattern QOpenGLBuffer.usagePattern()''' 4769 return QOpenGLBuffer.UsagePattern() 4770 def type(self): 4771 '''QOpenGLBuffer.Type QOpenGLBuffer.type()''' 4772 return QOpenGLBuffer.Type() 4773 class RangeAccessFlags(): 4774 """""" 4775 def __init__(self): 4776 '''QOpenGLBuffer.RangeAccessFlags QOpenGLBuffer.RangeAccessFlags.__init__()''' 4777 return QOpenGLBuffer.RangeAccessFlags() 4778 def __init__(self): 4779 '''int QOpenGLBuffer.RangeAccessFlags.__init__()''' 4780 return int() 4781 def __init__(self): 4782 '''void QOpenGLBuffer.RangeAccessFlags.__init__()''' 4783 def __bool__(self): 4784 '''int QOpenGLBuffer.RangeAccessFlags.__bool__()''' 4785 return int() 4786 def __ne__(self, f): 4787 '''bool QOpenGLBuffer.RangeAccessFlags.__ne__(QOpenGLBuffer.RangeAccessFlags f)''' 4788 return bool() 4789 def __eq__(self, f): 4790 '''bool QOpenGLBuffer.RangeAccessFlags.__eq__(QOpenGLBuffer.RangeAccessFlags f)''' 4791 return bool() 4792 def __invert__(self): 4793 '''QOpenGLBuffer.RangeAccessFlags QOpenGLBuffer.RangeAccessFlags.__invert__()''' 4794 return QOpenGLBuffer.RangeAccessFlags() 4795 def __and__(self, mask): 4796 '''QOpenGLBuffer.RangeAccessFlags QOpenGLBuffer.RangeAccessFlags.__and__(int mask)''' 4797 return QOpenGLBuffer.RangeAccessFlags() 4798 def __xor__(self, f): 4799 '''QOpenGLBuffer.RangeAccessFlags QOpenGLBuffer.RangeAccessFlags.__xor__(QOpenGLBuffer.RangeAccessFlags f)''' 4800 return QOpenGLBuffer.RangeAccessFlags() 4801 def __xor__(self, f): 4802 '''QOpenGLBuffer.RangeAccessFlags QOpenGLBuffer.RangeAccessFlags.__xor__(int f)''' 4803 return QOpenGLBuffer.RangeAccessFlags() 4804 def __or__(self, f): 4805 '''QOpenGLBuffer.RangeAccessFlags QOpenGLBuffer.RangeAccessFlags.__or__(QOpenGLBuffer.RangeAccessFlags f)''' 4806 return QOpenGLBuffer.RangeAccessFlags() 4807 def __or__(self, f): 4808 '''QOpenGLBuffer.RangeAccessFlags QOpenGLBuffer.RangeAccessFlags.__or__(int f)''' 4809 return QOpenGLBuffer.RangeAccessFlags() 4810 def __int__(self): 4811 '''int QOpenGLBuffer.RangeAccessFlags.__int__()''' 4812 return int() 4813 def __ixor__(self, f): 4814 '''QOpenGLBuffer.RangeAccessFlags QOpenGLBuffer.RangeAccessFlags.__ixor__(QOpenGLBuffer.RangeAccessFlags f)''' 4815 return QOpenGLBuffer.RangeAccessFlags() 4816 def __ior__(self, f): 4817 '''QOpenGLBuffer.RangeAccessFlags QOpenGLBuffer.RangeAccessFlags.__ior__(QOpenGLBuffer.RangeAccessFlags f)''' 4818 return QOpenGLBuffer.RangeAccessFlags() 4819 def __iand__(self, mask): 4820 '''QOpenGLBuffer.RangeAccessFlags QOpenGLBuffer.RangeAccessFlags.__iand__(int mask)''' 4821 return QOpenGLBuffer.RangeAccessFlags() 4822 4823 4824 class QOpenGLContextGroup(QObject): 4825 """""" 4826 def currentContextGroup(self): 4827 '''static QOpenGLContextGroup QOpenGLContextGroup.currentContextGroup()''' 4828 return QOpenGLContextGroup() 4829 def shares(self): 4830 '''list-of-QOpenGLContext QOpenGLContextGroup.shares()''' 4831 return [QOpenGLContext()] 4832 4833 4834 class QOpenGLContext(QObject): 4835 """""" 4836 # Enum QOpenGLContext.OpenGLModuleType 4837 LibGL = 0 4838 LibGLES = 0 4839 4840 def __init__(self, parent = None): 4841 '''void QOpenGLContext.__init__(QObject parent = None)''' 4842 def globalShareContext(self): 4843 '''static QOpenGLContext QOpenGLContext.globalShareContext()''' 4844 return QOpenGLContext() 4845 def supportsThreadedOpenGL(self): 4846 '''static bool QOpenGLContext.supportsThreadedOpenGL()''' 4847 return bool() 4848 def nativeHandle(self): 4849 '''QVariant QOpenGLContext.nativeHandle()''' 4850 return QVariant() 4851 def setNativeHandle(self, handle): 4852 '''void QOpenGLContext.setNativeHandle(QVariant handle)''' 4853 def isOpenGLES(self): 4854 '''bool QOpenGLContext.isOpenGLES()''' 4855 return bool() 4856 def openGLModuleType(self): 4857 '''static QOpenGLContext.OpenGLModuleType QOpenGLContext.openGLModuleType()''' 4858 return QOpenGLContext.OpenGLModuleType() 4859 def openGLModuleHandle(self): 4860 '''static sip.voidptr QOpenGLContext.openGLModuleHandle()''' 4861 return sip.voidptr() 4862 def versionFunctions(self, versionProfile = None): 4863 '''object QOpenGLContext.versionFunctions(QOpenGLVersionProfile versionProfile = None)''' 4864 return object() 4865 aboutToBeDestroyed = pyqtSignal() # void aboutToBeDestroyed() - signal 4866 def hasExtension(self, extension): 4867 '''bool QOpenGLContext.hasExtension(QByteArray extension)''' 4868 return bool() 4869 def extensions(self): 4870 '''set-of-QByteArray QOpenGLContext.extensions()''' 4871 return set-of-QByteArray() 4872 def areSharing(self, first, second): 4873 '''static bool QOpenGLContext.areSharing(QOpenGLContext first, QOpenGLContext second)''' 4874 return bool() 4875 def currentContext(self): 4876 '''static QOpenGLContext QOpenGLContext.currentContext()''' 4877 return QOpenGLContext() 4878 def surface(self): 4879 '''QSurface QOpenGLContext.surface()''' 4880 return QSurface() 4881 def swapBuffers(self, surface): 4882 '''void QOpenGLContext.swapBuffers(QSurface surface)''' 4883 def doneCurrent(self): 4884 '''void QOpenGLContext.doneCurrent()''' 4885 def makeCurrent(self, surface): 4886 '''bool QOpenGLContext.makeCurrent(QSurface surface)''' 4887 return bool() 4888 def defaultFramebufferObject(self): 4889 '''int QOpenGLContext.defaultFramebufferObject()''' 4890 return int() 4891 def screen(self): 4892 '''QScreen QOpenGLContext.screen()''' 4893 return QScreen() 4894 def shareGroup(self): 4895 '''QOpenGLContextGroup QOpenGLContext.shareGroup()''' 4896 return QOpenGLContextGroup() 4897 def shareContext(self): 4898 '''QOpenGLContext QOpenGLContext.shareContext()''' 4899 return QOpenGLContext() 4900 def format(self): 4901 '''QSurfaceFormat QOpenGLContext.format()''' 4902 return QSurfaceFormat() 4903 def isValid(self): 4904 '''bool QOpenGLContext.isValid()''' 4905 return bool() 4906 def create(self): 4907 '''bool QOpenGLContext.create()''' 4908 return bool() 4909 def setScreen(self, screen): 4910 '''void QOpenGLContext.setScreen(QScreen screen)''' 4911 def setShareContext(self, shareContext): 4912 '''void QOpenGLContext.setShareContext(QOpenGLContext shareContext)''' 4913 def setFormat(self, format): 4914 '''void QOpenGLContext.setFormat(QSurfaceFormat format)''' 4915 4916 4917 class QOpenGLVersionProfile(): 4918 """""" 4919 def __init__(self): 4920 '''void QOpenGLVersionProfile.__init__()''' 4921 def __init__(self, format): 4922 '''void QOpenGLVersionProfile.__init__(QSurfaceFormat format)''' 4923 def __init__(self, other): 4924 '''void QOpenGLVersionProfile.__init__(QOpenGLVersionProfile other)''' 4925 def __eq__(self, rhs): 4926 '''bool QOpenGLVersionProfile.__eq__(QOpenGLVersionProfile rhs)''' 4927 return bool() 4928 def __ne__(self, rhs): 4929 '''bool QOpenGLVersionProfile.__ne__(QOpenGLVersionProfile rhs)''' 4930 return bool() 4931 def isValid(self): 4932 '''bool QOpenGLVersionProfile.isValid()''' 4933 return bool() 4934 def isLegacyVersion(self): 4935 '''bool QOpenGLVersionProfile.isLegacyVersion()''' 4936 return bool() 4937 def hasProfiles(self): 4938 '''bool QOpenGLVersionProfile.hasProfiles()''' 4939 return bool() 4940 def setProfile(self, profile): 4941 '''void QOpenGLVersionProfile.setProfile(QSurfaceFormat.OpenGLContextProfile profile)''' 4942 def profile(self): 4943 '''QSurfaceFormat.OpenGLContextProfile QOpenGLVersionProfile.profile()''' 4944 return QSurfaceFormat.OpenGLContextProfile() 4945 def setVersion(self, majorVersion, minorVersion): 4946 '''void QOpenGLVersionProfile.setVersion(int majorVersion, int minorVersion)''' 4947 def version(self): 4948 '''tuple-of-int-int QOpenGLVersionProfile.version()''' 4949 return tuple-of-int-int() 4950 4951 4952 class QOpenGLDebugMessage(): 4953 """""" 4954 # Enum QOpenGLDebugMessage.Severity 4955 InvalidSeverity = 0 4956 HighSeverity = 0 4957 MediumSeverity = 0 4958 LowSeverity = 0 4959 NotificationSeverity = 0 4960 AnySeverity = 0 4961 4962 # Enum QOpenGLDebugMessage.Type 4963 InvalidType = 0 4964 ErrorType = 0 4965 DeprecatedBehaviorType = 0 4966 UndefinedBehaviorType = 0 4967 PortabilityType = 0 4968 PerformanceType = 0 4969 OtherType = 0 4970 MarkerType = 0 4971 GroupPushType = 0 4972 GroupPopType = 0 4973 AnyType = 0 4974 4975 # Enum QOpenGLDebugMessage.Source 4976 InvalidSource = 0 4977 APISource = 0 4978 WindowSystemSource = 0 4979 ShaderCompilerSource = 0 4980 ThirdPartySource = 0 4981 ApplicationSource = 0 4982 OtherSource = 0 4983 AnySource = 0 4984 4985 def __init__(self): 4986 '''void QOpenGLDebugMessage.__init__()''' 4987 def __init__(self, debugMessage): 4988 '''void QOpenGLDebugMessage.__init__(QOpenGLDebugMessage debugMessage)''' 4989 def __ne__(self, debugMessage): 4990 '''bool QOpenGLDebugMessage.__ne__(QOpenGLDebugMessage debugMessage)''' 4991 return bool() 4992 def __eq__(self, debugMessage): 4993 '''bool QOpenGLDebugMessage.__eq__(QOpenGLDebugMessage debugMessage)''' 4994 return bool() 4995 def createThirdPartyMessage(self, text, id = 0, severity = None, type = None): 4996 '''static QOpenGLDebugMessage QOpenGLDebugMessage.createThirdPartyMessage(str text, int id = 0, QOpenGLDebugMessage.Severity severity = QOpenGLDebugMessage.NotificationSeverity, QOpenGLDebugMessage.Type type = QOpenGLDebugMessage.OtherType)''' 4997 return QOpenGLDebugMessage() 4998 def createApplicationMessage(self, text, id = 0, severity = None, type = None): 4999 '''static QOpenGLDebugMessage QOpenGLDebugMessage.createApplicationMessage(str text, int id = 0, QOpenGLDebugMessage.Severity severity = QOpenGLDebugMessage.NotificationSeverity, QOpenGLDebugMessage.Type type = QOpenGLDebugMessage.OtherType)''' 5000 return QOpenGLDebugMessage() 5001 def message(self): 5002 '''str QOpenGLDebugMessage.message()''' 5003 return str() 5004 def id(self): 5005 '''int QOpenGLDebugMessage.id()''' 5006 return int() 5007 def severity(self): 5008 '''QOpenGLDebugMessage.Severity QOpenGLDebugMessage.severity()''' 5009 return QOpenGLDebugMessage.Severity() 5010 def type(self): 5011 '''QOpenGLDebugMessage.Type QOpenGLDebugMessage.type()''' 5012 return QOpenGLDebugMessage.Type() 5013 def source(self): 5014 '''QOpenGLDebugMessage.Source QOpenGLDebugMessage.source()''' 5015 return QOpenGLDebugMessage.Source() 5016 def swap(self, debugMessage): 5017 '''void QOpenGLDebugMessage.swap(QOpenGLDebugMessage debugMessage)''' 5018 class Sources(): 5019 """""" 5020 def __init__(self): 5021 '''QOpenGLDebugMessage.Sources QOpenGLDebugMessage.Sources.__init__()''' 5022 return QOpenGLDebugMessage.Sources() 5023 def __init__(self): 5024 '''int QOpenGLDebugMessage.Sources.__init__()''' 5025 return int() 5026 def __init__(self): 5027 '''void QOpenGLDebugMessage.Sources.__init__()''' 5028 def __bool__(self): 5029 '''int QOpenGLDebugMessage.Sources.__bool__()''' 5030 return int() 5031 def __ne__(self, f): 5032 '''bool QOpenGLDebugMessage.Sources.__ne__(QOpenGLDebugMessage.Sources f)''' 5033 return bool() 5034 def __eq__(self, f): 5035 '''bool QOpenGLDebugMessage.Sources.__eq__(QOpenGLDebugMessage.Sources f)''' 5036 return bool() 5037 def __invert__(self): 5038 '''QOpenGLDebugMessage.Sources QOpenGLDebugMessage.Sources.__invert__()''' 5039 return QOpenGLDebugMessage.Sources() 5040 def __and__(self, mask): 5041 '''QOpenGLDebugMessage.Sources QOpenGLDebugMessage.Sources.__and__(int mask)''' 5042 return QOpenGLDebugMessage.Sources() 5043 def __xor__(self, f): 5044 '''QOpenGLDebugMessage.Sources QOpenGLDebugMessage.Sources.__xor__(QOpenGLDebugMessage.Sources f)''' 5045 return QOpenGLDebugMessage.Sources() 5046 def __xor__(self, f): 5047 '''QOpenGLDebugMessage.Sources QOpenGLDebugMessage.Sources.__xor__(int f)''' 5048 return QOpenGLDebugMessage.Sources() 5049 def __or__(self, f): 5050 '''QOpenGLDebugMessage.Sources QOpenGLDebugMessage.Sources.__or__(QOpenGLDebugMessage.Sources f)''' 5051 return QOpenGLDebugMessage.Sources() 5052 def __or__(self, f): 5053 '''QOpenGLDebugMessage.Sources QOpenGLDebugMessage.Sources.__or__(int f)''' 5054 return QOpenGLDebugMessage.Sources() 5055 def __int__(self): 5056 '''int QOpenGLDebugMessage.Sources.__int__()''' 5057 return int() 5058 def __ixor__(self, f): 5059 '''QOpenGLDebugMessage.Sources QOpenGLDebugMessage.Sources.__ixor__(QOpenGLDebugMessage.Sources f)''' 5060 return QOpenGLDebugMessage.Sources() 5061 def __ior__(self, f): 5062 '''QOpenGLDebugMessage.Sources QOpenGLDebugMessage.Sources.__ior__(QOpenGLDebugMessage.Sources f)''' 5063 return QOpenGLDebugMessage.Sources() 5064 def __iand__(self, mask): 5065 '''QOpenGLDebugMessage.Sources QOpenGLDebugMessage.Sources.__iand__(int mask)''' 5066 return QOpenGLDebugMessage.Sources() 5067 class Severities(): 5068 """""" 5069 def __init__(self): 5070 '''QOpenGLDebugMessage.Severities QOpenGLDebugMessage.Severities.__init__()''' 5071 return QOpenGLDebugMessage.Severities() 5072 def __init__(self): 5073 '''int QOpenGLDebugMessage.Severities.__init__()''' 5074 return int() 5075 def __init__(self): 5076 '''void QOpenGLDebugMessage.Severities.__init__()''' 5077 def __bool__(self): 5078 '''int QOpenGLDebugMessage.Severities.__bool__()''' 5079 return int() 5080 def __ne__(self, f): 5081 '''bool QOpenGLDebugMessage.Severities.__ne__(QOpenGLDebugMessage.Severities f)''' 5082 return bool() 5083 def __eq__(self, f): 5084 '''bool QOpenGLDebugMessage.Severities.__eq__(QOpenGLDebugMessage.Severities f)''' 5085 return bool() 5086 def __invert__(self): 5087 '''QOpenGLDebugMessage.Severities QOpenGLDebugMessage.Severities.__invert__()''' 5088 return QOpenGLDebugMessage.Severities() 5089 def __and__(self, mask): 5090 '''QOpenGLDebugMessage.Severities QOpenGLDebugMessage.Severities.__and__(int mask)''' 5091 return QOpenGLDebugMessage.Severities() 5092 def __xor__(self, f): 5093 '''QOpenGLDebugMessage.Severities QOpenGLDebugMessage.Severities.__xor__(QOpenGLDebugMessage.Severities f)''' 5094 return QOpenGLDebugMessage.Severities() 5095 def __xor__(self, f): 5096 '''QOpenGLDebugMessage.Severities QOpenGLDebugMessage.Severities.__xor__(int f)''' 5097 return QOpenGLDebugMessage.Severities() 5098 def __or__(self, f): 5099 '''QOpenGLDebugMessage.Severities QOpenGLDebugMessage.Severities.__or__(QOpenGLDebugMessage.Severities f)''' 5100 return QOpenGLDebugMessage.Severities() 5101 def __or__(self, f): 5102 '''QOpenGLDebugMessage.Severities QOpenGLDebugMessage.Severities.__or__(int f)''' 5103 return QOpenGLDebugMessage.Severities() 5104 def __int__(self): 5105 '''int QOpenGLDebugMessage.Severities.__int__()''' 5106 return int() 5107 def __ixor__(self, f): 5108 '''QOpenGLDebugMessage.Severities QOpenGLDebugMessage.Severities.__ixor__(QOpenGLDebugMessage.Severities f)''' 5109 return QOpenGLDebugMessage.Severities() 5110 def __ior__(self, f): 5111 '''QOpenGLDebugMessage.Severities QOpenGLDebugMessage.Severities.__ior__(QOpenGLDebugMessage.Severities f)''' 5112 return QOpenGLDebugMessage.Severities() 5113 def __iand__(self, mask): 5114 '''QOpenGLDebugMessage.Severities QOpenGLDebugMessage.Severities.__iand__(int mask)''' 5115 return QOpenGLDebugMessage.Severities() 5116 class Types(): 5117 """""" 5118 def __init__(self): 5119 '''QOpenGLDebugMessage.Types QOpenGLDebugMessage.Types.__init__()''' 5120 return QOpenGLDebugMessage.Types() 5121 def __init__(self): 5122 '''int QOpenGLDebugMessage.Types.__init__()''' 5123 return int() 5124 def __init__(self): 5125 '''void QOpenGLDebugMessage.Types.__init__()''' 5126 def __bool__(self): 5127 '''int QOpenGLDebugMessage.Types.__bool__()''' 5128 return int() 5129 def __ne__(self, f): 5130 '''bool QOpenGLDebugMessage.Types.__ne__(QOpenGLDebugMessage.Types f)''' 5131 return bool() 5132 def __eq__(self, f): 5133 '''bool QOpenGLDebugMessage.Types.__eq__(QOpenGLDebugMessage.Types f)''' 5134 return bool() 5135 def __invert__(self): 5136 '''QOpenGLDebugMessage.Types QOpenGLDebugMessage.Types.__invert__()''' 5137 return QOpenGLDebugMessage.Types() 5138 def __and__(self, mask): 5139 '''QOpenGLDebugMessage.Types QOpenGLDebugMessage.Types.__and__(int mask)''' 5140 return QOpenGLDebugMessage.Types() 5141 def __xor__(self, f): 5142 '''QOpenGLDebugMessage.Types QOpenGLDebugMessage.Types.__xor__(QOpenGLDebugMessage.Types f)''' 5143 return QOpenGLDebugMessage.Types() 5144 def __xor__(self, f): 5145 '''QOpenGLDebugMessage.Types QOpenGLDebugMessage.Types.__xor__(int f)''' 5146 return QOpenGLDebugMessage.Types() 5147 def __or__(self, f): 5148 '''QOpenGLDebugMessage.Types QOpenGLDebugMessage.Types.__or__(QOpenGLDebugMessage.Types f)''' 5149 return QOpenGLDebugMessage.Types() 5150 def __or__(self, f): 5151 '''QOpenGLDebugMessage.Types QOpenGLDebugMessage.Types.__or__(int f)''' 5152 return QOpenGLDebugMessage.Types() 5153 def __int__(self): 5154 '''int QOpenGLDebugMessage.Types.__int__()''' 5155 return int() 5156 def __ixor__(self, f): 5157 '''QOpenGLDebugMessage.Types QOpenGLDebugMessage.Types.__ixor__(QOpenGLDebugMessage.Types f)''' 5158 return QOpenGLDebugMessage.Types() 5159 def __ior__(self, f): 5160 '''QOpenGLDebugMessage.Types QOpenGLDebugMessage.Types.__ior__(QOpenGLDebugMessage.Types f)''' 5161 return QOpenGLDebugMessage.Types() 5162 def __iand__(self, mask): 5163 '''QOpenGLDebugMessage.Types QOpenGLDebugMessage.Types.__iand__(int mask)''' 5164 return QOpenGLDebugMessage.Types() 5165 5166 5167 class QOpenGLDebugLogger(QObject): 5168 """""" 5169 # Enum QOpenGLDebugLogger.LoggingMode 5170 AsynchronousLogging = 0 5171 SynchronousLogging = 0 5172 5173 def __init__(self, parent = None): 5174 '''void QOpenGLDebugLogger.__init__(QObject parent = None)''' 5175 messageLogged = pyqtSignal() # void messageLogged(const QOpenGLDebugMessageamp;) - signal 5176 def stopLogging(self): 5177 '''void QOpenGLDebugLogger.stopLogging()''' 5178 def startLogging(self, loggingMode = None): 5179 '''void QOpenGLDebugLogger.startLogging(QOpenGLDebugLogger.LoggingMode loggingMode = QOpenGLDebugLogger.AsynchronousLogging)''' 5180 def logMessage(self, debugMessage): 5181 '''void QOpenGLDebugLogger.logMessage(QOpenGLDebugMessage debugMessage)''' 5182 def loggedMessages(self): 5183 '''list-of-QOpenGLDebugMessage QOpenGLDebugLogger.loggedMessages()''' 5184 return [QOpenGLDebugMessage()] 5185 def disableMessages(self, sources = None, types = None, severities = None): 5186 '''void QOpenGLDebugLogger.disableMessages(QOpenGLDebugMessage.Sources sources = QOpenGLDebugMessage.AnySource, QOpenGLDebugMessage.Types types = QOpenGLDebugMessage.AnyType, QOpenGLDebugMessage.Severities severities = QOpenGLDebugMessage.AnySeverity)''' 5187 def disableMessages(self, ids, sources = None, types = None): 5188 '''void QOpenGLDebugLogger.disableMessages(list-of-int ids, QOpenGLDebugMessage.Sources sources = QOpenGLDebugMessage.AnySource, QOpenGLDebugMessage.Types types = QOpenGLDebugMessage.AnyType)''' 5189 def enableMessages(self, sources = None, types = None, severities = None): 5190 '''void QOpenGLDebugLogger.enableMessages(QOpenGLDebugMessage.Sources sources = QOpenGLDebugMessage.AnySource, QOpenGLDebugMessage.Types types = QOpenGLDebugMessage.AnyType, QOpenGLDebugMessage.Severities severities = QOpenGLDebugMessage.AnySeverity)''' 5191 def enableMessages(self, ids, sources = None, types = None): 5192 '''void QOpenGLDebugLogger.enableMessages(list-of-int ids, QOpenGLDebugMessage.Sources sources = QOpenGLDebugMessage.AnySource, QOpenGLDebugMessage.Types types = QOpenGLDebugMessage.AnyType)''' 5193 def popGroup(self): 5194 '''void QOpenGLDebugLogger.popGroup()''' 5195 def pushGroup(self, name, id = 0, source = None): 5196 '''void QOpenGLDebugLogger.pushGroup(str name, int id = 0, QOpenGLDebugMessage.Source source = QOpenGLDebugMessage.ApplicationSource)''' 5197 def maximumMessageLength(self): 5198 '''int QOpenGLDebugLogger.maximumMessageLength()''' 5199 return int() 5200 def loggingMode(self): 5201 '''QOpenGLDebugLogger.LoggingMode QOpenGLDebugLogger.loggingMode()''' 5202 return QOpenGLDebugLogger.LoggingMode() 5203 def isLogging(self): 5204 '''bool QOpenGLDebugLogger.isLogging()''' 5205 return bool() 5206 def initialize(self): 5207 '''bool QOpenGLDebugLogger.initialize()''' 5208 return bool() 5209 5210 5211 class QOpenGLFramebufferObject(): 5212 """""" 5213 # Enum QOpenGLFramebufferObject.Attachment 5214 NoAttachment = 0 5215 CombinedDepthStencil = 0 5216 Depth = 0 5217 5218 def __init__(self, size, target = None): 5219 '''void QOpenGLFramebufferObject.__init__(QSize size, int target = GL_TEXTURE_2D)''' 5220 def __init__(self, width, height, target = None): 5221 '''void QOpenGLFramebufferObject.__init__(int width, int height, int target = GL_TEXTURE_2D)''' 5222 def __init__(self, size, attachment, target = None, internal_format = None): 5223 '''void QOpenGLFramebufferObject.__init__(QSize size, QOpenGLFramebufferObject.Attachment attachment, int target = GL_TEXTURE_2D, int internal_format = GL_RGBA8)''' 5224 def __init__(self, width, height, attachment, target = None, internal_format = None): 5225 '''void QOpenGLFramebufferObject.__init__(int width, int height, QOpenGLFramebufferObject.Attachment attachment, int target = GL_TEXTURE_2D, int internal_format = GL_RGBA8)''' 5226 def __init__(self, size, format): 5227 '''void QOpenGLFramebufferObject.__init__(QSize size, QOpenGLFramebufferObjectFormat format)''' 5228 def __init__(self, width, height, format): 5229 '''void QOpenGLFramebufferObject.__init__(int width, int height, QOpenGLFramebufferObjectFormat format)''' 5230 def takeTexture(self): 5231 '''int QOpenGLFramebufferObject.takeTexture()''' 5232 return int() 5233 def blitFramebuffer(self, target, targetRect, source, sourceRect, buffers = None, filter = None): 5234 '''static void QOpenGLFramebufferObject.blitFramebuffer(QOpenGLFramebufferObject target, QRect targetRect, QOpenGLFramebufferObject source, QRect sourceRect, int buffers = GL_COLOR_BUFFER_BIT, int filter = GL_NEAREST)''' 5235 def blitFramebuffer(self, target, source, buffers = None, filter = None): 5236 '''static void QOpenGLFramebufferObject.blitFramebuffer(QOpenGLFramebufferObject target, QOpenGLFramebufferObject source, int buffers = GL_COLOR_BUFFER_BIT, int filter = GL_NEAREST)''' 5237 def hasOpenGLFramebufferBlit(self): 5238 '''static bool QOpenGLFramebufferObject.hasOpenGLFramebufferBlit()''' 5239 return bool() 5240 def hasOpenGLFramebufferObjects(self): 5241 '''static bool QOpenGLFramebufferObject.hasOpenGLFramebufferObjects()''' 5242 return bool() 5243 def bindDefault(self): 5244 '''static bool QOpenGLFramebufferObject.bindDefault()''' 5245 return bool() 5246 def handle(self): 5247 '''int QOpenGLFramebufferObject.handle()''' 5248 return int() 5249 def setAttachment(self, attachment): 5250 '''void QOpenGLFramebufferObject.setAttachment(QOpenGLFramebufferObject.Attachment attachment)''' 5251 def attachment(self): 5252 '''QOpenGLFramebufferObject.Attachment QOpenGLFramebufferObject.attachment()''' 5253 return QOpenGLFramebufferObject.Attachment() 5254 def toImage(self): 5255 '''QImage QOpenGLFramebufferObject.toImage()''' 5256 return QImage() 5257 def toImage(self, flipped): 5258 '''QImage QOpenGLFramebufferObject.toImage(bool flipped)''' 5259 return QImage() 5260 def size(self): 5261 '''QSize QOpenGLFramebufferObject.size()''' 5262 return QSize() 5263 def texture(self): 5264 '''int QOpenGLFramebufferObject.texture()''' 5265 return int() 5266 def height(self): 5267 '''int QOpenGLFramebufferObject.height()''' 5268 return int() 5269 def width(self): 5270 '''int QOpenGLFramebufferObject.width()''' 5271 return int() 5272 def release(self): 5273 '''bool QOpenGLFramebufferObject.release()''' 5274 return bool() 5275 def bind(self): 5276 '''bool QOpenGLFramebufferObject.bind()''' 5277 return bool() 5278 def isBound(self): 5279 '''bool QOpenGLFramebufferObject.isBound()''' 5280 return bool() 5281 def isValid(self): 5282 '''bool QOpenGLFramebufferObject.isValid()''' 5283 return bool() 5284 def format(self): 5285 '''QOpenGLFramebufferObjectFormat QOpenGLFramebufferObject.format()''' 5286 return QOpenGLFramebufferObjectFormat() 5287 5288 5289 class QOpenGLFramebufferObjectFormat(): 5290 """""" 5291 def __init__(self): 5292 '''void QOpenGLFramebufferObjectFormat.__init__()''' 5293 def __init__(self, other): 5294 '''void QOpenGLFramebufferObjectFormat.__init__(QOpenGLFramebufferObjectFormat other)''' 5295 def __ne__(self, other): 5296 '''bool QOpenGLFramebufferObjectFormat.__ne__(QOpenGLFramebufferObjectFormat other)''' 5297 return bool() 5298 def __eq__(self, other): 5299 '''bool QOpenGLFramebufferObjectFormat.__eq__(QOpenGLFramebufferObjectFormat other)''' 5300 return bool() 5301 def internalTextureFormat(self): 5302 '''int QOpenGLFramebufferObjectFormat.internalTextureFormat()''' 5303 return int() 5304 def setInternalTextureFormat(self, internalTextureFormat): 5305 '''void QOpenGLFramebufferObjectFormat.setInternalTextureFormat(int internalTextureFormat)''' 5306 def textureTarget(self): 5307 '''int QOpenGLFramebufferObjectFormat.textureTarget()''' 5308 return int() 5309 def setTextureTarget(self, target): 5310 '''void QOpenGLFramebufferObjectFormat.setTextureTarget(int target)''' 5311 def attachment(self): 5312 '''QOpenGLFramebufferObject.Attachment QOpenGLFramebufferObjectFormat.attachment()''' 5313 return QOpenGLFramebufferObject.Attachment() 5314 def setAttachment(self, attachment): 5315 '''void QOpenGLFramebufferObjectFormat.setAttachment(QOpenGLFramebufferObject.Attachment attachment)''' 5316 def mipmap(self): 5317 '''bool QOpenGLFramebufferObjectFormat.mipmap()''' 5318 return bool() 5319 def setMipmap(self, enabled): 5320 '''void QOpenGLFramebufferObjectFormat.setMipmap(bool enabled)''' 5321 def samples(self): 5322 '''int QOpenGLFramebufferObjectFormat.samples()''' 5323 return int() 5324 def setSamples(self, samples): 5325 '''void QOpenGLFramebufferObjectFormat.setSamples(int samples)''' 5326 5327 5328 class QOpenGLPaintDevice(QPaintDevice): 5329 """""" 5330 def __init__(self): 5331 '''void QOpenGLPaintDevice.__init__()''' 5332 def __init__(self, size): 5333 '''void QOpenGLPaintDevice.__init__(QSize size)''' 5334 def __init__(self, width, height): 5335 '''void QOpenGLPaintDevice.__init__(int width, int height)''' 5336 def metric(self, metric): 5337 '''int QOpenGLPaintDevice.metric(QPaintDevice.PaintDeviceMetric metric)''' 5338 return int() 5339 def setDevicePixelRatio(self, devicePixelRatio): 5340 '''void QOpenGLPaintDevice.setDevicePixelRatio(float devicePixelRatio)''' 5341 def ensureActiveTarget(self): 5342 '''void QOpenGLPaintDevice.ensureActiveTarget()''' 5343 def paintFlipped(self): 5344 '''bool QOpenGLPaintDevice.paintFlipped()''' 5345 return bool() 5346 def setPaintFlipped(self, flipped): 5347 '''void QOpenGLPaintDevice.setPaintFlipped(bool flipped)''' 5348 def setDotsPerMeterY(self): 5349 '''float QOpenGLPaintDevice.setDotsPerMeterY()''' 5350 return float() 5351 def setDotsPerMeterX(self): 5352 '''float QOpenGLPaintDevice.setDotsPerMeterX()''' 5353 return float() 5354 def dotsPerMeterY(self): 5355 '''float QOpenGLPaintDevice.dotsPerMeterY()''' 5356 return float() 5357 def dotsPerMeterX(self): 5358 '''float QOpenGLPaintDevice.dotsPerMeterX()''' 5359 return float() 5360 def setSize(self, size): 5361 '''void QOpenGLPaintDevice.setSize(QSize size)''' 5362 def size(self): 5363 '''QSize QOpenGLPaintDevice.size()''' 5364 return QSize() 5365 def context(self): 5366 '''QOpenGLContext QOpenGLPaintDevice.context()''' 5367 return QOpenGLContext() 5368 def paintEngine(self): 5369 '''QPaintEngine QOpenGLPaintDevice.paintEngine()''' 5370 return QPaintEngine() 5371 5372 5373 class QOpenGLPixelTransferOptions(): 5374 """""" 5375 def __init__(self): 5376 '''void QOpenGLPixelTransferOptions.__init__()''' 5377 def __init__(self): 5378 '''QOpenGLPixelTransferOptions QOpenGLPixelTransferOptions.__init__()''' 5379 return QOpenGLPixelTransferOptions() 5380 def isSwapBytesEnabled(self): 5381 '''bool QOpenGLPixelTransferOptions.isSwapBytesEnabled()''' 5382 return bool() 5383 def setSwapBytesEnabled(self, swapBytes): 5384 '''void QOpenGLPixelTransferOptions.setSwapBytesEnabled(bool swapBytes)''' 5385 def isLeastSignificantBitFirst(self): 5386 '''bool QOpenGLPixelTransferOptions.isLeastSignificantBitFirst()''' 5387 return bool() 5388 def setLeastSignificantByteFirst(self, lsbFirst): 5389 '''void QOpenGLPixelTransferOptions.setLeastSignificantByteFirst(bool lsbFirst)''' 5390 def rowLength(self): 5391 '''int QOpenGLPixelTransferOptions.rowLength()''' 5392 return int() 5393 def setRowLength(self, rowLength): 5394 '''void QOpenGLPixelTransferOptions.setRowLength(int rowLength)''' 5395 def imageHeight(self): 5396 '''int QOpenGLPixelTransferOptions.imageHeight()''' 5397 return int() 5398 def setImageHeight(self, imageHeight): 5399 '''void QOpenGLPixelTransferOptions.setImageHeight(int imageHeight)''' 5400 def skipPixels(self): 5401 '''int QOpenGLPixelTransferOptions.skipPixels()''' 5402 return int() 5403 def setSkipPixels(self, skipPixels): 5404 '''void QOpenGLPixelTransferOptions.setSkipPixels(int skipPixels)''' 5405 def skipRows(self): 5406 '''int QOpenGLPixelTransferOptions.skipRows()''' 5407 return int() 5408 def setSkipRows(self, skipRows): 5409 '''void QOpenGLPixelTransferOptions.setSkipRows(int skipRows)''' 5410 def skipImages(self): 5411 '''int QOpenGLPixelTransferOptions.skipImages()''' 5412 return int() 5413 def setSkipImages(self, skipImages): 5414 '''void QOpenGLPixelTransferOptions.setSkipImages(int skipImages)''' 5415 def alignment(self): 5416 '''int QOpenGLPixelTransferOptions.alignment()''' 5417 return int() 5418 def setAlignment(self, alignment): 5419 '''void QOpenGLPixelTransferOptions.setAlignment(int alignment)''' 5420 def swap(self, other): 5421 '''void QOpenGLPixelTransferOptions.swap(QOpenGLPixelTransferOptions other)''' 5422 5423 5424 class QOpenGLShader(QObject): 5425 """""" 5426 # Enum QOpenGLShader.ShaderTypeBit 5427 Vertex = 0 5428 Fragment = 0 5429 Geometry = 0 5430 TessellationControl = 0 5431 TessellationEvaluation = 0 5432 Compute = 0 5433 5434 def __init__(self, type, parent = None): 5435 '''void QOpenGLShader.__init__(QOpenGLShader.ShaderType type, QObject parent = None)''' 5436 def hasOpenGLShaders(self, type, context = None): 5437 '''static bool QOpenGLShader.hasOpenGLShaders(QOpenGLShader.ShaderType type, QOpenGLContext context = None)''' 5438 return bool() 5439 def shaderId(self): 5440 '''int QOpenGLShader.shaderId()''' 5441 return int() 5442 def log(self): 5443 '''str QOpenGLShader.log()''' 5444 return str() 5445 def isCompiled(self): 5446 '''bool QOpenGLShader.isCompiled()''' 5447 return bool() 5448 def sourceCode(self): 5449 '''QByteArray QOpenGLShader.sourceCode()''' 5450 return QByteArray() 5451 def compileSourceFile(self, fileName): 5452 '''bool QOpenGLShader.compileSourceFile(str fileName)''' 5453 return bool() 5454 def compileSourceCode(self, source): 5455 '''bool QOpenGLShader.compileSourceCode(QByteArray source)''' 5456 return bool() 5457 def compileSourceCode(self, source): 5458 '''bool QOpenGLShader.compileSourceCode(str source)''' 5459 return bool() 5460 def shaderType(self): 5461 '''QOpenGLShader.ShaderType QOpenGLShader.shaderType()''' 5462 return QOpenGLShader.ShaderType() 5463 class ShaderType(): 5464 """""" 5465 def __init__(self): 5466 '''QOpenGLShader.ShaderType QOpenGLShader.ShaderType.__init__()''' 5467 return QOpenGLShader.ShaderType() 5468 def __init__(self): 5469 '''int QOpenGLShader.ShaderType.__init__()''' 5470 return int() 5471 def __init__(self): 5472 '''void QOpenGLShader.ShaderType.__init__()''' 5473 def __bool__(self): 5474 '''int QOpenGLShader.ShaderType.__bool__()''' 5475 return int() 5476 def __ne__(self, f): 5477 '''bool QOpenGLShader.ShaderType.__ne__(QOpenGLShader.ShaderType f)''' 5478 return bool() 5479 def __eq__(self, f): 5480 '''bool QOpenGLShader.ShaderType.__eq__(QOpenGLShader.ShaderType f)''' 5481 return bool() 5482 def __invert__(self): 5483 '''QOpenGLShader.ShaderType QOpenGLShader.ShaderType.__invert__()''' 5484 return QOpenGLShader.ShaderType() 5485 def __and__(self, mask): 5486 '''QOpenGLShader.ShaderType QOpenGLShader.ShaderType.__and__(int mask)''' 5487 return QOpenGLShader.ShaderType() 5488 def __xor__(self, f): 5489 '''QOpenGLShader.ShaderType QOpenGLShader.ShaderType.__xor__(QOpenGLShader.ShaderType f)''' 5490 return QOpenGLShader.ShaderType() 5491 def __xor__(self, f): 5492 '''QOpenGLShader.ShaderType QOpenGLShader.ShaderType.__xor__(int f)''' 5493 return QOpenGLShader.ShaderType() 5494 def __or__(self, f): 5495 '''QOpenGLShader.ShaderType QOpenGLShader.ShaderType.__or__(QOpenGLShader.ShaderType f)''' 5496 return QOpenGLShader.ShaderType() 5497 def __or__(self, f): 5498 '''QOpenGLShader.ShaderType QOpenGLShader.ShaderType.__or__(int f)''' 5499 return QOpenGLShader.ShaderType() 5500 def __int__(self): 5501 '''int QOpenGLShader.ShaderType.__int__()''' 5502 return int() 5503 def __ixor__(self, f): 5504 '''QOpenGLShader.ShaderType QOpenGLShader.ShaderType.__ixor__(QOpenGLShader.ShaderType f)''' 5505 return QOpenGLShader.ShaderType() 5506 def __ior__(self, f): 5507 '''QOpenGLShader.ShaderType QOpenGLShader.ShaderType.__ior__(QOpenGLShader.ShaderType f)''' 5508 return QOpenGLShader.ShaderType() 5509 def __iand__(self, mask): 5510 '''QOpenGLShader.ShaderType QOpenGLShader.ShaderType.__iand__(int mask)''' 5511 return QOpenGLShader.ShaderType() 5512 5513 5514 class QOpenGLShaderProgram(QObject): 5515 """""" 5516 def __init__(self, parent = None): 5517 '''void QOpenGLShaderProgram.__init__(QObject parent = None)''' 5518 def create(self): 5519 '''bool QOpenGLShaderProgram.create()''' 5520 return bool() 5521 def defaultInnerTessellationLevels(self): 5522 '''list-of-float QOpenGLShaderProgram.defaultInnerTessellationLevels()''' 5523 return [float()] 5524 def setDefaultInnerTessellationLevels(self, levels): 5525 '''void QOpenGLShaderProgram.setDefaultInnerTessellationLevels(list-of-float levels)''' 5526 def defaultOuterTessellationLevels(self): 5527 '''list-of-float QOpenGLShaderProgram.defaultOuterTessellationLevels()''' 5528 return [float()] 5529 def setDefaultOuterTessellationLevels(self, levels): 5530 '''void QOpenGLShaderProgram.setDefaultOuterTessellationLevels(list-of-float levels)''' 5531 def patchVertexCount(self): 5532 '''int QOpenGLShaderProgram.patchVertexCount()''' 5533 return int() 5534 def setPatchVertexCount(self, count): 5535 '''void QOpenGLShaderProgram.setPatchVertexCount(int count)''' 5536 def maxGeometryOutputVertices(self): 5537 '''int QOpenGLShaderProgram.maxGeometryOutputVertices()''' 5538 return int() 5539 def hasOpenGLShaderPrograms(self, context = None): 5540 '''static bool QOpenGLShaderProgram.hasOpenGLShaderPrograms(QOpenGLContext context = None)''' 5541 return bool() 5542 def setUniformValueArray(self, location, values): 5543 '''void QOpenGLShaderProgram.setUniformValueArray(int location, sequence values)''' 5544 def setUniformValueArray(self, name, values): 5545 '''void QOpenGLShaderProgram.setUniformValueArray(str name, sequence values)''' 5546 def setUniformValue(self, location, value): 5547 '''void QOpenGLShaderProgram.setUniformValue(int location, int value)''' 5548 def setUniformValue(self, location, value): 5549 '''void QOpenGLShaderProgram.setUniformValue(int location, float value)''' 5550 def setUniformValue(self, location, x, y): 5551 '''void QOpenGLShaderProgram.setUniformValue(int location, float x, float y)''' 5552 def setUniformValue(self, location, x, y, z): 5553 '''void QOpenGLShaderProgram.setUniformValue(int location, float x, float y, float z)''' 5554 def setUniformValue(self, location, x, y, z, w): 5555 '''void QOpenGLShaderProgram.setUniformValue(int location, float x, float y, float z, float w)''' 5556 def setUniformValue(self, location, value): 5557 '''void QOpenGLShaderProgram.setUniformValue(int location, QVector2D value)''' 5558 def setUniformValue(self, location, value): 5559 '''void QOpenGLShaderProgram.setUniformValue(int location, QVector3D value)''' 5560 def setUniformValue(self, location, value): 5561 '''void QOpenGLShaderProgram.setUniformValue(int location, QVector4D value)''' 5562 def setUniformValue(self, location, color): 5563 '''void QOpenGLShaderProgram.setUniformValue(int location, QColor color)''' 5564 def setUniformValue(self, location, point): 5565 '''void QOpenGLShaderProgram.setUniformValue(int location, QPoint point)''' 5566 def setUniformValue(self, location, point): 5567 '''void QOpenGLShaderProgram.setUniformValue(int location, QPointF point)''' 5568 def setUniformValue(self, location, size): 5569 '''void QOpenGLShaderProgram.setUniformValue(int location, QSize size)''' 5570 def setUniformValue(self, location, size): 5571 '''void QOpenGLShaderProgram.setUniformValue(int location, QSizeF size)''' 5572 def setUniformValue(self, location, value): 5573 '''void QOpenGLShaderProgram.setUniformValue(int location, QMatrix2x2 value)''' 5574 def setUniformValue(self, location, value): 5575 '''void QOpenGLShaderProgram.setUniformValue(int location, QMatrix2x3 value)''' 5576 def setUniformValue(self, location, value): 5577 '''void QOpenGLShaderProgram.setUniformValue(int location, QMatrix2x4 value)''' 5578 def setUniformValue(self, location, value): 5579 '''void QOpenGLShaderProgram.setUniformValue(int location, QMatrix3x2 value)''' 5580 def setUniformValue(self, location, value): 5581 '''void QOpenGLShaderProgram.setUniformValue(int location, QMatrix3x3 value)''' 5582 def setUniformValue(self, location, value): 5583 '''void QOpenGLShaderProgram.setUniformValue(int location, QMatrix3x4 value)''' 5584 def setUniformValue(self, location, value): 5585 '''void QOpenGLShaderProgram.setUniformValue(int location, QMatrix4x2 value)''' 5586 def setUniformValue(self, location, value): 5587 '''void QOpenGLShaderProgram.setUniformValue(int location, QMatrix4x3 value)''' 5588 def setUniformValue(self, location, value): 5589 '''void QOpenGLShaderProgram.setUniformValue(int location, QMatrix4x4 value)''' 5590 def setUniformValue(self, location, value): 5591 '''void QOpenGLShaderProgram.setUniformValue(int location, QTransform value)''' 5592 def setUniformValue(self, name, value): 5593 '''void QOpenGLShaderProgram.setUniformValue(str name, int value)''' 5594 def setUniformValue(self, name, value): 5595 '''void QOpenGLShaderProgram.setUniformValue(str name, float value)''' 5596 def setUniformValue(self, name, x, y): 5597 '''void QOpenGLShaderProgram.setUniformValue(str name, float x, float y)''' 5598 def setUniformValue(self, name, x, y, z): 5599 '''void QOpenGLShaderProgram.setUniformValue(str name, float x, float y, float z)''' 5600 def setUniformValue(self, name, x, y, z, w): 5601 '''void QOpenGLShaderProgram.setUniformValue(str name, float x, float y, float z, float w)''' 5602 def setUniformValue(self, name, value): 5603 '''void QOpenGLShaderProgram.setUniformValue(str name, QVector2D value)''' 5604 def setUniformValue(self, name, value): 5605 '''void QOpenGLShaderProgram.setUniformValue(str name, QVector3D value)''' 5606 def setUniformValue(self, name, value): 5607 '''void QOpenGLShaderProgram.setUniformValue(str name, QVector4D value)''' 5608 def setUniformValue(self, name, color): 5609 '''void QOpenGLShaderProgram.setUniformValue(str name, QColor color)''' 5610 def setUniformValue(self, name, point): 5611 '''void QOpenGLShaderProgram.setUniformValue(str name, QPoint point)''' 5612 def setUniformValue(self, name, point): 5613 '''void QOpenGLShaderProgram.setUniformValue(str name, QPointF point)''' 5614 def setUniformValue(self, name, size): 5615 '''void QOpenGLShaderProgram.setUniformValue(str name, QSize size)''' 5616 def setUniformValue(self, name, size): 5617 '''void QOpenGLShaderProgram.setUniformValue(str name, QSizeF size)''' 5618 def setUniformValue(self, name, value): 5619 '''void QOpenGLShaderProgram.setUniformValue(str name, QMatrix2x2 value)''' 5620 def setUniformValue(self, name, value): 5621 '''void QOpenGLShaderProgram.setUniformValue(str name, QMatrix2x3 value)''' 5622 def setUniformValue(self, name, value): 5623 '''void QOpenGLShaderProgram.setUniformValue(str name, QMatrix2x4 value)''' 5624 def setUniformValue(self, name, value): 5625 '''void QOpenGLShaderProgram.setUniformValue(str name, QMatrix3x2 value)''' 5626 def setUniformValue(self, name, value): 5627 '''void QOpenGLShaderProgram.setUniformValue(str name, QMatrix3x3 value)''' 5628 def setUniformValue(self, name, value): 5629 '''void QOpenGLShaderProgram.setUniformValue(str name, QMatrix3x4 value)''' 5630 def setUniformValue(self, name, value): 5631 '''void QOpenGLShaderProgram.setUniformValue(str name, QMatrix4x2 value)''' 5632 def setUniformValue(self, name, value): 5633 '''void QOpenGLShaderProgram.setUniformValue(str name, QMatrix4x3 value)''' 5634 def setUniformValue(self, name, value): 5635 '''void QOpenGLShaderProgram.setUniformValue(str name, QMatrix4x4 value)''' 5636 def setUniformValue(self, name, value): 5637 '''void QOpenGLShaderProgram.setUniformValue(str name, QTransform value)''' 5638 def uniformLocation(self, name): 5639 '''int QOpenGLShaderProgram.uniformLocation(QByteArray name)''' 5640 return int() 5641 def uniformLocation(self, name): 5642 '''int QOpenGLShaderProgram.uniformLocation(str name)''' 5643 return int() 5644 def disableAttributeArray(self, location): 5645 '''void QOpenGLShaderProgram.disableAttributeArray(int location)''' 5646 def disableAttributeArray(self, name): 5647 '''void QOpenGLShaderProgram.disableAttributeArray(str name)''' 5648 def enableAttributeArray(self, location): 5649 '''void QOpenGLShaderProgram.enableAttributeArray(int location)''' 5650 def enableAttributeArray(self, name): 5651 '''void QOpenGLShaderProgram.enableAttributeArray(str name)''' 5652 def setAttributeBuffer(self, location, type, offset, tupleSize, stride = 0): 5653 '''void QOpenGLShaderProgram.setAttributeBuffer(int location, int type, int offset, int tupleSize, int stride = 0)''' 5654 def setAttributeBuffer(self, name, type, offset, tupleSize, stride = 0): 5655 '''void QOpenGLShaderProgram.setAttributeBuffer(str name, int type, int offset, int tupleSize, int stride = 0)''' 5656 def setAttributeArray(self, location, values): 5657 '''void QOpenGLShaderProgram.setAttributeArray(int location, sequence values)''' 5658 def setAttributeArray(self, name, values): 5659 '''void QOpenGLShaderProgram.setAttributeArray(str name, sequence values)''' 5660 def setAttributeValue(self, location, value): 5661 '''void QOpenGLShaderProgram.setAttributeValue(int location, float value)''' 5662 def setAttributeValue(self, location, x, y): 5663 '''void QOpenGLShaderProgram.setAttributeValue(int location, float x, float y)''' 5664 def setAttributeValue(self, location, x, y, z): 5665 '''void QOpenGLShaderProgram.setAttributeValue(int location, float x, float y, float z)''' 5666 def setAttributeValue(self, location, x, y, z, w): 5667 '''void QOpenGLShaderProgram.setAttributeValue(int location, float x, float y, float z, float w)''' 5668 def setAttributeValue(self, location, value): 5669 '''void QOpenGLShaderProgram.setAttributeValue(int location, QVector2D value)''' 5670 def setAttributeValue(self, location, value): 5671 '''void QOpenGLShaderProgram.setAttributeValue(int location, QVector3D value)''' 5672 def setAttributeValue(self, location, value): 5673 '''void QOpenGLShaderProgram.setAttributeValue(int location, QVector4D value)''' 5674 def setAttributeValue(self, location, value): 5675 '''void QOpenGLShaderProgram.setAttributeValue(int location, QColor value)''' 5676 def setAttributeValue(self, name, value): 5677 '''void QOpenGLShaderProgram.setAttributeValue(str name, float value)''' 5678 def setAttributeValue(self, name, x, y): 5679 '''void QOpenGLShaderProgram.setAttributeValue(str name, float x, float y)''' 5680 def setAttributeValue(self, name, x, y, z): 5681 '''void QOpenGLShaderProgram.setAttributeValue(str name, float x, float y, float z)''' 5682 def setAttributeValue(self, name, x, y, z, w): 5683 '''void QOpenGLShaderProgram.setAttributeValue(str name, float x, float y, float z, float w)''' 5684 def setAttributeValue(self, name, value): 5685 '''void QOpenGLShaderProgram.setAttributeValue(str name, QVector2D value)''' 5686 def setAttributeValue(self, name, value): 5687 '''void QOpenGLShaderProgram.setAttributeValue(str name, QVector3D value)''' 5688 def setAttributeValue(self, name, value): 5689 '''void QOpenGLShaderProgram.setAttributeValue(str name, QVector4D value)''' 5690 def setAttributeValue(self, name, value): 5691 '''void QOpenGLShaderProgram.setAttributeValue(str name, QColor value)''' 5692 def attributeLocation(self, name): 5693 '''int QOpenGLShaderProgram.attributeLocation(QByteArray name)''' 5694 return int() 5695 def attributeLocation(self, name): 5696 '''int QOpenGLShaderProgram.attributeLocation(str name)''' 5697 return int() 5698 def bindAttributeLocation(self, name, location): 5699 '''void QOpenGLShaderProgram.bindAttributeLocation(QByteArray name, int location)''' 5700 def bindAttributeLocation(self, name, location): 5701 '''void QOpenGLShaderProgram.bindAttributeLocation(str name, int location)''' 5702 def programId(self): 5703 '''int QOpenGLShaderProgram.programId()''' 5704 return int() 5705 def release(self): 5706 '''void QOpenGLShaderProgram.release()''' 5707 def bind(self): 5708 '''bool QOpenGLShaderProgram.bind()''' 5709 return bool() 5710 def log(self): 5711 '''str QOpenGLShaderProgram.log()''' 5712 return str() 5713 def isLinked(self): 5714 '''bool QOpenGLShaderProgram.isLinked()''' 5715 return bool() 5716 def link(self): 5717 '''bool QOpenGLShaderProgram.link()''' 5718 return bool() 5719 def removeAllShaders(self): 5720 '''void QOpenGLShaderProgram.removeAllShaders()''' 5721 def addShaderFromSourceFile(self, type, fileName): 5722 '''bool QOpenGLShaderProgram.addShaderFromSourceFile(QOpenGLShader.ShaderType type, str fileName)''' 5723 return bool() 5724 def addShaderFromSourceCode(self, type, source): 5725 '''bool QOpenGLShaderProgram.addShaderFromSourceCode(QOpenGLShader.ShaderType type, QByteArray source)''' 5726 return bool() 5727 def addShaderFromSourceCode(self, type, source): 5728 '''bool QOpenGLShaderProgram.addShaderFromSourceCode(QOpenGLShader.ShaderType type, str source)''' 5729 return bool() 5730 def shaders(self): 5731 '''list-of-QOpenGLShader QOpenGLShaderProgram.shaders()''' 5732 return [QOpenGLShader()] 5733 def removeShader(self, shader): 5734 '''void QOpenGLShaderProgram.removeShader(QOpenGLShader shader)''' 5735 def addShader(self, shader): 5736 '''bool QOpenGLShaderProgram.addShader(QOpenGLShader shader)''' 5737 return bool() 5738 5739 5740 class QOpenGLTexture(): 5741 """""" 5742 # Enum QOpenGLTexture.ComparisonMode 5743 CompareRefToTexture = 0 5744 CompareNone = 0 5745 5746 # Enum QOpenGLTexture.ComparisonFunction 5747 CompareLessEqual = 0 5748 CompareGreaterEqual = 0 5749 CompareLess = 0 5750 CompareGreater = 0 5751 CompareEqual = 0 5752 CommpareNotEqual = 0 5753 CompareAlways = 0 5754 CompareNever = 0 5755 5756 # Enum QOpenGLTexture.CoordinateDirection 5757 DirectionS = 0 5758 DirectionT = 0 5759 DirectionR = 0 5760 5761 # Enum QOpenGLTexture.WrapMode 5762 Repeat = 0 5763 MirroredRepeat = 0 5764 ClampToEdge = 0 5765 ClampToBorder = 0 5766 5767 # Enum QOpenGLTexture.Filter 5768 Nearest = 0 5769 Linear = 0 5770 NearestMipMapNearest = 0 5771 NearestMipMapLinear = 0 5772 LinearMipMapNearest = 0 5773 LinearMipMapLinear = 0 5774 5775 # Enum QOpenGLTexture.DepthStencilMode 5776 DepthMode = 0 5777 StencilMode = 0 5778 5779 # Enum QOpenGLTexture.SwizzleValue 5780 RedValue = 0 5781 GreenValue = 0 5782 BlueValue = 0 5783 AlphaValue = 0 5784 ZeroValue = 0 5785 OneValue = 0 5786 5787 # Enum QOpenGLTexture.SwizzleComponent 5788 SwizzleRed = 0 5789 SwizzleGreen = 0 5790 SwizzleBlue = 0 5791 SwizzleAlpha = 0 5792 5793 # Enum QOpenGLTexture.Feature 5794 ImmutableStorage = 0 5795 ImmutableMultisampleStorage = 0 5796 TextureRectangle = 0 5797 TextureArrays = 0 5798 Texture3D = 0 5799 TextureMultisample = 0 5800 TextureBuffer = 0 5801 TextureCubeMapArrays = 0 5802 Swizzle = 0 5803 StencilTexturing = 0 5804 AnisotropicFiltering = 0 5805 NPOTTextures = 0 5806 NPOTTextureRepeat = 0 5807 Texture1D = 0 5808 TextureComparisonOperators = 0 5809 TextureMipMapLevel = 0 5810 5811 # Enum QOpenGLTexture.PixelType 5812 NoPixelType = 0 5813 Int8 = 0 5814 UInt8 = 0 5815 Int16 = 0 5816 UInt16 = 0 5817 Int32 = 0 5818 UInt32 = 0 5819 Float16 = 0 5820 Float16OES = 0 5821 Float32 = 0 5822 UInt32_RGB9_E5 = 0 5823 UInt32_RG11B10F = 0 5824 UInt8_RG3B2 = 0 5825 UInt8_RG3B2_Rev = 0 5826 UInt16_RGB5A1 = 0 5827 UInt16_RGB5A1_Rev = 0 5828 UInt16_R5G6B5 = 0 5829 UInt16_R5G6B5_Rev = 0 5830 UInt16_RGBA4 = 0 5831 UInt16_RGBA4_Rev = 0 5832 UInt32_RGB10A2 = 0 5833 UInt32_RGB10A2_Rev = 0 5834 UInt32_RGBA8 = 0 5835 UInt32_RGBA8_Rev = 0 5836 UInt32_D24S8 = 0 5837 Float32_D32_UInt32_S8_X24 = 0 5838 5839 # Enum QOpenGLTexture.PixelFormat 5840 NoSourceFormat = 0 5841 Red = 0 5842 RG = 0 5843 RGB = 0 5844 BGR = 0 5845 RGBA = 0 5846 BGRA = 0 5847 Red_Integer = 0 5848 RG_Integer = 0 5849 RGB_Integer = 0 5850 BGR_Integer = 0 5851 RGBA_Integer = 0 5852 BGRA_Integer = 0 5853 Depth = 0 5854 DepthStencil = 0 5855 Alpha = 0 5856 Luminance = 0 5857 LuminanceAlpha = 0 5858 Stencil = 0 5859 5860 # Enum QOpenGLTexture.CubeMapFace 5861 CubeMapPositiveX = 0 5862 CubeMapNegativeX = 0 5863 CubeMapPositiveY = 0 5864 CubeMapNegativeY = 0 5865 CubeMapPositiveZ = 0 5866 CubeMapNegativeZ = 0 5867 5868 # Enum QOpenGLTexture.TextureFormat 5869 NoFormat = 0 5870 R8_UNorm = 0 5871 RG8_UNorm = 0 5872 RGB8_UNorm = 0 5873 RGBA8_UNorm = 0 5874 R16_UNorm = 0 5875 RG16_UNorm = 0 5876 RGB16_UNorm = 0 5877 RGBA16_UNorm = 0 5878 R8_SNorm = 0 5879 RG8_SNorm = 0 5880 RGB8_SNorm = 0 5881 RGBA8_SNorm = 0 5882 R16_SNorm = 0 5883 RG16_SNorm = 0 5884 RGB16_SNorm = 0 5885 RGBA16_SNorm = 0 5886 R8U = 0 5887 RG8U = 0 5888 RGB8U = 0 5889 RGBA8U = 0 5890 R16U = 0 5891 RG16U = 0 5892 RGB16U = 0 5893 RGBA16U = 0 5894 R32U = 0 5895 RG32U = 0 5896 RGB32U = 0 5897 RGBA32U = 0 5898 R8I = 0 5899 RG8I = 0 5900 RGB8I = 0 5901 RGBA8I = 0 5902 R16I = 0 5903 RG16I = 0 5904 RGB16I = 0 5905 RGBA16I = 0 5906 R32I = 0 5907 RG32I = 0 5908 RGB32I = 0 5909 RGBA32I = 0 5910 R16F = 0 5911 RG16F = 0 5912 RGB16F = 0 5913 RGBA16F = 0 5914 R32F = 0 5915 RG32F = 0 5916 RGB32F = 0 5917 RGBA32F = 0 5918 RGB9E5 = 0 5919 RG11B10F = 0 5920 RG3B2 = 0 5921 R5G6B5 = 0 5922 RGB5A1 = 0 5923 RGBA4 = 0 5924 RGB10A2 = 0 5925 D16 = 0 5926 D24 = 0 5927 D24S8 = 0 5928 D32 = 0 5929 D32F = 0 5930 D32FS8X24 = 0 5931 RGB_DXT1 = 0 5932 RGBA_DXT1 = 0 5933 RGBA_DXT3 = 0 5934 RGBA_DXT5 = 0 5935 R_ATI1N_UNorm = 0 5936 R_ATI1N_SNorm = 0 5937 RG_ATI2N_UNorm = 0 5938 RG_ATI2N_SNorm = 0 5939 RGB_BP_UNSIGNED_FLOAT = 0 5940 RGB_BP_SIGNED_FLOAT = 0 5941 RGB_BP_UNorm = 0 5942 SRGB8 = 0 5943 SRGB8_Alpha8 = 0 5944 SRGB_DXT1 = 0 5945 SRGB_Alpha_DXT1 = 0 5946 SRGB_Alpha_DXT3 = 0 5947 SRGB_Alpha_DXT5 = 0 5948 SRGB_BP_UNorm = 0 5949 DepthFormat = 0 5950 AlphaFormat = 0 5951 RGBFormat = 0 5952 RGBAFormat = 0 5953 LuminanceFormat = 0 5954 LuminanceAlphaFormat = 0 5955 S8 = 0 5956 R11_EAC_UNorm = 0 5957 R11_EAC_SNorm = 0 5958 RG11_EAC_UNorm = 0 5959 RG11_EAC_SNorm = 0 5960 RGB8_ETC2 = 0 5961 SRGB8_ETC2 = 0 5962 RGB8_PunchThrough_Alpha1_ETC2 = 0 5963 SRGB8_PunchThrough_Alpha1_ETC2 = 0 5964 RGBA8_ETC2_EAC = 0 5965 SRGB8_Alpha8_ETC2_EAC = 0 5966 5967 # Enum QOpenGLTexture.TextureUnitReset 5968 ResetTextureUnit = 0 5969 DontResetTextureUnit = 0 5970 5971 # Enum QOpenGLTexture.MipMapGeneration 5972 GenerateMipMaps = 0 5973 DontGenerateMipMaps = 0 5974 5975 # Enum QOpenGLTexture.BindingTarget 5976 BindingTarget1D = 0 5977 BindingTarget1DArray = 0 5978 BindingTarget2D = 0 5979 BindingTarget2DArray = 0 5980 BindingTarget3D = 0 5981 BindingTargetCubeMap = 0 5982 BindingTargetCubeMapArray = 0 5983 BindingTarget2DMultisample = 0 5984 BindingTarget2DMultisampleArray = 0 5985 BindingTargetRectangle = 0 5986 BindingTargetBuffer = 0 5987 5988 # Enum QOpenGLTexture.Target 5989 Target1D = 0 5990 Target1DArray = 0 5991 Target2D = 0 5992 Target2DArray = 0 5993 Target3D = 0 5994 TargetCubeMap = 0 5995 TargetCubeMapArray = 0 5996 Target2DMultisample = 0 5997 Target2DMultisampleArray = 0 5998 TargetRectangle = 0 5999 TargetBuffer = 0 6000 6001 def __init__(self, target): 6002 '''void QOpenGLTexture.__init__(QOpenGLTexture.Target target)''' 6003 def __init__(self, image, genMipMaps = None): 6004 '''void QOpenGLTexture.__init__(QImage image, QOpenGLTexture.MipMapGeneration genMipMaps = QOpenGLTexture.GenerateMipMaps)''' 6005 def comparisonMode(self): 6006 '''QOpenGLTexture.ComparisonMode QOpenGLTexture.comparisonMode()''' 6007 return QOpenGLTexture.ComparisonMode() 6008 def setComparisonMode(self, mode): 6009 '''void QOpenGLTexture.setComparisonMode(QOpenGLTexture.ComparisonMode mode)''' 6010 def comparisonFunction(self): 6011 '''QOpenGLTexture.ComparisonFunction QOpenGLTexture.comparisonFunction()''' 6012 return QOpenGLTexture.ComparisonFunction() 6013 def setComparisonFunction(self, function): 6014 '''void QOpenGLTexture.setComparisonFunction(QOpenGLTexture.ComparisonFunction function)''' 6015 def isFixedSamplePositions(self): 6016 '''bool QOpenGLTexture.isFixedSamplePositions()''' 6017 return bool() 6018 def setFixedSamplePositions(self, fixed): 6019 '''void QOpenGLTexture.setFixedSamplePositions(bool fixed)''' 6020 def samples(self): 6021 '''int QOpenGLTexture.samples()''' 6022 return int() 6023 def setSamples(self, samples): 6024 '''void QOpenGLTexture.setSamples(int samples)''' 6025 def target(self): 6026 '''QOpenGLTexture.Target QOpenGLTexture.target()''' 6027 return QOpenGLTexture.Target() 6028 def levelofDetailBias(self): 6029 '''float QOpenGLTexture.levelofDetailBias()''' 6030 return float() 6031 def setLevelofDetailBias(self, bias): 6032 '''void QOpenGLTexture.setLevelofDetailBias(float bias)''' 6033 def levelOfDetailRange(self): 6034 '''tuple-of-float-float QOpenGLTexture.levelOfDetailRange()''' 6035 return tuple-of-float-float() 6036 def setLevelOfDetailRange(self, min, max): 6037 '''void QOpenGLTexture.setLevelOfDetailRange(float min, float max)''' 6038 def maximumLevelOfDetail(self): 6039 '''float QOpenGLTexture.maximumLevelOfDetail()''' 6040 return float() 6041 def setMaximumLevelOfDetail(self, value): 6042 '''void QOpenGLTexture.setMaximumLevelOfDetail(float value)''' 6043 def minimumLevelOfDetail(self): 6044 '''float QOpenGLTexture.minimumLevelOfDetail()''' 6045 return float() 6046 def setMinimumLevelOfDetail(self, value): 6047 '''void QOpenGLTexture.setMinimumLevelOfDetail(float value)''' 6048 def borderColor(self): 6049 '''QColor QOpenGLTexture.borderColor()''' 6050 return QColor() 6051 def setBorderColor(self, color): 6052 '''void QOpenGLTexture.setBorderColor(QColor color)''' 6053 def wrapMode(self, direction): 6054 '''QOpenGLTexture.WrapMode QOpenGLTexture.wrapMode(QOpenGLTexture.CoordinateDirection direction)''' 6055 return QOpenGLTexture.WrapMode() 6056 def setWrapMode(self, mode): 6057 '''void QOpenGLTexture.setWrapMode(QOpenGLTexture.WrapMode mode)''' 6058 def setWrapMode(self, direction, mode): 6059 '''void QOpenGLTexture.setWrapMode(QOpenGLTexture.CoordinateDirection direction, QOpenGLTexture.WrapMode mode)''' 6060 def maximumAnisotropy(self): 6061 '''float QOpenGLTexture.maximumAnisotropy()''' 6062 return float() 6063 def setMaximumAnisotropy(self, anisotropy): 6064 '''void QOpenGLTexture.setMaximumAnisotropy(float anisotropy)''' 6065 def minMagFilters(self): 6066 '''tuple-of-QOpenGLTexture.Filter-QOpenGLTexture.Filter QOpenGLTexture.minMagFilters()''' 6067 return tuple-of-QOpenGLTexture.Filter-QOpenGLTexture.Filter() 6068 def setMinMagFilters(self, minificationFilter, magnificationFilter): 6069 '''void QOpenGLTexture.setMinMagFilters(QOpenGLTexture.Filter minificationFilter, QOpenGLTexture.Filter magnificationFilter)''' 6070 def magnificationFilter(self): 6071 '''QOpenGLTexture.Filter QOpenGLTexture.magnificationFilter()''' 6072 return QOpenGLTexture.Filter() 6073 def setMagnificationFilter(self, filter): 6074 '''void QOpenGLTexture.setMagnificationFilter(QOpenGLTexture.Filter filter)''' 6075 def minificationFilter(self): 6076 '''QOpenGLTexture.Filter QOpenGLTexture.minificationFilter()''' 6077 return QOpenGLTexture.Filter() 6078 def setMinificationFilter(self, filter): 6079 '''void QOpenGLTexture.setMinificationFilter(QOpenGLTexture.Filter filter)''' 6080 def depthStencilMode(self): 6081 '''QOpenGLTexture.DepthStencilMode QOpenGLTexture.depthStencilMode()''' 6082 return QOpenGLTexture.DepthStencilMode() 6083 def setDepthStencilMode(self, mode): 6084 '''void QOpenGLTexture.setDepthStencilMode(QOpenGLTexture.DepthStencilMode mode)''' 6085 def swizzleMask(self, component): 6086 '''QOpenGLTexture.SwizzleValue QOpenGLTexture.swizzleMask(QOpenGLTexture.SwizzleComponent component)''' 6087 return QOpenGLTexture.SwizzleValue() 6088 def setSwizzleMask(self, component, value): 6089 '''void QOpenGLTexture.setSwizzleMask(QOpenGLTexture.SwizzleComponent component, QOpenGLTexture.SwizzleValue value)''' 6090 def setSwizzleMask(self, r, g, b, a): 6091 '''void QOpenGLTexture.setSwizzleMask(QOpenGLTexture.SwizzleValue r, QOpenGLTexture.SwizzleValue g, QOpenGLTexture.SwizzleValue b, QOpenGLTexture.SwizzleValue a)''' 6092 def generateMipMaps(self): 6093 '''void QOpenGLTexture.generateMipMaps()''' 6094 def generateMipMaps(self, baseLevel, resetBaseLevel = True): 6095 '''void QOpenGLTexture.generateMipMaps(int baseLevel, bool resetBaseLevel = True)''' 6096 def isAutoMipMapGenerationEnabled(self): 6097 '''bool QOpenGLTexture.isAutoMipMapGenerationEnabled()''' 6098 return bool() 6099 def setAutoMipMapGenerationEnabled(self, enabled): 6100 '''void QOpenGLTexture.setAutoMipMapGenerationEnabled(bool enabled)''' 6101 def mipLevelRange(self): 6102 '''tuple-of-int-int QOpenGLTexture.mipLevelRange()''' 6103 return tuple-of-int-int() 6104 def setMipLevelRange(self, baseLevel, maxLevel): 6105 '''void QOpenGLTexture.setMipLevelRange(int baseLevel, int maxLevel)''' 6106 def mipMaxLevel(self): 6107 '''int QOpenGLTexture.mipMaxLevel()''' 6108 return int() 6109 def setMipMaxLevel(self, maxLevel): 6110 '''void QOpenGLTexture.setMipMaxLevel(int maxLevel)''' 6111 def mipBaseLevel(self): 6112 '''int QOpenGLTexture.mipBaseLevel()''' 6113 return int() 6114 def setMipBaseLevel(self, baseLevel): 6115 '''void QOpenGLTexture.setMipBaseLevel(int baseLevel)''' 6116 def hasFeature(self, feature): 6117 '''static bool QOpenGLTexture.hasFeature(QOpenGLTexture.Feature feature)''' 6118 return bool() 6119 def setCompressedData(self, mipLevel, layer, cubeFace, dataSize, data, options = None): 6120 '''void QOpenGLTexture.setCompressedData(int mipLevel, int layer, QOpenGLTexture.CubeMapFace cubeFace, int dataSize, sip.voidptr data, QOpenGLPixelTransferOptions options = None)''' 6121 def setCompressedData(self, mipLevel, layer, dataSize, data, options = None): 6122 '''void QOpenGLTexture.setCompressedData(int mipLevel, int layer, int dataSize, sip.voidptr data, QOpenGLPixelTransferOptions options = None)''' 6123 def setCompressedData(self, mipLevel, dataSize, data, options = None): 6124 '''void QOpenGLTexture.setCompressedData(int mipLevel, int dataSize, sip.voidptr data, QOpenGLPixelTransferOptions options = None)''' 6125 def setCompressedData(self, dataSize, data, options = None): 6126 '''void QOpenGLTexture.setCompressedData(int dataSize, sip.voidptr data, QOpenGLPixelTransferOptions options = None)''' 6127 def setData(self, mipLevel, layer, cubeFace, sourceFormat, sourceType, data, options = None): 6128 '''void QOpenGLTexture.setData(int mipLevel, int layer, QOpenGLTexture.CubeMapFace cubeFace, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, sip.voidptr data, QOpenGLPixelTransferOptions options = None)''' 6129 def setData(self, mipLevel, layer, sourceFormat, sourceType, data, options = None): 6130 '''void QOpenGLTexture.setData(int mipLevel, int layer, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, sip.voidptr data, QOpenGLPixelTransferOptions options = None)''' 6131 def setData(self, mipLevel, sourceFormat, sourceType, data, options = None): 6132 '''void QOpenGLTexture.setData(int mipLevel, QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, sip.voidptr data, QOpenGLPixelTransferOptions options = None)''' 6133 def setData(self, sourceFormat, sourceType, data, options = None): 6134 '''void QOpenGLTexture.setData(QOpenGLTexture.PixelFormat sourceFormat, QOpenGLTexture.PixelType sourceType, sip.voidptr data, QOpenGLPixelTransferOptions options = None)''' 6135 def setData(self, image, genMipMaps = None): 6136 '''void QOpenGLTexture.setData(QImage image, QOpenGLTexture.MipMapGeneration genMipMaps = QOpenGLTexture.GenerateMipMaps)''' 6137 def isTextureView(self): 6138 '''bool QOpenGLTexture.isTextureView()''' 6139 return bool() 6140 def createTextureView(self, target, viewFormat, minimumMipmapLevel, maximumMipmapLevel, minimumLayer, maximumLayer): 6141 '''QOpenGLTexture QOpenGLTexture.createTextureView(QOpenGLTexture.Target target, QOpenGLTexture.TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer)''' 6142 return QOpenGLTexture() 6143 def isStorageAllocated(self): 6144 '''bool QOpenGLTexture.isStorageAllocated()''' 6145 return bool() 6146 def allocateStorage(self): 6147 '''void QOpenGLTexture.allocateStorage()''' 6148 def allocateStorage(self, pixelFormat, pixelType): 6149 '''void QOpenGLTexture.allocateStorage(QOpenGLTexture.PixelFormat pixelFormat, QOpenGLTexture.PixelType pixelType)''' 6150 def faces(self): 6151 '''int QOpenGLTexture.faces()''' 6152 return int() 6153 def layers(self): 6154 '''int QOpenGLTexture.layers()''' 6155 return int() 6156 def setLayers(self, layers): 6157 '''void QOpenGLTexture.setLayers(int layers)''' 6158 def maximumMipLevels(self): 6159 '''int QOpenGLTexture.maximumMipLevels()''' 6160 return int() 6161 def mipLevels(self): 6162 '''int QOpenGLTexture.mipLevels()''' 6163 return int() 6164 def setMipLevels(self, levels): 6165 '''void QOpenGLTexture.setMipLevels(int levels)''' 6166 def depth(self): 6167 '''int QOpenGLTexture.depth()''' 6168 return int() 6169 def height(self): 6170 '''int QOpenGLTexture.height()''' 6171 return int() 6172 def width(self): 6173 '''int QOpenGLTexture.width()''' 6174 return int() 6175 def setSize(self, width, height = 1, depth = 1): 6176 '''void QOpenGLTexture.setSize(int width, int height = 1, int depth = 1)''' 6177 def format(self): 6178 '''QOpenGLTexture.TextureFormat QOpenGLTexture.format()''' 6179 return QOpenGLTexture.TextureFormat() 6180 def setFormat(self, format): 6181 '''void QOpenGLTexture.setFormat(QOpenGLTexture.TextureFormat format)''' 6182 def boundTextureId(self, target): 6183 '''static int QOpenGLTexture.boundTextureId(QOpenGLTexture.BindingTarget target)''' 6184 return int() 6185 def boundTextureId(self, unit, target): 6186 '''static int QOpenGLTexture.boundTextureId(int unit, QOpenGLTexture.BindingTarget target)''' 6187 return int() 6188 def isBound(self): 6189 '''bool QOpenGLTexture.isBound()''' 6190 return bool() 6191 def isBound(self, unit): 6192 '''bool QOpenGLTexture.isBound(int unit)''' 6193 return bool() 6194 def release(self): 6195 '''void QOpenGLTexture.release()''' 6196 def release(self, unit, reset = None): 6197 '''void QOpenGLTexture.release(int unit, QOpenGLTexture.TextureUnitReset reset = QOpenGLTexture.DontResetTextureUnit)''' 6198 def bind(self): 6199 '''void QOpenGLTexture.bind()''' 6200 def bind(self, unit, reset = None): 6201 '''void QOpenGLTexture.bind(int unit, QOpenGLTexture.TextureUnitReset reset = QOpenGLTexture.DontResetTextureUnit)''' 6202 def textureId(self): 6203 '''int QOpenGLTexture.textureId()''' 6204 return int() 6205 def isCreated(self): 6206 '''bool QOpenGLTexture.isCreated()''' 6207 return bool() 6208 def destroy(self): 6209 '''void QOpenGLTexture.destroy()''' 6210 def create(self): 6211 '''bool QOpenGLTexture.create()''' 6212 return bool() 6213 class Features(): 6214 """""" 6215 def __init__(self): 6216 '''QOpenGLTexture.Features QOpenGLTexture.Features.__init__()''' 6217 return QOpenGLTexture.Features() 6218 def __init__(self): 6219 '''int QOpenGLTexture.Features.__init__()''' 6220 return int() 6221 def __init__(self): 6222 '''void QOpenGLTexture.Features.__init__()''' 6223 def __bool__(self): 6224 '''int QOpenGLTexture.Features.__bool__()''' 6225 return int() 6226 def __ne__(self, f): 6227 '''bool QOpenGLTexture.Features.__ne__(QOpenGLTexture.Features f)''' 6228 return bool() 6229 def __eq__(self, f): 6230 '''bool QOpenGLTexture.Features.__eq__(QOpenGLTexture.Features f)''' 6231 return bool() 6232 def __invert__(self): 6233 '''QOpenGLTexture.Features QOpenGLTexture.Features.__invert__()''' 6234 return QOpenGLTexture.Features() 6235 def __and__(self, mask): 6236 '''QOpenGLTexture.Features QOpenGLTexture.Features.__and__(int mask)''' 6237 return QOpenGLTexture.Features() 6238 def __xor__(self, f): 6239 '''QOpenGLTexture.Features QOpenGLTexture.Features.__xor__(QOpenGLTexture.Features f)''' 6240 return QOpenGLTexture.Features() 6241 def __xor__(self, f): 6242 '''QOpenGLTexture.Features QOpenGLTexture.Features.__xor__(int f)''' 6243 return QOpenGLTexture.Features() 6244 def __or__(self, f): 6245 '''QOpenGLTexture.Features QOpenGLTexture.Features.__or__(QOpenGLTexture.Features f)''' 6246 return QOpenGLTexture.Features() 6247 def __or__(self, f): 6248 '''QOpenGLTexture.Features QOpenGLTexture.Features.__or__(int f)''' 6249 return QOpenGLTexture.Features() 6250 def __int__(self): 6251 '''int QOpenGLTexture.Features.__int__()''' 6252 return int() 6253 def __ixor__(self, f): 6254 '''QOpenGLTexture.Features QOpenGLTexture.Features.__ixor__(QOpenGLTexture.Features f)''' 6255 return QOpenGLTexture.Features() 6256 def __ior__(self, f): 6257 '''QOpenGLTexture.Features QOpenGLTexture.Features.__ior__(QOpenGLTexture.Features f)''' 6258 return QOpenGLTexture.Features() 6259 def __iand__(self, mask): 6260 '''QOpenGLTexture.Features QOpenGLTexture.Features.__iand__(int mask)''' 6261 return QOpenGLTexture.Features() 6262 6263 6264 class QOpenGLTimerQuery(QObject): 6265 """""" 6266 def __init__(self, parent = None): 6267 '''void QOpenGLTimerQuery.__init__(QObject parent = None)''' 6268 def waitForResult(self): 6269 '''int QOpenGLTimerQuery.waitForResult()''' 6270 return int() 6271 def isResultAvailable(self): 6272 '''bool QOpenGLTimerQuery.isResultAvailable()''' 6273 return bool() 6274 def recordTimestamp(self): 6275 '''void QOpenGLTimerQuery.recordTimestamp()''' 6276 def waitForTimestamp(self): 6277 '''int QOpenGLTimerQuery.waitForTimestamp()''' 6278 return int() 6279 def end(self): 6280 '''void QOpenGLTimerQuery.end()''' 6281 def begin(self): 6282 '''void QOpenGLTimerQuery.begin()''' 6283 def objectId(self): 6284 '''int QOpenGLTimerQuery.objectId()''' 6285 return int() 6286 def isCreated(self): 6287 '''bool QOpenGLTimerQuery.isCreated()''' 6288 return bool() 6289 def destroy(self): 6290 '''void QOpenGLTimerQuery.destroy()''' 6291 def create(self): 6292 '''bool QOpenGLTimerQuery.create()''' 6293 return bool() 6294 6295 6296 class QOpenGLTimeMonitor(QObject): 6297 """""" 6298 def __init__(self, parent = None): 6299 '''void QOpenGLTimeMonitor.__init__(QObject parent = None)''' 6300 def reset(self): 6301 '''void QOpenGLTimeMonitor.reset()''' 6302 def waitForIntervals(self): 6303 '''list-of-int QOpenGLTimeMonitor.waitForIntervals()''' 6304 return [int()] 6305 def waitForSamples(self): 6306 '''list-of-int QOpenGLTimeMonitor.waitForSamples()''' 6307 return [int()] 6308 def isResultAvailable(self): 6309 '''bool QOpenGLTimeMonitor.isResultAvailable()''' 6310 return bool() 6311 def recordSample(self): 6312 '''int QOpenGLTimeMonitor.recordSample()''' 6313 return int() 6314 def objectIds(self): 6315 '''list-of-int QOpenGLTimeMonitor.objectIds()''' 6316 return [int()] 6317 def isCreated(self): 6318 '''bool QOpenGLTimeMonitor.isCreated()''' 6319 return bool() 6320 def destroy(self): 6321 '''void QOpenGLTimeMonitor.destroy()''' 6322 def create(self): 6323 '''bool QOpenGLTimeMonitor.create()''' 6324 return bool() 6325 def sampleCount(self): 6326 '''int QOpenGLTimeMonitor.sampleCount()''' 6327 return int() 6328 def setSampleCount(self, sampleCount): 6329 '''void QOpenGLTimeMonitor.setSampleCount(int sampleCount)''' 6330 6331 6332 class QAbstractOpenGLFunctions(): 6333 """""" 6334 6335 6336 class QOpenGLVertexArrayObject(QObject): 6337 """""" 6338 def __init__(self, parent = None): 6339 '''void QOpenGLVertexArrayObject.__init__(QObject parent = None)''' 6340 def release(self): 6341 '''void QOpenGLVertexArrayObject.release()''' 6342 def bind(self): 6343 '''void QOpenGLVertexArrayObject.bind()''' 6344 def objectId(self): 6345 '''int QOpenGLVertexArrayObject.objectId()''' 6346 return int() 6347 def isCreated(self): 6348 '''bool QOpenGLVertexArrayObject.isCreated()''' 6349 return bool() 6350 def destroy(self): 6351 '''void QOpenGLVertexArrayObject.destroy()''' 6352 def create(self): 6353 '''bool QOpenGLVertexArrayObject.create()''' 6354 return bool() 6355 class Binder(): 6356 """""" 6357 def __init__(self, v): 6358 '''void QOpenGLVertexArrayObject.Binder.__init__(QOpenGLVertexArrayObject v)''' 6359 def __exit__(self, type, value, traceback): 6360 '''void QOpenGLVertexArrayObject.Binder.__exit__(object type, object value, object traceback)''' 6361 def __enter__(self): 6362 '''object QOpenGLVertexArrayObject.Binder.__enter__()''' 6363 return object() 6364 def rebind(self): 6365 '''void QOpenGLVertexArrayObject.Binder.rebind()''' 6366 def release(self): 6367 '''void QOpenGLVertexArrayObject.Binder.release()''' 6368 6369 6370 class QWindow(QObject, QSurface): 6371 """""" 6372 # Enum QWindow.Visibility 6373 Hidden = 0 6374 AutomaticVisibility = 0 6375 Windowed = 0 6376 Minimized = 0 6377 Maximized = 0 6378 FullScreen = 0 6379 6380 # Enum QWindow.AncestorMode 6381 ExcludeTransients = 0 6382 IncludeTransients = 0 6383 6384 def __init__(self, screen = None): 6385 '''void QWindow.__init__(QScreen screen = None)''' 6386 def __init__(self, parent): 6387 '''void QWindow.__init__(QWindow parent)''' 6388 opacityChanged = pyqtSignal() # void opacityChanged(qreal) - signal 6389 activeChanged = pyqtSignal() # void activeChanged() - signal 6390 visibilityChanged = pyqtSignal() # void visibilityChanged(QWindow::Visibility) - signal 6391 def fromWinId(self, id): 6392 '''static QWindow QWindow.fromWinId(sip.voidptr id)''' 6393 return QWindow() 6394 def mask(self): 6395 '''QRegion QWindow.mask()''' 6396 return QRegion() 6397 def setMask(self, region): 6398 '''void QWindow.setMask(QRegion region)''' 6399 def opacity(self): 6400 '''float QWindow.opacity()''' 6401 return float() 6402 def setVisibility(self, v): 6403 '''void QWindow.setVisibility(QWindow.Visibility v)''' 6404 def visibility(self): 6405 '''QWindow.Visibility QWindow.visibility()''' 6406 return QWindow.Visibility() 6407 def tabletEvent(self): 6408 '''QTabletEvent QWindow.tabletEvent()''' 6409 return QTabletEvent() 6410 def touchEvent(self): 6411 '''QTouchEvent QWindow.touchEvent()''' 6412 return QTouchEvent() 6413 def wheelEvent(self): 6414 '''QWheelEvent QWindow.wheelEvent()''' 6415 return QWheelEvent() 6416 def mouseMoveEvent(self): 6417 '''QMouseEvent QWindow.mouseMoveEvent()''' 6418 return QMouseEvent() 6419 def mouseDoubleClickEvent(self): 6420 '''QMouseEvent QWindow.mouseDoubleClickEvent()''' 6421 return QMouseEvent() 6422 def mouseReleaseEvent(self): 6423 '''QMouseEvent QWindow.mouseReleaseEvent()''' 6424 return QMouseEvent() 6425 def mousePressEvent(self): 6426 '''QMouseEvent QWindow.mousePressEvent()''' 6427 return QMouseEvent() 6428 def keyReleaseEvent(self): 6429 '''QKeyEvent QWindow.keyReleaseEvent()''' 6430 return QKeyEvent() 6431 def keyPressEvent(self): 6432 '''QKeyEvent QWindow.keyPressEvent()''' 6433 return QKeyEvent() 6434 def event(self): 6435 '''QEvent QWindow.event()''' 6436 return QEvent() 6437 def hideEvent(self): 6438 '''QHideEvent QWindow.hideEvent()''' 6439 return QHideEvent() 6440 def showEvent(self): 6441 '''QShowEvent QWindow.showEvent()''' 6442 return QShowEvent() 6443 def focusOutEvent(self): 6444 '''QFocusEvent QWindow.focusOutEvent()''' 6445 return QFocusEvent() 6446 def focusInEvent(self): 6447 '''QFocusEvent QWindow.focusInEvent()''' 6448 return QFocusEvent() 6449 def moveEvent(self): 6450 '''QMoveEvent QWindow.moveEvent()''' 6451 return QMoveEvent() 6452 def resizeEvent(self): 6453 '''QResizeEvent QWindow.resizeEvent()''' 6454 return QResizeEvent() 6455 def exposeEvent(self): 6456 '''QExposeEvent QWindow.exposeEvent()''' 6457 return QExposeEvent() 6458 windowTitleChanged = pyqtSignal() # void windowTitleChanged(const QStringamp;) - signal 6459 focusObjectChanged = pyqtSignal() # void focusObjectChanged(QObject*) - signal 6460 contentOrientationChanged = pyqtSignal() # void contentOrientationChanged(Qt::ScreenOrientation) - signal 6461 visibleChanged = pyqtSignal() # void visibleChanged(bool) - signal 6462 maximumHeightChanged = pyqtSignal() # void maximumHeightChanged(int) - signal 6463 maximumWidthChanged = pyqtSignal() # void maximumWidthChanged(int) - signal 6464 minimumHeightChanged = pyqtSignal() # void minimumHeightChanged(int) - signal 6465 minimumWidthChanged = pyqtSignal() # void minimumWidthChanged(int) - signal 6466 heightChanged = pyqtSignal() # void heightChanged(int) - signal 6467 widthChanged = pyqtSignal() # void widthChanged(int) - signal 6468 yChanged = pyqtSignal() # void yChanged(int) - signal 6469 xChanged = pyqtSignal() # void xChanged(int) - signal 6470 windowStateChanged = pyqtSignal() # void windowStateChanged(Qt::WindowState) - signal 6471 modalityChanged = pyqtSignal() # void modalityChanged(Qt::WindowModality) - signal 6472 screenChanged = pyqtSignal() # void screenChanged(QScreen*) - signal 6473 def requestUpdate(self): 6474 '''void QWindow.requestUpdate()''' 6475 def alert(self, msec): 6476 '''void QWindow.alert(int msec)''' 6477 def setMaximumHeight(self, h): 6478 '''void QWindow.setMaximumHeight(int h)''' 6479 def setMaximumWidth(self, w): 6480 '''void QWindow.setMaximumWidth(int w)''' 6481 def setMinimumHeight(self, h): 6482 '''void QWindow.setMinimumHeight(int h)''' 6483 def setMinimumWidth(self, w): 6484 '''void QWindow.setMinimumWidth(int w)''' 6485 def setHeight(self, arg): 6486 '''void QWindow.setHeight(int arg)''' 6487 def setWidth(self, arg): 6488 '''void QWindow.setWidth(int arg)''' 6489 def setY(self, arg): 6490 '''void QWindow.setY(int arg)''' 6491 def setX(self, arg): 6492 '''void QWindow.setX(int arg)''' 6493 def setTitle(self): 6494 '''str QWindow.setTitle()''' 6495 return str() 6496 def lower(self): 6497 '''void QWindow.lower()''' 6498 def raise_(self): 6499 '''void QWindow.raise_()''' 6500 def close(self): 6501 '''bool QWindow.close()''' 6502 return bool() 6503 def showNormal(self): 6504 '''void QWindow.showNormal()''' 6505 def showFullScreen(self): 6506 '''void QWindow.showFullScreen()''' 6507 def showMaximized(self): 6508 '''void QWindow.showMaximized()''' 6509 def showMinimized(self): 6510 '''void QWindow.showMinimized()''' 6511 def hide(self): 6512 '''void QWindow.hide()''' 6513 def show(self): 6514 '''void QWindow.show()''' 6515 def setVisible(self, visible): 6516 '''void QWindow.setVisible(bool visible)''' 6517 def unsetCursor(self): 6518 '''void QWindow.unsetCursor()''' 6519 def setCursor(self): 6520 '''QCursor QWindow.setCursor()''' 6521 return QCursor() 6522 def cursor(self): 6523 '''QCursor QWindow.cursor()''' 6524 return QCursor() 6525 def mapFromGlobal(self, pos): 6526 '''QPoint QWindow.mapFromGlobal(QPoint pos)''' 6527 return QPoint() 6528 def mapToGlobal(self, pos): 6529 '''QPoint QWindow.mapToGlobal(QPoint pos)''' 6530 return QPoint() 6531 def focusObject(self): 6532 '''QObject QWindow.focusObject()''' 6533 return QObject() 6534 def setScreen(self, screen): 6535 '''void QWindow.setScreen(QScreen screen)''' 6536 def screen(self): 6537 '''QScreen QWindow.screen()''' 6538 return QScreen() 6539 def setMouseGrabEnabled(self, grab): 6540 '''bool QWindow.setMouseGrabEnabled(bool grab)''' 6541 return bool() 6542 def setKeyboardGrabEnabled(self, grab): 6543 '''bool QWindow.setKeyboardGrabEnabled(bool grab)''' 6544 return bool() 6545 def destroy(self): 6546 '''void QWindow.destroy()''' 6547 def icon(self): 6548 '''QIcon QWindow.icon()''' 6549 return QIcon() 6550 def setIcon(self, icon): 6551 '''void QWindow.setIcon(QIcon icon)''' 6552 def filePath(self): 6553 '''str QWindow.filePath()''' 6554 return str() 6555 def setFilePath(self, filePath): 6556 '''void QWindow.setFilePath(str filePath)''' 6557 def resize(self, newSize): 6558 '''void QWindow.resize(QSize newSize)''' 6559 def resize(self, w, h): 6560 '''void QWindow.resize(int w, int h)''' 6561 def setPosition(self, pt): 6562 '''void QWindow.setPosition(QPoint pt)''' 6563 def setPosition(self, posx, posy): 6564 '''void QWindow.setPosition(int posx, int posy)''' 6565 def position(self): 6566 '''QPoint QWindow.position()''' 6567 return QPoint() 6568 def size(self): 6569 '''QSize QWindow.size()''' 6570 return QSize() 6571 def y(self): 6572 '''int QWindow.y()''' 6573 return int() 6574 def x(self): 6575 '''int QWindow.x()''' 6576 return int() 6577 def height(self): 6578 '''int QWindow.height()''' 6579 return int() 6580 def width(self): 6581 '''int QWindow.width()''' 6582 return int() 6583 def setFramePosition(self, point): 6584 '''void QWindow.setFramePosition(QPoint point)''' 6585 def framePosition(self): 6586 '''QPoint QWindow.framePosition()''' 6587 return QPoint() 6588 def frameGeometry(self): 6589 '''QRect QWindow.frameGeometry()''' 6590 return QRect() 6591 def frameMargins(self): 6592 '''QMargins QWindow.frameMargins()''' 6593 return QMargins() 6594 def geometry(self): 6595 '''QRect QWindow.geometry()''' 6596 return QRect() 6597 def setGeometry(self, posx, posy, w, h): 6598 '''void QWindow.setGeometry(int posx, int posy, int w, int h)''' 6599 def setGeometry(self, rect): 6600 '''void QWindow.setGeometry(QRect rect)''' 6601 def setSizeIncrement(self, size): 6602 '''void QWindow.setSizeIncrement(QSize size)''' 6603 def setBaseSize(self, size): 6604 '''void QWindow.setBaseSize(QSize size)''' 6605 def setMaximumSize(self, size): 6606 '''void QWindow.setMaximumSize(QSize size)''' 6607 def setMinimumSize(self, size): 6608 '''void QWindow.setMinimumSize(QSize size)''' 6609 def sizeIncrement(self): 6610 '''QSize QWindow.sizeIncrement()''' 6611 return QSize() 6612 def baseSize(self): 6613 '''QSize QWindow.baseSize()''' 6614 return QSize() 6615 def maximumSize(self): 6616 '''QSize QWindow.maximumSize()''' 6617 return QSize() 6618 def minimumSize(self): 6619 '''QSize QWindow.minimumSize()''' 6620 return QSize() 6621 def maximumHeight(self): 6622 '''int QWindow.maximumHeight()''' 6623 return int() 6624 def maximumWidth(self): 6625 '''int QWindow.maximumWidth()''' 6626 return int() 6627 def minimumHeight(self): 6628 '''int QWindow.minimumHeight()''' 6629 return int() 6630 def minimumWidth(self): 6631 '''int QWindow.minimumWidth()''' 6632 return int() 6633 def isExposed(self): 6634 '''bool QWindow.isExposed()''' 6635 return bool() 6636 def isAncestorOf(self, child, mode = None): 6637 '''bool QWindow.isAncestorOf(QWindow child, QWindow.AncestorMode mode = QWindow.IncludeTransients)''' 6638 return bool() 6639 def transientParent(self): 6640 '''QWindow QWindow.transientParent()''' 6641 return QWindow() 6642 def setTransientParent(self, parent): 6643 '''void QWindow.setTransientParent(QWindow parent)''' 6644 def setWindowState(self, state): 6645 '''void QWindow.setWindowState(Qt.WindowState state)''' 6646 def windowState(self): 6647 '''Qt.WindowState QWindow.windowState()''' 6648 return Qt.WindowState() 6649 def devicePixelRatio(self): 6650 '''float QWindow.devicePixelRatio()''' 6651 return float() 6652 def contentOrientation(self): 6653 '''Qt.ScreenOrientation QWindow.contentOrientation()''' 6654 return Qt.ScreenOrientation() 6655 def reportContentOrientationChange(self, orientation): 6656 '''void QWindow.reportContentOrientationChange(Qt.ScreenOrientation orientation)''' 6657 def isActive(self): 6658 '''bool QWindow.isActive()''' 6659 return bool() 6660 def requestActivate(self): 6661 '''void QWindow.requestActivate()''' 6662 def setOpacity(self, level): 6663 '''void QWindow.setOpacity(float level)''' 6664 def title(self): 6665 '''str QWindow.title()''' 6666 return str() 6667 def type(self): 6668 '''Qt.WindowType QWindow.type()''' 6669 return Qt.WindowType() 6670 def flags(self): 6671 '''Qt.WindowFlags QWindow.flags()''' 6672 return Qt.WindowFlags() 6673 def setFlags(self, flags): 6674 '''void QWindow.setFlags(Qt.WindowFlags flags)''' 6675 def requestedFormat(self): 6676 '''QSurfaceFormat QWindow.requestedFormat()''' 6677 return QSurfaceFormat() 6678 def format(self): 6679 '''QSurfaceFormat QWindow.format()''' 6680 return QSurfaceFormat() 6681 def setFormat(self, format): 6682 '''void QWindow.setFormat(QSurfaceFormat format)''' 6683 def setModality(self, modality): 6684 '''void QWindow.setModality(Qt.WindowModality modality)''' 6685 def modality(self): 6686 '''Qt.WindowModality QWindow.modality()''' 6687 return Qt.WindowModality() 6688 def isModal(self): 6689 '''bool QWindow.isModal()''' 6690 return bool() 6691 def isTopLevel(self): 6692 '''bool QWindow.isTopLevel()''' 6693 return bool() 6694 def setParent(self, parent): 6695 '''void QWindow.setParent(QWindow parent)''' 6696 def parent(self): 6697 '''QWindow QWindow.parent()''' 6698 return QWindow() 6699 def winId(self): 6700 '''sip.voidptr QWindow.winId()''' 6701 return sip.voidptr() 6702 def create(self): 6703 '''void QWindow.create()''' 6704 def isVisible(self): 6705 '''bool QWindow.isVisible()''' 6706 return bool() 6707 def surfaceType(self): 6708 '''QSurface.SurfaceType QWindow.surfaceType()''' 6709 return QSurface.SurfaceType() 6710 def setSurfaceType(self, surfaceType): 6711 '''void QWindow.setSurfaceType(QSurface.SurfaceType surfaceType)''' 6712 6713 6714 class QPaintDeviceWindow(QWindow, QPaintDevice): 6715 """""" 6716 def event(self, event): 6717 '''bool QPaintDeviceWindow.event(QEvent event)''' 6718 return bool() 6719 def exposeEvent(self): 6720 '''QExposeEvent QPaintDeviceWindow.exposeEvent()''' 6721 return QExposeEvent() 6722 def metric(self, metric): 6723 '''int QPaintDeviceWindow.metric(QPaintDevice.PaintDeviceMetric metric)''' 6724 return int() 6725 def paintEvent(self, event): 6726 '''void QPaintDeviceWindow.paintEvent(QPaintEvent event)''' 6727 def update(self, rect): 6728 '''void QPaintDeviceWindow.update(QRect rect)''' 6729 def update(self, region): 6730 '''void QPaintDeviceWindow.update(QRegion region)''' 6731 def update(self): 6732 '''void QPaintDeviceWindow.update()''' 6733 6734 6735 class QOpenGLWindow(QPaintDeviceWindow): 6736 """""" 6737 # Enum QOpenGLWindow.UpdateBehavior 6738 NoPartialUpdate = 0 6739 PartialUpdateBlit = 0 6740 PartialUpdateBlend = 0 6741 6742 def __init__(self, updateBehavior = None, parent = None): 6743 '''void QOpenGLWindow.__init__(QOpenGLWindow.UpdateBehavior updateBehavior = QOpenGLWindow.NoPartialUpdate, QWindow parent = None)''' 6744 def __init__(self, shareContext, updateBehavior = None, parent = None): 6745 '''void QOpenGLWindow.__init__(QOpenGLContext shareContext, QOpenGLWindow.UpdateBehavior updateBehavior = QOpenGLWindow.NoPartialUpdate, QWindow parent = None)''' 6746 def metric(self, metric): 6747 '''int QOpenGLWindow.metric(QPaintDevice.PaintDeviceMetric metric)''' 6748 return int() 6749 def resizeEvent(self, event): 6750 '''void QOpenGLWindow.resizeEvent(QResizeEvent event)''' 6751 def paintEvent(self, event): 6752 '''void QOpenGLWindow.paintEvent(QPaintEvent event)''' 6753 def paintOverGL(self): 6754 '''void QOpenGLWindow.paintOverGL()''' 6755 def paintUnderGL(self): 6756 '''void QOpenGLWindow.paintUnderGL()''' 6757 def paintGL(self): 6758 '''void QOpenGLWindow.paintGL()''' 6759 def resizeGL(self, w, h): 6760 '''void QOpenGLWindow.resizeGL(int w, int h)''' 6761 def initializeGL(self): 6762 '''void QOpenGLWindow.initializeGL()''' 6763 frameSwapped = pyqtSignal() # void frameSwapped() - signal 6764 def shareContext(self): 6765 '''QOpenGLContext QOpenGLWindow.shareContext()''' 6766 return QOpenGLContext() 6767 def grabFramebuffer(self): 6768 '''QImage QOpenGLWindow.grabFramebuffer()''' 6769 return QImage() 6770 def defaultFramebufferObject(self): 6771 '''int QOpenGLWindow.defaultFramebufferObject()''' 6772 return int() 6773 def context(self): 6774 '''QOpenGLContext QOpenGLWindow.context()''' 6775 return QOpenGLContext() 6776 def doneCurrent(self): 6777 '''void QOpenGLWindow.doneCurrent()''' 6778 def makeCurrent(self): 6779 '''void QOpenGLWindow.makeCurrent()''' 6780 def isValid(self): 6781 '''bool QOpenGLWindow.isValid()''' 6782 return bool() 6783 def updateBehavior(self): 6784 '''QOpenGLWindow.UpdateBehavior QOpenGLWindow.updateBehavior()''' 6785 return QOpenGLWindow.UpdateBehavior() 6786 6787 6788 class QPagedPaintDevice(QPaintDevice): 6789 """""" 6790 # Enum QPagedPaintDevice.PageSize 6791 A4 = 0 6792 B5 = 0 6793 Letter = 0 6794 Legal = 0 6795 Executive = 0 6796 A0 = 0 6797 A1 = 0 6798 A2 = 0 6799 A3 = 0 6800 A5 = 0 6801 A6 = 0 6802 A7 = 0 6803 A8 = 0 6804 A9 = 0 6805 B0 = 0 6806 B1 = 0 6807 B10 = 0 6808 B2 = 0 6809 B3 = 0 6810 B4 = 0 6811 B6 = 0 6812 B7 = 0 6813 B8 = 0 6814 B9 = 0 6815 C5E = 0 6816 Comm10E = 0 6817 DLE = 0 6818 Folio = 0 6819 Ledger = 0 6820 Tabloid = 0 6821 Custom = 0 6822 A10 = 0 6823 A3Extra = 0 6824 A4Extra = 0 6825 A4Plus = 0 6826 A4Small = 0 6827 A5Extra = 0 6828 B5Extra = 0 6829 JisB0 = 0 6830 JisB1 = 0 6831 JisB2 = 0 6832 JisB3 = 0 6833 JisB4 = 0 6834 JisB5 = 0 6835 JisB6 = 0 6836 JisB7 = 0 6837 JisB8 = 0 6838 JisB9 = 0 6839 JisB10 = 0 6840 AnsiC = 0 6841 AnsiD = 0 6842 AnsiE = 0 6843 LegalExtra = 0 6844 LetterExtra = 0 6845 LetterPlus = 0 6846 LetterSmall = 0 6847 TabloidExtra = 0 6848 ArchA = 0 6849 ArchB = 0 6850 ArchC = 0 6851 ArchD = 0 6852 ArchE = 0 6853 Imperial7x9 = 0 6854 Imperial8x10 = 0 6855 Imperial9x11 = 0 6856 Imperial9x12 = 0 6857 Imperial10x11 = 0 6858 Imperial10x13 = 0 6859 Imperial10x14 = 0 6860 Imperial12x11 = 0 6861 Imperial15x11 = 0 6862 ExecutiveStandard = 0 6863 Note = 0 6864 Quarto = 0 6865 Statement = 0 6866 SuperA = 0 6867 SuperB = 0 6868 Postcard = 0 6869 DoublePostcard = 0 6870 Prc16K = 0 6871 Prc32K = 0 6872 Prc32KBig = 0 6873 FanFoldUS = 0 6874 FanFoldGerman = 0 6875 FanFoldGermanLegal = 0 6876 EnvelopeB4 = 0 6877 EnvelopeB5 = 0 6878 EnvelopeB6 = 0 6879 EnvelopeC0 = 0 6880 EnvelopeC1 = 0 6881 EnvelopeC2 = 0 6882 EnvelopeC3 = 0 6883 EnvelopeC4 = 0 6884 EnvelopeC6 = 0 6885 EnvelopeC65 = 0 6886 EnvelopeC7 = 0 6887 Envelope9 = 0 6888 Envelope11 = 0 6889 Envelope12 = 0 6890 Envelope14 = 0 6891 EnvelopeMonarch = 0 6892 EnvelopePersonal = 0 6893 EnvelopeChou3 = 0 6894 EnvelopeChou4 = 0 6895 EnvelopeInvite = 0 6896 EnvelopeItalian = 0 6897 EnvelopeKaku2 = 0 6898 EnvelopeKaku3 = 0 6899 EnvelopePrc1 = 0 6900 EnvelopePrc2 = 0 6901 EnvelopePrc3 = 0 6902 EnvelopePrc4 = 0 6903 EnvelopePrc5 = 0 6904 EnvelopePrc6 = 0 6905 EnvelopePrc7 = 0 6906 EnvelopePrc8 = 0 6907 EnvelopePrc9 = 0 6908 EnvelopePrc10 = 0 6909 EnvelopeYou4 = 0 6910 NPaperSize = 0 6911 AnsiA = 0 6912 AnsiB = 0 6913 EnvelopeC5 = 0 6914 EnvelopeDL = 0 6915 Envelope10 = 0 6916 LastPageSize = 0 6917 6918 def __init__(self): 6919 '''void QPagedPaintDevice.__init__()''' 6920 def pageLayout(self): 6921 '''QPageLayout QPagedPaintDevice.pageLayout()''' 6922 return QPageLayout() 6923 def setPageMargins(self, margins): 6924 '''bool QPagedPaintDevice.setPageMargins(QMarginsF margins)''' 6925 return bool() 6926 def setPageMargins(self, margins, units): 6927 '''bool QPagedPaintDevice.setPageMargins(QMarginsF margins, QPageLayout.Unit units)''' 6928 return bool() 6929 def setPageOrientation(self, orientation): 6930 '''bool QPagedPaintDevice.setPageOrientation(QPageLayout.Orientation orientation)''' 6931 return bool() 6932 def setPageLayout(self, pageLayout): 6933 '''bool QPagedPaintDevice.setPageLayout(QPageLayout pageLayout)''' 6934 return bool() 6935 def margins(self): 6936 '''QPagedPaintDevice.Margins QPagedPaintDevice.margins()''' 6937 return QPagedPaintDevice.Margins() 6938 def setMargins(self, margins): 6939 '''void QPagedPaintDevice.setMargins(QPagedPaintDevice.Margins margins)''' 6940 def pageSizeMM(self): 6941 '''QSizeF QPagedPaintDevice.pageSizeMM()''' 6942 return QSizeF() 6943 def setPageSizeMM(self, size): 6944 '''void QPagedPaintDevice.setPageSizeMM(QSizeF size)''' 6945 def pageSize(self): 6946 '''QPagedPaintDevice.PageSize QPagedPaintDevice.pageSize()''' 6947 return QPagedPaintDevice.PageSize() 6948 def setPageSize(self, size): 6949 '''void QPagedPaintDevice.setPageSize(QPagedPaintDevice.PageSize size)''' 6950 def setPageSize(self, pageSize): 6951 '''bool QPagedPaintDevice.setPageSize(QPageSize pageSize)''' 6952 return bool() 6953 def newPage(self): 6954 '''abstract bool QPagedPaintDevice.newPage()''' 6955 return bool() 6956 class Margins(): 6957 """""" 6958 bottom = None # float - member 6959 left = None # float - member 6960 right = None # float - member 6961 top = None # float - member 6962 def __init__(self): 6963 '''void QPagedPaintDevice.Margins.__init__()''' 6964 def __init__(self): 6965 '''QPagedPaintDevice.Margins QPagedPaintDevice.Margins.__init__()''' 6966 return QPagedPaintDevice.Margins() 6967 6968 6969 class QPageLayout(): 6970 """""" 6971 # Enum QPageLayout.Mode 6972 StandardMode = 0 6973 FullPageMode = 0 6974 6975 # Enum QPageLayout.Orientation 6976 Portrait = 0 6977 Landscape = 0 6978 6979 # Enum QPageLayout.Unit 6980 Millimeter = 0 6981 Point = 0 6982 Inch = 0 6983 Pica = 0 6984 Didot = 0 6985 Cicero = 0 6986 6987 def __init__(self): 6988 '''void QPageLayout.__init__()''' 6989 def __init__(self, pageSize, orientation, margins, units = None, minMargins = None): 6990 '''void QPageLayout.__init__(QPageSize pageSize, QPageLayout.Orientation orientation, QMarginsF margins, QPageLayout.Unit units = QPageLayout.Point, QMarginsF minMargins = QMarginsF(0,0,0,0))''' 6991 def __init__(self, other): 6992 '''void QPageLayout.__init__(QPageLayout other)''' 6993 def __eq__(self, rhs): 6994 '''bool QPageLayout.__eq__(QPageLayout rhs)''' 6995 return bool() 6996 def __ne__(self, rhs): 6997 '''bool QPageLayout.__ne__(QPageLayout rhs)''' 6998 return bool() 6999 def paintRectPixels(self, resolution): 7000 '''QRect QPageLayout.paintRectPixels(int resolution)''' 7001 return QRect() 7002 def paintRectPoints(self): 7003 '''QRect QPageLayout.paintRectPoints()''' 7004 return QRect() 7005 def paintRect(self): 7006 '''QRectF QPageLayout.paintRect()''' 7007 return QRectF() 7008 def paintRect(self, units): 7009 '''QRectF QPageLayout.paintRect(QPageLayout.Unit units)''' 7010 return QRectF() 7011 def fullRectPixels(self, resolution): 7012 '''QRect QPageLayout.fullRectPixels(int resolution)''' 7013 return QRect() 7014 def fullRectPoints(self): 7015 '''QRect QPageLayout.fullRectPoints()''' 7016 return QRect() 7017 def fullRect(self): 7018 '''QRectF QPageLayout.fullRect()''' 7019 return QRectF() 7020 def fullRect(self, units): 7021 '''QRectF QPageLayout.fullRect(QPageLayout.Unit units)''' 7022 return QRectF() 7023 def maximumMargins(self): 7024 '''QMarginsF QPageLayout.maximumMargins()''' 7025 return QMarginsF() 7026 def minimumMargins(self): 7027 '''QMarginsF QPageLayout.minimumMargins()''' 7028 return QMarginsF() 7029 def setMinimumMargins(self, minMargins): 7030 '''void QPageLayout.setMinimumMargins(QMarginsF minMargins)''' 7031 def marginsPixels(self, resolution): 7032 '''QMargins QPageLayout.marginsPixels(int resolution)''' 7033 return QMargins() 7034 def marginsPoints(self): 7035 '''QMargins QPageLayout.marginsPoints()''' 7036 return QMargins() 7037 def margins(self): 7038 '''QMarginsF QPageLayout.margins()''' 7039 return QMarginsF() 7040 def margins(self, units): 7041 '''QMarginsF QPageLayout.margins(QPageLayout.Unit units)''' 7042 return QMarginsF() 7043 def setBottomMargin(self, bottomMargin): 7044 '''bool QPageLayout.setBottomMargin(float bottomMargin)''' 7045 return bool() 7046 def setTopMargin(self, topMargin): 7047 '''bool QPageLayout.setTopMargin(float topMargin)''' 7048 return bool() 7049 def setRightMargin(self, rightMargin): 7050 '''bool QPageLayout.setRightMargin(float rightMargin)''' 7051 return bool() 7052 def setLeftMargin(self, leftMargin): 7053 '''bool QPageLayout.setLeftMargin(float leftMargin)''' 7054 return bool() 7055 def setMargins(self, margins): 7056 '''bool QPageLayout.setMargins(QMarginsF margins)''' 7057 return bool() 7058 def units(self): 7059 '''QPageLayout.Unit QPageLayout.units()''' 7060 return QPageLayout.Unit() 7061 def setUnits(self, units): 7062 '''void QPageLayout.setUnits(QPageLayout.Unit units)''' 7063 def orientation(self): 7064 '''QPageLayout.Orientation QPageLayout.orientation()''' 7065 return QPageLayout.Orientation() 7066 def setOrientation(self, orientation): 7067 '''void QPageLayout.setOrientation(QPageLayout.Orientation orientation)''' 7068 def pageSize(self): 7069 '''QPageSize QPageLayout.pageSize()''' 7070 return QPageSize() 7071 def setPageSize(self, pageSize, minMargins = None): 7072 '''void QPageLayout.setPageSize(QPageSize pageSize, QMarginsF minMargins = QMarginsF(0,0,0,0))''' 7073 def mode(self): 7074 '''QPageLayout.Mode QPageLayout.mode()''' 7075 return QPageLayout.Mode() 7076 def setMode(self, mode): 7077 '''void QPageLayout.setMode(QPageLayout.Mode mode)''' 7078 def isValid(self): 7079 '''bool QPageLayout.isValid()''' 7080 return bool() 7081 def isEquivalentTo(self, other): 7082 '''bool QPageLayout.isEquivalentTo(QPageLayout other)''' 7083 return bool() 7084 def swap(self, other): 7085 '''void QPageLayout.swap(QPageLayout other)''' 7086 7087 7088 class QPageSize(): 7089 """""" 7090 # Enum QPageSize.SizeMatchPolicy 7091 FuzzyMatch = 0 7092 FuzzyOrientationMatch = 0 7093 ExactMatch = 0 7094 7095 # Enum QPageSize.Unit 7096 Millimeter = 0 7097 Point = 0 7098 Inch = 0 7099 Pica = 0 7100 Didot = 0 7101 Cicero = 0 7102 7103 # Enum QPageSize.PageSizeId 7104 A4 = 0 7105 B5 = 0 7106 Letter = 0 7107 Legal = 0 7108 Executive = 0 7109 A0 = 0 7110 A1 = 0 7111 A2 = 0 7112 A3 = 0 7113 A5 = 0 7114 A6 = 0 7115 A7 = 0 7116 A8 = 0 7117 A9 = 0 7118 B0 = 0 7119 B1 = 0 7120 B10 = 0 7121 B2 = 0 7122 B3 = 0 7123 B4 = 0 7124 B6 = 0 7125 B7 = 0 7126 B8 = 0 7127 B9 = 0 7128 C5E = 0 7129 Comm10E = 0 7130 DLE = 0 7131 Folio = 0 7132 Ledger = 0 7133 Tabloid = 0 7134 Custom = 0 7135 A10 = 0 7136 A3Extra = 0 7137 A4Extra = 0 7138 A4Plus = 0 7139 A4Small = 0 7140 A5Extra = 0 7141 B5Extra = 0 7142 JisB0 = 0 7143 JisB1 = 0 7144 JisB2 = 0 7145 JisB3 = 0 7146 JisB4 = 0 7147 JisB5 = 0 7148 JisB6 = 0 7149 JisB7 = 0 7150 JisB8 = 0 7151 JisB9 = 0 7152 JisB10 = 0 7153 AnsiC = 0 7154 AnsiD = 0 7155 AnsiE = 0 7156 LegalExtra = 0 7157 LetterExtra = 0 7158 LetterPlus = 0 7159 LetterSmall = 0 7160 TabloidExtra = 0 7161 ArchA = 0 7162 ArchB = 0 7163 ArchC = 0 7164 ArchD = 0 7165 ArchE = 0 7166 Imperial7x9 = 0 7167 Imperial8x10 = 0 7168 Imperial9x11 = 0 7169 Imperial9x12 = 0 7170 Imperial10x11 = 0 7171 Imperial10x13 = 0 7172 Imperial10x14 = 0 7173 Imperial12x11 = 0 7174 Imperial15x11 = 0 7175 ExecutiveStandard = 0 7176 Note = 0 7177 Quarto = 0 7178 Statement = 0 7179 SuperA = 0 7180 SuperB = 0 7181 Postcard = 0 7182 DoublePostcard = 0 7183 Prc16K = 0 7184 Prc32K = 0 7185 Prc32KBig = 0 7186 FanFoldUS = 0 7187 FanFoldGerman = 0 7188 FanFoldGermanLegal = 0 7189 EnvelopeB4 = 0 7190 EnvelopeB5 = 0 7191 EnvelopeB6 = 0 7192 EnvelopeC0 = 0 7193 EnvelopeC1 = 0 7194 EnvelopeC2 = 0 7195 EnvelopeC3 = 0 7196 EnvelopeC4 = 0 7197 EnvelopeC6 = 0 7198 EnvelopeC65 = 0 7199 EnvelopeC7 = 0 7200 Envelope9 = 0 7201 Envelope11 = 0 7202 Envelope12 = 0 7203 Envelope14 = 0 7204 EnvelopeMonarch = 0 7205 EnvelopePersonal = 0 7206 EnvelopeChou3 = 0 7207 EnvelopeChou4 = 0 7208 EnvelopeInvite = 0 7209 EnvelopeItalian = 0 7210 EnvelopeKaku2 = 0 7211 EnvelopeKaku3 = 0 7212 EnvelopePrc1 = 0 7213 EnvelopePrc2 = 0 7214 EnvelopePrc3 = 0 7215 EnvelopePrc4 = 0 7216 EnvelopePrc5 = 0 7217 EnvelopePrc6 = 0 7218 EnvelopePrc7 = 0 7219 EnvelopePrc8 = 0 7220 EnvelopePrc9 = 0 7221 EnvelopePrc10 = 0 7222 EnvelopeYou4 = 0 7223 NPageSize = 0 7224 NPaperSize = 0 7225 AnsiA = 0 7226 AnsiB = 0 7227 EnvelopeC5 = 0 7228 EnvelopeDL = 0 7229 Envelope10 = 0 7230 LastPageSize = 0 7231 7232 def __init__(self): 7233 '''void QPageSize.__init__()''' 7234 def __init__(self, pageSizeId): 7235 '''void QPageSize.__init__(QPageSize.PageSizeId pageSizeId)''' 7236 def __init__(self, pointSize, name = str(), matchPolicy = None): 7237 '''void QPageSize.__init__(QSize pointSize, str name = str(), QPageSize.SizeMatchPolicy matchPolicy = QPageSize.FuzzyMatch)''' 7238 def __init__(self, size, units, name = str(), matchPolicy = None): 7239 '''void QPageSize.__init__(QSizeF size, QPageSize.Unit units, str name = str(), QPageSize.SizeMatchPolicy matchPolicy = QPageSize.FuzzyMatch)''' 7240 def __init__(self, other): 7241 '''void QPageSize.__init__(QPageSize other)''' 7242 def __eq__(self, rhs): 7243 '''bool QPageSize.__eq__(QPageSize rhs)''' 7244 return bool() 7245 def __ne__(self, rhs): 7246 '''bool QPageSize.__ne__(QPageSize rhs)''' 7247 return bool() 7248 def rectPixels(self, resolution): 7249 '''QRect QPageSize.rectPixels(int resolution)''' 7250 return QRect() 7251 def rectPoints(self): 7252 '''QRect QPageSize.rectPoints()''' 7253 return QRect() 7254 def rect(self, units): 7255 '''QRectF QPageSize.rect(QPageSize.Unit units)''' 7256 return QRectF() 7257 def sizePixels(self, resolution): 7258 '''QSize QPageSize.sizePixels(int resolution)''' 7259 return QSize() 7260 def sizePixels(self, pageSizeId, resolution): 7261 '''static QSize QPageSize.sizePixels(QPageSize.PageSizeId pageSizeId, int resolution)''' 7262 return QSize() 7263 def sizePoints(self): 7264 '''QSize QPageSize.sizePoints()''' 7265 return QSize() 7266 def sizePoints(self, pageSizeId): 7267 '''static QSize QPageSize.sizePoints(QPageSize.PageSizeId pageSizeId)''' 7268 return QSize() 7269 def size(self, units): 7270 '''QSizeF QPageSize.size(QPageSize.Unit units)''' 7271 return QSizeF() 7272 def size(self, pageSizeId, units): 7273 '''static QSizeF QPageSize.size(QPageSize.PageSizeId pageSizeId, QPageSize.Unit units)''' 7274 return QSizeF() 7275 def definitionUnits(self): 7276 '''QPageSize.Unit QPageSize.definitionUnits()''' 7277 return QPageSize.Unit() 7278 def definitionUnits(self, pageSizeId): 7279 '''static QPageSize.Unit QPageSize.definitionUnits(QPageSize.PageSizeId pageSizeId)''' 7280 return QPageSize.Unit() 7281 def definitionSize(self): 7282 '''QSizeF QPageSize.definitionSize()''' 7283 return QSizeF() 7284 def definitionSize(self, pageSizeId): 7285 '''static QSizeF QPageSize.definitionSize(QPageSize.PageSizeId pageSizeId)''' 7286 return QSizeF() 7287 def windowsId(self): 7288 '''int QPageSize.windowsId()''' 7289 return int() 7290 def windowsId(self, pageSizeId): 7291 '''static int QPageSize.windowsId(QPageSize.PageSizeId pageSizeId)''' 7292 return int() 7293 def id(self): 7294 '''QPageSize.PageSizeId QPageSize.id()''' 7295 return QPageSize.PageSizeId() 7296 def id(self, pointSize, matchPolicy = None): 7297 '''static QPageSize.PageSizeId QPageSize.id(QSize pointSize, QPageSize.SizeMatchPolicy matchPolicy = QPageSize.FuzzyMatch)''' 7298 return QPageSize.PageSizeId() 7299 def id(self, size, units, matchPolicy = None): 7300 '''static QPageSize.PageSizeId QPageSize.id(QSizeF size, QPageSize.Unit units, QPageSize.SizeMatchPolicy matchPolicy = QPageSize.FuzzyMatch)''' 7301 return QPageSize.PageSizeId() 7302 def id(self, windowsId): 7303 '''static QPageSize.PageSizeId QPageSize.id(int windowsId)''' 7304 return QPageSize.PageSizeId() 7305 def name(self): 7306 '''str QPageSize.name()''' 7307 return str() 7308 def name(self, pageSizeId): 7309 '''static str QPageSize.name(QPageSize.PageSizeId pageSizeId)''' 7310 return str() 7311 def key(self): 7312 '''str QPageSize.key()''' 7313 return str() 7314 def key(self, pageSizeId): 7315 '''static str QPageSize.key(QPageSize.PageSizeId pageSizeId)''' 7316 return str() 7317 def isValid(self): 7318 '''bool QPageSize.isValid()''' 7319 return bool() 7320 def isEquivalentTo(self, other): 7321 '''bool QPageSize.isEquivalentTo(QPageSize other)''' 7322 return bool() 7323 def swap(self, other): 7324 '''void QPageSize.swap(QPageSize other)''' 7325 7326 7327 class QPainter(): 7328 """""" 7329 # Enum QPainter.PixmapFragmentHint 7330 OpaqueHint = 0 7331 7332 # Enum QPainter.CompositionMode 7333 CompositionMode_SourceOver = 0 7334 CompositionMode_DestinationOver = 0 7335 CompositionMode_Clear = 0 7336 CompositionMode_Source = 0 7337 CompositionMode_Destination = 0 7338 CompositionMode_SourceIn = 0 7339 CompositionMode_DestinationIn = 0 7340 CompositionMode_SourceOut = 0 7341 CompositionMode_DestinationOut = 0 7342 CompositionMode_SourceAtop = 0 7343 CompositionMode_DestinationAtop = 0 7344 CompositionMode_Xor = 0 7345 CompositionMode_Plus = 0 7346 CompositionMode_Multiply = 0 7347 CompositionMode_Screen = 0 7348 CompositionMode_Overlay = 0 7349 CompositionMode_Darken = 0 7350 CompositionMode_Lighten = 0 7351 CompositionMode_ColorDodge = 0 7352 CompositionMode_ColorBurn = 0 7353 CompositionMode_HardLight = 0 7354 CompositionMode_SoftLight = 0 7355 CompositionMode_Difference = 0 7356 CompositionMode_Exclusion = 0 7357 RasterOp_SourceOrDestination = 0 7358 RasterOp_SourceAndDestination = 0 7359 RasterOp_SourceXorDestination = 0 7360 RasterOp_NotSourceAndNotDestination = 0 7361 RasterOp_NotSourceOrNotDestination = 0 7362 RasterOp_NotSourceXorDestination = 0 7363 RasterOp_NotSource = 0 7364 RasterOp_NotSourceAndDestination = 0 7365 RasterOp_SourceAndNotDestination = 0 7366 RasterOp_NotSourceOrDestination = 0 7367 RasterOp_SourceOrNotDestination = 0 7368 RasterOp_ClearDestination = 0 7369 RasterOp_SetDestination = 0 7370 RasterOp_NotDestination = 0 7371 7372 # Enum QPainter.RenderHint 7373 Antialiasing = 0 7374 TextAntialiasing = 0 7375 SmoothPixmapTransform = 0 7376 HighQualityAntialiasing = 0 7377 NonCosmeticDefaultPen = 0 7378 Qt4CompatiblePainting = 0 7379 7380 def __init__(self): 7381 '''void QPainter.__init__()''' 7382 def __init__(self): 7383 '''QPaintDevice QPainter.__init__()''' 7384 return QPaintDevice() 7385 def drawGlyphRun(self, position, glyphRun): 7386 '''void QPainter.drawGlyphRun(QPointF position, QGlyphRun glyphRun)''' 7387 def clipBoundingRect(self): 7388 '''QRectF QPainter.clipBoundingRect()''' 7389 return QRectF() 7390 def drawStaticText(self, topLeftPosition, staticText): 7391 '''void QPainter.drawStaticText(QPointF topLeftPosition, QStaticText staticText)''' 7392 def drawStaticText(self, p, staticText): 7393 '''void QPainter.drawStaticText(QPoint p, QStaticText staticText)''' 7394 def drawStaticText(self, x, y, staticText): 7395 '''void QPainter.drawStaticText(int x, int y, QStaticText staticText)''' 7396 def drawPixmapFragments(self, fragments, pixmap, hints = 0): 7397 '''void QPainter.drawPixmapFragments(list-of-QPainter.PixmapFragment fragments, QPixmap pixmap, QPainter.PixmapFragmentHints hints = 0)''' 7398 def endNativePainting(self): 7399 '''void QPainter.endNativePainting()''' 7400 def beginNativePainting(self): 7401 '''void QPainter.beginNativePainting()''' 7402 def drawRoundedRect(self, rect, xRadius, yRadius, mode = None): 7403 '''void QPainter.drawRoundedRect(QRectF rect, float xRadius, float yRadius, Qt.SizeMode mode = Qt.AbsoluteSize)''' 7404 def drawRoundedRect(self, x, y, w, h, xRadius, yRadius, mode = None): 7405 '''void QPainter.drawRoundedRect(int x, int y, int w, int h, float xRadius, float yRadius, Qt.SizeMode mode = Qt.AbsoluteSize)''' 7406 def drawRoundedRect(self, rect, xRadius, yRadius, mode = None): 7407 '''void QPainter.drawRoundedRect(QRect rect, float xRadius, float yRadius, Qt.SizeMode mode = Qt.AbsoluteSize)''' 7408 def testRenderHint(self, hint): 7409 '''bool QPainter.testRenderHint(QPainter.RenderHint hint)''' 7410 return bool() 7411 def combinedTransform(self): 7412 '''QTransform QPainter.combinedTransform()''' 7413 return QTransform() 7414 def worldTransform(self): 7415 '''QTransform QPainter.worldTransform()''' 7416 return QTransform() 7417 def setWorldTransform(self, matrix, combine = False): 7418 '''void QPainter.setWorldTransform(QTransform matrix, bool combine = False)''' 7419 def resetTransform(self): 7420 '''void QPainter.resetTransform()''' 7421 def deviceTransform(self): 7422 '''QTransform QPainter.deviceTransform()''' 7423 return QTransform() 7424 def transform(self): 7425 '''QTransform QPainter.transform()''' 7426 return QTransform() 7427 def setTransform(self, transform, combine = False): 7428 '''void QPainter.setTransform(QTransform transform, bool combine = False)''' 7429 def setWorldMatrixEnabled(self, enabled): 7430 '''void QPainter.setWorldMatrixEnabled(bool enabled)''' 7431 def worldMatrixEnabled(self): 7432 '''bool QPainter.worldMatrixEnabled()''' 7433 return bool() 7434 def setOpacity(self, opacity): 7435 '''void QPainter.setOpacity(float opacity)''' 7436 def opacity(self): 7437 '''float QPainter.opacity()''' 7438 return float() 7439 def drawImage(self, targetRect, image, sourceRect, flags = None): 7440 '''void QPainter.drawImage(QRectF targetRect, QImage image, QRectF sourceRect, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 7441 def drawImage(self, targetRect, image, sourceRect, flags = None): 7442 '''void QPainter.drawImage(QRect targetRect, QImage image, QRect sourceRect, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 7443 def drawImage(self, p, image, sr, flags = None): 7444 '''void QPainter.drawImage(QPointF p, QImage image, QRectF sr, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 7445 def drawImage(self, p, image, sr, flags = None): 7446 '''void QPainter.drawImage(QPoint p, QImage image, QRect sr, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 7447 def drawImage(self, r, image): 7448 '''void QPainter.drawImage(QRectF r, QImage image)''' 7449 def drawImage(self, r, image): 7450 '''void QPainter.drawImage(QRect r, QImage image)''' 7451 def drawImage(self, p, image): 7452 '''void QPainter.drawImage(QPointF p, QImage image)''' 7453 def drawImage(self, p, image): 7454 '''void QPainter.drawImage(QPoint p, QImage image)''' 7455 def drawImage(self, x, y, image, sx = 0, sy = 0, sw = None, sh = None, flags = None): 7456 '''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)''' 7457 def drawPoint(self, p): 7458 '''void QPainter.drawPoint(QPointF p)''' 7459 def drawPoint(self, x, y): 7460 '''void QPainter.drawPoint(int x, int y)''' 7461 def drawPoint(self, p): 7462 '''void QPainter.drawPoint(QPoint p)''' 7463 def drawRect(self, rect): 7464 '''void QPainter.drawRect(QRectF rect)''' 7465 def drawRect(self, x, y, w, h): 7466 '''void QPainter.drawRect(int x, int y, int w, int h)''' 7467 def drawRect(self, r): 7468 '''void QPainter.drawRect(QRect r)''' 7469 def drawLine(self, l): 7470 '''void QPainter.drawLine(QLineF l)''' 7471 def drawLine(self, line): 7472 '''void QPainter.drawLine(QLine line)''' 7473 def drawLine(self, x1, y1, x2, y2): 7474 '''void QPainter.drawLine(int x1, int y1, int x2, int y2)''' 7475 def drawLine(self, p1, p2): 7476 '''void QPainter.drawLine(QPoint p1, QPoint p2)''' 7477 def drawLine(self, p1, p2): 7478 '''void QPainter.drawLine(QPointF p1, QPointF p2)''' 7479 def paintEngine(self): 7480 '''QPaintEngine QPainter.paintEngine()''' 7481 return QPaintEngine() 7482 def setRenderHints(self, hints, on = True): 7483 '''void QPainter.setRenderHints(QPainter.RenderHints hints, bool on = True)''' 7484 def renderHints(self): 7485 '''QPainter.RenderHints QPainter.renderHints()''' 7486 return QPainter.RenderHints() 7487 def setRenderHint(self, hint, on = True): 7488 '''void QPainter.setRenderHint(QPainter.RenderHint hint, bool on = True)''' 7489 def eraseRect(self): 7490 '''QRectF QPainter.eraseRect()''' 7491 return QRectF() 7492 def eraseRect(self, rect): 7493 '''void QPainter.eraseRect(QRect rect)''' 7494 def eraseRect(self, x, y, w, h): 7495 '''void QPainter.eraseRect(int x, int y, int w, int h)''' 7496 def fillRect(self): 7497 '''QBrush QPainter.fillRect()''' 7498 return QBrush() 7499 def fillRect(self): 7500 '''QBrush QPainter.fillRect()''' 7501 return QBrush() 7502 def fillRect(self, x, y, w, h, b): 7503 '''void QPainter.fillRect(int x, int y, int w, int h, QBrush b)''' 7504 def fillRect(self, color): 7505 '''QRectF QPainter.fillRect(QColor color)''' 7506 return QRectF() 7507 def fillRect(self, color): 7508 '''QRect QPainter.fillRect(QColor color)''' 7509 return QRect() 7510 def fillRect(self, x, y, w, h, b): 7511 '''void QPainter.fillRect(int x, int y, int w, int h, QColor b)''' 7512 def fillRect(self, x, y, w, h, c): 7513 '''void QPainter.fillRect(int x, int y, int w, int h, Qt.GlobalColor c)''' 7514 def fillRect(self, r, c): 7515 '''void QPainter.fillRect(QRect r, Qt.GlobalColor c)''' 7516 def fillRect(self, r, c): 7517 '''void QPainter.fillRect(QRectF r, Qt.GlobalColor c)''' 7518 def fillRect(self, x, y, w, h, style): 7519 '''void QPainter.fillRect(int x, int y, int w, int h, Qt.BrushStyle style)''' 7520 def fillRect(self, r, style): 7521 '''void QPainter.fillRect(QRect r, Qt.BrushStyle style)''' 7522 def fillRect(self, r, style): 7523 '''void QPainter.fillRect(QRectF r, Qt.BrushStyle style)''' 7524 def boundingRect(self, rect, flags, text): 7525 '''QRectF QPainter.boundingRect(QRectF rect, int flags, str text)''' 7526 return QRectF() 7527 def boundingRect(self, rect, flags, text): 7528 '''QRect QPainter.boundingRect(QRect rect, int flags, str text)''' 7529 return QRect() 7530 def boundingRect(self, rectangle, text, option = QTextOption()): 7531 '''QRectF QPainter.boundingRect(QRectF rectangle, str text, QTextOption option = QTextOption())''' 7532 return QRectF() 7533 def boundingRect(self, x, y, w, h, flags, text): 7534 '''QRect QPainter.boundingRect(int x, int y, int w, int h, int flags, str text)''' 7535 return QRect() 7536 def drawText(self, p, s): 7537 '''void QPainter.drawText(QPointF p, str s)''' 7538 def drawText(self, rectangle, flags, text, boundingRect): 7539 '''void QPainter.drawText(QRectF rectangle, int flags, str text, QRectF boundingRect)''' 7540 def drawText(self, rectangle, flags, text, boundingRect): 7541 '''void QPainter.drawText(QRect rectangle, int flags, str text, QRect boundingRect)''' 7542 def drawText(self, rectangle, text, option = QTextOption()): 7543 '''void QPainter.drawText(QRectF rectangle, str text, QTextOption option = QTextOption())''' 7544 def drawText(self, p, s): 7545 '''void QPainter.drawText(QPoint p, str s)''' 7546 def drawText(self, x, y, width, height, flags, text, boundingRect): 7547 '''void QPainter.drawText(int x, int y, int width, int height, int flags, str text, QRect boundingRect)''' 7548 def drawText(self, x, y, s): 7549 '''void QPainter.drawText(int x, int y, str s)''' 7550 def layoutDirection(self): 7551 '''Qt.LayoutDirection QPainter.layoutDirection()''' 7552 return Qt.LayoutDirection() 7553 def setLayoutDirection(self, direction): 7554 '''void QPainter.setLayoutDirection(Qt.LayoutDirection direction)''' 7555 def drawPixmap(self, targetRect, pixmap, sourceRect): 7556 '''void QPainter.drawPixmap(QRectF targetRect, QPixmap pixmap, QRectF sourceRect)''' 7557 def drawPixmap(self, targetRect, pixmap, sourceRect): 7558 '''void QPainter.drawPixmap(QRect targetRect, QPixmap pixmap, QRect sourceRect)''' 7559 def drawPixmap(self, p, pm): 7560 '''void QPainter.drawPixmap(QPointF p, QPixmap pm)''' 7561 def drawPixmap(self, p, pm): 7562 '''void QPainter.drawPixmap(QPoint p, QPixmap pm)''' 7563 def drawPixmap(self, r, pm): 7564 '''void QPainter.drawPixmap(QRect r, QPixmap pm)''' 7565 def drawPixmap(self, x, y, pm): 7566 '''void QPainter.drawPixmap(int x, int y, QPixmap pm)''' 7567 def drawPixmap(self, x, y, w, h, pm): 7568 '''void QPainter.drawPixmap(int x, int y, int w, int h, QPixmap pm)''' 7569 def drawPixmap(self, x, y, w, h, pm, sx, sy, sw, sh): 7570 '''void QPainter.drawPixmap(int x, int y, int w, int h, QPixmap pm, int sx, int sy, int sw, int sh)''' 7571 def drawPixmap(self, x, y, pm, sx, sy, sw, sh): 7572 '''void QPainter.drawPixmap(int x, int y, QPixmap pm, int sx, int sy, int sw, int sh)''' 7573 def drawPixmap(self, p, pm, sr): 7574 '''void QPainter.drawPixmap(QPointF p, QPixmap pm, QRectF sr)''' 7575 def drawPixmap(self, p, pm, sr): 7576 '''void QPainter.drawPixmap(QPoint p, QPixmap pm, QRect sr)''' 7577 def drawPicture(self, p, picture): 7578 '''void QPainter.drawPicture(QPointF p, QPicture picture)''' 7579 def drawPicture(self, x, y, p): 7580 '''void QPainter.drawPicture(int x, int y, QPicture p)''' 7581 def drawPicture(self, pt, p): 7582 '''void QPainter.drawPicture(QPoint pt, QPicture p)''' 7583 def drawTiledPixmap(self, rectangle, pixmap, pos = QPointF()): 7584 '''void QPainter.drawTiledPixmap(QRectF rectangle, QPixmap pixmap, QPointF pos = QPointF())''' 7585 def drawTiledPixmap(self, rectangle, pixmap, pos = QPoint()): 7586 '''void QPainter.drawTiledPixmap(QRect rectangle, QPixmap pixmap, QPoint pos = QPoint())''' 7587 def drawTiledPixmap(self, x, y, width, height, pixmap, sx = 0, sy = 0): 7588 '''void QPainter.drawTiledPixmap(int x, int y, int width, int height, QPixmap pixmap, int sx = 0, int sy = 0)''' 7589 def drawChord(self, rect, a, alen): 7590 '''void QPainter.drawChord(QRectF rect, int a, int alen)''' 7591 def drawChord(self, rect, a, alen): 7592 '''void QPainter.drawChord(QRect rect, int a, int alen)''' 7593 def drawChord(self, x, y, w, h, a, alen): 7594 '''void QPainter.drawChord(int x, int y, int w, int h, int a, int alen)''' 7595 def drawPie(self, rect, a, alen): 7596 '''void QPainter.drawPie(QRectF rect, int a, int alen)''' 7597 def drawPie(self, rect, a, alen): 7598 '''void QPainter.drawPie(QRect rect, int a, int alen)''' 7599 def drawPie(self, x, y, w, h, a, alen): 7600 '''void QPainter.drawPie(int x, int y, int w, int h, int a, int alen)''' 7601 def drawArc(self, rect, a, alen): 7602 '''void QPainter.drawArc(QRectF rect, int a, int alen)''' 7603 def drawArc(self, r, a, alen): 7604 '''void QPainter.drawArc(QRect r, int a, int alen)''' 7605 def drawArc(self, x, y, w, h, a, alen): 7606 '''void QPainter.drawArc(int x, int y, int w, int h, int a, int alen)''' 7607 def drawConvexPolygon(self, point, *args): 7608 '''void QPainter.drawConvexPolygon(QPointF point, ... *args)''' 7609 def drawConvexPolygon(self, poly): 7610 '''void QPainter.drawConvexPolygon(QPolygonF poly)''' 7611 def drawConvexPolygon(self, point, *args): 7612 '''void QPainter.drawConvexPolygon(QPoint point, ... *args)''' 7613 def drawConvexPolygon(self, poly): 7614 '''void QPainter.drawConvexPolygon(QPolygon poly)''' 7615 def drawPolygon(self, point, *args): 7616 '''void QPainter.drawPolygon(QPointF point, ... *args)''' 7617 def drawPolygon(self, points, fillRule = None): 7618 '''void QPainter.drawPolygon(QPolygonF points, Qt.FillRule fillRule = Qt.OddEvenFill)''' 7619 def drawPolygon(self, point, *args): 7620 '''void QPainter.drawPolygon(QPoint point, ... *args)''' 7621 def drawPolygon(self, points, fillRule = None): 7622 '''void QPainter.drawPolygon(QPolygon points, Qt.FillRule fillRule = Qt.OddEvenFill)''' 7623 def drawPolyline(self, point, *args): 7624 '''void QPainter.drawPolyline(QPointF point, ... *args)''' 7625 def drawPolyline(self, polyline): 7626 '''void QPainter.drawPolyline(QPolygonF polyline)''' 7627 def drawPolyline(self, point, *args): 7628 '''void QPainter.drawPolyline(QPoint point, ... *args)''' 7629 def drawPolyline(self, polyline): 7630 '''void QPainter.drawPolyline(QPolygon polyline)''' 7631 def drawEllipse(self, r): 7632 '''void QPainter.drawEllipse(QRectF r)''' 7633 def drawEllipse(self, r): 7634 '''void QPainter.drawEllipse(QRect r)''' 7635 def drawEllipse(self, x, y, w, h): 7636 '''void QPainter.drawEllipse(int x, int y, int w, int h)''' 7637 def drawEllipse(self, center, rx, ry): 7638 '''void QPainter.drawEllipse(QPointF center, float rx, float ry)''' 7639 def drawEllipse(self, center, rx, ry): 7640 '''void QPainter.drawEllipse(QPoint center, int rx, int ry)''' 7641 def drawRects(self, rect, *args): 7642 '''void QPainter.drawRects(QRectF rect, ... *args)''' 7643 def drawRects(self, rects): 7644 '''void QPainter.drawRects(list-of-QRectF rects)''' 7645 def drawRects(self, rect, *args): 7646 '''void QPainter.drawRects(QRect rect, ... *args)''' 7647 def drawRects(self, rects): 7648 '''void QPainter.drawRects(list-of-QRect rects)''' 7649 def drawLines(self, line, *args): 7650 '''void QPainter.drawLines(QLineF line, ... *args)''' 7651 def drawLines(self, lines): 7652 '''void QPainter.drawLines(list-of-QLineF lines)''' 7653 def drawLines(self, pointPair, *args): 7654 '''void QPainter.drawLines(QPointF pointPair, ... *args)''' 7655 def drawLines(self, pointPairs): 7656 '''void QPainter.drawLines(list-of-QPointF pointPairs)''' 7657 def drawLines(self, line, *args): 7658 '''void QPainter.drawLines(QLine line, ... *args)''' 7659 def drawLines(self, lines): 7660 '''void QPainter.drawLines(list-of-QLine lines)''' 7661 def drawLines(self, pointPair, *args): 7662 '''void QPainter.drawLines(QPoint pointPair, ... *args)''' 7663 def drawLines(self, pointPairs): 7664 '''void QPainter.drawLines(list-of-QPoint pointPairs)''' 7665 def drawPoints(self, point, *args): 7666 '''void QPainter.drawPoints(QPointF point, ... *args)''' 7667 def drawPoints(self, points): 7668 '''void QPainter.drawPoints(QPolygonF points)''' 7669 def drawPoints(self, point, *args): 7670 '''void QPainter.drawPoints(QPoint point, ... *args)''' 7671 def drawPoints(self, points): 7672 '''void QPainter.drawPoints(QPolygon points)''' 7673 def drawPath(self, path): 7674 '''void QPainter.drawPath(QPainterPath path)''' 7675 def fillPath(self, path, brush): 7676 '''void QPainter.fillPath(QPainterPath path, QBrush brush)''' 7677 def strokePath(self, path, pen): 7678 '''void QPainter.strokePath(QPainterPath path, QPen pen)''' 7679 def viewTransformEnabled(self): 7680 '''bool QPainter.viewTransformEnabled()''' 7681 return bool() 7682 def setViewTransformEnabled(self, enable): 7683 '''void QPainter.setViewTransformEnabled(bool enable)''' 7684 def setViewport(self, viewport): 7685 '''void QPainter.setViewport(QRect viewport)''' 7686 def setViewport(self, x, y, w, h): 7687 '''void QPainter.setViewport(int x, int y, int w, int h)''' 7688 def viewport(self): 7689 '''QRect QPainter.viewport()''' 7690 return QRect() 7691 def setWindow(self, window): 7692 '''void QPainter.setWindow(QRect window)''' 7693 def setWindow(self, x, y, w, h): 7694 '''void QPainter.setWindow(int x, int y, int w, int h)''' 7695 def window(self): 7696 '''QRect QPainter.window()''' 7697 return QRect() 7698 def translate(self, offset): 7699 '''void QPainter.translate(QPointF offset)''' 7700 def translate(self, dx, dy): 7701 '''void QPainter.translate(float dx, float dy)''' 7702 def translate(self, offset): 7703 '''void QPainter.translate(QPoint offset)''' 7704 def rotate(self, a): 7705 '''void QPainter.rotate(float a)''' 7706 def shear(self, sh, sv): 7707 '''void QPainter.shear(float sh, float sv)''' 7708 def scale(self, sx, sy): 7709 '''void QPainter.scale(float sx, float sy)''' 7710 def restore(self): 7711 '''void QPainter.restore()''' 7712 def save(self): 7713 '''void QPainter.save()''' 7714 def hasClipping(self): 7715 '''bool QPainter.hasClipping()''' 7716 return bool() 7717 def setClipping(self, enable): 7718 '''void QPainter.setClipping(bool enable)''' 7719 def setClipPath(self, path, operation = None): 7720 '''void QPainter.setClipPath(QPainterPath path, Qt.ClipOperation operation = Qt.ReplaceClip)''' 7721 def setClipRegion(self, region, operation = None): 7722 '''void QPainter.setClipRegion(QRegion region, Qt.ClipOperation operation = Qt.ReplaceClip)''' 7723 def setClipRect(self, rectangle, operation = None): 7724 '''void QPainter.setClipRect(QRectF rectangle, Qt.ClipOperation operation = Qt.ReplaceClip)''' 7725 def setClipRect(self, x, y, width, height, operation = None): 7726 '''void QPainter.setClipRect(int x, int y, int width, int height, Qt.ClipOperation operation = Qt.ReplaceClip)''' 7727 def setClipRect(self, rectangle, operation = None): 7728 '''void QPainter.setClipRect(QRect rectangle, Qt.ClipOperation operation = Qt.ReplaceClip)''' 7729 def clipPath(self): 7730 '''QPainterPath QPainter.clipPath()''' 7731 return QPainterPath() 7732 def clipRegion(self): 7733 '''QRegion QPainter.clipRegion()''' 7734 return QRegion() 7735 def background(self): 7736 '''QBrush QPainter.background()''' 7737 return QBrush() 7738 def setBackground(self, bg): 7739 '''void QPainter.setBackground(QBrush bg)''' 7740 def setBrushOrigin(self): 7741 '''QPointF QPainter.setBrushOrigin()''' 7742 return QPointF() 7743 def setBrushOrigin(self, x, y): 7744 '''void QPainter.setBrushOrigin(int x, int y)''' 7745 def setBrushOrigin(self, p): 7746 '''void QPainter.setBrushOrigin(QPoint p)''' 7747 def brushOrigin(self): 7748 '''QPoint QPainter.brushOrigin()''' 7749 return QPoint() 7750 def backgroundMode(self): 7751 '''Qt.BGMode QPainter.backgroundMode()''' 7752 return Qt.BGMode() 7753 def setBackgroundMode(self, mode): 7754 '''void QPainter.setBackgroundMode(Qt.BGMode mode)''' 7755 def brush(self): 7756 '''QBrush QPainter.brush()''' 7757 return QBrush() 7758 def setBrush(self, brush): 7759 '''void QPainter.setBrush(QBrush brush)''' 7760 def setBrush(self, style): 7761 '''void QPainter.setBrush(Qt.BrushStyle style)''' 7762 def pen(self): 7763 '''QPen QPainter.pen()''' 7764 return QPen() 7765 def setPen(self, color): 7766 '''void QPainter.setPen(QColor color)''' 7767 def setPen(self, pen): 7768 '''void QPainter.setPen(QPen pen)''' 7769 def setPen(self, style): 7770 '''void QPainter.setPen(Qt.PenStyle style)''' 7771 def fontInfo(self): 7772 '''QFontInfo QPainter.fontInfo()''' 7773 return QFontInfo() 7774 def fontMetrics(self): 7775 '''QFontMetrics QPainter.fontMetrics()''' 7776 return QFontMetrics() 7777 def setFont(self, f): 7778 '''void QPainter.setFont(QFont f)''' 7779 def font(self): 7780 '''QFont QPainter.font()''' 7781 return QFont() 7782 def compositionMode(self): 7783 '''QPainter.CompositionMode QPainter.compositionMode()''' 7784 return QPainter.CompositionMode() 7785 def setCompositionMode(self, mode): 7786 '''void QPainter.setCompositionMode(QPainter.CompositionMode mode)''' 7787 def isActive(self): 7788 '''bool QPainter.isActive()''' 7789 return bool() 7790 def end(self): 7791 '''bool QPainter.end()''' 7792 return bool() 7793 def begin(self): 7794 '''QPaintDevice QPainter.begin()''' 7795 return QPaintDevice() 7796 def device(self): 7797 '''QPaintDevice QPainter.device()''' 7798 return QPaintDevice() 7799 def __exit__(self, type, value, traceback): 7800 '''void QPainter.__exit__(object type, object value, object traceback)''' 7801 def __enter__(self): 7802 '''object QPainter.__enter__()''' 7803 return object() 7804 class PixmapFragment(): 7805 """""" 7806 height = None # float - member 7807 opacity = None # float - member 7808 rotation = None # float - member 7809 scaleX = None # float - member 7810 scaleY = None # float - member 7811 sourceLeft = None # float - member 7812 sourceTop = None # float - member 7813 width = None # float - member 7814 x = None # float - member 7815 y = None # float - member 7816 def __init__(self): 7817 '''void QPainter.PixmapFragment.__init__()''' 7818 def __init__(self): 7819 '''QPainter.PixmapFragment QPainter.PixmapFragment.__init__()''' 7820 return QPainter.PixmapFragment() 7821 def create(self, pos, sourceRect, scaleX = 1, scaleY = 1, rotation = 0, opacity = 1): 7822 '''static QPainter.PixmapFragment QPainter.PixmapFragment.create(QPointF pos, QRectF sourceRect, float scaleX = 1, float scaleY = 1, float rotation = 0, float opacity = 1)''' 7823 return QPainter.PixmapFragment() 7824 class PixmapFragmentHints(): 7825 """""" 7826 def __init__(self): 7827 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__init__()''' 7828 return QPainter.PixmapFragmentHints() 7829 def __init__(self): 7830 '''int QPainter.PixmapFragmentHints.__init__()''' 7831 return int() 7832 def __init__(self): 7833 '''void QPainter.PixmapFragmentHints.__init__()''' 7834 def __bool__(self): 7835 '''int QPainter.PixmapFragmentHints.__bool__()''' 7836 return int() 7837 def __ne__(self, f): 7838 '''bool QPainter.PixmapFragmentHints.__ne__(QPainter.PixmapFragmentHints f)''' 7839 return bool() 7840 def __eq__(self, f): 7841 '''bool QPainter.PixmapFragmentHints.__eq__(QPainter.PixmapFragmentHints f)''' 7842 return bool() 7843 def __invert__(self): 7844 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__invert__()''' 7845 return QPainter.PixmapFragmentHints() 7846 def __and__(self, mask): 7847 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__and__(int mask)''' 7848 return QPainter.PixmapFragmentHints() 7849 def __xor__(self, f): 7850 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__xor__(QPainter.PixmapFragmentHints f)''' 7851 return QPainter.PixmapFragmentHints() 7852 def __xor__(self, f): 7853 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__xor__(int f)''' 7854 return QPainter.PixmapFragmentHints() 7855 def __or__(self, f): 7856 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__or__(QPainter.PixmapFragmentHints f)''' 7857 return QPainter.PixmapFragmentHints() 7858 def __or__(self, f): 7859 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__or__(int f)''' 7860 return QPainter.PixmapFragmentHints() 7861 def __int__(self): 7862 '''int QPainter.PixmapFragmentHints.__int__()''' 7863 return int() 7864 def __ixor__(self, f): 7865 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__ixor__(QPainter.PixmapFragmentHints f)''' 7866 return QPainter.PixmapFragmentHints() 7867 def __ior__(self, f): 7868 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__ior__(QPainter.PixmapFragmentHints f)''' 7869 return QPainter.PixmapFragmentHints() 7870 def __iand__(self, mask): 7871 '''QPainter.PixmapFragmentHints QPainter.PixmapFragmentHints.__iand__(int mask)''' 7872 return QPainter.PixmapFragmentHints() 7873 class RenderHints(): 7874 """""" 7875 def __init__(self): 7876 '''QPainter.RenderHints QPainter.RenderHints.__init__()''' 7877 return QPainter.RenderHints() 7878 def __init__(self): 7879 '''int QPainter.RenderHints.__init__()''' 7880 return int() 7881 def __init__(self): 7882 '''void QPainter.RenderHints.__init__()''' 7883 def __bool__(self): 7884 '''int QPainter.RenderHints.__bool__()''' 7885 return int() 7886 def __ne__(self, f): 7887 '''bool QPainter.RenderHints.__ne__(QPainter.RenderHints f)''' 7888 return bool() 7889 def __eq__(self, f): 7890 '''bool QPainter.RenderHints.__eq__(QPainter.RenderHints f)''' 7891 return bool() 7892 def __invert__(self): 7893 '''QPainter.RenderHints QPainter.RenderHints.__invert__()''' 7894 return QPainter.RenderHints() 7895 def __and__(self, mask): 7896 '''QPainter.RenderHints QPainter.RenderHints.__and__(int mask)''' 7897 return QPainter.RenderHints() 7898 def __xor__(self, f): 7899 '''QPainter.RenderHints QPainter.RenderHints.__xor__(QPainter.RenderHints f)''' 7900 return QPainter.RenderHints() 7901 def __xor__(self, f): 7902 '''QPainter.RenderHints QPainter.RenderHints.__xor__(int f)''' 7903 return QPainter.RenderHints() 7904 def __or__(self, f): 7905 '''QPainter.RenderHints QPainter.RenderHints.__or__(QPainter.RenderHints f)''' 7906 return QPainter.RenderHints() 7907 def __or__(self, f): 7908 '''QPainter.RenderHints QPainter.RenderHints.__or__(int f)''' 7909 return QPainter.RenderHints() 7910 def __int__(self): 7911 '''int QPainter.RenderHints.__int__()''' 7912 return int() 7913 def __ixor__(self, f): 7914 '''QPainter.RenderHints QPainter.RenderHints.__ixor__(QPainter.RenderHints f)''' 7915 return QPainter.RenderHints() 7916 def __ior__(self, f): 7917 '''QPainter.RenderHints QPainter.RenderHints.__ior__(QPainter.RenderHints f)''' 7918 return QPainter.RenderHints() 7919 def __iand__(self, mask): 7920 '''QPainter.RenderHints QPainter.RenderHints.__iand__(int mask)''' 7921 return QPainter.RenderHints() 7922 7923 7924 class QTextItem(): 7925 """""" 7926 # Enum QTextItem.RenderFlag 7927 RightToLeft = 0 7928 Overline = 0 7929 Underline = 0 7930 StrikeOut = 0 7931 7932 def __init__(self): 7933 '''void QTextItem.__init__()''' 7934 def __init__(self): 7935 '''QTextItem QTextItem.__init__()''' 7936 return QTextItem() 7937 def font(self): 7938 '''QFont QTextItem.font()''' 7939 return QFont() 7940 def text(self): 7941 '''str QTextItem.text()''' 7942 return str() 7943 def renderFlags(self): 7944 '''QTextItem.RenderFlags QTextItem.renderFlags()''' 7945 return QTextItem.RenderFlags() 7946 def width(self): 7947 '''float QTextItem.width()''' 7948 return float() 7949 def ascent(self): 7950 '''float QTextItem.ascent()''' 7951 return float() 7952 def descent(self): 7953 '''float QTextItem.descent()''' 7954 return float() 7955 class RenderFlags(): 7956 """""" 7957 def __init__(self): 7958 '''QTextItem.RenderFlags QTextItem.RenderFlags.__init__()''' 7959 return QTextItem.RenderFlags() 7960 def __init__(self): 7961 '''int QTextItem.RenderFlags.__init__()''' 7962 return int() 7963 def __init__(self): 7964 '''void QTextItem.RenderFlags.__init__()''' 7965 def __bool__(self): 7966 '''int QTextItem.RenderFlags.__bool__()''' 7967 return int() 7968 def __ne__(self, f): 7969 '''bool QTextItem.RenderFlags.__ne__(QTextItem.RenderFlags f)''' 7970 return bool() 7971 def __eq__(self, f): 7972 '''bool QTextItem.RenderFlags.__eq__(QTextItem.RenderFlags f)''' 7973 return bool() 7974 def __invert__(self): 7975 '''QTextItem.RenderFlags QTextItem.RenderFlags.__invert__()''' 7976 return QTextItem.RenderFlags() 7977 def __and__(self, mask): 7978 '''QTextItem.RenderFlags QTextItem.RenderFlags.__and__(int mask)''' 7979 return QTextItem.RenderFlags() 7980 def __xor__(self, f): 7981 '''QTextItem.RenderFlags QTextItem.RenderFlags.__xor__(QTextItem.RenderFlags f)''' 7982 return QTextItem.RenderFlags() 7983 def __xor__(self, f): 7984 '''QTextItem.RenderFlags QTextItem.RenderFlags.__xor__(int f)''' 7985 return QTextItem.RenderFlags() 7986 def __or__(self, f): 7987 '''QTextItem.RenderFlags QTextItem.RenderFlags.__or__(QTextItem.RenderFlags f)''' 7988 return QTextItem.RenderFlags() 7989 def __or__(self, f): 7990 '''QTextItem.RenderFlags QTextItem.RenderFlags.__or__(int f)''' 7991 return QTextItem.RenderFlags() 7992 def __int__(self): 7993 '''int QTextItem.RenderFlags.__int__()''' 7994 return int() 7995 def __ixor__(self, f): 7996 '''QTextItem.RenderFlags QTextItem.RenderFlags.__ixor__(QTextItem.RenderFlags f)''' 7997 return QTextItem.RenderFlags() 7998 def __ior__(self, f): 7999 '''QTextItem.RenderFlags QTextItem.RenderFlags.__ior__(QTextItem.RenderFlags f)''' 8000 return QTextItem.RenderFlags() 8001 def __iand__(self, mask): 8002 '''QTextItem.RenderFlags QTextItem.RenderFlags.__iand__(int mask)''' 8003 return QTextItem.RenderFlags() 8004 8005 8006 class QPaintEngine(): 8007 """""" 8008 # Enum QPaintEngine.Type 8009 X11 = 0 8010 Windows = 0 8011 QuickDraw = 0 8012 CoreGraphics = 0 8013 MacPrinter = 0 8014 QWindowSystem = 0 8015 PostScript = 0 8016 OpenGL = 0 8017 Picture = 0 8018 SVG = 0 8019 Raster = 0 8020 Direct3D = 0 8021 Pdf = 0 8022 OpenVG = 0 8023 OpenGL2 = 0 8024 PaintBuffer = 0 8025 Blitter = 0 8026 Direct2D = 0 8027 User = 0 8028 MaxUser = 0 8029 8030 # Enum QPaintEngine.PolygonDrawMode 8031 OddEvenMode = 0 8032 WindingMode = 0 8033 ConvexMode = 0 8034 PolylineMode = 0 8035 8036 # Enum QPaintEngine.DirtyFlag 8037 DirtyPen = 0 8038 DirtyBrush = 0 8039 DirtyBrushOrigin = 0 8040 DirtyFont = 0 8041 DirtyBackground = 0 8042 DirtyBackgroundMode = 0 8043 DirtyTransform = 0 8044 DirtyClipRegion = 0 8045 DirtyClipPath = 0 8046 DirtyHints = 0 8047 DirtyCompositionMode = 0 8048 DirtyClipEnabled = 0 8049 DirtyOpacity = 0 8050 AllDirty = 0 8051 8052 # Enum QPaintEngine.PaintEngineFeature 8053 PrimitiveTransform = 0 8054 PatternTransform = 0 8055 PixmapTransform = 0 8056 PatternBrush = 0 8057 LinearGradientFill = 0 8058 RadialGradientFill = 0 8059 ConicalGradientFill = 0 8060 AlphaBlend = 0 8061 PorterDuff = 0 8062 PainterPaths = 0 8063 Antialiasing = 0 8064 BrushStroke = 0 8065 ConstantOpacity = 0 8066 MaskedBrush = 0 8067 PaintOutsidePaintEvent = 0 8068 PerspectiveTransform = 0 8069 BlendModes = 0 8070 ObjectBoundingModeGradients = 0 8071 RasterOpModes = 0 8072 AllFeatures = 0 8073 8074 def __init__(self, features = 0): 8075 '''void QPaintEngine.__init__(QPaintEngine.PaintEngineFeatures features = 0)''' 8076 def painter(self): 8077 '''QPainter QPaintEngine.painter()''' 8078 return QPainter() 8079 def hasFeature(self, feature): 8080 '''bool QPaintEngine.hasFeature(QPaintEngine.PaintEngineFeatures feature)''' 8081 return bool() 8082 def type(self): 8083 '''abstract QPaintEngine.Type QPaintEngine.type()''' 8084 return QPaintEngine.Type() 8085 def paintDevice(self): 8086 '''QPaintDevice QPaintEngine.paintDevice()''' 8087 return QPaintDevice() 8088 def setPaintDevice(self, device): 8089 '''void QPaintEngine.setPaintDevice(QPaintDevice device)''' 8090 def drawImage(self, r, pm, sr, flags = None): 8091 '''void QPaintEngine.drawImage(QRectF r, QImage pm, QRectF sr, Qt.ImageConversionFlags flags = Qt.AutoColor)''' 8092 def drawTiledPixmap(self, r, pixmap, s): 8093 '''void QPaintEngine.drawTiledPixmap(QRectF r, QPixmap pixmap, QPointF s)''' 8094 def drawTextItem(self, p, textItem): 8095 '''void QPaintEngine.drawTextItem(QPointF p, QTextItem textItem)''' 8096 def drawPixmap(self, r, pm, sr): 8097 '''abstract void QPaintEngine.drawPixmap(QRectF r, QPixmap pm, QRectF sr)''' 8098 def drawPolygon(self, points, mode): 8099 '''void QPaintEngine.drawPolygon(QPointF points, QPaintEngine.PolygonDrawMode mode)''' 8100 def drawPolygon(self, points, mode): 8101 '''void QPaintEngine.drawPolygon(QPoint points, QPaintEngine.PolygonDrawMode mode)''' 8102 def drawPoints(self, points): 8103 '''void QPaintEngine.drawPoints(QPointF points)''' 8104 def drawPoints(self, points): 8105 '''void QPaintEngine.drawPoints(QPoint points)''' 8106 def drawPath(self, path): 8107 '''void QPaintEngine.drawPath(QPainterPath path)''' 8108 def drawEllipse(self, r): 8109 '''void QPaintEngine.drawEllipse(QRectF r)''' 8110 def drawEllipse(self, r): 8111 '''void QPaintEngine.drawEllipse(QRect r)''' 8112 def drawLines(self, lines): 8113 '''void QPaintEngine.drawLines(QLine lines)''' 8114 def drawLines(self, lines): 8115 '''void QPaintEngine.drawLines(QLineF lines)''' 8116 def drawRects(self, rects): 8117 '''void QPaintEngine.drawRects(QRect rects)''' 8118 def drawRects(self, rects): 8119 '''void QPaintEngine.drawRects(QRectF rects)''' 8120 def updateState(self, state): 8121 '''abstract void QPaintEngine.updateState(QPaintEngineState state)''' 8122 def end(self): 8123 '''abstract bool QPaintEngine.end()''' 8124 return bool() 8125 def begin(self, pdev): 8126 '''abstract bool QPaintEngine.begin(QPaintDevice pdev)''' 8127 return bool() 8128 def setActive(self, newState): 8129 '''void QPaintEngine.setActive(bool newState)''' 8130 def isActive(self): 8131 '''bool QPaintEngine.isActive()''' 8132 return bool() 8133 class PaintEngineFeatures(): 8134 """""" 8135 def __init__(self): 8136 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__init__()''' 8137 return QPaintEngine.PaintEngineFeatures() 8138 def __init__(self): 8139 '''int QPaintEngine.PaintEngineFeatures.__init__()''' 8140 return int() 8141 def __init__(self): 8142 '''void QPaintEngine.PaintEngineFeatures.__init__()''' 8143 def __bool__(self): 8144 '''int QPaintEngine.PaintEngineFeatures.__bool__()''' 8145 return int() 8146 def __ne__(self, f): 8147 '''bool QPaintEngine.PaintEngineFeatures.__ne__(QPaintEngine.PaintEngineFeatures f)''' 8148 return bool() 8149 def __eq__(self, f): 8150 '''bool QPaintEngine.PaintEngineFeatures.__eq__(QPaintEngine.PaintEngineFeatures f)''' 8151 return bool() 8152 def __invert__(self): 8153 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__invert__()''' 8154 return QPaintEngine.PaintEngineFeatures() 8155 def __and__(self, mask): 8156 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__and__(int mask)''' 8157 return QPaintEngine.PaintEngineFeatures() 8158 def __xor__(self, f): 8159 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__xor__(QPaintEngine.PaintEngineFeatures f)''' 8160 return QPaintEngine.PaintEngineFeatures() 8161 def __xor__(self, f): 8162 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__xor__(int f)''' 8163 return QPaintEngine.PaintEngineFeatures() 8164 def __or__(self, f): 8165 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__or__(QPaintEngine.PaintEngineFeatures f)''' 8166 return QPaintEngine.PaintEngineFeatures() 8167 def __or__(self, f): 8168 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__or__(int f)''' 8169 return QPaintEngine.PaintEngineFeatures() 8170 def __int__(self): 8171 '''int QPaintEngine.PaintEngineFeatures.__int__()''' 8172 return int() 8173 def __ixor__(self, f): 8174 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__ixor__(QPaintEngine.PaintEngineFeatures f)''' 8175 return QPaintEngine.PaintEngineFeatures() 8176 def __ior__(self, f): 8177 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__ior__(QPaintEngine.PaintEngineFeatures f)''' 8178 return QPaintEngine.PaintEngineFeatures() 8179 def __iand__(self, mask): 8180 '''QPaintEngine.PaintEngineFeatures QPaintEngine.PaintEngineFeatures.__iand__(int mask)''' 8181 return QPaintEngine.PaintEngineFeatures() 8182 class DirtyFlags(): 8183 """""" 8184 def __init__(self): 8185 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__init__()''' 8186 return QPaintEngine.DirtyFlags() 8187 def __init__(self): 8188 '''int QPaintEngine.DirtyFlags.__init__()''' 8189 return int() 8190 def __init__(self): 8191 '''void QPaintEngine.DirtyFlags.__init__()''' 8192 def __bool__(self): 8193 '''int QPaintEngine.DirtyFlags.__bool__()''' 8194 return int() 8195 def __ne__(self, f): 8196 '''bool QPaintEngine.DirtyFlags.__ne__(QPaintEngine.DirtyFlags f)''' 8197 return bool() 8198 def __eq__(self, f): 8199 '''bool QPaintEngine.DirtyFlags.__eq__(QPaintEngine.DirtyFlags f)''' 8200 return bool() 8201 def __invert__(self): 8202 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__invert__()''' 8203 return QPaintEngine.DirtyFlags() 8204 def __and__(self, mask): 8205 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__and__(int mask)''' 8206 return QPaintEngine.DirtyFlags() 8207 def __xor__(self, f): 8208 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__xor__(QPaintEngine.DirtyFlags f)''' 8209 return QPaintEngine.DirtyFlags() 8210 def __xor__(self, f): 8211 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__xor__(int f)''' 8212 return QPaintEngine.DirtyFlags() 8213 def __or__(self, f): 8214 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__or__(QPaintEngine.DirtyFlags f)''' 8215 return QPaintEngine.DirtyFlags() 8216 def __or__(self, f): 8217 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__or__(int f)''' 8218 return QPaintEngine.DirtyFlags() 8219 def __int__(self): 8220 '''int QPaintEngine.DirtyFlags.__int__()''' 8221 return int() 8222 def __ixor__(self, f): 8223 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__ixor__(QPaintEngine.DirtyFlags f)''' 8224 return QPaintEngine.DirtyFlags() 8225 def __ior__(self, f): 8226 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__ior__(QPaintEngine.DirtyFlags f)''' 8227 return QPaintEngine.DirtyFlags() 8228 def __iand__(self, mask): 8229 '''QPaintEngine.DirtyFlags QPaintEngine.DirtyFlags.__iand__(int mask)''' 8230 return QPaintEngine.DirtyFlags() 8231 8232 8233 class QPaintEngineState(): 8234 """""" 8235 def __init__(self): 8236 '''void QPaintEngineState.__init__()''' 8237 def __init__(self): 8238 '''QPaintEngineState QPaintEngineState.__init__()''' 8239 return QPaintEngineState() 8240 def penNeedsResolving(self): 8241 '''bool QPaintEngineState.penNeedsResolving()''' 8242 return bool() 8243 def brushNeedsResolving(self): 8244 '''bool QPaintEngineState.brushNeedsResolving()''' 8245 return bool() 8246 def transform(self): 8247 '''QTransform QPaintEngineState.transform()''' 8248 return QTransform() 8249 def painter(self): 8250 '''QPainter QPaintEngineState.painter()''' 8251 return QPainter() 8252 def compositionMode(self): 8253 '''QPainter.CompositionMode QPaintEngineState.compositionMode()''' 8254 return QPainter.CompositionMode() 8255 def renderHints(self): 8256 '''QPainter.RenderHints QPaintEngineState.renderHints()''' 8257 return QPainter.RenderHints() 8258 def isClipEnabled(self): 8259 '''bool QPaintEngineState.isClipEnabled()''' 8260 return bool() 8261 def clipPath(self): 8262 '''QPainterPath QPaintEngineState.clipPath()''' 8263 return QPainterPath() 8264 def clipRegion(self): 8265 '''QRegion QPaintEngineState.clipRegion()''' 8266 return QRegion() 8267 def clipOperation(self): 8268 '''Qt.ClipOperation QPaintEngineState.clipOperation()''' 8269 return Qt.ClipOperation() 8270 def opacity(self): 8271 '''float QPaintEngineState.opacity()''' 8272 return float() 8273 def font(self): 8274 '''QFont QPaintEngineState.font()''' 8275 return QFont() 8276 def backgroundMode(self): 8277 '''Qt.BGMode QPaintEngineState.backgroundMode()''' 8278 return Qt.BGMode() 8279 def backgroundBrush(self): 8280 '''QBrush QPaintEngineState.backgroundBrush()''' 8281 return QBrush() 8282 def brushOrigin(self): 8283 '''QPointF QPaintEngineState.brushOrigin()''' 8284 return QPointF() 8285 def brush(self): 8286 '''QBrush QPaintEngineState.brush()''' 8287 return QBrush() 8288 def pen(self): 8289 '''QPen QPaintEngineState.pen()''' 8290 return QPen() 8291 def state(self): 8292 '''QPaintEngine.DirtyFlags QPaintEngineState.state()''' 8293 return QPaintEngine.DirtyFlags() 8294 8295 8296 class QPainterPath(): 8297 """""" 8298 # Enum QPainterPath.ElementType 8299 MoveToElement = 0 8300 LineToElement = 0 8301 CurveToElement = 0 8302 CurveToDataElement = 0 8303 8304 def __init__(self): 8305 '''void QPainterPath.__init__()''' 8306 def __init__(self, startPoint): 8307 '''void QPainterPath.__init__(QPointF startPoint)''' 8308 def __init__(self, other): 8309 '''void QPainterPath.__init__(QPainterPath other)''' 8310 def __mul__(self, m): 8311 '''QPainterPath QPainterPath.__mul__(QTransform m)''' 8312 return QPainterPath() 8313 def swap(self, other): 8314 '''void QPainterPath.swap(QPainterPath other)''' 8315 def translated(self, dx, dy): 8316 '''QPainterPath QPainterPath.translated(float dx, float dy)''' 8317 return QPainterPath() 8318 def translated(self, offset): 8319 '''QPainterPath QPainterPath.translated(QPointF offset)''' 8320 return QPainterPath() 8321 def translate(self, dx, dy): 8322 '''void QPainterPath.translate(float dx, float dy)''' 8323 def translate(self, offset): 8324 '''void QPainterPath.translate(QPointF offset)''' 8325 def __isub__(self, other): 8326 '''QPainterPath QPainterPath.__isub__(QPainterPath other)''' 8327 return QPainterPath() 8328 def __iadd__(self, other): 8329 '''QPainterPath QPainterPath.__iadd__(QPainterPath other)''' 8330 return QPainterPath() 8331 def __ior__(self, other): 8332 '''QPainterPath QPainterPath.__ior__(QPainterPath other)''' 8333 return QPainterPath() 8334 def __iand__(self, other): 8335 '''QPainterPath QPainterPath.__iand__(QPainterPath other)''' 8336 return QPainterPath() 8337 def __sub__(self, other): 8338 '''QPainterPath QPainterPath.__sub__(QPainterPath other)''' 8339 return QPainterPath() 8340 def __add__(self, other): 8341 '''QPainterPath QPainterPath.__add__(QPainterPath other)''' 8342 return QPainterPath() 8343 def __or__(self, other): 8344 '''QPainterPath QPainterPath.__or__(QPainterPath other)''' 8345 return QPainterPath() 8346 def __and__(self, other): 8347 '''QPainterPath QPainterPath.__and__(QPainterPath other)''' 8348 return QPainterPath() 8349 def simplified(self): 8350 '''QPainterPath QPainterPath.simplified()''' 8351 return QPainterPath() 8352 def addRoundedRect(self, rect, xRadius, yRadius, mode = None): 8353 '''void QPainterPath.addRoundedRect(QRectF rect, float xRadius, float yRadius, Qt.SizeMode mode = Qt.AbsoluteSize)''' 8354 def addRoundedRect(self, x, y, w, h, xRadius, yRadius, mode = None): 8355 '''void QPainterPath.addRoundedRect(float x, float y, float w, float h, float xRadius, float yRadius, Qt.SizeMode mode = Qt.AbsoluteSize)''' 8356 def subtracted(self, r): 8357 '''QPainterPath QPainterPath.subtracted(QPainterPath r)''' 8358 return QPainterPath() 8359 def intersected(self, r): 8360 '''QPainterPath QPainterPath.intersected(QPainterPath r)''' 8361 return QPainterPath() 8362 def united(self, r): 8363 '''QPainterPath QPainterPath.united(QPainterPath r)''' 8364 return QPainterPath() 8365 def slopeAtPercent(self, t): 8366 '''float QPainterPath.slopeAtPercent(float t)''' 8367 return float() 8368 def angleAtPercent(self, t): 8369 '''float QPainterPath.angleAtPercent(float t)''' 8370 return float() 8371 def pointAtPercent(self, t): 8372 '''QPointF QPainterPath.pointAtPercent(float t)''' 8373 return QPointF() 8374 def percentAtLength(self, t): 8375 '''float QPainterPath.percentAtLength(float t)''' 8376 return float() 8377 def length(self): 8378 '''float QPainterPath.length()''' 8379 return float() 8380 def toFillPolygon(self, matrix): 8381 '''QPolygonF QPainterPath.toFillPolygon(QTransform matrix)''' 8382 return QPolygonF() 8383 def toFillPolygons(self, matrix): 8384 '''list-of-QPolygonF QPainterPath.toFillPolygons(QTransform matrix)''' 8385 return [QPolygonF()] 8386 def toSubpathPolygons(self, matrix): 8387 '''list-of-QPolygonF QPainterPath.toSubpathPolygons(QTransform matrix)''' 8388 return [QPolygonF()] 8389 def setElementPositionAt(self, i, x, y): 8390 '''void QPainterPath.setElementPositionAt(int i, float x, float y)''' 8391 def elementAt(self, i): 8392 '''QPainterPath.Element QPainterPath.elementAt(int i)''' 8393 return QPainterPath.Element() 8394 def elementCount(self): 8395 '''int QPainterPath.elementCount()''' 8396 return int() 8397 def isEmpty(self): 8398 '''bool QPainterPath.isEmpty()''' 8399 return bool() 8400 def arcMoveTo(self, rect, angle): 8401 '''void QPainterPath.arcMoveTo(QRectF rect, float angle)''' 8402 def arcMoveTo(self, x, y, w, h, angle): 8403 '''void QPainterPath.arcMoveTo(float x, float y, float w, float h, float angle)''' 8404 def __ne__(self, other): 8405 '''bool QPainterPath.__ne__(QPainterPath other)''' 8406 return bool() 8407 def __eq__(self, other): 8408 '''bool QPainterPath.__eq__(QPainterPath other)''' 8409 return bool() 8410 def toReversed(self): 8411 '''QPainterPath QPainterPath.toReversed()''' 8412 return QPainterPath() 8413 def setFillRule(self, fillRule): 8414 '''void QPainterPath.setFillRule(Qt.FillRule fillRule)''' 8415 def fillRule(self): 8416 '''Qt.FillRule QPainterPath.fillRule()''' 8417 return Qt.FillRule() 8418 def controlPointRect(self): 8419 '''QRectF QPainterPath.controlPointRect()''' 8420 return QRectF() 8421 def boundingRect(self): 8422 '''QRectF QPainterPath.boundingRect()''' 8423 return QRectF() 8424 def intersects(self, rect): 8425 '''bool QPainterPath.intersects(QRectF rect)''' 8426 return bool() 8427 def intersects(self, p): 8428 '''bool QPainterPath.intersects(QPainterPath p)''' 8429 return bool() 8430 def contains(self, pt): 8431 '''bool QPainterPath.contains(QPointF pt)''' 8432 return bool() 8433 def contains(self, rect): 8434 '''bool QPainterPath.contains(QRectF rect)''' 8435 return bool() 8436 def contains(self, p): 8437 '''bool QPainterPath.contains(QPainterPath p)''' 8438 return bool() 8439 def connectPath(self, path): 8440 '''void QPainterPath.connectPath(QPainterPath path)''' 8441 def addRegion(self, region): 8442 '''void QPainterPath.addRegion(QRegion region)''' 8443 def addPath(self, path): 8444 '''void QPainterPath.addPath(QPainterPath path)''' 8445 def addText(self, point, f, text): 8446 '''void QPainterPath.addText(QPointF point, QFont f, str text)''' 8447 def addText(self, x, y, f, text): 8448 '''void QPainterPath.addText(float x, float y, QFont f, str text)''' 8449 def addPolygon(self, polygon): 8450 '''void QPainterPath.addPolygon(QPolygonF polygon)''' 8451 def addEllipse(self, rect): 8452 '''void QPainterPath.addEllipse(QRectF rect)''' 8453 def addEllipse(self, x, y, w, h): 8454 '''void QPainterPath.addEllipse(float x, float y, float w, float h)''' 8455 def addEllipse(self, center, rx, ry): 8456 '''void QPainterPath.addEllipse(QPointF center, float rx, float ry)''' 8457 def addRect(self, rect): 8458 '''void QPainterPath.addRect(QRectF rect)''' 8459 def addRect(self, x, y, w, h): 8460 '''void QPainterPath.addRect(float x, float y, float w, float h)''' 8461 def currentPosition(self): 8462 '''QPointF QPainterPath.currentPosition()''' 8463 return QPointF() 8464 def quadTo(self, ctrlPt, endPt): 8465 '''void QPainterPath.quadTo(QPointF ctrlPt, QPointF endPt)''' 8466 def quadTo(self, ctrlPtx, ctrlPty, endPtx, endPty): 8467 '''void QPainterPath.quadTo(float ctrlPtx, float ctrlPty, float endPtx, float endPty)''' 8468 def cubicTo(self, ctrlPt1, ctrlPt2, endPt): 8469 '''void QPainterPath.cubicTo(QPointF ctrlPt1, QPointF ctrlPt2, QPointF endPt)''' 8470 def cubicTo(self, ctrlPt1x, ctrlPt1y, ctrlPt2x, ctrlPt2y, endPtx, endPty): 8471 '''void QPainterPath.cubicTo(float ctrlPt1x, float ctrlPt1y, float ctrlPt2x, float ctrlPt2y, float endPtx, float endPty)''' 8472 def arcTo(self, rect, startAngle, arcLength): 8473 '''void QPainterPath.arcTo(QRectF rect, float startAngle, float arcLength)''' 8474 def arcTo(self, x, y, w, h, startAngle, arcLenght): 8475 '''void QPainterPath.arcTo(float x, float y, float w, float h, float startAngle, float arcLenght)''' 8476 def lineTo(self, p): 8477 '''void QPainterPath.lineTo(QPointF p)''' 8478 def lineTo(self, x, y): 8479 '''void QPainterPath.lineTo(float x, float y)''' 8480 def moveTo(self, p): 8481 '''void QPainterPath.moveTo(QPointF p)''' 8482 def moveTo(self, x, y): 8483 '''void QPainterPath.moveTo(float x, float y)''' 8484 def closeSubpath(self): 8485 '''void QPainterPath.closeSubpath()''' 8486 class Element(): 8487 """""" 8488 type = None # QPainterPath.ElementType - member 8489 x = None # float - member 8490 y = None # float - member 8491 def __init__(self): 8492 '''void QPainterPath.Element.__init__()''' 8493 def __init__(self): 8494 '''QPainterPath.Element QPainterPath.Element.__init__()''' 8495 return QPainterPath.Element() 8496 def __ne__(self, e): 8497 '''bool QPainterPath.Element.__ne__(QPainterPath.Element e)''' 8498 return bool() 8499 def __eq__(self, e): 8500 '''bool QPainterPath.Element.__eq__(QPainterPath.Element e)''' 8501 return bool() 8502 def isCurveTo(self): 8503 '''bool QPainterPath.Element.isCurveTo()''' 8504 return bool() 8505 def isLineTo(self): 8506 '''bool QPainterPath.Element.isLineTo()''' 8507 return bool() 8508 def isMoveTo(self): 8509 '''bool QPainterPath.Element.isMoveTo()''' 8510 return bool() 8511 8512 8513 class QPainterPathStroker(): 8514 """""" 8515 def __init__(self): 8516 '''void QPainterPathStroker.__init__()''' 8517 def __init__(self, pen): 8518 '''void QPainterPathStroker.__init__(QPen pen)''' 8519 def dashOffset(self): 8520 '''float QPainterPathStroker.dashOffset()''' 8521 return float() 8522 def setDashOffset(self, offset): 8523 '''void QPainterPathStroker.setDashOffset(float offset)''' 8524 def createStroke(self, path): 8525 '''QPainterPath QPainterPathStroker.createStroke(QPainterPath path)''' 8526 return QPainterPath() 8527 def dashPattern(self): 8528 '''list-of-float QPainterPathStroker.dashPattern()''' 8529 return [float()] 8530 def setDashPattern(self): 8531 '''Qt.PenStyle QPainterPathStroker.setDashPattern()''' 8532 return Qt.PenStyle() 8533 def setDashPattern(self, dashPattern): 8534 '''void QPainterPathStroker.setDashPattern(list-of-float dashPattern)''' 8535 def curveThreshold(self): 8536 '''float QPainterPathStroker.curveThreshold()''' 8537 return float() 8538 def setCurveThreshold(self, threshold): 8539 '''void QPainterPathStroker.setCurveThreshold(float threshold)''' 8540 def miterLimit(self): 8541 '''float QPainterPathStroker.miterLimit()''' 8542 return float() 8543 def setMiterLimit(self, length): 8544 '''void QPainterPathStroker.setMiterLimit(float length)''' 8545 def joinStyle(self): 8546 '''Qt.PenJoinStyle QPainterPathStroker.joinStyle()''' 8547 return Qt.PenJoinStyle() 8548 def setJoinStyle(self, style): 8549 '''void QPainterPathStroker.setJoinStyle(Qt.PenJoinStyle style)''' 8550 def capStyle(self): 8551 '''Qt.PenCapStyle QPainterPathStroker.capStyle()''' 8552 return Qt.PenCapStyle() 8553 def setCapStyle(self, style): 8554 '''void QPainterPathStroker.setCapStyle(Qt.PenCapStyle style)''' 8555 def width(self): 8556 '''float QPainterPathStroker.width()''' 8557 return float() 8558 def setWidth(self, width): 8559 '''void QPainterPathStroker.setWidth(float width)''' 8560 8561 8562 class QPalette(): 8563 """""" 8564 # Enum QPalette.ColorRole 8565 WindowText = 0 8566 Foreground = 0 8567 Button = 0 8568 Light = 0 8569 Midlight = 0 8570 Dark = 0 8571 Mid = 0 8572 Text = 0 8573 BrightText = 0 8574 ButtonText = 0 8575 Base = 0 8576 Window = 0 8577 Background = 0 8578 Shadow = 0 8579 Highlight = 0 8580 HighlightedText = 0 8581 Link = 0 8582 LinkVisited = 0 8583 AlternateBase = 0 8584 ToolTipBase = 0 8585 ToolTipText = 0 8586 NColorRoles = 0 8587 NoRole = 0 8588 8589 # Enum QPalette.ColorGroup 8590 Active = 0 8591 Disabled = 0 8592 Inactive = 0 8593 NColorGroups = 0 8594 Current = 0 8595 All = 0 8596 Normal = 0 8597 8598 def __init__(self): 8599 '''void QPalette.__init__()''' 8600 def __init__(self, button): 8601 '''void QPalette.__init__(QColor button)''' 8602 def __init__(self, button): 8603 '''void QPalette.__init__(Qt.GlobalColor button)''' 8604 def __init__(self, button, background): 8605 '''void QPalette.__init__(QColor button, QColor background)''' 8606 def __init__(self, foreground, button, light, dark, mid, text, bright_text, base, background): 8607 '''void QPalette.__init__(QBrush foreground, QBrush button, QBrush light, QBrush dark, QBrush mid, QBrush text, QBrush bright_text, QBrush base, QBrush background)''' 8608 def __init__(self, palette): 8609 '''void QPalette.__init__(QPalette palette)''' 8610 def __init__(self, variant): 8611 '''void QPalette.__init__(QVariant variant)''' 8612 def swap(self, other): 8613 '''void QPalette.swap(QPalette other)''' 8614 def cacheKey(self): 8615 '''int QPalette.cacheKey()''' 8616 return int() 8617 def isBrushSet(self, cg, cr): 8618 '''bool QPalette.isBrushSet(QPalette.ColorGroup cg, QPalette.ColorRole cr)''' 8619 return bool() 8620 def setColor(self, acg, acr, acolor): 8621 '''void QPalette.setColor(QPalette.ColorGroup acg, QPalette.ColorRole acr, QColor acolor)''' 8622 def setColor(self, acr, acolor): 8623 '''void QPalette.setColor(QPalette.ColorRole acr, QColor acolor)''' 8624 def resolve(self): 8625 '''QPalette QPalette.resolve()''' 8626 return QPalette() 8627 def resolve(self): 8628 '''int QPalette.resolve()''' 8629 return int() 8630 def resolve(self, mask): 8631 '''void QPalette.resolve(int mask)''' 8632 def isCopyOf(self, p): 8633 '''bool QPalette.isCopyOf(QPalette p)''' 8634 return bool() 8635 def __ne__(self, p): 8636 '''bool QPalette.__ne__(QPalette p)''' 8637 return bool() 8638 def __eq__(self, p): 8639 '''bool QPalette.__eq__(QPalette p)''' 8640 return bool() 8641 def toolTipText(self): 8642 '''QBrush QPalette.toolTipText()''' 8643 return QBrush() 8644 def toolTipBase(self): 8645 '''QBrush QPalette.toolTipBase()''' 8646 return QBrush() 8647 def linkVisited(self): 8648 '''QBrush QPalette.linkVisited()''' 8649 return QBrush() 8650 def link(self): 8651 '''QBrush QPalette.link()''' 8652 return QBrush() 8653 def highlightedText(self): 8654 '''QBrush QPalette.highlightedText()''' 8655 return QBrush() 8656 def highlight(self): 8657 '''QBrush QPalette.highlight()''' 8658 return QBrush() 8659 def shadow(self): 8660 '''QBrush QPalette.shadow()''' 8661 return QBrush() 8662 def buttonText(self): 8663 '''QBrush QPalette.buttonText()''' 8664 return QBrush() 8665 def brightText(self): 8666 '''QBrush QPalette.brightText()''' 8667 return QBrush() 8668 def midlight(self): 8669 '''QBrush QPalette.midlight()''' 8670 return QBrush() 8671 def window(self): 8672 '''QBrush QPalette.window()''' 8673 return QBrush() 8674 def alternateBase(self): 8675 '''QBrush QPalette.alternateBase()''' 8676 return QBrush() 8677 def base(self): 8678 '''QBrush QPalette.base()''' 8679 return QBrush() 8680 def text(self): 8681 '''QBrush QPalette.text()''' 8682 return QBrush() 8683 def mid(self): 8684 '''QBrush QPalette.mid()''' 8685 return QBrush() 8686 def dark(self): 8687 '''QBrush QPalette.dark()''' 8688 return QBrush() 8689 def light(self): 8690 '''QBrush QPalette.light()''' 8691 return QBrush() 8692 def button(self): 8693 '''QBrush QPalette.button()''' 8694 return QBrush() 8695 def windowText(self): 8696 '''QBrush QPalette.windowText()''' 8697 return QBrush() 8698 def isEqual(self, cr1, cr2): 8699 '''bool QPalette.isEqual(QPalette.ColorGroup cr1, QPalette.ColorGroup cr2)''' 8700 return bool() 8701 def setColorGroup(self, cr, foreground, button, light, dark, mid, text, bright_text, base, background): 8702 '''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)''' 8703 def setBrush(self, cg, cr, brush): 8704 '''void QPalette.setBrush(QPalette.ColorGroup cg, QPalette.ColorRole cr, QBrush brush)''' 8705 def setBrush(self, acr, abrush): 8706 '''void QPalette.setBrush(QPalette.ColorRole acr, QBrush abrush)''' 8707 def brush(self, cg, cr): 8708 '''QBrush QPalette.brush(QPalette.ColorGroup cg, QPalette.ColorRole cr)''' 8709 return QBrush() 8710 def brush(self, cr): 8711 '''QBrush QPalette.brush(QPalette.ColorRole cr)''' 8712 return QBrush() 8713 def color(self, cg, cr): 8714 '''QColor QPalette.color(QPalette.ColorGroup cg, QPalette.ColorRole cr)''' 8715 return QColor() 8716 def color(self, cr): 8717 '''QColor QPalette.color(QPalette.ColorRole cr)''' 8718 return QColor() 8719 def setCurrentColorGroup(self, cg): 8720 '''void QPalette.setCurrentColorGroup(QPalette.ColorGroup cg)''' 8721 def currentColorGroup(self): 8722 '''QPalette.ColorGroup QPalette.currentColorGroup()''' 8723 return QPalette.ColorGroup() 8724 8725 8726 class QPdfWriter(QObject, QPagedPaintDevice): 8727 """""" 8728 def __init__(self, filename): 8729 '''void QPdfWriter.__init__(str filename)''' 8730 def __init__(self, device): 8731 '''void QPdfWriter.__init__(QIODevice device)''' 8732 def resolution(self): 8733 '''int QPdfWriter.resolution()''' 8734 return int() 8735 def setResolution(self, resolution): 8736 '''void QPdfWriter.setResolution(int resolution)''' 8737 def metric(self, id): 8738 '''int QPdfWriter.metric(QPaintDevice.PaintDeviceMetric id)''' 8739 return int() 8740 def paintEngine(self): 8741 '''QPaintEngine QPdfWriter.paintEngine()''' 8742 return QPaintEngine() 8743 def setMargins(self, m): 8744 '''void QPdfWriter.setMargins(QPagedPaintDevice.Margins m)''' 8745 def setPageSizeMM(self, size): 8746 '''void QPdfWriter.setPageSizeMM(QSizeF size)''' 8747 def setPageSize(self, size): 8748 '''void QPdfWriter.setPageSize(QPagedPaintDevice.PageSize size)''' 8749 def newPage(self): 8750 '''bool QPdfWriter.newPage()''' 8751 return bool() 8752 def setCreator(self, creator): 8753 '''void QPdfWriter.setCreator(str creator)''' 8754 def creator(self): 8755 '''str QPdfWriter.creator()''' 8756 return str() 8757 def setTitle(self, title): 8758 '''void QPdfWriter.setTitle(str title)''' 8759 def title(self): 8760 '''str QPdfWriter.title()''' 8761 return str() 8762 8763 8764 class QPen(): 8765 """""" 8766 def __init__(self): 8767 '''void QPen.__init__()''' 8768 def __init__(self): 8769 '''Qt.PenStyle QPen.__init__()''' 8770 return Qt.PenStyle() 8771 def __init__(self, color): 8772 '''void QPen.__init__(QColor color)''' 8773 def __init__(self, brush, width, style = None, cap = None, join = None): 8774 '''void QPen.__init__(QBrush brush, float width, Qt.PenStyle style = Qt.SolidLine, Qt.PenCapStyle cap = Qt.SquareCap, Qt.PenJoinStyle join = Qt.BevelJoin)''' 8775 def __init__(self, pen): 8776 '''void QPen.__init__(QPen pen)''' 8777 def __init__(self, variant): 8778 '''void QPen.__init__(QVariant variant)''' 8779 def swap(self, other): 8780 '''void QPen.swap(QPen other)''' 8781 def setCosmetic(self, cosmetic): 8782 '''void QPen.setCosmetic(bool cosmetic)''' 8783 def isCosmetic(self): 8784 '''bool QPen.isCosmetic()''' 8785 return bool() 8786 def setDashOffset(self, doffset): 8787 '''void QPen.setDashOffset(float doffset)''' 8788 def dashOffset(self): 8789 '''float QPen.dashOffset()''' 8790 return float() 8791 def __ne__(self, p): 8792 '''bool QPen.__ne__(QPen p)''' 8793 return bool() 8794 def __eq__(self, p): 8795 '''bool QPen.__eq__(QPen p)''' 8796 return bool() 8797 def setMiterLimit(self, limit): 8798 '''void QPen.setMiterLimit(float limit)''' 8799 def miterLimit(self): 8800 '''float QPen.miterLimit()''' 8801 return float() 8802 def setDashPattern(self, pattern): 8803 '''void QPen.setDashPattern(list-of-float pattern)''' 8804 def dashPattern(self): 8805 '''list-of-float QPen.dashPattern()''' 8806 return [float()] 8807 def setJoinStyle(self, pcs): 8808 '''void QPen.setJoinStyle(Qt.PenJoinStyle pcs)''' 8809 def joinStyle(self): 8810 '''Qt.PenJoinStyle QPen.joinStyle()''' 8811 return Qt.PenJoinStyle() 8812 def setCapStyle(self, pcs): 8813 '''void QPen.setCapStyle(Qt.PenCapStyle pcs)''' 8814 def capStyle(self): 8815 '''Qt.PenCapStyle QPen.capStyle()''' 8816 return Qt.PenCapStyle() 8817 def isSolid(self): 8818 '''bool QPen.isSolid()''' 8819 return bool() 8820 def setBrush(self, brush): 8821 '''void QPen.setBrush(QBrush brush)''' 8822 def brush(self): 8823 '''QBrush QPen.brush()''' 8824 return QBrush() 8825 def setColor(self, color): 8826 '''void QPen.setColor(QColor color)''' 8827 def color(self): 8828 '''QColor QPen.color()''' 8829 return QColor() 8830 def setWidth(self, width): 8831 '''void QPen.setWidth(int width)''' 8832 def width(self): 8833 '''int QPen.width()''' 8834 return int() 8835 def setWidthF(self, width): 8836 '''void QPen.setWidthF(float width)''' 8837 def widthF(self): 8838 '''float QPen.widthF()''' 8839 return float() 8840 def setStyle(self): 8841 '''Qt.PenStyle QPen.setStyle()''' 8842 return Qt.PenStyle() 8843 def style(self): 8844 '''Qt.PenStyle QPen.style()''' 8845 return Qt.PenStyle() 8846 8847 8848 class QPicture(QPaintDevice): 8849 """""" 8850 def __init__(self, formatVersion = None): 8851 '''void QPicture.__init__(int formatVersion = -1)''' 8852 def __init__(self): 8853 '''QPicture QPicture.__init__()''' 8854 return QPicture() 8855 def swap(self, other): 8856 '''void QPicture.swap(QPicture other)''' 8857 def metric(self, m): 8858 '''int QPicture.metric(QPaintDevice.PaintDeviceMetric m)''' 8859 return int() 8860 def paintEngine(self): 8861 '''QPaintEngine QPicture.paintEngine()''' 8862 return QPaintEngine() 8863 def isDetached(self): 8864 '''bool QPicture.isDetached()''' 8865 return bool() 8866 def detach(self): 8867 '''void QPicture.detach()''' 8868 def setBoundingRect(self, r): 8869 '''void QPicture.setBoundingRect(QRect r)''' 8870 def boundingRect(self): 8871 '''QRect QPicture.boundingRect()''' 8872 return QRect() 8873 def save(self, dev, format = None): 8874 '''bool QPicture.save(QIODevice dev, str format = None)''' 8875 return bool() 8876 def save(self, fileName, format = None): 8877 '''bool QPicture.save(str fileName, str format = None)''' 8878 return bool() 8879 def load(self, dev, format = None): 8880 '''bool QPicture.load(QIODevice dev, str format = None)''' 8881 return bool() 8882 def load(self, fileName, format = None): 8883 '''bool QPicture.load(str fileName, str format = None)''' 8884 return bool() 8885 def play(self, p): 8886 '''bool QPicture.play(QPainter p)''' 8887 return bool() 8888 def setData(self, data): 8889 '''void QPicture.setData(str data)''' 8890 def data(self): 8891 '''str QPicture.data()''' 8892 return str() 8893 def size(self): 8894 '''int QPicture.size()''' 8895 return int() 8896 def devType(self): 8897 '''int QPicture.devType()''' 8898 return int() 8899 def isNull(self): 8900 '''bool QPicture.isNull()''' 8901 return bool() 8902 8903 8904 class QPictureIO(): 8905 """""" 8906 def __init__(self): 8907 '''void QPictureIO.__init__()''' 8908 def __init__(self, ioDevice, format): 8909 '''void QPictureIO.__init__(QIODevice ioDevice, str format)''' 8910 def __init__(self, fileName, format): 8911 '''void QPictureIO.__init__(str fileName, str format)''' 8912 def defineIOHandler(self, format, header, flags, read_picture, write_picture): 8913 '''static void QPictureIO.defineIOHandler(str format, str header, str flags, callable read_picture, callable write_picture)''' 8914 def outputFormats(self): 8915 '''static list-of-QByteArray QPictureIO.outputFormats()''' 8916 return [QByteArray()] 8917 def inputFormats(self): 8918 '''static list-of-QByteArray QPictureIO.inputFormats()''' 8919 return [QByteArray()] 8920 def pictureFormat(self, fileName): 8921 '''static QByteArray QPictureIO.pictureFormat(str fileName)''' 8922 return QByteArray() 8923 def pictureFormat(self): 8924 '''static QIODevice QPictureIO.pictureFormat()''' 8925 return QIODevice() 8926 def write(self): 8927 '''bool QPictureIO.write()''' 8928 return bool() 8929 def read(self): 8930 '''bool QPictureIO.read()''' 8931 return bool() 8932 def setGamma(self): 8933 '''float QPictureIO.setGamma()''' 8934 return float() 8935 def setParameters(self): 8936 '''str QPictureIO.setParameters()''' 8937 return str() 8938 def setDescription(self): 8939 '''str QPictureIO.setDescription()''' 8940 return str() 8941 def setQuality(self): 8942 '''int QPictureIO.setQuality()''' 8943 return int() 8944 def setFileName(self): 8945 '''str QPictureIO.setFileName()''' 8946 return str() 8947 def setIODevice(self): 8948 '''QIODevice QPictureIO.setIODevice()''' 8949 return QIODevice() 8950 def setFormat(self): 8951 '''str QPictureIO.setFormat()''' 8952 return str() 8953 def setStatus(self): 8954 '''int QPictureIO.setStatus()''' 8955 return int() 8956 def setPicture(self): 8957 '''QPicture QPictureIO.setPicture()''' 8958 return QPicture() 8959 def gamma(self): 8960 '''float QPictureIO.gamma()''' 8961 return float() 8962 def parameters(self): 8963 '''str QPictureIO.parameters()''' 8964 return str() 8965 def description(self): 8966 '''str QPictureIO.description()''' 8967 return str() 8968 def quality(self): 8969 '''int QPictureIO.quality()''' 8970 return int() 8971 def fileName(self): 8972 '''str QPictureIO.fileName()''' 8973 return str() 8974 def ioDevice(self): 8975 '''QIODevice QPictureIO.ioDevice()''' 8976 return QIODevice() 8977 def format(self): 8978 '''str QPictureIO.format()''' 8979 return str() 8980 def status(self): 8981 '''int QPictureIO.status()''' 8982 return int() 8983 def picture(self): 8984 '''QPicture QPictureIO.picture()''' 8985 return QPicture() 8986 8987 8988 class QPixelFormat(): 8989 """""" 8990 # Enum QPixelFormat.ByteOrder 8991 LittleEndian = 0 8992 BigEndian = 0 8993 CurrentSystemEndian = 0 8994 8995 # Enum QPixelFormat.YUVLayout 8996 YUV444 = 0 8997 YUV422 = 0 8998 YUV411 = 0 8999 YUV420P = 0 9000 YUV420SP = 0 9001 YV12 = 0 9002 UYVY = 0 9003 YUYV = 0 9004 NV12 = 0 9005 NV21 = 0 9006 IMC1 = 0 9007 IMC2 = 0 9008 IMC3 = 0 9009 IMC4 = 0 9010 Y8 = 0 9011 Y16 = 0 9012 9013 # Enum QPixelFormat.TypeInterpretation 9014 UnsignedInteger = 0 9015 UnsignedShort = 0 9016 UnsignedByte = 0 9017 FloatingPoint = 0 9018 9019 # Enum QPixelFormat.AlphaPremultiplied 9020 NotPremultiplied = 0 9021 Premultiplied = 0 9022 9023 # Enum QPixelFormat.AlphaPosition 9024 AtBeginning = 0 9025 AtEnd = 0 9026 9027 # Enum QPixelFormat.AlphaUsage 9028 UsesAlpha = 0 9029 IgnoresAlpha = 0 9030 9031 # Enum QPixelFormat.ColorModel 9032 RGB = 0 9033 BGR = 0 9034 Indexed = 0 9035 Grayscale = 0 9036 CMYK = 0 9037 HSL = 0 9038 HSV = 0 9039 YUV = 0 9040 Alpha = 0 9041 9042 def __init__(self): 9043 '''void QPixelFormat.__init__()''' 9044 def __init__(self, mdl, firstSize, secondSize, thirdSize, fourthSize, fifthSize, alfa, usage, position, premult, typeInterp, byteOrder = None, subEnum = 0): 9045 '''void QPixelFormat.__init__(QPixelFormat.ColorModel mdl, int firstSize, int secondSize, int thirdSize, int fourthSize, int fifthSize, int alfa, QPixelFormat.AlphaUsage usage, QPixelFormat.AlphaPosition position, QPixelFormat.AlphaPremultiplied premult, QPixelFormat.TypeInterpretation typeInterp, QPixelFormat.ByteOrder byteOrder = QPixelFormat.CurrentSystemEndian, int subEnum = 0)''' 9046 def __init__(self): 9047 '''QPixelFormat QPixelFormat.__init__()''' 9048 return QPixelFormat() 9049 def __eq__(self, fmt2): 9050 '''bool QPixelFormat.__eq__(QPixelFormat fmt2)''' 9051 return bool() 9052 def __ne__(self, fmt2): 9053 '''bool QPixelFormat.__ne__(QPixelFormat fmt2)''' 9054 return bool() 9055 def subEnum(self): 9056 '''int QPixelFormat.subEnum()''' 9057 return int() 9058 def yuvLayout(self): 9059 '''QPixelFormat.YUVLayout QPixelFormat.yuvLayout()''' 9060 return QPixelFormat.YUVLayout() 9061 def byteOrder(self): 9062 '''QPixelFormat.ByteOrder QPixelFormat.byteOrder()''' 9063 return QPixelFormat.ByteOrder() 9064 def typeInterpretation(self): 9065 '''QPixelFormat.TypeInterpretation QPixelFormat.typeInterpretation()''' 9066 return QPixelFormat.TypeInterpretation() 9067 def premultiplied(self): 9068 '''QPixelFormat.AlphaPremultiplied QPixelFormat.premultiplied()''' 9069 return QPixelFormat.AlphaPremultiplied() 9070 def alphaPosition(self): 9071 '''QPixelFormat.AlphaPosition QPixelFormat.alphaPosition()''' 9072 return QPixelFormat.AlphaPosition() 9073 def alphaUsage(self): 9074 '''QPixelFormat.AlphaUsage QPixelFormat.alphaUsage()''' 9075 return QPixelFormat.AlphaUsage() 9076 def bitsPerPixel(self): 9077 '''int QPixelFormat.bitsPerPixel()''' 9078 return int() 9079 def alphaSize(self): 9080 '''int QPixelFormat.alphaSize()''' 9081 return int() 9082 def brightnessSize(self): 9083 '''int QPixelFormat.brightnessSize()''' 9084 return int() 9085 def lightnessSize(self): 9086 '''int QPixelFormat.lightnessSize()''' 9087 return int() 9088 def saturationSize(self): 9089 '''int QPixelFormat.saturationSize()''' 9090 return int() 9091 def hueSize(self): 9092 '''int QPixelFormat.hueSize()''' 9093 return int() 9094 def blackSize(self): 9095 '''int QPixelFormat.blackSize()''' 9096 return int() 9097 def yellowSize(self): 9098 '''int QPixelFormat.yellowSize()''' 9099 return int() 9100 def magentaSize(self): 9101 '''int QPixelFormat.magentaSize()''' 9102 return int() 9103 def cyanSize(self): 9104 '''int QPixelFormat.cyanSize()''' 9105 return int() 9106 def blueSize(self): 9107 '''int QPixelFormat.blueSize()''' 9108 return int() 9109 def greenSize(self): 9110 '''int QPixelFormat.greenSize()''' 9111 return int() 9112 def redSize(self): 9113 '''int QPixelFormat.redSize()''' 9114 return int() 9115 def channelCount(self): 9116 '''int QPixelFormat.channelCount()''' 9117 return int() 9118 def colorModel(self): 9119 '''QPixelFormat.ColorModel QPixelFormat.colorModel()''' 9120 return QPixelFormat.ColorModel() 9121 9122 9123 class QPixmapCache(): 9124 """""" 9125 def __init__(self): 9126 '''void QPixmapCache.__init__()''' 9127 def __init__(self): 9128 '''QPixmapCache QPixmapCache.__init__()''' 9129 return QPixmapCache() 9130 def setCacheLimit(self): 9131 '''static int QPixmapCache.setCacheLimit()''' 9132 return int() 9133 def replace(self, key, pixmap): 9134 '''static bool QPixmapCache.replace(QPixmapCache.Key key, QPixmap pixmap)''' 9135 return bool() 9136 def remove(self, key): 9137 '''static void QPixmapCache.remove(str key)''' 9138 def remove(self, key): 9139 '''static void QPixmapCache.remove(QPixmapCache.Key key)''' 9140 def insert(self, key): 9141 '''static QPixmap QPixmapCache.insert(str key)''' 9142 return QPixmap() 9143 def insert(self, pixmap): 9144 '''static QPixmapCache.Key QPixmapCache.insert(QPixmap pixmap)''' 9145 return QPixmapCache.Key() 9146 def find(self, key): 9147 '''static QPixmap QPixmapCache.find(str key)''' 9148 return QPixmap() 9149 def find(self, key): 9150 '''static QPixmap QPixmapCache.find(QPixmapCache.Key key)''' 9151 return QPixmap() 9152 def clear(self): 9153 '''static void QPixmapCache.clear()''' 9154 def cacheLimit(self): 9155 '''static int QPixmapCache.cacheLimit()''' 9156 return int() 9157 class Key(): 9158 """""" 9159 def __init__(self): 9160 '''void QPixmapCache.Key.__init__()''' 9161 def __init__(self, other): 9162 '''void QPixmapCache.Key.__init__(QPixmapCache.Key other)''' 9163 def __ne__(self, key): 9164 '''bool QPixmapCache.Key.__ne__(QPixmapCache.Key key)''' 9165 return bool() 9166 def __eq__(self, key): 9167 '''bool QPixmapCache.Key.__eq__(QPixmapCache.Key key)''' 9168 return bool() 9169 9170 9171 class QPolygon(): 9172 """""" 9173 def __init__(self): 9174 '''void QPolygon.__init__()''' 9175 def __init__(self, a): 9176 '''void QPolygon.__init__(QPolygon a)''' 9177 def __init__(self, v): 9178 '''void QPolygon.__init__(list-of-QPoint v)''' 9179 def __init__(self, rectangle, closed = False): 9180 '''void QPolygon.__init__(QRect rectangle, bool closed = False)''' 9181 def __init__(self, asize): 9182 '''void QPolygon.__init__(int asize)''' 9183 def __init__(self, points): 9184 '''void QPolygon.__init__(list-of-int points)''' 9185 def __init__(self, variant): 9186 '''void QPolygon.__init__(QVariant variant)''' 9187 def __mul__(self, m): 9188 '''QPolygon QPolygon.__mul__(QTransform m)''' 9189 return QPolygon() 9190 def swap(self, other): 9191 '''void QPolygon.swap(QPolygon other)''' 9192 def __contains__(self, value): 9193 '''int QPolygon.__contains__(QPoint value)''' 9194 return int() 9195 def __delitem__(self, i): 9196 '''void QPolygon.__delitem__(int i)''' 9197 def __delitem__(self, slice): 9198 '''void QPolygon.__delitem__(slice slice)''' 9199 def __setitem__(self, i, value): 9200 '''void QPolygon.__setitem__(int i, QPoint value)''' 9201 def __setitem__(self, slice, list): 9202 '''void QPolygon.__setitem__(slice slice, QPolygon list)''' 9203 def __getitem__(self, i): 9204 '''QPoint QPolygon.__getitem__(int i)''' 9205 return QPoint() 9206 def __getitem__(self, slice): 9207 '''QPolygon QPolygon.__getitem__(slice slice)''' 9208 return QPolygon() 9209 def __lshift__(self, value): 9210 '''object QPolygon.__lshift__(QPoint value)''' 9211 return object() 9212 def __eq__(self, other): 9213 '''bool QPolygon.__eq__(QPolygon other)''' 9214 return bool() 9215 def __iadd__(self, other): 9216 '''QPolygon QPolygon.__iadd__(QPolygon other)''' 9217 return QPolygon() 9218 def __iadd__(self, value): 9219 '''QPolygon QPolygon.__iadd__(QPoint value)''' 9220 return QPolygon() 9221 def __add__(self, other): 9222 '''QPolygon QPolygon.__add__(QPolygon other)''' 9223 return QPolygon() 9224 def __ne__(self, other): 9225 '''bool QPolygon.__ne__(QPolygon other)''' 9226 return bool() 9227 def value(self, i): 9228 '''QPoint QPolygon.value(int i)''' 9229 return QPoint() 9230 def value(self, i, defaultValue): 9231 '''QPoint QPolygon.value(int i, QPoint defaultValue)''' 9232 return QPoint() 9233 def size(self): 9234 '''int QPolygon.size()''' 9235 return int() 9236 def replace(self, i, value): 9237 '''void QPolygon.replace(int i, QPoint value)''' 9238 def remove(self, i): 9239 '''void QPolygon.remove(int i)''' 9240 def remove(self, i, count): 9241 '''void QPolygon.remove(int i, int count)''' 9242 def prepend(self, value): 9243 '''void QPolygon.prepend(QPoint value)''' 9244 def mid(self, pos, length = None): 9245 '''QPolygon QPolygon.mid(int pos, int length = -1)''' 9246 return QPolygon() 9247 def lastIndexOf(self, value, from_ = None): 9248 '''int QPolygon.lastIndexOf(QPoint value, int from = -1)''' 9249 return int() 9250 def last(self): 9251 '''QPoint QPolygon.last()''' 9252 return QPoint() 9253 def isEmpty(self): 9254 '''bool QPolygon.isEmpty()''' 9255 return bool() 9256 def insert(self, i, value): 9257 '''void QPolygon.insert(int i, QPoint value)''' 9258 def indexOf(self, value, from_ = 0): 9259 '''int QPolygon.indexOf(QPoint value, int from = 0)''' 9260 return int() 9261 def first(self): 9262 '''QPoint QPolygon.first()''' 9263 return QPoint() 9264 def fill(self, value, size = None): 9265 '''void QPolygon.fill(QPoint value, int size = -1)''' 9266 def data(self): 9267 '''sip.voidptr QPolygon.data()''' 9268 return sip.voidptr() 9269 def __len__(self): 9270 ''' QPolygon.__len__()''' 9271 return () 9272 def count(self, value): 9273 '''int QPolygon.count(QPoint value)''' 9274 return int() 9275 def count(self): 9276 '''int QPolygon.count()''' 9277 return int() 9278 def contains(self, value): 9279 '''bool QPolygon.contains(QPoint value)''' 9280 return bool() 9281 def clear(self): 9282 '''void QPolygon.clear()''' 9283 def at(self, i): 9284 '''QPoint QPolygon.at(int i)''' 9285 return QPoint() 9286 def append(self, value): 9287 '''void QPolygon.append(QPoint value)''' 9288 def translated(self, dx, dy): 9289 '''QPolygon QPolygon.translated(int dx, int dy)''' 9290 return QPolygon() 9291 def translated(self, offset): 9292 '''QPolygon QPolygon.translated(QPoint offset)''' 9293 return QPolygon() 9294 def subtracted(self, r): 9295 '''QPolygon QPolygon.subtracted(QPolygon r)''' 9296 return QPolygon() 9297 def intersected(self, r): 9298 '''QPolygon QPolygon.intersected(QPolygon r)''' 9299 return QPolygon() 9300 def united(self, r): 9301 '''QPolygon QPolygon.united(QPolygon r)''' 9302 return QPolygon() 9303 def containsPoint(self, pt, fillRule): 9304 '''bool QPolygon.containsPoint(QPoint pt, Qt.FillRule fillRule)''' 9305 return bool() 9306 def setPoint(self, index, pt): 9307 '''void QPolygon.setPoint(int index, QPoint pt)''' 9308 def setPoint(self, index, x, y): 9309 '''void QPolygon.setPoint(int index, int x, int y)''' 9310 def putPoints(self, index, firstx, firsty, *args): 9311 '''void QPolygon.putPoints(int index, int firstx, int firsty, ... *args)''' 9312 def putPoints(self, index, nPoints, fromPolygon, from_ = 0): 9313 '''void QPolygon.putPoints(int index, int nPoints, QPolygon fromPolygon, int from = 0)''' 9314 def setPoints(self, points): 9315 '''void QPolygon.setPoints(list-of-int points)''' 9316 def setPoints(self, firstx, firsty, *args): 9317 '''void QPolygon.setPoints(int firstx, int firsty, ... *args)''' 9318 def point(self, index): 9319 '''QPoint QPolygon.point(int index)''' 9320 return QPoint() 9321 def boundingRect(self): 9322 '''QRect QPolygon.boundingRect()''' 9323 return QRect() 9324 def translate(self, dx, dy): 9325 '''void QPolygon.translate(int dx, int dy)''' 9326 def translate(self, offset): 9327 '''void QPolygon.translate(QPoint offset)''' 9328 9329 9330 class QPolygonF(): 9331 """""" 9332 def __init__(self): 9333 '''void QPolygonF.__init__()''' 9334 def __init__(self, a): 9335 '''void QPolygonF.__init__(QPolygonF a)''' 9336 def __init__(self, v): 9337 '''void QPolygonF.__init__(list-of-QPointF v)''' 9338 def __init__(self, r): 9339 '''void QPolygonF.__init__(QRectF r)''' 9340 def __init__(self, a): 9341 '''void QPolygonF.__init__(QPolygon a)''' 9342 def __init__(self, asize): 9343 '''void QPolygonF.__init__(int asize)''' 9344 def __mul__(self, m): 9345 '''QPolygonF QPolygonF.__mul__(QTransform m)''' 9346 return QPolygonF() 9347 def swap(self, other): 9348 '''void QPolygonF.swap(QPolygonF other)''' 9349 def __contains__(self, value): 9350 '''int QPolygonF.__contains__(QPointF value)''' 9351 return int() 9352 def __delitem__(self, i): 9353 '''void QPolygonF.__delitem__(int i)''' 9354 def __delitem__(self, slice): 9355 '''void QPolygonF.__delitem__(slice slice)''' 9356 def __setitem__(self, i, value): 9357 '''void QPolygonF.__setitem__(int i, QPointF value)''' 9358 def __setitem__(self, slice, list): 9359 '''void QPolygonF.__setitem__(slice slice, QPolygonF list)''' 9360 def __getitem__(self, i): 9361 '''QPointF QPolygonF.__getitem__(int i)''' 9362 return QPointF() 9363 def __getitem__(self, slice): 9364 '''QPolygonF QPolygonF.__getitem__(slice slice)''' 9365 return QPolygonF() 9366 def __lshift__(self, value): 9367 '''object QPolygonF.__lshift__(QPointF value)''' 9368 return object() 9369 def __eq__(self, other): 9370 '''bool QPolygonF.__eq__(QPolygonF other)''' 9371 return bool() 9372 def __iadd__(self, other): 9373 '''QPolygonF QPolygonF.__iadd__(QPolygonF other)''' 9374 return QPolygonF() 9375 def __iadd__(self, value): 9376 '''QPolygonF QPolygonF.__iadd__(QPointF value)''' 9377 return QPolygonF() 9378 def __add__(self, other): 9379 '''QPolygonF QPolygonF.__add__(QPolygonF other)''' 9380 return QPolygonF() 9381 def __ne__(self, other): 9382 '''bool QPolygonF.__ne__(QPolygonF other)''' 9383 return bool() 9384 def value(self, i): 9385 '''QPointF QPolygonF.value(int i)''' 9386 return QPointF() 9387 def value(self, i, defaultValue): 9388 '''QPointF QPolygonF.value(int i, QPointF defaultValue)''' 9389 return QPointF() 9390 def size(self): 9391 '''int QPolygonF.size()''' 9392 return int() 9393 def replace(self, i, value): 9394 '''void QPolygonF.replace(int i, QPointF value)''' 9395 def remove(self, i): 9396 '''void QPolygonF.remove(int i)''' 9397 def remove(self, i, count): 9398 '''void QPolygonF.remove(int i, int count)''' 9399 def prepend(self, value): 9400 '''void QPolygonF.prepend(QPointF value)''' 9401 def mid(self, pos, length = None): 9402 '''QPolygonF QPolygonF.mid(int pos, int length = -1)''' 9403 return QPolygonF() 9404 def lastIndexOf(self, value, from_ = None): 9405 '''int QPolygonF.lastIndexOf(QPointF value, int from = -1)''' 9406 return int() 9407 def last(self): 9408 '''QPointF QPolygonF.last()''' 9409 return QPointF() 9410 def isEmpty(self): 9411 '''bool QPolygonF.isEmpty()''' 9412 return bool() 9413 def insert(self, i, value): 9414 '''void QPolygonF.insert(int i, QPointF value)''' 9415 def indexOf(self, value, from_ = 0): 9416 '''int QPolygonF.indexOf(QPointF value, int from = 0)''' 9417 return int() 9418 def first(self): 9419 '''QPointF QPolygonF.first()''' 9420 return QPointF() 9421 def fill(self, value, size = None): 9422 '''void QPolygonF.fill(QPointF value, int size = -1)''' 9423 def data(self): 9424 '''sip.voidptr QPolygonF.data()''' 9425 return sip.voidptr() 9426 def __len__(self): 9427 ''' QPolygonF.__len__()''' 9428 return () 9429 def count(self, value): 9430 '''int QPolygonF.count(QPointF value)''' 9431 return int() 9432 def count(self): 9433 '''int QPolygonF.count()''' 9434 return int() 9435 def contains(self, value): 9436 '''bool QPolygonF.contains(QPointF value)''' 9437 return bool() 9438 def clear(self): 9439 '''void QPolygonF.clear()''' 9440 def at(self, i): 9441 '''QPointF QPolygonF.at(int i)''' 9442 return QPointF() 9443 def append(self, value): 9444 '''void QPolygonF.append(QPointF value)''' 9445 def translated(self, offset): 9446 '''QPolygonF QPolygonF.translated(QPointF offset)''' 9447 return QPolygonF() 9448 def translated(self, dx, dy): 9449 '''QPolygonF QPolygonF.translated(float dx, float dy)''' 9450 return QPolygonF() 9451 def subtracted(self, r): 9452 '''QPolygonF QPolygonF.subtracted(QPolygonF r)''' 9453 return QPolygonF() 9454 def intersected(self, r): 9455 '''QPolygonF QPolygonF.intersected(QPolygonF r)''' 9456 return QPolygonF() 9457 def united(self, r): 9458 '''QPolygonF QPolygonF.united(QPolygonF r)''' 9459 return QPolygonF() 9460 def containsPoint(self, pt, fillRule): 9461 '''bool QPolygonF.containsPoint(QPointF pt, Qt.FillRule fillRule)''' 9462 return bool() 9463 def boundingRect(self): 9464 '''QRectF QPolygonF.boundingRect()''' 9465 return QRectF() 9466 def isClosed(self): 9467 '''bool QPolygonF.isClosed()''' 9468 return bool() 9469 def toPolygon(self): 9470 '''QPolygon QPolygonF.toPolygon()''' 9471 return QPolygon() 9472 def translate(self, offset): 9473 '''void QPolygonF.translate(QPointF offset)''' 9474 def translate(self, dx, dy): 9475 '''void QPolygonF.translate(float dx, float dy)''' 9476 9477 9478 class QQuaternion(): 9479 """""" 9480 def __init__(self): 9481 '''void QQuaternion.__init__()''' 9482 def __init__(self, aScalar, xpos, ypos, zpos): 9483 '''void QQuaternion.__init__(float aScalar, float xpos, float ypos, float zpos)''' 9484 def __init__(self, aScalar, aVector): 9485 '''void QQuaternion.__init__(float aScalar, QVector3D aVector)''' 9486 def __init__(self, aVector): 9487 '''void QQuaternion.__init__(QVector4D aVector)''' 9488 def __init__(self): 9489 '''QQuaternion QQuaternion.__init__()''' 9490 return QQuaternion() 9491 def __eq__(self, q2): 9492 '''bool QQuaternion.__eq__(QQuaternion q2)''' 9493 return bool() 9494 def __div__(self, divisor): 9495 '''QQuaternion QQuaternion.__div__(float divisor)''' 9496 return QQuaternion() 9497 def __add__(self, q2): 9498 '''QQuaternion QQuaternion.__add__(QQuaternion q2)''' 9499 return QQuaternion() 9500 def __sub__(self, q2): 9501 '''QQuaternion QQuaternion.__sub__(QQuaternion q2)''' 9502 return QQuaternion() 9503 def __mul__(self, q2): 9504 '''QQuaternion QQuaternion.__mul__(QQuaternion q2)''' 9505 return QQuaternion() 9506 def __mul__(self, quaternion): 9507 '''QQuaternion QQuaternion.__mul__(QQuaternion quaternion)''' 9508 return QQuaternion() 9509 def __mul__(self, factor): 9510 '''QQuaternion QQuaternion.__mul__(float factor)''' 9511 return QQuaternion() 9512 def __mul__(self, vec): 9513 '''QVector3D QQuaternion.__mul__(QVector3D vec)''' 9514 return QVector3D() 9515 def __neg__(self): 9516 '''QQuaternion QQuaternion.__neg__()''' 9517 return QQuaternion() 9518 def __ne__(self, q2): 9519 '''bool QQuaternion.__ne__(QQuaternion q2)''' 9520 return bool() 9521 def toEulerAngles(self): 9522 '''QVector3D QQuaternion.toEulerAngles()''' 9523 return QVector3D() 9524 def conjugated(self): 9525 '''QQuaternion QQuaternion.conjugated()''' 9526 return QQuaternion() 9527 def inverted(self): 9528 '''QQuaternion QQuaternion.inverted()''' 9529 return QQuaternion() 9530 def dotProduct(self, q1, q2): 9531 '''static float QQuaternion.dotProduct(QQuaternion q1, QQuaternion q2)''' 9532 return float() 9533 def rotationTo(self, from_, to): 9534 '''static QQuaternion QQuaternion.rotationTo(QVector3D from, QVector3D to)''' 9535 return QQuaternion() 9536 def fromDirection(self, direction, up): 9537 '''static QQuaternion QQuaternion.fromDirection(QVector3D direction, QVector3D up)''' 9538 return QQuaternion() 9539 def fromAxes(self, xAxis, yAxis, zAxis): 9540 '''static QQuaternion QQuaternion.fromAxes(QVector3D xAxis, QVector3D yAxis, QVector3D zAxis)''' 9541 return QQuaternion() 9542 def getAxes(self, xAxis, yAxis, zAxis): 9543 '''void QQuaternion.getAxes(QVector3D xAxis, QVector3D yAxis, QVector3D zAxis)''' 9544 def fromRotationMatrix(self, rot3x3): 9545 '''static QQuaternion QQuaternion.fromRotationMatrix(QMatrix3x3 rot3x3)''' 9546 return QQuaternion() 9547 def toRotationMatrix(self): 9548 '''QMatrix3x3 QQuaternion.toRotationMatrix()''' 9549 return QMatrix3x3() 9550 def fromEulerAngles(self, pitch, yaw, roll): 9551 '''static QQuaternion QQuaternion.fromEulerAngles(float pitch, float yaw, float roll)''' 9552 return QQuaternion() 9553 def fromEulerAngles(self, eulerAngles): 9554 '''static QQuaternion QQuaternion.fromEulerAngles(QVector3D eulerAngles)''' 9555 return QQuaternion() 9556 def getEulerAngles(self, pitch, yaw, roll): 9557 '''void QQuaternion.getEulerAngles(float pitch, float yaw, float roll)''' 9558 def getAxisAndAngle(self, axis, angle): 9559 '''void QQuaternion.getAxisAndAngle(QVector3D axis, float angle)''' 9560 def toVector4D(self): 9561 '''QVector4D QQuaternion.toVector4D()''' 9562 return QVector4D() 9563 def vector(self): 9564 '''QVector3D QQuaternion.vector()''' 9565 return QVector3D() 9566 def setVector(self, aVector): 9567 '''void QQuaternion.setVector(QVector3D aVector)''' 9568 def setVector(self, aX, aY, aZ): 9569 '''void QQuaternion.setVector(float aX, float aY, float aZ)''' 9570 def __idiv__(self, divisor): 9571 '''QQuaternion QQuaternion.__idiv__(float divisor)''' 9572 return QQuaternion() 9573 def __imul__(self, factor): 9574 '''QQuaternion QQuaternion.__imul__(float factor)''' 9575 return QQuaternion() 9576 def __imul__(self, quaternion): 9577 '''QQuaternion QQuaternion.__imul__(QQuaternion quaternion)''' 9578 return QQuaternion() 9579 def __isub__(self, quaternion): 9580 '''QQuaternion QQuaternion.__isub__(QQuaternion quaternion)''' 9581 return QQuaternion() 9582 def __iadd__(self, quaternion): 9583 '''QQuaternion QQuaternion.__iadd__(QQuaternion quaternion)''' 9584 return QQuaternion() 9585 def conjugate(self): 9586 '''QQuaternion QQuaternion.conjugate()''' 9587 return QQuaternion() 9588 def setScalar(self, aScalar): 9589 '''void QQuaternion.setScalar(float aScalar)''' 9590 def setZ(self, aZ): 9591 '''void QQuaternion.setZ(float aZ)''' 9592 def setY(self, aY): 9593 '''void QQuaternion.setY(float aY)''' 9594 def setX(self, aX): 9595 '''void QQuaternion.setX(float aX)''' 9596 def scalar(self): 9597 '''float QQuaternion.scalar()''' 9598 return float() 9599 def z(self): 9600 '''float QQuaternion.z()''' 9601 return float() 9602 def y(self): 9603 '''float QQuaternion.y()''' 9604 return float() 9605 def x(self): 9606 '''float QQuaternion.x()''' 9607 return float() 9608 def isIdentity(self): 9609 '''bool QQuaternion.isIdentity()''' 9610 return bool() 9611 def isNull(self): 9612 '''bool QQuaternion.isNull()''' 9613 return bool() 9614 def nlerp(self, q1, q2, t): 9615 '''static QQuaternion QQuaternion.nlerp(QQuaternion q1, QQuaternion q2, float t)''' 9616 return QQuaternion() 9617 def slerp(self, q1, q2, t): 9618 '''static QQuaternion QQuaternion.slerp(QQuaternion q1, QQuaternion q2, float t)''' 9619 return QQuaternion() 9620 def fromAxisAndAngle(self, axis, angle): 9621 '''static QQuaternion QQuaternion.fromAxisAndAngle(QVector3D axis, float angle)''' 9622 return QQuaternion() 9623 def fromAxisAndAngle(self, x, y, z, angle): 9624 '''static QQuaternion QQuaternion.fromAxisAndAngle(float x, float y, float z, float angle)''' 9625 return QQuaternion() 9626 def rotatedVector(self, vector): 9627 '''QVector3D QQuaternion.rotatedVector(QVector3D vector)''' 9628 return QVector3D() 9629 def normalize(self): 9630 '''void QQuaternion.normalize()''' 9631 def normalized(self): 9632 '''QQuaternion QQuaternion.normalized()''' 9633 return QQuaternion() 9634 def lengthSquared(self): 9635 '''float QQuaternion.lengthSquared()''' 9636 return float() 9637 def length(self): 9638 '''float QQuaternion.length()''' 9639 return float() 9640 def __repr__(self): 9641 '''str QQuaternion.__repr__()''' 9642 return str() 9643 9644 9645 class QRasterWindow(QPaintDeviceWindow): 9646 """""" 9647 def __init__(self, parent = None): 9648 '''void QRasterWindow.__init__(QWindow parent = None)''' 9649 def metric(self, metric): 9650 '''int QRasterWindow.metric(QPaintDevice.PaintDeviceMetric metric)''' 9651 return int() 9652 9653 9654 class QRawFont(): 9655 """""" 9656 # Enum QRawFont.LayoutFlag 9657 SeparateAdvances = 0 9658 KernedAdvances = 0 9659 UseDesignMetrics = 0 9660 9661 # Enum QRawFont.AntialiasingType 9662 PixelAntialiasing = 0 9663 SubPixelAntialiasing = 0 9664 9665 def __init__(self): 9666 '''void QRawFont.__init__()''' 9667 def __init__(self, fileName, pixelSize, hintingPreference = None): 9668 '''void QRawFont.__init__(str fileName, float pixelSize, QFont.HintingPreference hintingPreference = QFont.PreferDefaultHinting)''' 9669 def __init__(self, fontData, pixelSize, hintingPreference = None): 9670 '''void QRawFont.__init__(QByteArray fontData, float pixelSize, QFont.HintingPreference hintingPreference = QFont.PreferDefaultHinting)''' 9671 def __init__(self, other): 9672 '''void QRawFont.__init__(QRawFont other)''' 9673 def swap(self, other): 9674 '''void QRawFont.swap(QRawFont other)''' 9675 def underlinePosition(self): 9676 '''float QRawFont.underlinePosition()''' 9677 return float() 9678 def lineThickness(self): 9679 '''float QRawFont.lineThickness()''' 9680 return float() 9681 def boundingRect(self, glyphIndex): 9682 '''QRectF QRawFont.boundingRect(int glyphIndex)''' 9683 return QRectF() 9684 def fromFont(self, font, writingSystem = None): 9685 '''static QRawFont QRawFont.fromFont(QFont font, QFontDatabase.WritingSystem writingSystem = QFontDatabase.Any)''' 9686 return QRawFont() 9687 def fontTable(self, tagName): 9688 '''QByteArray QRawFont.fontTable(str tagName)''' 9689 return QByteArray() 9690 def supportedWritingSystems(self): 9691 '''list-of-QFontDatabase.WritingSystem QRawFont.supportedWritingSystems()''' 9692 return [QFontDatabase.WritingSystem()] 9693 def supportsCharacter(self, ucs4): 9694 '''bool QRawFont.supportsCharacter(int ucs4)''' 9695 return bool() 9696 def supportsCharacter(self, character): 9697 '''bool QRawFont.supportsCharacter(str character)''' 9698 return bool() 9699 def loadFromData(self, fontData, pixelSize, hintingPreference): 9700 '''void QRawFont.loadFromData(QByteArray fontData, float pixelSize, QFont.HintingPreference hintingPreference)''' 9701 def loadFromFile(self, fileName, pixelSize, hintingPreference): 9702 '''void QRawFont.loadFromFile(str fileName, float pixelSize, QFont.HintingPreference hintingPreference)''' 9703 def unitsPerEm(self): 9704 '''float QRawFont.unitsPerEm()''' 9705 return float() 9706 def maxCharWidth(self): 9707 '''float QRawFont.maxCharWidth()''' 9708 return float() 9709 def averageCharWidth(self): 9710 '''float QRawFont.averageCharWidth()''' 9711 return float() 9712 def xHeight(self): 9713 '''float QRawFont.xHeight()''' 9714 return float() 9715 def leading(self): 9716 '''float QRawFont.leading()''' 9717 return float() 9718 def descent(self): 9719 '''float QRawFont.descent()''' 9720 return float() 9721 def ascent(self): 9722 '''float QRawFont.ascent()''' 9723 return float() 9724 def hintingPreference(self): 9725 '''QFont.HintingPreference QRawFont.hintingPreference()''' 9726 return QFont.HintingPreference() 9727 def pixelSize(self): 9728 '''float QRawFont.pixelSize()''' 9729 return float() 9730 def setPixelSize(self, pixelSize): 9731 '''void QRawFont.setPixelSize(float pixelSize)''' 9732 def pathForGlyph(self, glyphIndex): 9733 '''QPainterPath QRawFont.pathForGlyph(int glyphIndex)''' 9734 return QPainterPath() 9735 def alphaMapForGlyph(self, glyphIndex, antialiasingType = None, transform = QTransform()): 9736 '''QImage QRawFont.alphaMapForGlyph(int glyphIndex, QRawFont.AntialiasingType antialiasingType = QRawFont.SubPixelAntialiasing, QTransform transform = QTransform())''' 9737 return QImage() 9738 def advancesForGlyphIndexes(self, glyphIndexes): 9739 '''list-of-QPointF QRawFont.advancesForGlyphIndexes(list-of-int glyphIndexes)''' 9740 return [QPointF()] 9741 def advancesForGlyphIndexes(self, glyphIndexes, layoutFlags): 9742 '''list-of-QPointF QRawFont.advancesForGlyphIndexes(list-of-int glyphIndexes, QRawFont.LayoutFlags layoutFlags)''' 9743 return [QPointF()] 9744 def glyphIndexesForString(self, text): 9745 '''list-of-int QRawFont.glyphIndexesForString(str text)''' 9746 return [int()] 9747 def weight(self): 9748 '''int QRawFont.weight()''' 9749 return int() 9750 def style(self): 9751 '''QFont.Style QRawFont.style()''' 9752 return QFont.Style() 9753 def styleName(self): 9754 '''str QRawFont.styleName()''' 9755 return str() 9756 def familyName(self): 9757 '''str QRawFont.familyName()''' 9758 return str() 9759 def __ne__(self, other): 9760 '''bool QRawFont.__ne__(QRawFont other)''' 9761 return bool() 9762 def __eq__(self, other): 9763 '''bool QRawFont.__eq__(QRawFont other)''' 9764 return bool() 9765 def isValid(self): 9766 '''bool QRawFont.isValid()''' 9767 return bool() 9768 class LayoutFlags(): 9769 """""" 9770 def __init__(self): 9771 '''QRawFont.LayoutFlags QRawFont.LayoutFlags.__init__()''' 9772 return QRawFont.LayoutFlags() 9773 def __init__(self): 9774 '''int QRawFont.LayoutFlags.__init__()''' 9775 return int() 9776 def __init__(self): 9777 '''void QRawFont.LayoutFlags.__init__()''' 9778 def __bool__(self): 9779 '''int QRawFont.LayoutFlags.__bool__()''' 9780 return int() 9781 def __ne__(self, f): 9782 '''bool QRawFont.LayoutFlags.__ne__(QRawFont.LayoutFlags f)''' 9783 return bool() 9784 def __eq__(self, f): 9785 '''bool QRawFont.LayoutFlags.__eq__(QRawFont.LayoutFlags f)''' 9786 return bool() 9787 def __invert__(self): 9788 '''QRawFont.LayoutFlags QRawFont.LayoutFlags.__invert__()''' 9789 return QRawFont.LayoutFlags() 9790 def __and__(self, mask): 9791 '''QRawFont.LayoutFlags QRawFont.LayoutFlags.__and__(int mask)''' 9792 return QRawFont.LayoutFlags() 9793 def __xor__(self, f): 9794 '''QRawFont.LayoutFlags QRawFont.LayoutFlags.__xor__(QRawFont.LayoutFlags f)''' 9795 return QRawFont.LayoutFlags() 9796 def __xor__(self, f): 9797 '''QRawFont.LayoutFlags QRawFont.LayoutFlags.__xor__(int f)''' 9798 return QRawFont.LayoutFlags() 9799 def __or__(self, f): 9800 '''QRawFont.LayoutFlags QRawFont.LayoutFlags.__or__(QRawFont.LayoutFlags f)''' 9801 return QRawFont.LayoutFlags() 9802 def __or__(self, f): 9803 '''QRawFont.LayoutFlags QRawFont.LayoutFlags.__or__(int f)''' 9804 return QRawFont.LayoutFlags() 9805 def __int__(self): 9806 '''int QRawFont.LayoutFlags.__int__()''' 9807 return int() 9808 def __ixor__(self, f): 9809 '''QRawFont.LayoutFlags QRawFont.LayoutFlags.__ixor__(QRawFont.LayoutFlags f)''' 9810 return QRawFont.LayoutFlags() 9811 def __ior__(self, f): 9812 '''QRawFont.LayoutFlags QRawFont.LayoutFlags.__ior__(QRawFont.LayoutFlags f)''' 9813 return QRawFont.LayoutFlags() 9814 def __iand__(self, mask): 9815 '''QRawFont.LayoutFlags QRawFont.LayoutFlags.__iand__(int mask)''' 9816 return QRawFont.LayoutFlags() 9817 9818 9819 class QRegion(): 9820 """""" 9821 # Enum QRegion.RegionType 9822 Rectangle = 0 9823 Ellipse = 0 9824 9825 def __init__(self): 9826 '''void QRegion.__init__()''' 9827 def __init__(self, x, y, w, h, type = None): 9828 '''void QRegion.__init__(int x, int y, int w, int h, QRegion.RegionType type = QRegion.Rectangle)''' 9829 def __init__(self, r, type = None): 9830 '''void QRegion.__init__(QRect r, QRegion.RegionType type = QRegion.Rectangle)''' 9831 def __init__(self, a, fillRule = None): 9832 '''void QRegion.__init__(QPolygon a, Qt.FillRule fillRule = Qt.OddEvenFill)''' 9833 def __init__(self, bitmap): 9834 '''void QRegion.__init__(QBitmap bitmap)''' 9835 def __init__(self, region): 9836 '''void QRegion.__init__(QRegion region)''' 9837 def __init__(self, variant): 9838 '''void QRegion.__init__(QVariant variant)''' 9839 def __mul__(self, m): 9840 '''QRegion QRegion.__mul__(QTransform m)''' 9841 return QRegion() 9842 def isNull(self): 9843 '''bool QRegion.isNull()''' 9844 return bool() 9845 def swap(self, other): 9846 '''void QRegion.swap(QRegion other)''' 9847 def rectCount(self): 9848 '''int QRegion.rectCount()''' 9849 return int() 9850 def intersects(self, r): 9851 '''bool QRegion.intersects(QRegion r)''' 9852 return bool() 9853 def intersects(self, r): 9854 '''bool QRegion.intersects(QRect r)''' 9855 return bool() 9856 def xored(self, r): 9857 '''QRegion QRegion.xored(QRegion r)''' 9858 return QRegion() 9859 def subtracted(self, r): 9860 '''QRegion QRegion.subtracted(QRegion r)''' 9861 return QRegion() 9862 def intersected(self, r): 9863 '''QRegion QRegion.intersected(QRegion r)''' 9864 return QRegion() 9865 def intersected(self, r): 9866 '''QRegion QRegion.intersected(QRect r)''' 9867 return QRegion() 9868 def __ne__(self, r): 9869 '''bool QRegion.__ne__(QRegion r)''' 9870 return bool() 9871 def __eq__(self, r): 9872 '''bool QRegion.__eq__(QRegion r)''' 9873 return bool() 9874 def __ixor__(self, r): 9875 '''QRegion QRegion.__ixor__(QRegion r)''' 9876 return QRegion() 9877 def __isub__(self, r): 9878 '''QRegion QRegion.__isub__(QRegion r)''' 9879 return QRegion() 9880 def __iand__(self, r): 9881 '''QRegion QRegion.__iand__(QRegion r)''' 9882 return QRegion() 9883 def __iand__(self, r): 9884 '''QRegion QRegion.__iand__(QRect r)''' 9885 return QRegion() 9886 def __iadd__(self, r): 9887 '''QRegion QRegion.__iadd__(QRegion r)''' 9888 return QRegion() 9889 def __iadd__(self, r): 9890 '''QRegion QRegion.__iadd__(QRect r)''' 9891 return QRegion() 9892 def __ior__(self, r): 9893 '''QRegion QRegion.__ior__(QRegion r)''' 9894 return QRegion() 9895 def __xor__(self, r): 9896 '''QRegion QRegion.__xor__(QRegion r)''' 9897 return QRegion() 9898 def __sub__(self, r): 9899 '''QRegion QRegion.__sub__(QRegion r)''' 9900 return QRegion() 9901 def __and__(self, r): 9902 '''QRegion QRegion.__and__(QRegion r)''' 9903 return QRegion() 9904 def __and__(self, r): 9905 '''QRegion QRegion.__and__(QRect r)''' 9906 return QRegion() 9907 def __add__(self, r): 9908 '''QRegion QRegion.__add__(QRegion r)''' 9909 return QRegion() 9910 def __add__(self, r): 9911 '''QRegion QRegion.__add__(QRect r)''' 9912 return QRegion() 9913 def __or__(self, r): 9914 '''QRegion QRegion.__or__(QRegion r)''' 9915 return QRegion() 9916 def rects(self): 9917 '''list-of-QRect QRegion.rects()''' 9918 return [QRect()] 9919 def boundingRect(self): 9920 '''QRect QRegion.boundingRect()''' 9921 return QRect() 9922 def united(self, r): 9923 '''QRegion QRegion.united(QRegion r)''' 9924 return QRegion() 9925 def united(self, r): 9926 '''QRegion QRegion.united(QRect r)''' 9927 return QRegion() 9928 def translated(self, dx, dy): 9929 '''QRegion QRegion.translated(int dx, int dy)''' 9930 return QRegion() 9931 def translated(self, p): 9932 '''QRegion QRegion.translated(QPoint p)''' 9933 return QRegion() 9934 def translate(self, dx, dy): 9935 '''void QRegion.translate(int dx, int dy)''' 9936 def translate(self, p): 9937 '''void QRegion.translate(QPoint p)''' 9938 def __contains__(self, p): 9939 '''int QRegion.__contains__(QPoint p)''' 9940 return int() 9941 def __contains__(self, r): 9942 '''int QRegion.__contains__(QRect r)''' 9943 return int() 9944 def contains(self, p): 9945 '''bool QRegion.contains(QPoint p)''' 9946 return bool() 9947 def contains(self, r): 9948 '''bool QRegion.contains(QRect r)''' 9949 return bool() 9950 def __bool__(self): 9951 '''int QRegion.__bool__()''' 9952 return int() 9953 def isEmpty(self): 9954 '''bool QRegion.isEmpty()''' 9955 return bool() 9956 9957 9958 class QScreen(QObject): 9959 """""" 9960 availableGeometryChanged = pyqtSignal() # void availableGeometryChanged(const QRectamp;) - signal 9961 virtualGeometryChanged = pyqtSignal() # void virtualGeometryChanged(const QRectamp;) - signal 9962 physicalSizeChanged = pyqtSignal() # void physicalSizeChanged(const QSizeFamp;) - signal 9963 refreshRateChanged = pyqtSignal() # void refreshRateChanged(qreal) - signal 9964 orientationChanged = pyqtSignal() # void orientationChanged(Qt::ScreenOrientation) - signal 9965 primaryOrientationChanged = pyqtSignal() # void primaryOrientationChanged(Qt::ScreenOrientation) - signal 9966 logicalDotsPerInchChanged = pyqtSignal() # void logicalDotsPerInchChanged(qreal) - signal 9967 physicalDotsPerInchChanged = pyqtSignal() # void physicalDotsPerInchChanged(qreal) - signal 9968 geometryChanged = pyqtSignal() # void geometryChanged(const QRectamp;) - signal 9969 def devicePixelRatio(self): 9970 '''float QScreen.devicePixelRatio()''' 9971 return float() 9972 def refreshRate(self): 9973 '''float QScreen.refreshRate()''' 9974 return float() 9975 def grabWindow(self, window, x = 0, y = 0, width = None, height = None): 9976 '''QPixmap QScreen.grabWindow(sip.voidptr window, int x = 0, int y = 0, int width = -1, int height = -1)''' 9977 return QPixmap() 9978 def isLandscape(self, orientation): 9979 '''bool QScreen.isLandscape(Qt.ScreenOrientation orientation)''' 9980 return bool() 9981 def isPortrait(self, orientation): 9982 '''bool QScreen.isPortrait(Qt.ScreenOrientation orientation)''' 9983 return bool() 9984 def mapBetween(self, a, b, rect): 9985 '''QRect QScreen.mapBetween(Qt.ScreenOrientation a, Qt.ScreenOrientation b, QRect rect)''' 9986 return QRect() 9987 def transformBetween(self, a, b, target): 9988 '''QTransform QScreen.transformBetween(Qt.ScreenOrientation a, Qt.ScreenOrientation b, QRect target)''' 9989 return QTransform() 9990 def angleBetween(self, a, b): 9991 '''int QScreen.angleBetween(Qt.ScreenOrientation a, Qt.ScreenOrientation b)''' 9992 return int() 9993 def setOrientationUpdateMask(self, mask): 9994 '''void QScreen.setOrientationUpdateMask(Qt.ScreenOrientations mask)''' 9995 def orientationUpdateMask(self): 9996 '''Qt.ScreenOrientations QScreen.orientationUpdateMask()''' 9997 return Qt.ScreenOrientations() 9998 def orientation(self): 9999 '''Qt.ScreenOrientation QScreen.orientation()''' 10000 return Qt.ScreenOrientation() 10001 def primaryOrientation(self): 10002 '''Qt.ScreenOrientation QScreen.primaryOrientation()''' 10003 return Qt.ScreenOrientation() 10004 def nativeOrientation(self): 10005 '''Qt.ScreenOrientation QScreen.nativeOrientation()''' 10006 return Qt.ScreenOrientation() 10007 def availableVirtualGeometry(self): 10008 '''QRect QScreen.availableVirtualGeometry()''' 10009 return QRect() 10010 def availableVirtualSize(self): 10011 '''QSize QScreen.availableVirtualSize()''' 10012 return QSize() 10013 def virtualGeometry(self): 10014 '''QRect QScreen.virtualGeometry()''' 10015 return QRect() 10016 def virtualSize(self): 10017 '''QSize QScreen.virtualSize()''' 10018 return QSize() 10019 def virtualSiblings(self): 10020 '''list-of-QScreen QScreen.virtualSiblings()''' 10021 return [QScreen()] 10022 def availableGeometry(self): 10023 '''QRect QScreen.availableGeometry()''' 10024 return QRect() 10025 def availableSize(self): 10026 '''QSize QScreen.availableSize()''' 10027 return QSize() 10028 def logicalDotsPerInch(self): 10029 '''float QScreen.logicalDotsPerInch()''' 10030 return float() 10031 def logicalDotsPerInchY(self): 10032 '''float QScreen.logicalDotsPerInchY()''' 10033 return float() 10034 def logicalDotsPerInchX(self): 10035 '''float QScreen.logicalDotsPerInchX()''' 10036 return float() 10037 def physicalDotsPerInch(self): 10038 '''float QScreen.physicalDotsPerInch()''' 10039 return float() 10040 def physicalDotsPerInchY(self): 10041 '''float QScreen.physicalDotsPerInchY()''' 10042 return float() 10043 def physicalDotsPerInchX(self): 10044 '''float QScreen.physicalDotsPerInchX()''' 10045 return float() 10046 def physicalSize(self): 10047 '''QSizeF QScreen.physicalSize()''' 10048 return QSizeF() 10049 def geometry(self): 10050 '''QRect QScreen.geometry()''' 10051 return QRect() 10052 def size(self): 10053 '''QSize QScreen.size()''' 10054 return QSize() 10055 def depth(self): 10056 '''int QScreen.depth()''' 10057 return int() 10058 def name(self): 10059 '''str QScreen.name()''' 10060 return str() 10061 10062 10063 class QSessionManager(QObject): 10064 """""" 10065 # Enum QSessionManager.RestartHint 10066 RestartIfRunning = 0 10067 RestartAnyway = 0 10068 RestartImmediately = 0 10069 RestartNever = 0 10070 10071 def requestPhase2(self): 10072 '''void QSessionManager.requestPhase2()''' 10073 def isPhase2(self): 10074 '''bool QSessionManager.isPhase2()''' 10075 return bool() 10076 def setManagerProperty(self, name, value): 10077 '''void QSessionManager.setManagerProperty(str name, str value)''' 10078 def setManagerProperty(self, name, value): 10079 '''void QSessionManager.setManagerProperty(str name, list-of-str value)''' 10080 def discardCommand(self): 10081 '''list-of-str QSessionManager.discardCommand()''' 10082 return [str()] 10083 def setDiscardCommand(self): 10084 '''list-of-str QSessionManager.setDiscardCommand()''' 10085 return [str()] 10086 def restartCommand(self): 10087 '''list-of-str QSessionManager.restartCommand()''' 10088 return [str()] 10089 def setRestartCommand(self): 10090 '''list-of-str QSessionManager.setRestartCommand()''' 10091 return [str()] 10092 def restartHint(self): 10093 '''QSessionManager.RestartHint QSessionManager.restartHint()''' 10094 return QSessionManager.RestartHint() 10095 def setRestartHint(self): 10096 '''QSessionManager.RestartHint QSessionManager.setRestartHint()''' 10097 return QSessionManager.RestartHint() 10098 def cancel(self): 10099 '''void QSessionManager.cancel()''' 10100 def release(self): 10101 '''void QSessionManager.release()''' 10102 def allowsErrorInteraction(self): 10103 '''bool QSessionManager.allowsErrorInteraction()''' 10104 return bool() 10105 def allowsInteraction(self): 10106 '''bool QSessionManager.allowsInteraction()''' 10107 return bool() 10108 def sessionKey(self): 10109 '''str QSessionManager.sessionKey()''' 10110 return str() 10111 def sessionId(self): 10112 '''str QSessionManager.sessionId()''' 10113 return str() 10114 10115 10116 class QStandardItemModel(QAbstractItemModel): 10117 """""" 10118 def __init__(self, parent = None): 10119 '''void QStandardItemModel.__init__(QObject parent = None)''' 10120 def __init__(self, rows, columns, parent = None): 10121 '''void QStandardItemModel.__init__(int rows, int columns, QObject parent = None)''' 10122 itemChanged = pyqtSignal() # void itemChanged(QStandardItem*) - signal 10123 def sibling(self, row, column, idx): 10124 '''QModelIndex QStandardItemModel.sibling(int row, int column, QModelIndex idx)''' 10125 return QModelIndex() 10126 def dropMimeData(self, data, action, row, column, parent): 10127 '''bool QStandardItemModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 10128 return bool() 10129 def mimeData(self, indexes): 10130 '''QMimeData QStandardItemModel.mimeData(list-of-QModelIndex indexes)''' 10131 return QMimeData() 10132 def mimeTypes(self): 10133 '''list-of-str QStandardItemModel.mimeTypes()''' 10134 return [str()] 10135 def setSortRole(self, role): 10136 '''void QStandardItemModel.setSortRole(int role)''' 10137 def sortRole(self): 10138 '''int QStandardItemModel.sortRole()''' 10139 return int() 10140 def findItems(self, text, flags = None, column = 0): 10141 '''list-of-QStandardItem QStandardItemModel.findItems(str text, Qt.MatchFlags flags = Qt.MatchExactly, int column = 0)''' 10142 return [QStandardItem()] 10143 def setItemPrototype(self, item): 10144 '''void QStandardItemModel.setItemPrototype(QStandardItem item)''' 10145 def itemPrototype(self): 10146 '''QStandardItem QStandardItemModel.itemPrototype()''' 10147 return QStandardItem() 10148 def takeVerticalHeaderItem(self, row): 10149 '''QStandardItem QStandardItemModel.takeVerticalHeaderItem(int row)''' 10150 return QStandardItem() 10151 def takeHorizontalHeaderItem(self, column): 10152 '''QStandardItem QStandardItemModel.takeHorizontalHeaderItem(int column)''' 10153 return QStandardItem() 10154 def takeColumn(self, column): 10155 '''list-of-QStandardItem QStandardItemModel.takeColumn(int column)''' 10156 return [QStandardItem()] 10157 def takeRow(self, row): 10158 '''list-of-QStandardItem QStandardItemModel.takeRow(int row)''' 10159 return [QStandardItem()] 10160 def takeItem(self, row, column = 0): 10161 '''QStandardItem QStandardItemModel.takeItem(int row, int column = 0)''' 10162 return QStandardItem() 10163 def insertColumn(self, column, items): 10164 '''void QStandardItemModel.insertColumn(int column, list-of-QStandardItem items)''' 10165 def insertColumn(self, column, parent = QModelIndex()): 10166 '''bool QStandardItemModel.insertColumn(int column, QModelIndex parent = QModelIndex())''' 10167 return bool() 10168 def insertRow(self, row, items): 10169 '''void QStandardItemModel.insertRow(int row, list-of-QStandardItem items)''' 10170 def insertRow(self, arow, aitem): 10171 '''void QStandardItemModel.insertRow(int arow, QStandardItem aitem)''' 10172 def insertRow(self, row, parent = QModelIndex()): 10173 '''bool QStandardItemModel.insertRow(int row, QModelIndex parent = QModelIndex())''' 10174 return bool() 10175 def appendColumn(self, items): 10176 '''void QStandardItemModel.appendColumn(list-of-QStandardItem items)''' 10177 def appendRow(self, items): 10178 '''void QStandardItemModel.appendRow(list-of-QStandardItem items)''' 10179 def appendRow(self, aitem): 10180 '''void QStandardItemModel.appendRow(QStandardItem aitem)''' 10181 def setColumnCount(self, columns): 10182 '''void QStandardItemModel.setColumnCount(int columns)''' 10183 def setRowCount(self, rows): 10184 '''void QStandardItemModel.setRowCount(int rows)''' 10185 def setVerticalHeaderLabels(self, labels): 10186 '''void QStandardItemModel.setVerticalHeaderLabels(list-of-str labels)''' 10187 def setHorizontalHeaderLabels(self, labels): 10188 '''void QStandardItemModel.setHorizontalHeaderLabels(list-of-str labels)''' 10189 def setVerticalHeaderItem(self, row, item): 10190 '''void QStandardItemModel.setVerticalHeaderItem(int row, QStandardItem item)''' 10191 def verticalHeaderItem(self, row): 10192 '''QStandardItem QStandardItemModel.verticalHeaderItem(int row)''' 10193 return QStandardItem() 10194 def setHorizontalHeaderItem(self, column, item): 10195 '''void QStandardItemModel.setHorizontalHeaderItem(int column, QStandardItem item)''' 10196 def horizontalHeaderItem(self, column): 10197 '''QStandardItem QStandardItemModel.horizontalHeaderItem(int column)''' 10198 return QStandardItem() 10199 def invisibleRootItem(self): 10200 '''QStandardItem QStandardItemModel.invisibleRootItem()''' 10201 return QStandardItem() 10202 def setItem(self, row, column, item): 10203 '''void QStandardItemModel.setItem(int row, int column, QStandardItem item)''' 10204 def setItem(self, arow, aitem): 10205 '''void QStandardItemModel.setItem(int arow, QStandardItem aitem)''' 10206 def item(self, row, column = 0): 10207 '''QStandardItem QStandardItemModel.item(int row, int column = 0)''' 10208 return QStandardItem() 10209 def indexFromItem(self, item): 10210 '''QModelIndex QStandardItemModel.indexFromItem(QStandardItem item)''' 10211 return QModelIndex() 10212 def itemFromIndex(self, index): 10213 '''QStandardItem QStandardItemModel.itemFromIndex(QModelIndex index)''' 10214 return QStandardItem() 10215 def sort(self, column, order = None): 10216 '''void QStandardItemModel.sort(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 10217 def setItemData(self, index, roles): 10218 '''bool QStandardItemModel.setItemData(QModelIndex index, dict-of-int-QVariant roles)''' 10219 return bool() 10220 def itemData(self, index): 10221 '''dict-of-int-QVariant QStandardItemModel.itemData(QModelIndex index)''' 10222 return {int():QVariant()} 10223 def supportedDropActions(self): 10224 '''Qt.DropActions QStandardItemModel.supportedDropActions()''' 10225 return Qt.DropActions() 10226 def clear(self): 10227 '''void QStandardItemModel.clear()''' 10228 def flags(self, index): 10229 '''Qt.ItemFlags QStandardItemModel.flags(QModelIndex index)''' 10230 return Qt.ItemFlags() 10231 def removeColumns(self, column, count, parent = QModelIndex()): 10232 '''bool QStandardItemModel.removeColumns(int column, int count, QModelIndex parent = QModelIndex())''' 10233 return bool() 10234 def removeRows(self, row, count, parent = QModelIndex()): 10235 '''bool QStandardItemModel.removeRows(int row, int count, QModelIndex parent = QModelIndex())''' 10236 return bool() 10237 def insertColumns(self, column, count, parent = QModelIndex()): 10238 '''bool QStandardItemModel.insertColumns(int column, int count, QModelIndex parent = QModelIndex())''' 10239 return bool() 10240 def insertRows(self, row, count, parent = QModelIndex()): 10241 '''bool QStandardItemModel.insertRows(int row, int count, QModelIndex parent = QModelIndex())''' 10242 return bool() 10243 def setHeaderData(self, section, orientation, value, role = None): 10244 '''bool QStandardItemModel.setHeaderData(int section, Qt.Orientation orientation, QVariant value, int role = Qt.EditRole)''' 10245 return bool() 10246 def headerData(self, section, orientation, role = None): 10247 '''QVariant QStandardItemModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 10248 return QVariant() 10249 def setData(self, index, value, role = None): 10250 '''bool QStandardItemModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 10251 return bool() 10252 def data(self, index, role = None): 10253 '''QVariant QStandardItemModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 10254 return QVariant() 10255 def hasChildren(self, parent = QModelIndex()): 10256 '''bool QStandardItemModel.hasChildren(QModelIndex parent = QModelIndex())''' 10257 return bool() 10258 def columnCount(self, parent = QModelIndex()): 10259 '''int QStandardItemModel.columnCount(QModelIndex parent = QModelIndex())''' 10260 return int() 10261 def rowCount(self, parent = QModelIndex()): 10262 '''int QStandardItemModel.rowCount(QModelIndex parent = QModelIndex())''' 10263 return int() 10264 def parent(self, child): 10265 '''QModelIndex QStandardItemModel.parent(QModelIndex child)''' 10266 return QModelIndex() 10267 def parent(self): 10268 '''QObject QStandardItemModel.parent()''' 10269 return QObject() 10270 def index(self, row, column, parent = QModelIndex()): 10271 '''QModelIndex QStandardItemModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 10272 return QModelIndex() 10273 10274 10275 class QStandardItem(): 10276 """""" 10277 # Enum QStandardItem.ItemType 10278 Type = 0 10279 UserType = 0 10280 10281 def __init__(self): 10282 '''void QStandardItem.__init__()''' 10283 def __init__(self, text): 10284 '''void QStandardItem.__init__(str text)''' 10285 def __init__(self, icon, text): 10286 '''void QStandardItem.__init__(QIcon icon, str text)''' 10287 def __init__(self, rows, columns = 1): 10288 '''void QStandardItem.__init__(int rows, int columns = 1)''' 10289 def __init__(self, other): 10290 '''void QStandardItem.__init__(QStandardItem other)''' 10291 def __ge__(self, other): 10292 '''bool QStandardItem.__ge__(QStandardItem other)''' 10293 return bool() 10294 def emitDataChanged(self): 10295 '''void QStandardItem.emitDataChanged()''' 10296 def appendRows(self, aitems): 10297 '''void QStandardItem.appendRows(list-of-QStandardItem aitems)''' 10298 def appendColumn(self, aitems): 10299 '''void QStandardItem.appendColumn(list-of-QStandardItem aitems)''' 10300 def appendRow(self, aitems): 10301 '''void QStandardItem.appendRow(list-of-QStandardItem aitems)''' 10302 def appendRow(self, aitem): 10303 '''void QStandardItem.appendRow(QStandardItem aitem)''' 10304 def setAccessibleDescription(self, aaccessibleDescription): 10305 '''void QStandardItem.setAccessibleDescription(str aaccessibleDescription)''' 10306 def setAccessibleText(self, aaccessibleText): 10307 '''void QStandardItem.setAccessibleText(str aaccessibleText)''' 10308 def setCheckState(self, acheckState): 10309 '''void QStandardItem.setCheckState(Qt.CheckState acheckState)''' 10310 def setForeground(self, abrush): 10311 '''void QStandardItem.setForeground(QBrush abrush)''' 10312 def setBackground(self, abrush): 10313 '''void QStandardItem.setBackground(QBrush abrush)''' 10314 def setTextAlignment(self, atextAlignment): 10315 '''void QStandardItem.setTextAlignment(Qt.Alignment atextAlignment)''' 10316 def setFont(self, afont): 10317 '''void QStandardItem.setFont(QFont afont)''' 10318 def setSizeHint(self, asizeHint): 10319 '''void QStandardItem.setSizeHint(QSize asizeHint)''' 10320 def setWhatsThis(self, awhatsThis): 10321 '''void QStandardItem.setWhatsThis(str awhatsThis)''' 10322 def setStatusTip(self, astatusTip): 10323 '''void QStandardItem.setStatusTip(str astatusTip)''' 10324 def setToolTip(self, atoolTip): 10325 '''void QStandardItem.setToolTip(str atoolTip)''' 10326 def setIcon(self, aicon): 10327 '''void QStandardItem.setIcon(QIcon aicon)''' 10328 def setText(self, atext): 10329 '''void QStandardItem.setText(str atext)''' 10330 def __lt__(self, other): 10331 '''bool QStandardItem.__lt__(QStandardItem other)''' 10332 return bool() 10333 def write(self, out): 10334 '''void QStandardItem.write(QDataStream out)''' 10335 def read(self, in_): 10336 '''void QStandardItem.read(QDataStream in)''' 10337 def type(self): 10338 '''int QStandardItem.type()''' 10339 return int() 10340 def clone(self): 10341 '''QStandardItem QStandardItem.clone()''' 10342 return QStandardItem() 10343 def sortChildren(self, column, order = None): 10344 '''void QStandardItem.sortChildren(int column, Qt.SortOrder order = Qt.AscendingOrder)''' 10345 def takeColumn(self, column): 10346 '''list-of-QStandardItem QStandardItem.takeColumn(int column)''' 10347 return [QStandardItem()] 10348 def takeRow(self, row): 10349 '''list-of-QStandardItem QStandardItem.takeRow(int row)''' 10350 return [QStandardItem()] 10351 def takeChild(self, row, column = 0): 10352 '''QStandardItem QStandardItem.takeChild(int row, int column = 0)''' 10353 return QStandardItem() 10354 def removeColumns(self, column, count): 10355 '''void QStandardItem.removeColumns(int column, int count)''' 10356 def removeRows(self, row, count): 10357 '''void QStandardItem.removeRows(int row, int count)''' 10358 def removeColumn(self, column): 10359 '''void QStandardItem.removeColumn(int column)''' 10360 def removeRow(self, row): 10361 '''void QStandardItem.removeRow(int row)''' 10362 def insertColumns(self, column, count): 10363 '''void QStandardItem.insertColumns(int column, int count)''' 10364 def insertColumn(self, column, items): 10365 '''void QStandardItem.insertColumn(int column, list-of-QStandardItem items)''' 10366 def insertRows(self, row, count): 10367 '''void QStandardItem.insertRows(int row, int count)''' 10368 def insertRows(self, row, items): 10369 '''void QStandardItem.insertRows(int row, list-of-QStandardItem items)''' 10370 def insertRow(self, row, items): 10371 '''void QStandardItem.insertRow(int row, list-of-QStandardItem items)''' 10372 def insertRow(self, arow, aitem): 10373 '''void QStandardItem.insertRow(int arow, QStandardItem aitem)''' 10374 def setChild(self, row, column, item): 10375 '''void QStandardItem.setChild(int row, int column, QStandardItem item)''' 10376 def setChild(self, arow, aitem): 10377 '''void QStandardItem.setChild(int arow, QStandardItem aitem)''' 10378 def child(self, row, column = 0): 10379 '''QStandardItem QStandardItem.child(int row, int column = 0)''' 10380 return QStandardItem() 10381 def hasChildren(self): 10382 '''bool QStandardItem.hasChildren()''' 10383 return bool() 10384 def setColumnCount(self, columns): 10385 '''void QStandardItem.setColumnCount(int columns)''' 10386 def columnCount(self): 10387 '''int QStandardItem.columnCount()''' 10388 return int() 10389 def setRowCount(self, rows): 10390 '''void QStandardItem.setRowCount(int rows)''' 10391 def rowCount(self): 10392 '''int QStandardItem.rowCount()''' 10393 return int() 10394 def model(self): 10395 '''QStandardItemModel QStandardItem.model()''' 10396 return QStandardItemModel() 10397 def index(self): 10398 '''QModelIndex QStandardItem.index()''' 10399 return QModelIndex() 10400 def column(self): 10401 '''int QStandardItem.column()''' 10402 return int() 10403 def row(self): 10404 '''int QStandardItem.row()''' 10405 return int() 10406 def parent(self): 10407 '''QStandardItem QStandardItem.parent()''' 10408 return QStandardItem() 10409 def setDropEnabled(self, dropEnabled): 10410 '''void QStandardItem.setDropEnabled(bool dropEnabled)''' 10411 def isDropEnabled(self): 10412 '''bool QStandardItem.isDropEnabled()''' 10413 return bool() 10414 def setDragEnabled(self, dragEnabled): 10415 '''void QStandardItem.setDragEnabled(bool dragEnabled)''' 10416 def isDragEnabled(self): 10417 '''bool QStandardItem.isDragEnabled()''' 10418 return bool() 10419 def setTristate(self, tristate): 10420 '''void QStandardItem.setTristate(bool tristate)''' 10421 def isTristate(self): 10422 '''bool QStandardItem.isTristate()''' 10423 return bool() 10424 def setCheckable(self, checkable): 10425 '''void QStandardItem.setCheckable(bool checkable)''' 10426 def isCheckable(self): 10427 '''bool QStandardItem.isCheckable()''' 10428 return bool() 10429 def setSelectable(self, selectable): 10430 '''void QStandardItem.setSelectable(bool selectable)''' 10431 def isSelectable(self): 10432 '''bool QStandardItem.isSelectable()''' 10433 return bool() 10434 def setEditable(self, editable): 10435 '''void QStandardItem.setEditable(bool editable)''' 10436 def isEditable(self): 10437 '''bool QStandardItem.isEditable()''' 10438 return bool() 10439 def setEnabled(self, enabled): 10440 '''void QStandardItem.setEnabled(bool enabled)''' 10441 def isEnabled(self): 10442 '''bool QStandardItem.isEnabled()''' 10443 return bool() 10444 def setFlags(self, flags): 10445 '''void QStandardItem.setFlags(Qt.ItemFlags flags)''' 10446 def flags(self): 10447 '''Qt.ItemFlags QStandardItem.flags()''' 10448 return Qt.ItemFlags() 10449 def accessibleDescription(self): 10450 '''str QStandardItem.accessibleDescription()''' 10451 return str() 10452 def accessibleText(self): 10453 '''str QStandardItem.accessibleText()''' 10454 return str() 10455 def checkState(self): 10456 '''Qt.CheckState QStandardItem.checkState()''' 10457 return Qt.CheckState() 10458 def foreground(self): 10459 '''QBrush QStandardItem.foreground()''' 10460 return QBrush() 10461 def background(self): 10462 '''QBrush QStandardItem.background()''' 10463 return QBrush() 10464 def textAlignment(self): 10465 '''Qt.Alignment QStandardItem.textAlignment()''' 10466 return Qt.Alignment() 10467 def font(self): 10468 '''QFont QStandardItem.font()''' 10469 return QFont() 10470 def sizeHint(self): 10471 '''QSize QStandardItem.sizeHint()''' 10472 return QSize() 10473 def whatsThis(self): 10474 '''str QStandardItem.whatsThis()''' 10475 return str() 10476 def statusTip(self): 10477 '''str QStandardItem.statusTip()''' 10478 return str() 10479 def toolTip(self): 10480 '''str QStandardItem.toolTip()''' 10481 return str() 10482 def icon(self): 10483 '''QIcon QStandardItem.icon()''' 10484 return QIcon() 10485 def text(self): 10486 '''str QStandardItem.text()''' 10487 return str() 10488 def setData(self, value, role = None): 10489 '''void QStandardItem.setData(QVariant value, int role = Qt.UserRole+1)''' 10490 def data(self, role = None): 10491 '''QVariant QStandardItem.data(int role = Qt.UserRole+1)''' 10492 return QVariant() 10493 10494 10495 class QStaticText(): 10496 """""" 10497 # Enum QStaticText.PerformanceHint 10498 ModerateCaching = 0 10499 AggressiveCaching = 0 10500 10501 def __init__(self): 10502 '''void QStaticText.__init__()''' 10503 def __init__(self, text): 10504 '''void QStaticText.__init__(str text)''' 10505 def __init__(self, other): 10506 '''void QStaticText.__init__(QStaticText other)''' 10507 def swap(self, other): 10508 '''void QStaticText.swap(QStaticText other)''' 10509 def __ne__(self): 10510 '''QStaticText QStaticText.__ne__()''' 10511 return QStaticText() 10512 def __eq__(self): 10513 '''QStaticText QStaticText.__eq__()''' 10514 return QStaticText() 10515 def performanceHint(self): 10516 '''QStaticText.PerformanceHint QStaticText.performanceHint()''' 10517 return QStaticText.PerformanceHint() 10518 def setPerformanceHint(self, performanceHint): 10519 '''void QStaticText.setPerformanceHint(QStaticText.PerformanceHint performanceHint)''' 10520 def prepare(self, matrix = QTransform(), font = QFont()): 10521 '''void QStaticText.prepare(QTransform matrix = QTransform(), QFont font = QFont())''' 10522 def size(self): 10523 '''QSizeF QStaticText.size()''' 10524 return QSizeF() 10525 def textOption(self): 10526 '''QTextOption QStaticText.textOption()''' 10527 return QTextOption() 10528 def setTextOption(self, textOption): 10529 '''void QStaticText.setTextOption(QTextOption textOption)''' 10530 def textWidth(self): 10531 '''float QStaticText.textWidth()''' 10532 return float() 10533 def setTextWidth(self, textWidth): 10534 '''void QStaticText.setTextWidth(float textWidth)''' 10535 def textFormat(self): 10536 '''Qt.TextFormat QStaticText.textFormat()''' 10537 return Qt.TextFormat() 10538 def setTextFormat(self, textFormat): 10539 '''void QStaticText.setTextFormat(Qt.TextFormat textFormat)''' 10540 def text(self): 10541 '''str QStaticText.text()''' 10542 return str() 10543 def setText(self, text): 10544 '''void QStaticText.setText(str text)''' 10545 10546 10547 class QStyleHints(QObject): 10548 """""" 10549 startDragTimeChanged = pyqtSignal() # void startDragTimeChanged(int) - signal 10550 startDragDistanceChanged = pyqtSignal() # void startDragDistanceChanged(int) - signal 10551 mouseDoubleClickIntervalChanged = pyqtSignal() # void mouseDoubleClickIntervalChanged(int) - signal 10552 keyboardInputIntervalChanged = pyqtSignal() # void keyboardInputIntervalChanged(int) - signal 10553 cursorFlashTimeChanged = pyqtSignal() # void cursorFlashTimeChanged(int) - signal 10554 def singleClickActivation(self): 10555 '''bool QStyleHints.singleClickActivation()''' 10556 return bool() 10557 def tabFocusBehavior(self): 10558 '''Qt.TabFocusBehavior QStyleHints.tabFocusBehavior()''' 10559 return Qt.TabFocusBehavior() 10560 def mousePressAndHoldInterval(self): 10561 '''int QStyleHints.mousePressAndHoldInterval()''' 10562 return int() 10563 def setFocusOnTouchRelease(self): 10564 '''bool QStyleHints.setFocusOnTouchRelease()''' 10565 return bool() 10566 def passwordMaskCharacter(self): 10567 '''str QStyleHints.passwordMaskCharacter()''' 10568 return str() 10569 def useRtlExtensions(self): 10570 '''bool QStyleHints.useRtlExtensions()''' 10571 return bool() 10572 def fontSmoothingGamma(self): 10573 '''float QStyleHints.fontSmoothingGamma()''' 10574 return float() 10575 def passwordMaskDelay(self): 10576 '''int QStyleHints.passwordMaskDelay()''' 10577 return int() 10578 def showIsFullScreen(self): 10579 '''bool QStyleHints.showIsFullScreen()''' 10580 return bool() 10581 def cursorFlashTime(self): 10582 '''int QStyleHints.cursorFlashTime()''' 10583 return int() 10584 def keyboardAutoRepeatRate(self): 10585 '''int QStyleHints.keyboardAutoRepeatRate()''' 10586 return int() 10587 def keyboardInputInterval(self): 10588 '''int QStyleHints.keyboardInputInterval()''' 10589 return int() 10590 def startDragVelocity(self): 10591 '''int QStyleHints.startDragVelocity()''' 10592 return int() 10593 def startDragTime(self): 10594 '''int QStyleHints.startDragTime()''' 10595 return int() 10596 def startDragDistance(self): 10597 '''int QStyleHints.startDragDistance()''' 10598 return int() 10599 def mouseDoubleClickInterval(self): 10600 '''int QStyleHints.mouseDoubleClickInterval()''' 10601 return int() 10602 10603 10604 class QSurfaceFormat(): 10605 """""" 10606 # Enum QSurfaceFormat.OpenGLContextProfile 10607 NoProfile = 0 10608 CoreProfile = 0 10609 CompatibilityProfile = 0 10610 10611 # Enum QSurfaceFormat.RenderableType 10612 DefaultRenderableType = 0 10613 OpenGL = 0 10614 OpenGLES = 0 10615 OpenVG = 0 10616 10617 # Enum QSurfaceFormat.SwapBehavior 10618 DefaultSwapBehavior = 0 10619 SingleBuffer = 0 10620 DoubleBuffer = 0 10621 TripleBuffer = 0 10622 10623 # Enum QSurfaceFormat.FormatOption 10624 StereoBuffers = 0 10625 DebugContext = 0 10626 DeprecatedFunctions = 0 10627 ResetNotification = 0 10628 10629 def __init__(self): 10630 '''void QSurfaceFormat.__init__()''' 10631 def __init__(self, options): 10632 '''void QSurfaceFormat.__init__(QSurfaceFormat.FormatOptions options)''' 10633 def __init__(self, other): 10634 '''void QSurfaceFormat.__init__(QSurfaceFormat other)''' 10635 def __eq__(self): 10636 '''QSurfaceFormat QSurfaceFormat.__eq__()''' 10637 return QSurfaceFormat() 10638 def __ne__(self): 10639 '''QSurfaceFormat QSurfaceFormat.__ne__()''' 10640 return QSurfaceFormat() 10641 def defaultFormat(self): 10642 '''static QSurfaceFormat QSurfaceFormat.defaultFormat()''' 10643 return QSurfaceFormat() 10644 def setDefaultFormat(self, format): 10645 '''static void QSurfaceFormat.setDefaultFormat(QSurfaceFormat format)''' 10646 def setSwapInterval(self, interval): 10647 '''void QSurfaceFormat.setSwapInterval(int interval)''' 10648 def swapInterval(self): 10649 '''int QSurfaceFormat.swapInterval()''' 10650 return int() 10651 def options(self): 10652 '''QSurfaceFormat.FormatOptions QSurfaceFormat.options()''' 10653 return QSurfaceFormat.FormatOptions() 10654 def setOptions(self, options): 10655 '''void QSurfaceFormat.setOptions(QSurfaceFormat.FormatOptions options)''' 10656 def setVersion(self, major, minor): 10657 '''void QSurfaceFormat.setVersion(int major, int minor)''' 10658 def version(self): 10659 '''tuple-of-int-int QSurfaceFormat.version()''' 10660 return tuple-of-int-int() 10661 def stereo(self): 10662 '''bool QSurfaceFormat.stereo()''' 10663 return bool() 10664 def testOption(self, opt): 10665 '''bool QSurfaceFormat.testOption(QSurfaceFormat.FormatOptions opt)''' 10666 return bool() 10667 def testOption(self, option): 10668 '''bool QSurfaceFormat.testOption(QSurfaceFormat.FormatOption option)''' 10669 return bool() 10670 def setOption(self, opt): 10671 '''void QSurfaceFormat.setOption(QSurfaceFormat.FormatOptions opt)''' 10672 def setOption(self, option, on = True): 10673 '''void QSurfaceFormat.setOption(QSurfaceFormat.FormatOption option, bool on = True)''' 10674 def setStereo(self, enable): 10675 '''void QSurfaceFormat.setStereo(bool enable)''' 10676 def minorVersion(self): 10677 '''int QSurfaceFormat.minorVersion()''' 10678 return int() 10679 def setMinorVersion(self, minorVersion): 10680 '''void QSurfaceFormat.setMinorVersion(int minorVersion)''' 10681 def majorVersion(self): 10682 '''int QSurfaceFormat.majorVersion()''' 10683 return int() 10684 def setMajorVersion(self, majorVersion): 10685 '''void QSurfaceFormat.setMajorVersion(int majorVersion)''' 10686 def renderableType(self): 10687 '''QSurfaceFormat.RenderableType QSurfaceFormat.renderableType()''' 10688 return QSurfaceFormat.RenderableType() 10689 def setRenderableType(self, type): 10690 '''void QSurfaceFormat.setRenderableType(QSurfaceFormat.RenderableType type)''' 10691 def profile(self): 10692 '''QSurfaceFormat.OpenGLContextProfile QSurfaceFormat.profile()''' 10693 return QSurfaceFormat.OpenGLContextProfile() 10694 def setProfile(self, profile): 10695 '''void QSurfaceFormat.setProfile(QSurfaceFormat.OpenGLContextProfile profile)''' 10696 def hasAlpha(self): 10697 '''bool QSurfaceFormat.hasAlpha()''' 10698 return bool() 10699 def swapBehavior(self): 10700 '''QSurfaceFormat.SwapBehavior QSurfaceFormat.swapBehavior()''' 10701 return QSurfaceFormat.SwapBehavior() 10702 def setSwapBehavior(self, behavior): 10703 '''void QSurfaceFormat.setSwapBehavior(QSurfaceFormat.SwapBehavior behavior)''' 10704 def samples(self): 10705 '''int QSurfaceFormat.samples()''' 10706 return int() 10707 def setSamples(self, numSamples): 10708 '''void QSurfaceFormat.setSamples(int numSamples)''' 10709 def alphaBufferSize(self): 10710 '''int QSurfaceFormat.alphaBufferSize()''' 10711 return int() 10712 def setAlphaBufferSize(self, size): 10713 '''void QSurfaceFormat.setAlphaBufferSize(int size)''' 10714 def blueBufferSize(self): 10715 '''int QSurfaceFormat.blueBufferSize()''' 10716 return int() 10717 def setBlueBufferSize(self, size): 10718 '''void QSurfaceFormat.setBlueBufferSize(int size)''' 10719 def greenBufferSize(self): 10720 '''int QSurfaceFormat.greenBufferSize()''' 10721 return int() 10722 def setGreenBufferSize(self, size): 10723 '''void QSurfaceFormat.setGreenBufferSize(int size)''' 10724 def redBufferSize(self): 10725 '''int QSurfaceFormat.redBufferSize()''' 10726 return int() 10727 def setRedBufferSize(self, size): 10728 '''void QSurfaceFormat.setRedBufferSize(int size)''' 10729 def stencilBufferSize(self): 10730 '''int QSurfaceFormat.stencilBufferSize()''' 10731 return int() 10732 def setStencilBufferSize(self, size): 10733 '''void QSurfaceFormat.setStencilBufferSize(int size)''' 10734 def depthBufferSize(self): 10735 '''int QSurfaceFormat.depthBufferSize()''' 10736 return int() 10737 def setDepthBufferSize(self, size): 10738 '''void QSurfaceFormat.setDepthBufferSize(int size)''' 10739 class FormatOptions(): 10740 """""" 10741 def __init__(self): 10742 '''QSurfaceFormat.FormatOptions QSurfaceFormat.FormatOptions.__init__()''' 10743 return QSurfaceFormat.FormatOptions() 10744 def __init__(self): 10745 '''int QSurfaceFormat.FormatOptions.__init__()''' 10746 return int() 10747 def __init__(self): 10748 '''void QSurfaceFormat.FormatOptions.__init__()''' 10749 def __bool__(self): 10750 '''int QSurfaceFormat.FormatOptions.__bool__()''' 10751 return int() 10752 def __ne__(self, f): 10753 '''bool QSurfaceFormat.FormatOptions.__ne__(QSurfaceFormat.FormatOptions f)''' 10754 return bool() 10755 def __eq__(self, f): 10756 '''bool QSurfaceFormat.FormatOptions.__eq__(QSurfaceFormat.FormatOptions f)''' 10757 return bool() 10758 def __invert__(self): 10759 '''QSurfaceFormat.FormatOptions QSurfaceFormat.FormatOptions.__invert__()''' 10760 return QSurfaceFormat.FormatOptions() 10761 def __and__(self, mask): 10762 '''QSurfaceFormat.FormatOptions QSurfaceFormat.FormatOptions.__and__(int mask)''' 10763 return QSurfaceFormat.FormatOptions() 10764 def __xor__(self, f): 10765 '''QSurfaceFormat.FormatOptions QSurfaceFormat.FormatOptions.__xor__(QSurfaceFormat.FormatOptions f)''' 10766 return QSurfaceFormat.FormatOptions() 10767 def __xor__(self, f): 10768 '''QSurfaceFormat.FormatOptions QSurfaceFormat.FormatOptions.__xor__(int f)''' 10769 return QSurfaceFormat.FormatOptions() 10770 def __or__(self, f): 10771 '''QSurfaceFormat.FormatOptions QSurfaceFormat.FormatOptions.__or__(QSurfaceFormat.FormatOptions f)''' 10772 return QSurfaceFormat.FormatOptions() 10773 def __or__(self, f): 10774 '''QSurfaceFormat.FormatOptions QSurfaceFormat.FormatOptions.__or__(int f)''' 10775 return QSurfaceFormat.FormatOptions() 10776 def __int__(self): 10777 '''int QSurfaceFormat.FormatOptions.__int__()''' 10778 return int() 10779 def __ixor__(self, f): 10780 '''QSurfaceFormat.FormatOptions QSurfaceFormat.FormatOptions.__ixor__(QSurfaceFormat.FormatOptions f)''' 10781 return QSurfaceFormat.FormatOptions() 10782 def __ior__(self, f): 10783 '''QSurfaceFormat.FormatOptions QSurfaceFormat.FormatOptions.__ior__(QSurfaceFormat.FormatOptions f)''' 10784 return QSurfaceFormat.FormatOptions() 10785 def __iand__(self, mask): 10786 '''QSurfaceFormat.FormatOptions QSurfaceFormat.FormatOptions.__iand__(int mask)''' 10787 return QSurfaceFormat.FormatOptions() 10788 10789 10790 class QSyntaxHighlighter(QObject): 10791 """""" 10792 def __init__(self, parent): 10793 '''void QSyntaxHighlighter.__init__(QTextDocument parent)''' 10794 def __init__(self, parent): 10795 '''void QSyntaxHighlighter.__init__(QObject parent)''' 10796 def currentBlock(self): 10797 '''QTextBlock QSyntaxHighlighter.currentBlock()''' 10798 return QTextBlock() 10799 def currentBlockUserData(self): 10800 '''QTextBlockUserData QSyntaxHighlighter.currentBlockUserData()''' 10801 return QTextBlockUserData() 10802 def setCurrentBlockUserData(self, data): 10803 '''void QSyntaxHighlighter.setCurrentBlockUserData(QTextBlockUserData data)''' 10804 def setCurrentBlockState(self, newState): 10805 '''void QSyntaxHighlighter.setCurrentBlockState(int newState)''' 10806 def currentBlockState(self): 10807 '''int QSyntaxHighlighter.currentBlockState()''' 10808 return int() 10809 def previousBlockState(self): 10810 '''int QSyntaxHighlighter.previousBlockState()''' 10811 return int() 10812 def format(self, pos): 10813 '''QTextCharFormat QSyntaxHighlighter.format(int pos)''' 10814 return QTextCharFormat() 10815 def setFormat(self, start, count, format): 10816 '''void QSyntaxHighlighter.setFormat(int start, int count, QTextCharFormat format)''' 10817 def setFormat(self, start, count, color): 10818 '''void QSyntaxHighlighter.setFormat(int start, int count, QColor color)''' 10819 def setFormat(self, start, count, font): 10820 '''void QSyntaxHighlighter.setFormat(int start, int count, QFont font)''' 10821 def highlightBlock(self, text): 10822 '''abstract void QSyntaxHighlighter.highlightBlock(str text)''' 10823 def rehighlightBlock(self, block): 10824 '''void QSyntaxHighlighter.rehighlightBlock(QTextBlock block)''' 10825 def rehighlight(self): 10826 '''void QSyntaxHighlighter.rehighlight()''' 10827 def document(self): 10828 '''QTextDocument QSyntaxHighlighter.document()''' 10829 return QTextDocument() 10830 def setDocument(self, doc): 10831 '''void QSyntaxHighlighter.setDocument(QTextDocument doc)''' 10832 10833 10834 class QTextCursor(): 10835 """""" 10836 # Enum QTextCursor.SelectionType 10837 WordUnderCursor = 0 10838 LineUnderCursor = 0 10839 BlockUnderCursor = 0 10840 Document = 0 10841 10842 # Enum QTextCursor.MoveOperation 10843 NoMove = 0 10844 Start = 0 10845 Up = 0 10846 StartOfLine = 0 10847 StartOfBlock = 0 10848 StartOfWord = 0 10849 PreviousBlock = 0 10850 PreviousCharacter = 0 10851 PreviousWord = 0 10852 Left = 0 10853 WordLeft = 0 10854 End = 0 10855 Down = 0 10856 EndOfLine = 0 10857 EndOfWord = 0 10858 EndOfBlock = 0 10859 NextBlock = 0 10860 NextCharacter = 0 10861 NextWord = 0 10862 Right = 0 10863 WordRight = 0 10864 NextCell = 0 10865 PreviousCell = 0 10866 NextRow = 0 10867 PreviousRow = 0 10868 10869 # Enum QTextCursor.MoveMode 10870 MoveAnchor = 0 10871 KeepAnchor = 0 10872 10873 def __init__(self): 10874 '''void QTextCursor.__init__()''' 10875 def __init__(self, document): 10876 '''void QTextCursor.__init__(QTextDocument document)''' 10877 def __init__(self, frame): 10878 '''void QTextCursor.__init__(QTextFrame frame)''' 10879 def __init__(self, block): 10880 '''void QTextCursor.__init__(QTextBlock block)''' 10881 def __init__(self, cursor): 10882 '''void QTextCursor.__init__(QTextCursor cursor)''' 10883 def swap(self, other): 10884 '''void QTextCursor.swap(QTextCursor other)''' 10885 def keepPositionOnInsert(self): 10886 '''bool QTextCursor.keepPositionOnInsert()''' 10887 return bool() 10888 def setKeepPositionOnInsert(self, b): 10889 '''void QTextCursor.setKeepPositionOnInsert(bool b)''' 10890 def verticalMovementX(self): 10891 '''int QTextCursor.verticalMovementX()''' 10892 return int() 10893 def setVerticalMovementX(self, x): 10894 '''void QTextCursor.setVerticalMovementX(int x)''' 10895 def positionInBlock(self): 10896 '''int QTextCursor.positionInBlock()''' 10897 return int() 10898 def document(self): 10899 '''QTextDocument QTextCursor.document()''' 10900 return QTextDocument() 10901 def setVisualNavigation(self, b): 10902 '''void QTextCursor.setVisualNavigation(bool b)''' 10903 def visualNavigation(self): 10904 '''bool QTextCursor.visualNavigation()''' 10905 return bool() 10906 def isCopyOf(self, other): 10907 '''bool QTextCursor.isCopyOf(QTextCursor other)''' 10908 return bool() 10909 def __gt__(self, rhs): 10910 '''bool QTextCursor.__gt__(QTextCursor rhs)''' 10911 return bool() 10912 def __ge__(self, rhs): 10913 '''bool QTextCursor.__ge__(QTextCursor rhs)''' 10914 return bool() 10915 def __eq__(self, rhs): 10916 '''bool QTextCursor.__eq__(QTextCursor rhs)''' 10917 return bool() 10918 def __le__(self, rhs): 10919 '''bool QTextCursor.__le__(QTextCursor rhs)''' 10920 return bool() 10921 def __lt__(self, rhs): 10922 '''bool QTextCursor.__lt__(QTextCursor rhs)''' 10923 return bool() 10924 def __ne__(self, rhs): 10925 '''bool QTextCursor.__ne__(QTextCursor rhs)''' 10926 return bool() 10927 def columnNumber(self): 10928 '''int QTextCursor.columnNumber()''' 10929 return int() 10930 def blockNumber(self): 10931 '''int QTextCursor.blockNumber()''' 10932 return int() 10933 def endEditBlock(self): 10934 '''void QTextCursor.endEditBlock()''' 10935 def joinPreviousEditBlock(self): 10936 '''void QTextCursor.joinPreviousEditBlock()''' 10937 def beginEditBlock(self): 10938 '''void QTextCursor.beginEditBlock()''' 10939 def insertImage(self, format): 10940 '''void QTextCursor.insertImage(QTextImageFormat format)''' 10941 def insertImage(self, format, alignment): 10942 '''void QTextCursor.insertImage(QTextImageFormat format, QTextFrameFormat.Position alignment)''' 10943 def insertImage(self, name): 10944 '''void QTextCursor.insertImage(str name)''' 10945 def insertImage(self, image, name = None): 10946 '''void QTextCursor.insertImage(QImage image, str name = '')''' 10947 def insertHtml(self, html): 10948 '''void QTextCursor.insertHtml(str html)''' 10949 def insertFragment(self, fragment): 10950 '''void QTextCursor.insertFragment(QTextDocumentFragment fragment)''' 10951 def currentFrame(self): 10952 '''QTextFrame QTextCursor.currentFrame()''' 10953 return QTextFrame() 10954 def insertFrame(self, format): 10955 '''QTextFrame QTextCursor.insertFrame(QTextFrameFormat format)''' 10956 return QTextFrame() 10957 def currentTable(self): 10958 '''QTextTable QTextCursor.currentTable()''' 10959 return QTextTable() 10960 def insertTable(self, rows, cols, format): 10961 '''QTextTable QTextCursor.insertTable(int rows, int cols, QTextTableFormat format)''' 10962 return QTextTable() 10963 def insertTable(self, rows, cols): 10964 '''QTextTable QTextCursor.insertTable(int rows, int cols)''' 10965 return QTextTable() 10966 def currentList(self): 10967 '''QTextList QTextCursor.currentList()''' 10968 return QTextList() 10969 def createList(self, format): 10970 '''QTextList QTextCursor.createList(QTextListFormat format)''' 10971 return QTextList() 10972 def createList(self, style): 10973 '''QTextList QTextCursor.createList(QTextListFormat.Style style)''' 10974 return QTextList() 10975 def insertList(self, format): 10976 '''QTextList QTextCursor.insertList(QTextListFormat format)''' 10977 return QTextList() 10978 def insertList(self, style): 10979 '''QTextList QTextCursor.insertList(QTextListFormat.Style style)''' 10980 return QTextList() 10981 def insertBlock(self): 10982 '''void QTextCursor.insertBlock()''' 10983 def insertBlock(self, format): 10984 '''void QTextCursor.insertBlock(QTextBlockFormat format)''' 10985 def insertBlock(self, format, charFormat): 10986 '''void QTextCursor.insertBlock(QTextBlockFormat format, QTextCharFormat charFormat)''' 10987 def atEnd(self): 10988 '''bool QTextCursor.atEnd()''' 10989 return bool() 10990 def atStart(self): 10991 '''bool QTextCursor.atStart()''' 10992 return bool() 10993 def atBlockEnd(self): 10994 '''bool QTextCursor.atBlockEnd()''' 10995 return bool() 10996 def atBlockStart(self): 10997 '''bool QTextCursor.atBlockStart()''' 10998 return bool() 10999 def mergeBlockCharFormat(self, modifier): 11000 '''void QTextCursor.mergeBlockCharFormat(QTextCharFormat modifier)''' 11001 def setBlockCharFormat(self, format): 11002 '''void QTextCursor.setBlockCharFormat(QTextCharFormat format)''' 11003 def blockCharFormat(self): 11004 '''QTextCharFormat QTextCursor.blockCharFormat()''' 11005 return QTextCharFormat() 11006 def mergeBlockFormat(self, modifier): 11007 '''void QTextCursor.mergeBlockFormat(QTextBlockFormat modifier)''' 11008 def setBlockFormat(self, format): 11009 '''void QTextCursor.setBlockFormat(QTextBlockFormat format)''' 11010 def blockFormat(self): 11011 '''QTextBlockFormat QTextCursor.blockFormat()''' 11012 return QTextBlockFormat() 11013 def mergeCharFormat(self, modifier): 11014 '''void QTextCursor.mergeCharFormat(QTextCharFormat modifier)''' 11015 def setCharFormat(self, format): 11016 '''void QTextCursor.setCharFormat(QTextCharFormat format)''' 11017 def charFormat(self): 11018 '''QTextCharFormat QTextCursor.charFormat()''' 11019 return QTextCharFormat() 11020 def block(self): 11021 '''QTextBlock QTextCursor.block()''' 11022 return QTextBlock() 11023 def selectedTableCells(self, firstRow, numRows, firstColumn, numColumns): 11024 '''void QTextCursor.selectedTableCells(int firstRow, int numRows, int firstColumn, int numColumns)''' 11025 def selection(self): 11026 '''QTextDocumentFragment QTextCursor.selection()''' 11027 return QTextDocumentFragment() 11028 def selectedText(self): 11029 '''str QTextCursor.selectedText()''' 11030 return str() 11031 def selectionEnd(self): 11032 '''int QTextCursor.selectionEnd()''' 11033 return int() 11034 def selectionStart(self): 11035 '''int QTextCursor.selectionStart()''' 11036 return int() 11037 def clearSelection(self): 11038 '''void QTextCursor.clearSelection()''' 11039 def removeSelectedText(self): 11040 '''void QTextCursor.removeSelectedText()''' 11041 def hasComplexSelection(self): 11042 '''bool QTextCursor.hasComplexSelection()''' 11043 return bool() 11044 def hasSelection(self): 11045 '''bool QTextCursor.hasSelection()''' 11046 return bool() 11047 def select(self, selection): 11048 '''void QTextCursor.select(QTextCursor.SelectionType selection)''' 11049 def deletePreviousChar(self): 11050 '''void QTextCursor.deletePreviousChar()''' 11051 def deleteChar(self): 11052 '''void QTextCursor.deleteChar()''' 11053 def movePosition(self, op, mode = None, n = 1): 11054 '''bool QTextCursor.movePosition(QTextCursor.MoveOperation op, QTextCursor.MoveMode mode = QTextCursor.MoveAnchor, int n = 1)''' 11055 return bool() 11056 def insertText(self, text): 11057 '''void QTextCursor.insertText(str text)''' 11058 def insertText(self, text, format): 11059 '''void QTextCursor.insertText(str text, QTextCharFormat format)''' 11060 def anchor(self): 11061 '''int QTextCursor.anchor()''' 11062 return int() 11063 def position(self): 11064 '''int QTextCursor.position()''' 11065 return int() 11066 def setPosition(self, pos, mode = None): 11067 '''void QTextCursor.setPosition(int pos, QTextCursor.MoveMode mode = QTextCursor.MoveAnchor)''' 11068 def isNull(self): 11069 '''bool QTextCursor.isNull()''' 11070 return bool() 11071 11072 11073 class Qt(): 11074 """""" 11075 def convertFromPlainText(self, plain, mode = None): 11076 '''static str Qt.convertFromPlainText(str plain, Qt.WhiteSpaceMode mode = Qt.WhiteSpacePre)''' 11077 return str() 11078 def mightBeRichText(self): 11079 '''static str Qt.mightBeRichText()''' 11080 return str() 11081 11082 11083 class QTextDocument(QObject): 11084 """""" 11085 # Enum QTextDocument.Stacks 11086 UndoStack = 0 11087 RedoStack = 0 11088 UndoAndRedoStacks = 0 11089 11090 # Enum QTextDocument.ResourceType 11091 HtmlResource = 0 11092 ImageResource = 0 11093 StyleSheetResource = 0 11094 UserResource = 0 11095 11096 # Enum QTextDocument.FindFlag 11097 FindBackward = 0 11098 FindCaseSensitively = 0 11099 FindWholeWords = 0 11100 11101 # Enum QTextDocument.MetaInformation 11102 DocumentTitle = 0 11103 DocumentUrl = 0 11104 11105 def __init__(self, parent = None): 11106 '''void QTextDocument.__init__(QObject parent = None)''' 11107 def __init__(self, text, parent = None): 11108 '''void QTextDocument.__init__(str text, QObject parent = None)''' 11109 baseUrlChanged = pyqtSignal() # void baseUrlChanged(const QUrlamp;) - signal 11110 def setBaseUrl(self, url): 11111 '''void QTextDocument.setBaseUrl(QUrl url)''' 11112 def baseUrl(self): 11113 '''QUrl QTextDocument.baseUrl()''' 11114 return QUrl() 11115 def setDefaultCursorMoveStyle(self, style): 11116 '''void QTextDocument.setDefaultCursorMoveStyle(Qt.CursorMoveStyle style)''' 11117 def defaultCursorMoveStyle(self): 11118 '''Qt.CursorMoveStyle QTextDocument.defaultCursorMoveStyle()''' 11119 return Qt.CursorMoveStyle() 11120 def clearUndoRedoStacks(self, stacks = None): 11121 '''void QTextDocument.clearUndoRedoStacks(QTextDocument.Stacks stacks = QTextDocument.UndoAndRedoStacks)''' 11122 def availableRedoSteps(self): 11123 '''int QTextDocument.availableRedoSteps()''' 11124 return int() 11125 def availableUndoSteps(self): 11126 '''int QTextDocument.availableUndoSteps()''' 11127 return int() 11128 def characterCount(self): 11129 '''int QTextDocument.characterCount()''' 11130 return int() 11131 def lineCount(self): 11132 '''int QTextDocument.lineCount()''' 11133 return int() 11134 def setDocumentMargin(self, margin): 11135 '''void QTextDocument.setDocumentMargin(float margin)''' 11136 def documentMargin(self): 11137 '''float QTextDocument.documentMargin()''' 11138 return float() 11139 def characterAt(self, pos): 11140 '''str QTextDocument.characterAt(int pos)''' 11141 return str() 11142 documentLayoutChanged = pyqtSignal() # void documentLayoutChanged() - signal 11143 undoCommandAdded = pyqtSignal() # void undoCommandAdded() - signal 11144 def setIndentWidth(self, width): 11145 '''void QTextDocument.setIndentWidth(float width)''' 11146 def indentWidth(self): 11147 '''float QTextDocument.indentWidth()''' 11148 return float() 11149 def lastBlock(self): 11150 '''QTextBlock QTextDocument.lastBlock()''' 11151 return QTextBlock() 11152 def firstBlock(self): 11153 '''QTextBlock QTextDocument.firstBlock()''' 11154 return QTextBlock() 11155 def findBlockByLineNumber(self, blockNumber): 11156 '''QTextBlock QTextDocument.findBlockByLineNumber(int blockNumber)''' 11157 return QTextBlock() 11158 def findBlockByNumber(self, blockNumber): 11159 '''QTextBlock QTextDocument.findBlockByNumber(int blockNumber)''' 11160 return QTextBlock() 11161 def revision(self): 11162 '''int QTextDocument.revision()''' 11163 return int() 11164 def setDefaultTextOption(self, option): 11165 '''void QTextDocument.setDefaultTextOption(QTextOption option)''' 11166 def defaultTextOption(self): 11167 '''QTextOption QTextDocument.defaultTextOption()''' 11168 return QTextOption() 11169 def setMaximumBlockCount(self, maximum): 11170 '''void QTextDocument.setMaximumBlockCount(int maximum)''' 11171 def maximumBlockCount(self): 11172 '''int QTextDocument.maximumBlockCount()''' 11173 return int() 11174 def defaultStyleSheet(self): 11175 '''str QTextDocument.defaultStyleSheet()''' 11176 return str() 11177 def setDefaultStyleSheet(self, sheet): 11178 '''void QTextDocument.setDefaultStyleSheet(str sheet)''' 11179 def blockCount(self): 11180 '''int QTextDocument.blockCount()''' 11181 return int() 11182 def size(self): 11183 '''QSizeF QTextDocument.size()''' 11184 return QSizeF() 11185 def adjustSize(self): 11186 '''void QTextDocument.adjustSize()''' 11187 def idealWidth(self): 11188 '''float QTextDocument.idealWidth()''' 11189 return float() 11190 def textWidth(self): 11191 '''float QTextDocument.textWidth()''' 11192 return float() 11193 def setTextWidth(self, width): 11194 '''void QTextDocument.setTextWidth(float width)''' 11195 def drawContents(self, p, rect = QRectF()): 11196 '''void QTextDocument.drawContents(QPainter p, QRectF rect = QRectF())''' 11197 def loadResource(self, type, name): 11198 '''QVariant QTextDocument.loadResource(int type, QUrl name)''' 11199 return QVariant() 11200 def createObject(self, f): 11201 '''QTextObject QTextDocument.createObject(QTextFormat f)''' 11202 return QTextObject() 11203 def setModified(self, on = True): 11204 '''void QTextDocument.setModified(bool on = True)''' 11205 def redo(self): 11206 '''void QTextDocument.redo()''' 11207 def redo(self, cursor): 11208 '''void QTextDocument.redo(QTextCursor cursor)''' 11209 def undo(self): 11210 '''void QTextDocument.undo()''' 11211 def undo(self, cursor): 11212 '''void QTextDocument.undo(QTextCursor cursor)''' 11213 undoAvailable = pyqtSignal() # void undoAvailable(bool) - signal 11214 redoAvailable = pyqtSignal() # void redoAvailable(bool) - signal 11215 modificationChanged = pyqtSignal() # void modificationChanged(bool) - signal 11216 cursorPositionChanged = pyqtSignal() # void cursorPositionChanged(const QTextCursoramp;) - signal 11217 contentsChanged = pyqtSignal() # void contentsChanged() - signal 11218 contentsChange = pyqtSignal() # void contentsChange(int,int,int) - signal 11219 blockCountChanged = pyqtSignal() # void blockCountChanged(int) - signal 11220 def useDesignMetrics(self): 11221 '''bool QTextDocument.useDesignMetrics()''' 11222 return bool() 11223 def setUseDesignMetrics(self, b): 11224 '''void QTextDocument.setUseDesignMetrics(bool b)''' 11225 def markContentsDirty(self, from_, length): 11226 '''void QTextDocument.markContentsDirty(int from, int length)''' 11227 def allFormats(self): 11228 '''list-of-QTextFormat QTextDocument.allFormats()''' 11229 return [QTextFormat()] 11230 def addResource(self, type, name, resource): 11231 '''void QTextDocument.addResource(int type, QUrl name, QVariant resource)''' 11232 def resource(self, type, name): 11233 '''QVariant QTextDocument.resource(int type, QUrl name)''' 11234 return QVariant() 11235 def print_(self, printer): 11236 '''void QTextDocument.print_(QPagedPaintDevice printer)''' 11237 def isModified(self): 11238 '''bool QTextDocument.isModified()''' 11239 return bool() 11240 def pageCount(self): 11241 '''int QTextDocument.pageCount()''' 11242 return int() 11243 def defaultFont(self): 11244 '''QFont QTextDocument.defaultFont()''' 11245 return QFont() 11246 def setDefaultFont(self, font): 11247 '''void QTextDocument.setDefaultFont(QFont font)''' 11248 def pageSize(self): 11249 '''QSizeF QTextDocument.pageSize()''' 11250 return QSizeF() 11251 def setPageSize(self, size): 11252 '''void QTextDocument.setPageSize(QSizeF size)''' 11253 def end(self): 11254 '''QTextBlock QTextDocument.end()''' 11255 return QTextBlock() 11256 def begin(self): 11257 '''QTextBlock QTextDocument.begin()''' 11258 return QTextBlock() 11259 def findBlock(self, pos): 11260 '''QTextBlock QTextDocument.findBlock(int pos)''' 11261 return QTextBlock() 11262 def objectForFormat(self): 11263 '''QTextFormat QTextDocument.objectForFormat()''' 11264 return QTextFormat() 11265 def object(self, objectIndex): 11266 '''QTextObject QTextDocument.object(int objectIndex)''' 11267 return QTextObject() 11268 def rootFrame(self): 11269 '''QTextFrame QTextDocument.rootFrame()''' 11270 return QTextFrame() 11271 def find(self, subString, position = 0, options = 0): 11272 '''QTextCursor QTextDocument.find(str subString, int position = 0, QTextDocument.FindFlags options = 0)''' 11273 return QTextCursor() 11274 def find(self, expr, position = 0, options = 0): 11275 '''QTextCursor QTextDocument.find(QRegExp expr, int position = 0, QTextDocument.FindFlags options = 0)''' 11276 return QTextCursor() 11277 def find(self, expr, position = 0, options = 0): 11278 '''QTextCursor QTextDocument.find(QRegularExpression expr, int position = 0, QTextDocument.FindFlags options = 0)''' 11279 return QTextCursor() 11280 def find(self, subString, cursor, options = 0): 11281 '''QTextCursor QTextDocument.find(str subString, QTextCursor cursor, QTextDocument.FindFlags options = 0)''' 11282 return QTextCursor() 11283 def find(self, expr, cursor, options = 0): 11284 '''QTextCursor QTextDocument.find(QRegExp expr, QTextCursor cursor, QTextDocument.FindFlags options = 0)''' 11285 return QTextCursor() 11286 def find(self, expr, cursor, options = 0): 11287 '''QTextCursor QTextDocument.find(QRegularExpression expr, QTextCursor cursor, QTextDocument.FindFlags options = 0)''' 11288 return QTextCursor() 11289 def setPlainText(self, text): 11290 '''void QTextDocument.setPlainText(str text)''' 11291 def toPlainText(self): 11292 '''str QTextDocument.toPlainText()''' 11293 return str() 11294 def setHtml(self, html): 11295 '''void QTextDocument.setHtml(str html)''' 11296 def toHtml(self, encoding = QByteArray()): 11297 '''str QTextDocument.toHtml(QByteArray encoding = QByteArray())''' 11298 return str() 11299 def metaInformation(self, info): 11300 '''str QTextDocument.metaInformation(QTextDocument.MetaInformation info)''' 11301 return str() 11302 def setMetaInformation(self, info): 11303 '''str QTextDocument.setMetaInformation(QTextDocument.MetaInformation info)''' 11304 return str() 11305 def documentLayout(self): 11306 '''QAbstractTextDocumentLayout QTextDocument.documentLayout()''' 11307 return QAbstractTextDocumentLayout() 11308 def setDocumentLayout(self, layout): 11309 '''void QTextDocument.setDocumentLayout(QAbstractTextDocumentLayout layout)''' 11310 def isRedoAvailable(self): 11311 '''bool QTextDocument.isRedoAvailable()''' 11312 return bool() 11313 def isUndoAvailable(self): 11314 '''bool QTextDocument.isUndoAvailable()''' 11315 return bool() 11316 def isUndoRedoEnabled(self): 11317 '''bool QTextDocument.isUndoRedoEnabled()''' 11318 return bool() 11319 def setUndoRedoEnabled(self, enable): 11320 '''void QTextDocument.setUndoRedoEnabled(bool enable)''' 11321 def clear(self): 11322 '''void QTextDocument.clear()''' 11323 def isEmpty(self): 11324 '''bool QTextDocument.isEmpty()''' 11325 return bool() 11326 def clone(self, parent = None): 11327 '''QTextDocument QTextDocument.clone(QObject parent = None)''' 11328 return QTextDocument() 11329 class FindFlags(): 11330 """""" 11331 def __init__(self): 11332 '''QTextDocument.FindFlags QTextDocument.FindFlags.__init__()''' 11333 return QTextDocument.FindFlags() 11334 def __init__(self): 11335 '''int QTextDocument.FindFlags.__init__()''' 11336 return int() 11337 def __init__(self): 11338 '''void QTextDocument.FindFlags.__init__()''' 11339 def __bool__(self): 11340 '''int QTextDocument.FindFlags.__bool__()''' 11341 return int() 11342 def __ne__(self, f): 11343 '''bool QTextDocument.FindFlags.__ne__(QTextDocument.FindFlags f)''' 11344 return bool() 11345 def __eq__(self, f): 11346 '''bool QTextDocument.FindFlags.__eq__(QTextDocument.FindFlags f)''' 11347 return bool() 11348 def __invert__(self): 11349 '''QTextDocument.FindFlags QTextDocument.FindFlags.__invert__()''' 11350 return QTextDocument.FindFlags() 11351 def __and__(self, mask): 11352 '''QTextDocument.FindFlags QTextDocument.FindFlags.__and__(int mask)''' 11353 return QTextDocument.FindFlags() 11354 def __xor__(self, f): 11355 '''QTextDocument.FindFlags QTextDocument.FindFlags.__xor__(QTextDocument.FindFlags f)''' 11356 return QTextDocument.FindFlags() 11357 def __xor__(self, f): 11358 '''QTextDocument.FindFlags QTextDocument.FindFlags.__xor__(int f)''' 11359 return QTextDocument.FindFlags() 11360 def __or__(self, f): 11361 '''QTextDocument.FindFlags QTextDocument.FindFlags.__or__(QTextDocument.FindFlags f)''' 11362 return QTextDocument.FindFlags() 11363 def __or__(self, f): 11364 '''QTextDocument.FindFlags QTextDocument.FindFlags.__or__(int f)''' 11365 return QTextDocument.FindFlags() 11366 def __int__(self): 11367 '''int QTextDocument.FindFlags.__int__()''' 11368 return int() 11369 def __ixor__(self, f): 11370 '''QTextDocument.FindFlags QTextDocument.FindFlags.__ixor__(QTextDocument.FindFlags f)''' 11371 return QTextDocument.FindFlags() 11372 def __ior__(self, f): 11373 '''QTextDocument.FindFlags QTextDocument.FindFlags.__ior__(QTextDocument.FindFlags f)''' 11374 return QTextDocument.FindFlags() 11375 def __iand__(self, mask): 11376 '''QTextDocument.FindFlags QTextDocument.FindFlags.__iand__(int mask)''' 11377 return QTextDocument.FindFlags() 11378 11379 11380 class QTextDocumentFragment(): 11381 """""" 11382 def __init__(self): 11383 '''void QTextDocumentFragment.__init__()''' 11384 def __init__(self, document): 11385 '''void QTextDocumentFragment.__init__(QTextDocument document)''' 11386 def __init__(self, range): 11387 '''void QTextDocumentFragment.__init__(QTextCursor range)''' 11388 def __init__(self, rhs): 11389 '''void QTextDocumentFragment.__init__(QTextDocumentFragment rhs)''' 11390 def fromHtml(self, html): 11391 '''static QTextDocumentFragment QTextDocumentFragment.fromHtml(str html)''' 11392 return QTextDocumentFragment() 11393 def fromHtml(self, html, resourceProvider): 11394 '''static QTextDocumentFragment QTextDocumentFragment.fromHtml(str html, QTextDocument resourceProvider)''' 11395 return QTextDocumentFragment() 11396 def fromPlainText(self, plainText): 11397 '''static QTextDocumentFragment QTextDocumentFragment.fromPlainText(str plainText)''' 11398 return QTextDocumentFragment() 11399 def toHtml(self, encoding = QByteArray()): 11400 '''str QTextDocumentFragment.toHtml(QByteArray encoding = QByteArray())''' 11401 return str() 11402 def toPlainText(self): 11403 '''str QTextDocumentFragment.toPlainText()''' 11404 return str() 11405 def isEmpty(self): 11406 '''bool QTextDocumentFragment.isEmpty()''' 11407 return bool() 11408 11409 11410 class QTextDocumentWriter(): 11411 """""" 11412 def __init__(self): 11413 '''void QTextDocumentWriter.__init__()''' 11414 def __init__(self, device, format): 11415 '''void QTextDocumentWriter.__init__(QIODevice device, QByteArray format)''' 11416 def __init__(self, fileName, format = QByteArray()): 11417 '''void QTextDocumentWriter.__init__(str fileName, QByteArray format = QByteArray())''' 11418 def supportedDocumentFormats(self): 11419 '''static list-of-QByteArray QTextDocumentWriter.supportedDocumentFormats()''' 11420 return [QByteArray()] 11421 def codec(self): 11422 '''QTextCodec QTextDocumentWriter.codec()''' 11423 return QTextCodec() 11424 def setCodec(self, codec): 11425 '''void QTextDocumentWriter.setCodec(QTextCodec codec)''' 11426 def write(self, document): 11427 '''bool QTextDocumentWriter.write(QTextDocument document)''' 11428 return bool() 11429 def write(self, fragment): 11430 '''bool QTextDocumentWriter.write(QTextDocumentFragment fragment)''' 11431 return bool() 11432 def fileName(self): 11433 '''str QTextDocumentWriter.fileName()''' 11434 return str() 11435 def setFileName(self, fileName): 11436 '''void QTextDocumentWriter.setFileName(str fileName)''' 11437 def device(self): 11438 '''QIODevice QTextDocumentWriter.device()''' 11439 return QIODevice() 11440 def setDevice(self, device): 11441 '''void QTextDocumentWriter.setDevice(QIODevice device)''' 11442 def format(self): 11443 '''QByteArray QTextDocumentWriter.format()''' 11444 return QByteArray() 11445 def setFormat(self, format): 11446 '''void QTextDocumentWriter.setFormat(QByteArray format)''' 11447 11448 11449 class QTextLength(): 11450 """""" 11451 # Enum QTextLength.Type 11452 VariableLength = 0 11453 FixedLength = 0 11454 PercentageLength = 0 11455 11456 def __init__(self): 11457 '''void QTextLength.__init__()''' 11458 def __init__(self, atype, avalue): 11459 '''void QTextLength.__init__(QTextLength.Type atype, float avalue)''' 11460 def __init__(self, variant): 11461 '''void QTextLength.__init__(QVariant variant)''' 11462 def __init__(self): 11463 '''QTextLength QTextLength.__init__()''' 11464 return QTextLength() 11465 def __ne__(self, other): 11466 '''bool QTextLength.__ne__(QTextLength other)''' 11467 return bool() 11468 def __eq__(self, other): 11469 '''bool QTextLength.__eq__(QTextLength other)''' 11470 return bool() 11471 def rawValue(self): 11472 '''float QTextLength.rawValue()''' 11473 return float() 11474 def value(self, maximumLength): 11475 '''float QTextLength.value(float maximumLength)''' 11476 return float() 11477 def type(self): 11478 '''QTextLength.Type QTextLength.type()''' 11479 return QTextLength.Type() 11480 11481 11482 class QTextFormat(): 11483 """""" 11484 # Enum QTextFormat.Property 11485 ObjectIndex = 0 11486 CssFloat = 0 11487 LayoutDirection = 0 11488 OutlinePen = 0 11489 BackgroundBrush = 0 11490 ForegroundBrush = 0 11491 BlockAlignment = 0 11492 BlockTopMargin = 0 11493 BlockBottomMargin = 0 11494 BlockLeftMargin = 0 11495 BlockRightMargin = 0 11496 TextIndent = 0 11497 BlockIndent = 0 11498 BlockNonBreakableLines = 0 11499 BlockTrailingHorizontalRulerWidth = 0 11500 FontFamily = 0 11501 FontPointSize = 0 11502 FontSizeAdjustment = 0 11503 FontSizeIncrement = 0 11504 FontWeight = 0 11505 FontItalic = 0 11506 FontUnderline = 0 11507 FontOverline = 0 11508 FontStrikeOut = 0 11509 FontFixedPitch = 0 11510 FontPixelSize = 0 11511 TextUnderlineColor = 0 11512 TextVerticalAlignment = 0 11513 TextOutline = 0 11514 IsAnchor = 0 11515 AnchorHref = 0 11516 AnchorName = 0 11517 ObjectType = 0 11518 ListStyle = 0 11519 ListIndent = 0 11520 FrameBorder = 0 11521 FrameMargin = 0 11522 FramePadding = 0 11523 FrameWidth = 0 11524 FrameHeight = 0 11525 TableColumns = 0 11526 TableColumnWidthConstraints = 0 11527 TableCellSpacing = 0 11528 TableCellPadding = 0 11529 TableCellRowSpan = 0 11530 TableCellColumnSpan = 0 11531 ImageName = 0 11532 ImageWidth = 0 11533 ImageHeight = 0 11534 TextUnderlineStyle = 0 11535 TableHeaderRowCount = 0 11536 FullWidthSelection = 0 11537 PageBreakPolicy = 0 11538 TextToolTip = 0 11539 FrameTopMargin = 0 11540 FrameBottomMargin = 0 11541 FrameLeftMargin = 0 11542 FrameRightMargin = 0 11543 FrameBorderBrush = 0 11544 FrameBorderStyle = 0 11545 BackgroundImageUrl = 0 11546 TabPositions = 0 11547 FirstFontProperty = 0 11548 FontCapitalization = 0 11549 FontLetterSpacing = 0 11550 FontWordSpacing = 0 11551 LastFontProperty = 0 11552 TableCellTopPadding = 0 11553 TableCellBottomPadding = 0 11554 TableCellLeftPadding = 0 11555 TableCellRightPadding = 0 11556 FontStyleHint = 0 11557 FontStyleStrategy = 0 11558 FontKerning = 0 11559 LineHeight = 0 11560 LineHeightType = 0 11561 FontHintingPreference = 0 11562 ListNumberPrefix = 0 11563 ListNumberSuffix = 0 11564 FontStretch = 0 11565 FontLetterSpacingType = 0 11566 UserProperty = 0 11567 11568 # Enum QTextFormat.PageBreakFlag 11569 PageBreak_Auto = 0 11570 PageBreak_AlwaysBefore = 0 11571 PageBreak_AlwaysAfter = 0 11572 11573 # Enum QTextFormat.ObjectTypes 11574 NoObject = 0 11575 ImageObject = 0 11576 TableObject = 0 11577 TableCellObject = 0 11578 UserObject = 0 11579 11580 # Enum QTextFormat.FormatType 11581 InvalidFormat = 0 11582 BlockFormat = 0 11583 CharFormat = 0 11584 ListFormat = 0 11585 TableFormat = 0 11586 FrameFormat = 0 11587 UserFormat = 0 11588 11589 def __init__(self): 11590 '''void QTextFormat.__init__()''' 11591 def __init__(self, type): 11592 '''void QTextFormat.__init__(int type)''' 11593 def __init__(self, rhs): 11594 '''void QTextFormat.__init__(QTextFormat rhs)''' 11595 def __init__(self, variant): 11596 '''void QTextFormat.__init__(QVariant variant)''' 11597 def isEmpty(self): 11598 '''bool QTextFormat.isEmpty()''' 11599 return bool() 11600 def swap(self, other): 11601 '''void QTextFormat.swap(QTextFormat other)''' 11602 def toTableCellFormat(self): 11603 '''QTextTableCellFormat QTextFormat.toTableCellFormat()''' 11604 return QTextTableCellFormat() 11605 def isTableCellFormat(self): 11606 '''bool QTextFormat.isTableCellFormat()''' 11607 return bool() 11608 def propertyCount(self): 11609 '''int QTextFormat.propertyCount()''' 11610 return int() 11611 def setObjectType(self, atype): 11612 '''void QTextFormat.setObjectType(int atype)''' 11613 def clearForeground(self): 11614 '''void QTextFormat.clearForeground()''' 11615 def foreground(self): 11616 '''QBrush QTextFormat.foreground()''' 11617 return QBrush() 11618 def setForeground(self, brush): 11619 '''void QTextFormat.setForeground(QBrush brush)''' 11620 def clearBackground(self): 11621 '''void QTextFormat.clearBackground()''' 11622 def background(self): 11623 '''QBrush QTextFormat.background()''' 11624 return QBrush() 11625 def setBackground(self, brush): 11626 '''void QTextFormat.setBackground(QBrush brush)''' 11627 def layoutDirection(self): 11628 '''Qt.LayoutDirection QTextFormat.layoutDirection()''' 11629 return Qt.LayoutDirection() 11630 def setLayoutDirection(self, direction): 11631 '''void QTextFormat.setLayoutDirection(Qt.LayoutDirection direction)''' 11632 def __ne__(self, rhs): 11633 '''bool QTextFormat.__ne__(QTextFormat rhs)''' 11634 return bool() 11635 def __eq__(self, rhs): 11636 '''bool QTextFormat.__eq__(QTextFormat rhs)''' 11637 return bool() 11638 def toImageFormat(self): 11639 '''QTextImageFormat QTextFormat.toImageFormat()''' 11640 return QTextImageFormat() 11641 def toFrameFormat(self): 11642 '''QTextFrameFormat QTextFormat.toFrameFormat()''' 11643 return QTextFrameFormat() 11644 def toTableFormat(self): 11645 '''QTextTableFormat QTextFormat.toTableFormat()''' 11646 return QTextTableFormat() 11647 def toListFormat(self): 11648 '''QTextListFormat QTextFormat.toListFormat()''' 11649 return QTextListFormat() 11650 def toCharFormat(self): 11651 '''QTextCharFormat QTextFormat.toCharFormat()''' 11652 return QTextCharFormat() 11653 def toBlockFormat(self): 11654 '''QTextBlockFormat QTextFormat.toBlockFormat()''' 11655 return QTextBlockFormat() 11656 def isTableFormat(self): 11657 '''bool QTextFormat.isTableFormat()''' 11658 return bool() 11659 def isImageFormat(self): 11660 '''bool QTextFormat.isImageFormat()''' 11661 return bool() 11662 def isFrameFormat(self): 11663 '''bool QTextFormat.isFrameFormat()''' 11664 return bool() 11665 def isListFormat(self): 11666 '''bool QTextFormat.isListFormat()''' 11667 return bool() 11668 def isBlockFormat(self): 11669 '''bool QTextFormat.isBlockFormat()''' 11670 return bool() 11671 def isCharFormat(self): 11672 '''bool QTextFormat.isCharFormat()''' 11673 return bool() 11674 def objectType(self): 11675 '''int QTextFormat.objectType()''' 11676 return int() 11677 def properties(self): 11678 '''dict-of-int-QVariant QTextFormat.properties()''' 11679 return {int():QVariant()} 11680 def lengthVectorProperty(self, propertyId): 11681 '''list-of-QTextLength QTextFormat.lengthVectorProperty(int propertyId)''' 11682 return [QTextLength()] 11683 def lengthProperty(self, propertyId): 11684 '''QTextLength QTextFormat.lengthProperty(int propertyId)''' 11685 return QTextLength() 11686 def brushProperty(self, propertyId): 11687 '''QBrush QTextFormat.brushProperty(int propertyId)''' 11688 return QBrush() 11689 def penProperty(self, propertyId): 11690 '''QPen QTextFormat.penProperty(int propertyId)''' 11691 return QPen() 11692 def colorProperty(self, propertyId): 11693 '''QColor QTextFormat.colorProperty(int propertyId)''' 11694 return QColor() 11695 def stringProperty(self, propertyId): 11696 '''str QTextFormat.stringProperty(int propertyId)''' 11697 return str() 11698 def doubleProperty(self, propertyId): 11699 '''float QTextFormat.doubleProperty(int propertyId)''' 11700 return float() 11701 def intProperty(self, propertyId): 11702 '''int QTextFormat.intProperty(int propertyId)''' 11703 return int() 11704 def boolProperty(self, propertyId): 11705 '''bool QTextFormat.boolProperty(int propertyId)''' 11706 return bool() 11707 def hasProperty(self, propertyId): 11708 '''bool QTextFormat.hasProperty(int propertyId)''' 11709 return bool() 11710 def clearProperty(self, propertyId): 11711 '''void QTextFormat.clearProperty(int propertyId)''' 11712 def setProperty(self, propertyId, value): 11713 '''void QTextFormat.setProperty(int propertyId, QVariant value)''' 11714 def setProperty(self, propertyId, lengths): 11715 '''void QTextFormat.setProperty(int propertyId, list-of-QTextLength lengths)''' 11716 def property(self, propertyId): 11717 '''QVariant QTextFormat.property(int propertyId)''' 11718 return QVariant() 11719 def setObjectIndex(self, object): 11720 '''void QTextFormat.setObjectIndex(int object)''' 11721 def objectIndex(self): 11722 '''int QTextFormat.objectIndex()''' 11723 return int() 11724 def type(self): 11725 '''int QTextFormat.type()''' 11726 return int() 11727 def isValid(self): 11728 '''bool QTextFormat.isValid()''' 11729 return bool() 11730 def merge(self, other): 11731 '''void QTextFormat.merge(QTextFormat other)''' 11732 class PageBreakFlags(): 11733 """""" 11734 def __init__(self): 11735 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__init__()''' 11736 return QTextFormat.PageBreakFlags() 11737 def __init__(self): 11738 '''int QTextFormat.PageBreakFlags.__init__()''' 11739 return int() 11740 def __init__(self): 11741 '''void QTextFormat.PageBreakFlags.__init__()''' 11742 def __bool__(self): 11743 '''int QTextFormat.PageBreakFlags.__bool__()''' 11744 return int() 11745 def __ne__(self, f): 11746 '''bool QTextFormat.PageBreakFlags.__ne__(QTextFormat.PageBreakFlags f)''' 11747 return bool() 11748 def __eq__(self, f): 11749 '''bool QTextFormat.PageBreakFlags.__eq__(QTextFormat.PageBreakFlags f)''' 11750 return bool() 11751 def __invert__(self): 11752 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__invert__()''' 11753 return QTextFormat.PageBreakFlags() 11754 def __and__(self, mask): 11755 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__and__(int mask)''' 11756 return QTextFormat.PageBreakFlags() 11757 def __xor__(self, f): 11758 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__xor__(QTextFormat.PageBreakFlags f)''' 11759 return QTextFormat.PageBreakFlags() 11760 def __xor__(self, f): 11761 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__xor__(int f)''' 11762 return QTextFormat.PageBreakFlags() 11763 def __or__(self, f): 11764 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__or__(QTextFormat.PageBreakFlags f)''' 11765 return QTextFormat.PageBreakFlags() 11766 def __or__(self, f): 11767 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__or__(int f)''' 11768 return QTextFormat.PageBreakFlags() 11769 def __int__(self): 11770 '''int QTextFormat.PageBreakFlags.__int__()''' 11771 return int() 11772 def __ixor__(self, f): 11773 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__ixor__(QTextFormat.PageBreakFlags f)''' 11774 return QTextFormat.PageBreakFlags() 11775 def __ior__(self, f): 11776 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__ior__(QTextFormat.PageBreakFlags f)''' 11777 return QTextFormat.PageBreakFlags() 11778 def __iand__(self, mask): 11779 '''QTextFormat.PageBreakFlags QTextFormat.PageBreakFlags.__iand__(int mask)''' 11780 return QTextFormat.PageBreakFlags() 11781 11782 11783 class QTextCharFormat(QTextFormat): 11784 """""" 11785 # Enum QTextCharFormat.FontPropertiesInheritanceBehavior 11786 FontPropertiesSpecifiedOnly = 0 11787 FontPropertiesAll = 0 11788 11789 # Enum QTextCharFormat.UnderlineStyle 11790 NoUnderline = 0 11791 SingleUnderline = 0 11792 DashUnderline = 0 11793 DotLine = 0 11794 DashDotLine = 0 11795 DashDotDotLine = 0 11796 WaveUnderline = 0 11797 SpellCheckUnderline = 0 11798 11799 # Enum QTextCharFormat.VerticalAlignment 11800 AlignNormal = 0 11801 AlignSuperScript = 0 11802 AlignSubScript = 0 11803 AlignMiddle = 0 11804 AlignTop = 0 11805 AlignBottom = 0 11806 AlignBaseline = 0 11807 11808 def __init__(self): 11809 '''void QTextCharFormat.__init__()''' 11810 def __init__(self): 11811 '''QTextCharFormat QTextCharFormat.__init__()''' 11812 return QTextCharFormat() 11813 def fontLetterSpacingType(self): 11814 '''QFont.SpacingType QTextCharFormat.fontLetterSpacingType()''' 11815 return QFont.SpacingType() 11816 def setFontLetterSpacingType(self, letterSpacingType): 11817 '''void QTextCharFormat.setFontLetterSpacingType(QFont.SpacingType letterSpacingType)''' 11818 def setFontStretch(self, factor): 11819 '''void QTextCharFormat.setFontStretch(int factor)''' 11820 def fontStretch(self): 11821 '''int QTextCharFormat.fontStretch()''' 11822 return int() 11823 def fontHintingPreference(self): 11824 '''QFont.HintingPreference QTextCharFormat.fontHintingPreference()''' 11825 return QFont.HintingPreference() 11826 def setFontHintingPreference(self, hintingPreference): 11827 '''void QTextCharFormat.setFontHintingPreference(QFont.HintingPreference hintingPreference)''' 11828 def fontKerning(self): 11829 '''bool QTextCharFormat.fontKerning()''' 11830 return bool() 11831 def setFontKerning(self, enable): 11832 '''void QTextCharFormat.setFontKerning(bool enable)''' 11833 def fontStyleStrategy(self): 11834 '''QFont.StyleStrategy QTextCharFormat.fontStyleStrategy()''' 11835 return QFont.StyleStrategy() 11836 def fontStyleHint(self): 11837 '''QFont.StyleHint QTextCharFormat.fontStyleHint()''' 11838 return QFont.StyleHint() 11839 def setFontStyleStrategy(self, strategy): 11840 '''void QTextCharFormat.setFontStyleStrategy(QFont.StyleStrategy strategy)''' 11841 def setFontStyleHint(self, hint, strategy = None): 11842 '''void QTextCharFormat.setFontStyleHint(QFont.StyleHint hint, QFont.StyleStrategy strategy = QFont.PreferDefault)''' 11843 def fontWordSpacing(self): 11844 '''float QTextCharFormat.fontWordSpacing()''' 11845 return float() 11846 def setFontWordSpacing(self, spacing): 11847 '''void QTextCharFormat.setFontWordSpacing(float spacing)''' 11848 def fontLetterSpacing(self): 11849 '''float QTextCharFormat.fontLetterSpacing()''' 11850 return float() 11851 def setFontLetterSpacing(self, spacing): 11852 '''void QTextCharFormat.setFontLetterSpacing(float spacing)''' 11853 def fontCapitalization(self): 11854 '''QFont.Capitalization QTextCharFormat.fontCapitalization()''' 11855 return QFont.Capitalization() 11856 def setFontCapitalization(self, capitalization): 11857 '''void QTextCharFormat.setFontCapitalization(QFont.Capitalization capitalization)''' 11858 def anchorNames(self): 11859 '''list-of-str QTextCharFormat.anchorNames()''' 11860 return [str()] 11861 def setAnchorNames(self, names): 11862 '''void QTextCharFormat.setAnchorNames(list-of-str names)''' 11863 def toolTip(self): 11864 '''str QTextCharFormat.toolTip()''' 11865 return str() 11866 def setToolTip(self, tip): 11867 '''void QTextCharFormat.setToolTip(str tip)''' 11868 def underlineStyle(self): 11869 '''QTextCharFormat.UnderlineStyle QTextCharFormat.underlineStyle()''' 11870 return QTextCharFormat.UnderlineStyle() 11871 def setUnderlineStyle(self, style): 11872 '''void QTextCharFormat.setUnderlineStyle(QTextCharFormat.UnderlineStyle style)''' 11873 def textOutline(self): 11874 '''QPen QTextCharFormat.textOutline()''' 11875 return QPen() 11876 def setTextOutline(self, pen): 11877 '''void QTextCharFormat.setTextOutline(QPen pen)''' 11878 def setTableCellColumnSpan(self, atableCellColumnSpan): 11879 '''void QTextCharFormat.setTableCellColumnSpan(int atableCellColumnSpan)''' 11880 def setTableCellRowSpan(self, atableCellRowSpan): 11881 '''void QTextCharFormat.setTableCellRowSpan(int atableCellRowSpan)''' 11882 def tableCellColumnSpan(self): 11883 '''int QTextCharFormat.tableCellColumnSpan()''' 11884 return int() 11885 def tableCellRowSpan(self): 11886 '''int QTextCharFormat.tableCellRowSpan()''' 11887 return int() 11888 def anchorHref(self): 11889 '''str QTextCharFormat.anchorHref()''' 11890 return str() 11891 def setAnchorHref(self, value): 11892 '''void QTextCharFormat.setAnchorHref(str value)''' 11893 def isAnchor(self): 11894 '''bool QTextCharFormat.isAnchor()''' 11895 return bool() 11896 def setAnchor(self, anchor): 11897 '''void QTextCharFormat.setAnchor(bool anchor)''' 11898 def verticalAlignment(self): 11899 '''QTextCharFormat.VerticalAlignment QTextCharFormat.verticalAlignment()''' 11900 return QTextCharFormat.VerticalAlignment() 11901 def setVerticalAlignment(self, alignment): 11902 '''void QTextCharFormat.setVerticalAlignment(QTextCharFormat.VerticalAlignment alignment)''' 11903 def fontFixedPitch(self): 11904 '''bool QTextCharFormat.fontFixedPitch()''' 11905 return bool() 11906 def setFontFixedPitch(self, fixedPitch): 11907 '''void QTextCharFormat.setFontFixedPitch(bool fixedPitch)''' 11908 def underlineColor(self): 11909 '''QColor QTextCharFormat.underlineColor()''' 11910 return QColor() 11911 def setUnderlineColor(self, color): 11912 '''void QTextCharFormat.setUnderlineColor(QColor color)''' 11913 def fontStrikeOut(self): 11914 '''bool QTextCharFormat.fontStrikeOut()''' 11915 return bool() 11916 def setFontStrikeOut(self, strikeOut): 11917 '''void QTextCharFormat.setFontStrikeOut(bool strikeOut)''' 11918 def fontOverline(self): 11919 '''bool QTextCharFormat.fontOverline()''' 11920 return bool() 11921 def setFontOverline(self, overline): 11922 '''void QTextCharFormat.setFontOverline(bool overline)''' 11923 def fontUnderline(self): 11924 '''bool QTextCharFormat.fontUnderline()''' 11925 return bool() 11926 def setFontUnderline(self, underline): 11927 '''void QTextCharFormat.setFontUnderline(bool underline)''' 11928 def fontItalic(self): 11929 '''bool QTextCharFormat.fontItalic()''' 11930 return bool() 11931 def setFontItalic(self, italic): 11932 '''void QTextCharFormat.setFontItalic(bool italic)''' 11933 def fontWeight(self): 11934 '''int QTextCharFormat.fontWeight()''' 11935 return int() 11936 def setFontWeight(self, weight): 11937 '''void QTextCharFormat.setFontWeight(int weight)''' 11938 def fontPointSize(self): 11939 '''float QTextCharFormat.fontPointSize()''' 11940 return float() 11941 def setFontPointSize(self, size): 11942 '''void QTextCharFormat.setFontPointSize(float size)''' 11943 def fontFamily(self): 11944 '''str QTextCharFormat.fontFamily()''' 11945 return str() 11946 def setFontFamily(self, family): 11947 '''void QTextCharFormat.setFontFamily(str family)''' 11948 def font(self): 11949 '''QFont QTextCharFormat.font()''' 11950 return QFont() 11951 def setFont(self, font): 11952 '''void QTextCharFormat.setFont(QFont font)''' 11953 def setFont(self, font, behavior): 11954 '''void QTextCharFormat.setFont(QFont font, QTextCharFormat.FontPropertiesInheritanceBehavior behavior)''' 11955 def isValid(self): 11956 '''bool QTextCharFormat.isValid()''' 11957 return bool() 11958 11959 11960 class QTextBlockFormat(QTextFormat): 11961 """""" 11962 # Enum QTextBlockFormat.LineHeightTypes 11963 SingleHeight = 0 11964 ProportionalHeight = 0 11965 FixedHeight = 0 11966 MinimumHeight = 0 11967 LineDistanceHeight = 0 11968 11969 def __init__(self): 11970 '''void QTextBlockFormat.__init__()''' 11971 def __init__(self): 11972 '''QTextBlockFormat QTextBlockFormat.__init__()''' 11973 return QTextBlockFormat() 11974 def lineHeightType(self): 11975 '''int QTextBlockFormat.lineHeightType()''' 11976 return int() 11977 def lineHeight(self, scriptLineHeight, scaling): 11978 '''float QTextBlockFormat.lineHeight(float scriptLineHeight, float scaling)''' 11979 return float() 11980 def lineHeight(self): 11981 '''float QTextBlockFormat.lineHeight()''' 11982 return float() 11983 def setLineHeight(self, height, heightType): 11984 '''void QTextBlockFormat.setLineHeight(float height, int heightType)''' 11985 def tabPositions(self): 11986 '''list-of-QTextOption.Tab QTextBlockFormat.tabPositions()''' 11987 return [QTextOption.Tab()] 11988 def setTabPositions(self, tabs): 11989 '''void QTextBlockFormat.setTabPositions(list-of-QTextOption.Tab tabs)''' 11990 def pageBreakPolicy(self): 11991 '''QTextFormat.PageBreakFlags QTextBlockFormat.pageBreakPolicy()''' 11992 return QTextFormat.PageBreakFlags() 11993 def setPageBreakPolicy(self, flags): 11994 '''void QTextBlockFormat.setPageBreakPolicy(QTextFormat.PageBreakFlags flags)''' 11995 def setIndent(self, aindent): 11996 '''void QTextBlockFormat.setIndent(int aindent)''' 11997 def setAlignment(self, aalignment): 11998 '''void QTextBlockFormat.setAlignment(Qt.Alignment aalignment)''' 11999 def nonBreakableLines(self): 12000 '''bool QTextBlockFormat.nonBreakableLines()''' 12001 return bool() 12002 def setNonBreakableLines(self, b): 12003 '''void QTextBlockFormat.setNonBreakableLines(bool b)''' 12004 def indent(self): 12005 '''int QTextBlockFormat.indent()''' 12006 return int() 12007 def textIndent(self): 12008 '''float QTextBlockFormat.textIndent()''' 12009 return float() 12010 def setTextIndent(self, margin): 12011 '''void QTextBlockFormat.setTextIndent(float margin)''' 12012 def rightMargin(self): 12013 '''float QTextBlockFormat.rightMargin()''' 12014 return float() 12015 def setRightMargin(self, margin): 12016 '''void QTextBlockFormat.setRightMargin(float margin)''' 12017 def leftMargin(self): 12018 '''float QTextBlockFormat.leftMargin()''' 12019 return float() 12020 def setLeftMargin(self, margin): 12021 '''void QTextBlockFormat.setLeftMargin(float margin)''' 12022 def bottomMargin(self): 12023 '''float QTextBlockFormat.bottomMargin()''' 12024 return float() 12025 def setBottomMargin(self, margin): 12026 '''void QTextBlockFormat.setBottomMargin(float margin)''' 12027 def topMargin(self): 12028 '''float QTextBlockFormat.topMargin()''' 12029 return float() 12030 def setTopMargin(self, margin): 12031 '''void QTextBlockFormat.setTopMargin(float margin)''' 12032 def alignment(self): 12033 '''Qt.Alignment QTextBlockFormat.alignment()''' 12034 return Qt.Alignment() 12035 def isValid(self): 12036 '''bool QTextBlockFormat.isValid()''' 12037 return bool() 12038 12039 12040 class QTextListFormat(QTextFormat): 12041 """""" 12042 # Enum QTextListFormat.Style 12043 ListDisc = 0 12044 ListCircle = 0 12045 ListSquare = 0 12046 ListDecimal = 0 12047 ListLowerAlpha = 0 12048 ListUpperAlpha = 0 12049 ListLowerRoman = 0 12050 ListUpperRoman = 0 12051 12052 def __init__(self): 12053 '''void QTextListFormat.__init__()''' 12054 def __init__(self): 12055 '''QTextListFormat QTextListFormat.__init__()''' 12056 return QTextListFormat() 12057 def setNumberSuffix(self, ns): 12058 '''void QTextListFormat.setNumberSuffix(str ns)''' 12059 def setNumberPrefix(self, np): 12060 '''void QTextListFormat.setNumberPrefix(str np)''' 12061 def numberSuffix(self): 12062 '''str QTextListFormat.numberSuffix()''' 12063 return str() 12064 def numberPrefix(self): 12065 '''str QTextListFormat.numberPrefix()''' 12066 return str() 12067 def setIndent(self, aindent): 12068 '''void QTextListFormat.setIndent(int aindent)''' 12069 def setStyle(self, astyle): 12070 '''void QTextListFormat.setStyle(QTextListFormat.Style astyle)''' 12071 def indent(self): 12072 '''int QTextListFormat.indent()''' 12073 return int() 12074 def style(self): 12075 '''QTextListFormat.Style QTextListFormat.style()''' 12076 return QTextListFormat.Style() 12077 def isValid(self): 12078 '''bool QTextListFormat.isValid()''' 12079 return bool() 12080 12081 12082 class QTextImageFormat(QTextCharFormat): 12083 """""" 12084 def __init__(self): 12085 '''void QTextImageFormat.__init__()''' 12086 def __init__(self): 12087 '''QTextImageFormat QTextImageFormat.__init__()''' 12088 return QTextImageFormat() 12089 def setHeight(self, aheight): 12090 '''void QTextImageFormat.setHeight(float aheight)''' 12091 def setWidth(self, awidth): 12092 '''void QTextImageFormat.setWidth(float awidth)''' 12093 def setName(self, aname): 12094 '''void QTextImageFormat.setName(str aname)''' 12095 def height(self): 12096 '''float QTextImageFormat.height()''' 12097 return float() 12098 def width(self): 12099 '''float QTextImageFormat.width()''' 12100 return float() 12101 def name(self): 12102 '''str QTextImageFormat.name()''' 12103 return str() 12104 def isValid(self): 12105 '''bool QTextImageFormat.isValid()''' 12106 return bool() 12107 12108 12109 class QTextFrameFormat(QTextFormat): 12110 """""" 12111 # Enum QTextFrameFormat.BorderStyle 12112 BorderStyle_None = 0 12113 BorderStyle_Dotted = 0 12114 BorderStyle_Dashed = 0 12115 BorderStyle_Solid = 0 12116 BorderStyle_Double = 0 12117 BorderStyle_DotDash = 0 12118 BorderStyle_DotDotDash = 0 12119 BorderStyle_Groove = 0 12120 BorderStyle_Ridge = 0 12121 BorderStyle_Inset = 0 12122 BorderStyle_Outset = 0 12123 12124 # Enum QTextFrameFormat.Position 12125 InFlow = 0 12126 FloatLeft = 0 12127 FloatRight = 0 12128 12129 def __init__(self): 12130 '''void QTextFrameFormat.__init__()''' 12131 def __init__(self): 12132 '''QTextFrameFormat QTextFrameFormat.__init__()''' 12133 return QTextFrameFormat() 12134 def setRightMargin(self, amargin): 12135 '''void QTextFrameFormat.setRightMargin(float amargin)''' 12136 def setLeftMargin(self, amargin): 12137 '''void QTextFrameFormat.setLeftMargin(float amargin)''' 12138 def setBottomMargin(self, amargin): 12139 '''void QTextFrameFormat.setBottomMargin(float amargin)''' 12140 def setTopMargin(self, amargin): 12141 '''void QTextFrameFormat.setTopMargin(float amargin)''' 12142 def rightMargin(self): 12143 '''float QTextFrameFormat.rightMargin()''' 12144 return float() 12145 def leftMargin(self): 12146 '''float QTextFrameFormat.leftMargin()''' 12147 return float() 12148 def bottomMargin(self): 12149 '''float QTextFrameFormat.bottomMargin()''' 12150 return float() 12151 def topMargin(self): 12152 '''float QTextFrameFormat.topMargin()''' 12153 return float() 12154 def borderStyle(self): 12155 '''QTextFrameFormat.BorderStyle QTextFrameFormat.borderStyle()''' 12156 return QTextFrameFormat.BorderStyle() 12157 def setBorderStyle(self, style): 12158 '''void QTextFrameFormat.setBorderStyle(QTextFrameFormat.BorderStyle style)''' 12159 def borderBrush(self): 12160 '''QBrush QTextFrameFormat.borderBrush()''' 12161 return QBrush() 12162 def setBorderBrush(self, brush): 12163 '''void QTextFrameFormat.setBorderBrush(QBrush brush)''' 12164 def pageBreakPolicy(self): 12165 '''QTextFormat.PageBreakFlags QTextFrameFormat.pageBreakPolicy()''' 12166 return QTextFormat.PageBreakFlags() 12167 def setPageBreakPolicy(self, flags): 12168 '''void QTextFrameFormat.setPageBreakPolicy(QTextFormat.PageBreakFlags flags)''' 12169 def setHeight(self, aheight): 12170 '''void QTextFrameFormat.setHeight(float aheight)''' 12171 def setHeight(self, aheight): 12172 '''void QTextFrameFormat.setHeight(QTextLength aheight)''' 12173 def setPadding(self, apadding): 12174 '''void QTextFrameFormat.setPadding(float apadding)''' 12175 def setMargin(self, amargin): 12176 '''void QTextFrameFormat.setMargin(float amargin)''' 12177 def setBorder(self, aborder): 12178 '''void QTextFrameFormat.setBorder(float aborder)''' 12179 def height(self): 12180 '''QTextLength QTextFrameFormat.height()''' 12181 return QTextLength() 12182 def width(self): 12183 '''QTextLength QTextFrameFormat.width()''' 12184 return QTextLength() 12185 def setWidth(self, length): 12186 '''void QTextFrameFormat.setWidth(QTextLength length)''' 12187 def setWidth(self, awidth): 12188 '''void QTextFrameFormat.setWidth(float awidth)''' 12189 def padding(self): 12190 '''float QTextFrameFormat.padding()''' 12191 return float() 12192 def margin(self): 12193 '''float QTextFrameFormat.margin()''' 12194 return float() 12195 def border(self): 12196 '''float QTextFrameFormat.border()''' 12197 return float() 12198 def position(self): 12199 '''QTextFrameFormat.Position QTextFrameFormat.position()''' 12200 return QTextFrameFormat.Position() 12201 def setPosition(self, f): 12202 '''void QTextFrameFormat.setPosition(QTextFrameFormat.Position f)''' 12203 def isValid(self): 12204 '''bool QTextFrameFormat.isValid()''' 12205 return bool() 12206 12207 12208 class QTextTableFormat(QTextFrameFormat): 12209 """""" 12210 def __init__(self): 12211 '''void QTextTableFormat.__init__()''' 12212 def __init__(self): 12213 '''QTextTableFormat QTextTableFormat.__init__()''' 12214 return QTextTableFormat() 12215 def headerRowCount(self): 12216 '''int QTextTableFormat.headerRowCount()''' 12217 return int() 12218 def setHeaderRowCount(self, count): 12219 '''void QTextTableFormat.setHeaderRowCount(int count)''' 12220 def setAlignment(self, aalignment): 12221 '''void QTextTableFormat.setAlignment(Qt.Alignment aalignment)''' 12222 def setCellPadding(self, apadding): 12223 '''void QTextTableFormat.setCellPadding(float apadding)''' 12224 def setColumns(self, acolumns): 12225 '''void QTextTableFormat.setColumns(int acolumns)''' 12226 def alignment(self): 12227 '''Qt.Alignment QTextTableFormat.alignment()''' 12228 return Qt.Alignment() 12229 def cellPadding(self): 12230 '''float QTextTableFormat.cellPadding()''' 12231 return float() 12232 def setCellSpacing(self, spacing): 12233 '''void QTextTableFormat.setCellSpacing(float spacing)''' 12234 def cellSpacing(self): 12235 '''float QTextTableFormat.cellSpacing()''' 12236 return float() 12237 def clearColumnWidthConstraints(self): 12238 '''void QTextTableFormat.clearColumnWidthConstraints()''' 12239 def columnWidthConstraints(self): 12240 '''list-of-QTextLength QTextTableFormat.columnWidthConstraints()''' 12241 return [QTextLength()] 12242 def setColumnWidthConstraints(self, constraints): 12243 '''void QTextTableFormat.setColumnWidthConstraints(list-of-QTextLength constraints)''' 12244 def columns(self): 12245 '''int QTextTableFormat.columns()''' 12246 return int() 12247 def isValid(self): 12248 '''bool QTextTableFormat.isValid()''' 12249 return bool() 12250 12251 12252 class QTextTableCellFormat(QTextCharFormat): 12253 """""" 12254 def __init__(self): 12255 '''void QTextTableCellFormat.__init__()''' 12256 def __init__(self): 12257 '''QTextTableCellFormat QTextTableCellFormat.__init__()''' 12258 return QTextTableCellFormat() 12259 def setPadding(self, padding): 12260 '''void QTextTableCellFormat.setPadding(float padding)''' 12261 def rightPadding(self): 12262 '''float QTextTableCellFormat.rightPadding()''' 12263 return float() 12264 def setRightPadding(self, padding): 12265 '''void QTextTableCellFormat.setRightPadding(float padding)''' 12266 def leftPadding(self): 12267 '''float QTextTableCellFormat.leftPadding()''' 12268 return float() 12269 def setLeftPadding(self, padding): 12270 '''void QTextTableCellFormat.setLeftPadding(float padding)''' 12271 def bottomPadding(self): 12272 '''float QTextTableCellFormat.bottomPadding()''' 12273 return float() 12274 def setBottomPadding(self, padding): 12275 '''void QTextTableCellFormat.setBottomPadding(float padding)''' 12276 def topPadding(self): 12277 '''float QTextTableCellFormat.topPadding()''' 12278 return float() 12279 def setTopPadding(self, padding): 12280 '''void QTextTableCellFormat.setTopPadding(float padding)''' 12281 def isValid(self): 12282 '''bool QTextTableCellFormat.isValid()''' 12283 return bool() 12284 12285 12286 class QTextInlineObject(): 12287 """""" 12288 def __init__(self): 12289 '''void QTextInlineObject.__init__()''' 12290 def __init__(self): 12291 '''QTextInlineObject QTextInlineObject.__init__()''' 12292 return QTextInlineObject() 12293 def format(self): 12294 '''QTextFormat QTextInlineObject.format()''' 12295 return QTextFormat() 12296 def formatIndex(self): 12297 '''int QTextInlineObject.formatIndex()''' 12298 return int() 12299 def textPosition(self): 12300 '''int QTextInlineObject.textPosition()''' 12301 return int() 12302 def setDescent(self, d): 12303 '''void QTextInlineObject.setDescent(float d)''' 12304 def setAscent(self, a): 12305 '''void QTextInlineObject.setAscent(float a)''' 12306 def setWidth(self, w): 12307 '''void QTextInlineObject.setWidth(float w)''' 12308 def textDirection(self): 12309 '''Qt.LayoutDirection QTextInlineObject.textDirection()''' 12310 return Qt.LayoutDirection() 12311 def height(self): 12312 '''float QTextInlineObject.height()''' 12313 return float() 12314 def descent(self): 12315 '''float QTextInlineObject.descent()''' 12316 return float() 12317 def ascent(self): 12318 '''float QTextInlineObject.ascent()''' 12319 return float() 12320 def width(self): 12321 '''float QTextInlineObject.width()''' 12322 return float() 12323 def rect(self): 12324 '''QRectF QTextInlineObject.rect()''' 12325 return QRectF() 12326 def isValid(self): 12327 '''bool QTextInlineObject.isValid()''' 12328 return bool() 12329 12330 12331 class QTextLayout(): 12332 """""" 12333 # Enum QTextLayout.CursorMode 12334 SkipCharacters = 0 12335 SkipWords = 0 12336 12337 def __init__(self): 12338 '''void QTextLayout.__init__()''' 12339 def __init__(self, text): 12340 '''void QTextLayout.__init__(str text)''' 12341 def __init__(self, text, font, paintDevice = None): 12342 '''void QTextLayout.__init__(str text, QFont font, QPaintDevice paintDevice = None)''' 12343 def __init__(self, b): 12344 '''void QTextLayout.__init__(QTextBlock b)''' 12345 def glyphRuns(self, from_ = None, length = None): 12346 '''list-of-QGlyphRun QTextLayout.glyphRuns(int from = -1, int length = -1)''' 12347 return [QGlyphRun()] 12348 def rightCursorPosition(self, oldPos): 12349 '''int QTextLayout.rightCursorPosition(int oldPos)''' 12350 return int() 12351 def leftCursorPosition(self, oldPos): 12352 '''int QTextLayout.leftCursorPosition(int oldPos)''' 12353 return int() 12354 def cursorMoveStyle(self): 12355 '''Qt.CursorMoveStyle QTextLayout.cursorMoveStyle()''' 12356 return Qt.CursorMoveStyle() 12357 def setCursorMoveStyle(self, style): 12358 '''void QTextLayout.setCursorMoveStyle(Qt.CursorMoveStyle style)''' 12359 def clearLayout(self): 12360 '''void QTextLayout.clearLayout()''' 12361 def maximumWidth(self): 12362 '''float QTextLayout.maximumWidth()''' 12363 return float() 12364 def minimumWidth(self): 12365 '''float QTextLayout.minimumWidth()''' 12366 return float() 12367 def boundingRect(self): 12368 '''QRectF QTextLayout.boundingRect()''' 12369 return QRectF() 12370 def setPosition(self, p): 12371 '''void QTextLayout.setPosition(QPointF p)''' 12372 def position(self): 12373 '''QPointF QTextLayout.position()''' 12374 return QPointF() 12375 def drawCursor(self, p, pos, cursorPosition): 12376 '''void QTextLayout.drawCursor(QPainter p, QPointF pos, int cursorPosition)''' 12377 def drawCursor(self, p, pos, cursorPosition, width): 12378 '''void QTextLayout.drawCursor(QPainter p, QPointF pos, int cursorPosition, int width)''' 12379 def draw(self, p, pos, selections = None, clip = QRectF()): 12380 '''void QTextLayout.draw(QPainter p, QPointF pos, list-of-QTextLayout.FormatRange selections = list-of-QTextLayout.FormatRange, QRectF clip = QRectF())''' 12381 def previousCursorPosition(self, oldPos, mode = None): 12382 '''int QTextLayout.previousCursorPosition(int oldPos, QTextLayout.CursorMode mode = QTextLayout.SkipCharacters)''' 12383 return int() 12384 def nextCursorPosition(self, oldPos, mode = None): 12385 '''int QTextLayout.nextCursorPosition(int oldPos, QTextLayout.CursorMode mode = QTextLayout.SkipCharacters)''' 12386 return int() 12387 def isValidCursorPosition(self, pos): 12388 '''bool QTextLayout.isValidCursorPosition(int pos)''' 12389 return bool() 12390 def lineForTextPosition(self, pos): 12391 '''QTextLine QTextLayout.lineForTextPosition(int pos)''' 12392 return QTextLine() 12393 def lineAt(self, i): 12394 '''QTextLine QTextLayout.lineAt(int i)''' 12395 return QTextLine() 12396 def lineCount(self): 12397 '''int QTextLayout.lineCount()''' 12398 return int() 12399 def createLine(self): 12400 '''QTextLine QTextLayout.createLine()''' 12401 return QTextLine() 12402 def endLayout(self): 12403 '''void QTextLayout.endLayout()''' 12404 def beginLayout(self): 12405 '''void QTextLayout.beginLayout()''' 12406 def cacheEnabled(self): 12407 '''bool QTextLayout.cacheEnabled()''' 12408 return bool() 12409 def setCacheEnabled(self, enable): 12410 '''void QTextLayout.setCacheEnabled(bool enable)''' 12411 def clearAdditionalFormats(self): 12412 '''void QTextLayout.clearAdditionalFormats()''' 12413 def additionalFormats(self): 12414 '''list-of-QTextLayout.FormatRange QTextLayout.additionalFormats()''' 12415 return [QTextLayout.FormatRange()] 12416 def setAdditionalFormats(self, overrides): 12417 '''void QTextLayout.setAdditionalFormats(list-of-QTextLayout.FormatRange overrides)''' 12418 def preeditAreaText(self): 12419 '''str QTextLayout.preeditAreaText()''' 12420 return str() 12421 def preeditAreaPosition(self): 12422 '''int QTextLayout.preeditAreaPosition()''' 12423 return int() 12424 def setPreeditArea(self, position, text): 12425 '''void QTextLayout.setPreeditArea(int position, str text)''' 12426 def textOption(self): 12427 '''QTextOption QTextLayout.textOption()''' 12428 return QTextOption() 12429 def setTextOption(self, option): 12430 '''void QTextLayout.setTextOption(QTextOption option)''' 12431 def text(self): 12432 '''str QTextLayout.text()''' 12433 return str() 12434 def setText(self, string): 12435 '''void QTextLayout.setText(str string)''' 12436 def font(self): 12437 '''QFont QTextLayout.font()''' 12438 return QFont() 12439 def setFont(self, f): 12440 '''void QTextLayout.setFont(QFont f)''' 12441 class FormatRange(): 12442 """""" 12443 format = None # QTextCharFormat - member 12444 length = None # int - member 12445 start = None # int - member 12446 def __init__(self): 12447 '''void QTextLayout.FormatRange.__init__()''' 12448 def __init__(self): 12449 '''QTextLayout.FormatRange QTextLayout.FormatRange.__init__()''' 12450 return QTextLayout.FormatRange() 12451 12452 12453 class QTextLine(): 12454 """""" 12455 # Enum QTextLine.CursorPosition 12456 CursorBetweenCharacters = 0 12457 CursorOnCharacter = 0 12458 12459 # Enum QTextLine.Edge 12460 Leading = 0 12461 Trailing = 0 12462 12463 def __init__(self): 12464 '''void QTextLine.__init__()''' 12465 def __init__(self): 12466 '''QTextLine QTextLine.__init__()''' 12467 return QTextLine() 12468 def glyphRuns(self, from_ = None, length = None): 12469 '''list-of-QGlyphRun QTextLine.glyphRuns(int from = -1, int length = -1)''' 12470 return [QGlyphRun()] 12471 def horizontalAdvance(self): 12472 '''float QTextLine.horizontalAdvance()''' 12473 return float() 12474 def leadingIncluded(self): 12475 '''bool QTextLine.leadingIncluded()''' 12476 return bool() 12477 def setLeadingIncluded(self, included): 12478 '''void QTextLine.setLeadingIncluded(bool included)''' 12479 def leading(self): 12480 '''float QTextLine.leading()''' 12481 return float() 12482 def position(self): 12483 '''QPointF QTextLine.position()''' 12484 return QPointF() 12485 def draw(self, painter, position, selection = None): 12486 '''void QTextLine.draw(QPainter painter, QPointF position, QTextLayout.FormatRange selection = None)''' 12487 def lineNumber(self): 12488 '''int QTextLine.lineNumber()''' 12489 return int() 12490 def textLength(self): 12491 '''int QTextLine.textLength()''' 12492 return int() 12493 def textStart(self): 12494 '''int QTextLine.textStart()''' 12495 return int() 12496 def setPosition(self, pos): 12497 '''void QTextLine.setPosition(QPointF pos)''' 12498 def setNumColumns(self, columns): 12499 '''void QTextLine.setNumColumns(int columns)''' 12500 def setNumColumns(self, columns, alignmentWidth): 12501 '''void QTextLine.setNumColumns(int columns, float alignmentWidth)''' 12502 def setLineWidth(self, width): 12503 '''void QTextLine.setLineWidth(float width)''' 12504 def xToCursor(self, x, edge = None): 12505 '''int QTextLine.xToCursor(float x, QTextLine.CursorPosition edge = QTextLine.CursorBetweenCharacters)''' 12506 return int() 12507 def cursorToX(self, cursorPos, edge = None): 12508 '''float QTextLine.cursorToX(int cursorPos, QTextLine.Edge edge = QTextLine.Leading)''' 12509 return float() 12510 def naturalTextRect(self): 12511 '''QRectF QTextLine.naturalTextRect()''' 12512 return QRectF() 12513 def naturalTextWidth(self): 12514 '''float QTextLine.naturalTextWidth()''' 12515 return float() 12516 def height(self): 12517 '''float QTextLine.height()''' 12518 return float() 12519 def descent(self): 12520 '''float QTextLine.descent()''' 12521 return float() 12522 def ascent(self): 12523 '''float QTextLine.ascent()''' 12524 return float() 12525 def width(self): 12526 '''float QTextLine.width()''' 12527 return float() 12528 def y(self): 12529 '''float QTextLine.y()''' 12530 return float() 12531 def x(self): 12532 '''float QTextLine.x()''' 12533 return float() 12534 def rect(self): 12535 '''QRectF QTextLine.rect()''' 12536 return QRectF() 12537 def isValid(self): 12538 '''bool QTextLine.isValid()''' 12539 return bool() 12540 12541 12542 class QTextObject(QObject): 12543 """""" 12544 def __init__(self, doc): 12545 '''void QTextObject.__init__(QTextDocument doc)''' 12546 def objectIndex(self): 12547 '''int QTextObject.objectIndex()''' 12548 return int() 12549 def document(self): 12550 '''QTextDocument QTextObject.document()''' 12551 return QTextDocument() 12552 def formatIndex(self): 12553 '''int QTextObject.formatIndex()''' 12554 return int() 12555 def format(self): 12556 '''QTextFormat QTextObject.format()''' 12557 return QTextFormat() 12558 def setFormat(self, format): 12559 '''void QTextObject.setFormat(QTextFormat format)''' 12560 12561 12562 class QTextBlockGroup(QTextObject): 12563 """""" 12564 def __init__(self, doc): 12565 '''void QTextBlockGroup.__init__(QTextDocument doc)''' 12566 def blockList(self): 12567 '''list-of-QTextBlock QTextBlockGroup.blockList()''' 12568 return [QTextBlock()] 12569 def blockFormatChanged(self, block): 12570 '''void QTextBlockGroup.blockFormatChanged(QTextBlock block)''' 12571 def blockRemoved(self, block): 12572 '''void QTextBlockGroup.blockRemoved(QTextBlock block)''' 12573 def blockInserted(self, block): 12574 '''void QTextBlockGroup.blockInserted(QTextBlock block)''' 12575 12576 12577 class QTextList(QTextBlockGroup): 12578 """""" 12579 def __init__(self, doc): 12580 '''void QTextList.__init__(QTextDocument doc)''' 12581 def setFormat(self, aformat): 12582 '''void QTextList.setFormat(QTextListFormat aformat)''' 12583 def format(self): 12584 '''QTextListFormat QTextList.format()''' 12585 return QTextListFormat() 12586 def add(self, block): 12587 '''void QTextList.add(QTextBlock block)''' 12588 def remove(self): 12589 '''QTextBlock QTextList.remove()''' 12590 return QTextBlock() 12591 def removeItem(self, i): 12592 '''void QTextList.removeItem(int i)''' 12593 def itemText(self): 12594 '''QTextBlock QTextList.itemText()''' 12595 return QTextBlock() 12596 def itemNumber(self): 12597 '''QTextBlock QTextList.itemNumber()''' 12598 return QTextBlock() 12599 def item(self, i): 12600 '''QTextBlock QTextList.item(int i)''' 12601 return QTextBlock() 12602 def __len__(self): 12603 ''' QTextList.__len__()''' 12604 return () 12605 def count(self): 12606 '''int QTextList.count()''' 12607 return int() 12608 12609 12610 class QTextFrame(QTextObject): 12611 """""" 12612 def __init__(self, doc): 12613 '''void QTextFrame.__init__(QTextDocument doc)''' 12614 def setFrameFormat(self, aformat): 12615 '''void QTextFrame.setFrameFormat(QTextFrameFormat aformat)''' 12616 def end(self): 12617 '''QTextFrame.iterator QTextFrame.end()''' 12618 return QTextFrame.iterator() 12619 def begin(self): 12620 '''QTextFrame.iterator QTextFrame.begin()''' 12621 return QTextFrame.iterator() 12622 def parentFrame(self): 12623 '''QTextFrame QTextFrame.parentFrame()''' 12624 return QTextFrame() 12625 def childFrames(self): 12626 '''list-of-QTextFrame QTextFrame.childFrames()''' 12627 return [QTextFrame()] 12628 def lastPosition(self): 12629 '''int QTextFrame.lastPosition()''' 12630 return int() 12631 def firstPosition(self): 12632 '''int QTextFrame.firstPosition()''' 12633 return int() 12634 def lastCursorPosition(self): 12635 '''QTextCursor QTextFrame.lastCursorPosition()''' 12636 return QTextCursor() 12637 def firstCursorPosition(self): 12638 '''QTextCursor QTextFrame.firstCursorPosition()''' 12639 return QTextCursor() 12640 def frameFormat(self): 12641 '''QTextFrameFormat QTextFrame.frameFormat()''' 12642 return QTextFrameFormat() 12643 class iterator(): 12644 """""" 12645 def __init__(self): 12646 '''void QTextFrame.iterator.__init__()''' 12647 def __init__(self, o): 12648 '''void QTextFrame.iterator.__init__(QTextFrame.iterator o)''' 12649 def __isub__(self): 12650 '''int QTextFrame.iterator.__isub__()''' 12651 return int() 12652 def __iadd__(self): 12653 '''int QTextFrame.iterator.__iadd__()''' 12654 return int() 12655 def __ne__(self, o): 12656 '''bool QTextFrame.iterator.__ne__(QTextFrame.iterator o)''' 12657 return bool() 12658 def __eq__(self, o): 12659 '''bool QTextFrame.iterator.__eq__(QTextFrame.iterator o)''' 12660 return bool() 12661 def atEnd(self): 12662 '''bool QTextFrame.iterator.atEnd()''' 12663 return bool() 12664 def currentBlock(self): 12665 '''QTextBlock QTextFrame.iterator.currentBlock()''' 12666 return QTextBlock() 12667 def currentFrame(self): 12668 '''QTextFrame QTextFrame.iterator.currentFrame()''' 12669 return QTextFrame() 12670 def parentFrame(self): 12671 '''QTextFrame QTextFrame.iterator.parentFrame()''' 12672 return QTextFrame() 12673 12674 12675 class QTextBlock(): 12676 """""" 12677 def __init__(self): 12678 '''void QTextBlock.__init__()''' 12679 def __init__(self, o): 12680 '''void QTextBlock.__init__(QTextBlock o)''' 12681 def __ge__(self, o): 12682 '''bool QTextBlock.__ge__(QTextBlock o)''' 12683 return bool() 12684 def textFormats(self): 12685 '''list-of-QTextLayout.FormatRange QTextBlock.textFormats()''' 12686 return [QTextLayout.FormatRange()] 12687 def textDirection(self): 12688 '''Qt.LayoutDirection QTextBlock.textDirection()''' 12689 return Qt.LayoutDirection() 12690 def lineCount(self): 12691 '''int QTextBlock.lineCount()''' 12692 return int() 12693 def setLineCount(self, count): 12694 '''void QTextBlock.setLineCount(int count)''' 12695 def firstLineNumber(self): 12696 '''int QTextBlock.firstLineNumber()''' 12697 return int() 12698 def blockNumber(self): 12699 '''int QTextBlock.blockNumber()''' 12700 return int() 12701 def setVisible(self, visible): 12702 '''void QTextBlock.setVisible(bool visible)''' 12703 def isVisible(self): 12704 '''bool QTextBlock.isVisible()''' 12705 return bool() 12706 def setRevision(self, rev): 12707 '''void QTextBlock.setRevision(int rev)''' 12708 def revision(self): 12709 '''int QTextBlock.revision()''' 12710 return int() 12711 def clearLayout(self): 12712 '''void QTextBlock.clearLayout()''' 12713 def setUserState(self, state): 12714 '''void QTextBlock.setUserState(int state)''' 12715 def userState(self): 12716 '''int QTextBlock.userState()''' 12717 return int() 12718 def setUserData(self, data): 12719 '''void QTextBlock.setUserData(QTextBlockUserData data)''' 12720 def userData(self): 12721 '''QTextBlockUserData QTextBlock.userData()''' 12722 return QTextBlockUserData() 12723 def previous(self): 12724 '''QTextBlock QTextBlock.previous()''' 12725 return QTextBlock() 12726 def next(self): 12727 '''QTextBlock QTextBlock.next()''' 12728 return QTextBlock() 12729 def end(self): 12730 '''QTextBlock.iterator QTextBlock.end()''' 12731 return QTextBlock.iterator() 12732 def begin(self): 12733 '''QTextBlock.iterator QTextBlock.begin()''' 12734 return QTextBlock.iterator() 12735 def textList(self): 12736 '''QTextList QTextBlock.textList()''' 12737 return QTextList() 12738 def document(self): 12739 '''QTextDocument QTextBlock.document()''' 12740 return QTextDocument() 12741 def text(self): 12742 '''str QTextBlock.text()''' 12743 return str() 12744 def charFormatIndex(self): 12745 '''int QTextBlock.charFormatIndex()''' 12746 return int() 12747 def charFormat(self): 12748 '''QTextCharFormat QTextBlock.charFormat()''' 12749 return QTextCharFormat() 12750 def blockFormatIndex(self): 12751 '''int QTextBlock.blockFormatIndex()''' 12752 return int() 12753 def blockFormat(self): 12754 '''QTextBlockFormat QTextBlock.blockFormat()''' 12755 return QTextBlockFormat() 12756 def layout(self): 12757 '''QTextLayout QTextBlock.layout()''' 12758 return QTextLayout() 12759 def contains(self, position): 12760 '''bool QTextBlock.contains(int position)''' 12761 return bool() 12762 def length(self): 12763 '''int QTextBlock.length()''' 12764 return int() 12765 def position(self): 12766 '''int QTextBlock.position()''' 12767 return int() 12768 def __lt__(self, o): 12769 '''bool QTextBlock.__lt__(QTextBlock o)''' 12770 return bool() 12771 def __ne__(self, o): 12772 '''bool QTextBlock.__ne__(QTextBlock o)''' 12773 return bool() 12774 def __eq__(self, o): 12775 '''bool QTextBlock.__eq__(QTextBlock o)''' 12776 return bool() 12777 def isValid(self): 12778 '''bool QTextBlock.isValid()''' 12779 return bool() 12780 class iterator(): 12781 """""" 12782 def __init__(self): 12783 '''void QTextBlock.iterator.__init__()''' 12784 def __init__(self, o): 12785 '''void QTextBlock.iterator.__init__(QTextBlock.iterator o)''' 12786 def __isub__(self): 12787 '''int QTextBlock.iterator.__isub__()''' 12788 return int() 12789 def __iadd__(self): 12790 '''int QTextBlock.iterator.__iadd__()''' 12791 return int() 12792 def __ne__(self, o): 12793 '''bool QTextBlock.iterator.__ne__(QTextBlock.iterator o)''' 12794 return bool() 12795 def __eq__(self, o): 12796 '''bool QTextBlock.iterator.__eq__(QTextBlock.iterator o)''' 12797 return bool() 12798 def atEnd(self): 12799 '''bool QTextBlock.iterator.atEnd()''' 12800 return bool() 12801 def fragment(self): 12802 '''QTextFragment QTextBlock.iterator.fragment()''' 12803 return QTextFragment() 12804 12805 12806 class QTextFragment(): 12807 """""" 12808 def __init__(self): 12809 '''void QTextFragment.__init__()''' 12810 def __init__(self, o): 12811 '''void QTextFragment.__init__(QTextFragment o)''' 12812 def __ge__(self, o): 12813 '''bool QTextFragment.__ge__(QTextFragment o)''' 12814 return bool() 12815 def glyphRuns(self, from_ = None, length = None): 12816 '''list-of-QGlyphRun QTextFragment.glyphRuns(int from = -1, int length = -1)''' 12817 return [QGlyphRun()] 12818 def text(self): 12819 '''str QTextFragment.text()''' 12820 return str() 12821 def charFormatIndex(self): 12822 '''int QTextFragment.charFormatIndex()''' 12823 return int() 12824 def charFormat(self): 12825 '''QTextCharFormat QTextFragment.charFormat()''' 12826 return QTextCharFormat() 12827 def contains(self, position): 12828 '''bool QTextFragment.contains(int position)''' 12829 return bool() 12830 def length(self): 12831 '''int QTextFragment.length()''' 12832 return int() 12833 def position(self): 12834 '''int QTextFragment.position()''' 12835 return int() 12836 def __lt__(self, o): 12837 '''bool QTextFragment.__lt__(QTextFragment o)''' 12838 return bool() 12839 def __ne__(self, o): 12840 '''bool QTextFragment.__ne__(QTextFragment o)''' 12841 return bool() 12842 def __eq__(self, o): 12843 '''bool QTextFragment.__eq__(QTextFragment o)''' 12844 return bool() 12845 def isValid(self): 12846 '''bool QTextFragment.isValid()''' 12847 return bool() 12848 12849 12850 class QTextBlockUserData(): 12851 """""" 12852 def __init__(self): 12853 '''void QTextBlockUserData.__init__()''' 12854 def __init__(self): 12855 '''QTextBlockUserData QTextBlockUserData.__init__()''' 12856 return QTextBlockUserData() 12857 12858 12859 class QTextOption(): 12860 """""" 12861 # Enum QTextOption.TabType 12862 LeftTab = 0 12863 RightTab = 0 12864 CenterTab = 0 12865 DelimiterTab = 0 12866 12867 # Enum QTextOption.Flag 12868 IncludeTrailingSpaces = 0 12869 ShowTabsAndSpaces = 0 12870 ShowLineAndParagraphSeparators = 0 12871 AddSpaceForLineAndParagraphSeparators = 0 12872 SuppressColors = 0 12873 12874 # Enum QTextOption.WrapMode 12875 NoWrap = 0 12876 WordWrap = 0 12877 ManualWrap = 0 12878 WrapAnywhere = 0 12879 WrapAtWordBoundaryOrAnywhere = 0 12880 12881 def __init__(self): 12882 '''void QTextOption.__init__()''' 12883 def __init__(self, alignment): 12884 '''void QTextOption.__init__(Qt.Alignment alignment)''' 12885 def __init__(self, o): 12886 '''void QTextOption.__init__(QTextOption o)''' 12887 def tabs(self): 12888 '''list-of-QTextOption.Tab QTextOption.tabs()''' 12889 return [QTextOption.Tab()] 12890 def setTabs(self, tabStops): 12891 '''void QTextOption.setTabs(list-of-QTextOption.Tab tabStops)''' 12892 def setTabStop(self, atabStop): 12893 '''void QTextOption.setTabStop(float atabStop)''' 12894 def setFlags(self, aflags): 12895 '''void QTextOption.setFlags(QTextOption.Flags aflags)''' 12896 def setAlignment(self, aalignment): 12897 '''void QTextOption.setAlignment(Qt.Alignment aalignment)''' 12898 def useDesignMetrics(self): 12899 '''bool QTextOption.useDesignMetrics()''' 12900 return bool() 12901 def setUseDesignMetrics(self, b): 12902 '''void QTextOption.setUseDesignMetrics(bool b)''' 12903 def tabArray(self): 12904 '''list-of-float QTextOption.tabArray()''' 12905 return [float()] 12906 def setTabArray(self, tabStops): 12907 '''void QTextOption.setTabArray(list-of-float tabStops)''' 12908 def tabStop(self): 12909 '''float QTextOption.tabStop()''' 12910 return float() 12911 def flags(self): 12912 '''QTextOption.Flags QTextOption.flags()''' 12913 return QTextOption.Flags() 12914 def wrapMode(self): 12915 '''QTextOption.WrapMode QTextOption.wrapMode()''' 12916 return QTextOption.WrapMode() 12917 def setWrapMode(self, wrap): 12918 '''void QTextOption.setWrapMode(QTextOption.WrapMode wrap)''' 12919 def textDirection(self): 12920 '''Qt.LayoutDirection QTextOption.textDirection()''' 12921 return Qt.LayoutDirection() 12922 def setTextDirection(self, aDirection): 12923 '''void QTextOption.setTextDirection(Qt.LayoutDirection aDirection)''' 12924 def alignment(self): 12925 '''Qt.Alignment QTextOption.alignment()''' 12926 return Qt.Alignment() 12927 class Tab(): 12928 """""" 12929 delimiter = None # str - member 12930 position = None # float - member 12931 type = None # QTextOption.TabType - member 12932 def __init__(self): 12933 '''void QTextOption.Tab.__init__()''' 12934 def __init__(self, pos, tabType, delim = bytes()): 12935 '''void QTextOption.Tab.__init__(float pos, QTextOption.TabType tabType, str delim = bytes())''' 12936 def __init__(self): 12937 '''QTextOption.Tab QTextOption.Tab.__init__()''' 12938 return QTextOption.Tab() 12939 def __ne__(self, other): 12940 '''bool QTextOption.Tab.__ne__(QTextOption.Tab other)''' 12941 return bool() 12942 def __eq__(self, other): 12943 '''bool QTextOption.Tab.__eq__(QTextOption.Tab other)''' 12944 return bool() 12945 class Flags(): 12946 """""" 12947 def __init__(self): 12948 '''QTextOption.Flags QTextOption.Flags.__init__()''' 12949 return QTextOption.Flags() 12950 def __init__(self): 12951 '''int QTextOption.Flags.__init__()''' 12952 return int() 12953 def __init__(self): 12954 '''void QTextOption.Flags.__init__()''' 12955 def __bool__(self): 12956 '''int QTextOption.Flags.__bool__()''' 12957 return int() 12958 def __ne__(self, f): 12959 '''bool QTextOption.Flags.__ne__(QTextOption.Flags f)''' 12960 return bool() 12961 def __eq__(self, f): 12962 '''bool QTextOption.Flags.__eq__(QTextOption.Flags f)''' 12963 return bool() 12964 def __invert__(self): 12965 '''QTextOption.Flags QTextOption.Flags.__invert__()''' 12966 return QTextOption.Flags() 12967 def __and__(self, mask): 12968 '''QTextOption.Flags QTextOption.Flags.__and__(int mask)''' 12969 return QTextOption.Flags() 12970 def __xor__(self, f): 12971 '''QTextOption.Flags QTextOption.Flags.__xor__(QTextOption.Flags f)''' 12972 return QTextOption.Flags() 12973 def __xor__(self, f): 12974 '''QTextOption.Flags QTextOption.Flags.__xor__(int f)''' 12975 return QTextOption.Flags() 12976 def __or__(self, f): 12977 '''QTextOption.Flags QTextOption.Flags.__or__(QTextOption.Flags f)''' 12978 return QTextOption.Flags() 12979 def __or__(self, f): 12980 '''QTextOption.Flags QTextOption.Flags.__or__(int f)''' 12981 return QTextOption.Flags() 12982 def __int__(self): 12983 '''int QTextOption.Flags.__int__()''' 12984 return int() 12985 def __ixor__(self, f): 12986 '''QTextOption.Flags QTextOption.Flags.__ixor__(QTextOption.Flags f)''' 12987 return QTextOption.Flags() 12988 def __ior__(self, f): 12989 '''QTextOption.Flags QTextOption.Flags.__ior__(QTextOption.Flags f)''' 12990 return QTextOption.Flags() 12991 def __iand__(self, mask): 12992 '''QTextOption.Flags QTextOption.Flags.__iand__(int mask)''' 12993 return QTextOption.Flags() 12994 12995 12996 class QTextTableCell(): 12997 """""" 12998 def __init__(self): 12999 '''void QTextTableCell.__init__()''' 13000 def __init__(self, o): 13001 '''void QTextTableCell.__init__(QTextTableCell o)''' 13002 def __ne__(self, other): 13003 '''bool QTextTableCell.__ne__(QTextTableCell other)''' 13004 return bool() 13005 def __eq__(self, other): 13006 '''bool QTextTableCell.__eq__(QTextTableCell other)''' 13007 return bool() 13008 def tableCellFormatIndex(self): 13009 '''int QTextTableCell.tableCellFormatIndex()''' 13010 return int() 13011 def lastCursorPosition(self): 13012 '''QTextCursor QTextTableCell.lastCursorPosition()''' 13013 return QTextCursor() 13014 def firstCursorPosition(self): 13015 '''QTextCursor QTextTableCell.firstCursorPosition()''' 13016 return QTextCursor() 13017 def isValid(self): 13018 '''bool QTextTableCell.isValid()''' 13019 return bool() 13020 def columnSpan(self): 13021 '''int QTextTableCell.columnSpan()''' 13022 return int() 13023 def rowSpan(self): 13024 '''int QTextTableCell.rowSpan()''' 13025 return int() 13026 def column(self): 13027 '''int QTextTableCell.column()''' 13028 return int() 13029 def row(self): 13030 '''int QTextTableCell.row()''' 13031 return int() 13032 def setFormat(self, format): 13033 '''void QTextTableCell.setFormat(QTextCharFormat format)''' 13034 def format(self): 13035 '''QTextCharFormat QTextTableCell.format()''' 13036 return QTextCharFormat() 13037 13038 13039 class QTextTable(QTextFrame): 13040 """""" 13041 def __init__(self, doc): 13042 '''void QTextTable.__init__(QTextDocument doc)''' 13043 def appendColumns(self, count): 13044 '''void QTextTable.appendColumns(int count)''' 13045 def appendRows(self, count): 13046 '''void QTextTable.appendRows(int count)''' 13047 def setFormat(self, aformat): 13048 '''void QTextTable.setFormat(QTextTableFormat aformat)''' 13049 def format(self): 13050 '''QTextTableFormat QTextTable.format()''' 13051 return QTextTableFormat() 13052 def rowEnd(self, c): 13053 '''QTextCursor QTextTable.rowEnd(QTextCursor c)''' 13054 return QTextCursor() 13055 def rowStart(self, c): 13056 '''QTextCursor QTextTable.rowStart(QTextCursor c)''' 13057 return QTextCursor() 13058 def cellAt(self, row, col): 13059 '''QTextTableCell QTextTable.cellAt(int row, int col)''' 13060 return QTextTableCell() 13061 def cellAt(self, position): 13062 '''QTextTableCell QTextTable.cellAt(int position)''' 13063 return QTextTableCell() 13064 def cellAt(self, c): 13065 '''QTextTableCell QTextTable.cellAt(QTextCursor c)''' 13066 return QTextTableCell() 13067 def columns(self): 13068 '''int QTextTable.columns()''' 13069 return int() 13070 def rows(self): 13071 '''int QTextTable.rows()''' 13072 return int() 13073 def splitCell(self, row, col, numRows, numCols): 13074 '''void QTextTable.splitCell(int row, int col, int numRows, int numCols)''' 13075 def mergeCells(self, row, col, numRows, numCols): 13076 '''void QTextTable.mergeCells(int row, int col, int numRows, int numCols)''' 13077 def mergeCells(self, cursor): 13078 '''void QTextTable.mergeCells(QTextCursor cursor)''' 13079 def removeColumns(self, pos, num): 13080 '''void QTextTable.removeColumns(int pos, int num)''' 13081 def removeRows(self, pos, num): 13082 '''void QTextTable.removeRows(int pos, int num)''' 13083 def insertColumns(self, pos, num): 13084 '''void QTextTable.insertColumns(int pos, int num)''' 13085 def insertRows(self, pos, num): 13086 '''void QTextTable.insertRows(int pos, int num)''' 13087 def resize(self, rows, cols): 13088 '''void QTextTable.resize(int rows, int cols)''' 13089 13090 13091 class QTouchDevice(): 13092 """""" 13093 # Enum QTouchDevice.CapabilityFlag 13094 Position = 0 13095 Area = 0 13096 Pressure = 0 13097 Velocity = 0 13098 RawPositions = 0 13099 NormalizedPosition = 0 13100 MouseEmulation = 0 13101 13102 # Enum QTouchDevice.DeviceType 13103 TouchScreen = 0 13104 TouchPad = 0 13105 13106 def __init__(self): 13107 '''void QTouchDevice.__init__()''' 13108 def __init__(self): 13109 '''QTouchDevice QTouchDevice.__init__()''' 13110 return QTouchDevice() 13111 def setMaximumTouchPoints(self, max): 13112 '''void QTouchDevice.setMaximumTouchPoints(int max)''' 13113 def maximumTouchPoints(self): 13114 '''int QTouchDevice.maximumTouchPoints()''' 13115 return int() 13116 def setCapabilities(self, caps): 13117 '''void QTouchDevice.setCapabilities(QTouchDevice.Capabilities caps)''' 13118 def setType(self, devType): 13119 '''void QTouchDevice.setType(QTouchDevice.DeviceType devType)''' 13120 def setName(self, name): 13121 '''void QTouchDevice.setName(str name)''' 13122 def capabilities(self): 13123 '''QTouchDevice.Capabilities QTouchDevice.capabilities()''' 13124 return QTouchDevice.Capabilities() 13125 def type(self): 13126 '''QTouchDevice.DeviceType QTouchDevice.type()''' 13127 return QTouchDevice.DeviceType() 13128 def name(self): 13129 '''str QTouchDevice.name()''' 13130 return str() 13131 def devices(self): 13132 '''static list-of-const QTouchDevice QTouchDevice.devices()''' 13133 return [ QTouchDevice()] 13134 class Capabilities(): 13135 """""" 13136 def __init__(self): 13137 '''QTouchDevice.Capabilities QTouchDevice.Capabilities.__init__()''' 13138 return QTouchDevice.Capabilities() 13139 def __init__(self): 13140 '''int QTouchDevice.Capabilities.__init__()''' 13141 return int() 13142 def __init__(self): 13143 '''void QTouchDevice.Capabilities.__init__()''' 13144 def __bool__(self): 13145 '''int QTouchDevice.Capabilities.__bool__()''' 13146 return int() 13147 def __ne__(self, f): 13148 '''bool QTouchDevice.Capabilities.__ne__(QTouchDevice.Capabilities f)''' 13149 return bool() 13150 def __eq__(self, f): 13151 '''bool QTouchDevice.Capabilities.__eq__(QTouchDevice.Capabilities f)''' 13152 return bool() 13153 def __invert__(self): 13154 '''QTouchDevice.Capabilities QTouchDevice.Capabilities.__invert__()''' 13155 return QTouchDevice.Capabilities() 13156 def __and__(self, mask): 13157 '''QTouchDevice.Capabilities QTouchDevice.Capabilities.__and__(int mask)''' 13158 return QTouchDevice.Capabilities() 13159 def __xor__(self, f): 13160 '''QTouchDevice.Capabilities QTouchDevice.Capabilities.__xor__(QTouchDevice.Capabilities f)''' 13161 return QTouchDevice.Capabilities() 13162 def __xor__(self, f): 13163 '''QTouchDevice.Capabilities QTouchDevice.Capabilities.__xor__(int f)''' 13164 return QTouchDevice.Capabilities() 13165 def __or__(self, f): 13166 '''QTouchDevice.Capabilities QTouchDevice.Capabilities.__or__(QTouchDevice.Capabilities f)''' 13167 return QTouchDevice.Capabilities() 13168 def __or__(self, f): 13169 '''QTouchDevice.Capabilities QTouchDevice.Capabilities.__or__(int f)''' 13170 return QTouchDevice.Capabilities() 13171 def __int__(self): 13172 '''int QTouchDevice.Capabilities.__int__()''' 13173 return int() 13174 def __ixor__(self, f): 13175 '''QTouchDevice.Capabilities QTouchDevice.Capabilities.__ixor__(QTouchDevice.Capabilities f)''' 13176 return QTouchDevice.Capabilities() 13177 def __ior__(self, f): 13178 '''QTouchDevice.Capabilities QTouchDevice.Capabilities.__ior__(QTouchDevice.Capabilities f)''' 13179 return QTouchDevice.Capabilities() 13180 def __iand__(self, mask): 13181 '''QTouchDevice.Capabilities QTouchDevice.Capabilities.__iand__(int mask)''' 13182 return QTouchDevice.Capabilities() 13183 13184 13185 class QTransform(): 13186 """""" 13187 # Enum QTransform.TransformationType 13188 TxNone = 0 13189 TxTranslate = 0 13190 TxScale = 0 13191 TxRotate = 0 13192 TxShear = 0 13193 TxProject = 0 13194 13195 def __init__(self): 13196 '''void QTransform.__init__()''' 13197 def __init__(self, m11, m12, m13, m21, m22, m23, m31, m32, m33 = 1): 13198 '''void QTransform.__init__(float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33 = 1)''' 13199 def __init__(self, h11, h12, h13, h21, h22, h23): 13200 '''void QTransform.__init__(float h11, float h12, float h13, float h21, float h22, float h23)''' 13201 def __init__(self): 13202 '''QTransform QTransform.__init__()''' 13203 return QTransform() 13204 def __div__(self, n): 13205 '''QTransform QTransform.__div__(float n)''' 13206 return QTransform() 13207 def __add__(self, n): 13208 '''QTransform QTransform.__add__(float n)''' 13209 return QTransform() 13210 def __sub__(self, n): 13211 '''QTransform QTransform.__sub__(float n)''' 13212 return QTransform() 13213 def __isub__(self, num): 13214 '''QTransform QTransform.__isub__(float num)''' 13215 return QTransform() 13216 def __iadd__(self, num): 13217 '''QTransform QTransform.__iadd__(float num)''' 13218 return QTransform() 13219 def __idiv__(self, div): 13220 '''QTransform QTransform.__idiv__(float div)''' 13221 return QTransform() 13222 def fromScale(self, dx, dy): 13223 '''static QTransform QTransform.fromScale(float dx, float dy)''' 13224 return QTransform() 13225 def fromTranslate(self, dx, dy): 13226 '''static QTransform QTransform.fromTranslate(float dx, float dy)''' 13227 return QTransform() 13228 def dy(self): 13229 '''float QTransform.dy()''' 13230 return float() 13231 def dx(self): 13232 '''float QTransform.dx()''' 13233 return float() 13234 def m33(self): 13235 '''float QTransform.m33()''' 13236 return float() 13237 def m32(self): 13238 '''float QTransform.m32()''' 13239 return float() 13240 def m31(self): 13241 '''float QTransform.m31()''' 13242 return float() 13243 def m23(self): 13244 '''float QTransform.m23()''' 13245 return float() 13246 def m22(self): 13247 '''float QTransform.m22()''' 13248 return float() 13249 def m21(self): 13250 '''float QTransform.m21()''' 13251 return float() 13252 def m13(self): 13253 '''float QTransform.m13()''' 13254 return float() 13255 def m12(self): 13256 '''float QTransform.m12()''' 13257 return float() 13258 def m11(self): 13259 '''float QTransform.m11()''' 13260 return float() 13261 def determinant(self): 13262 '''float QTransform.determinant()''' 13263 return float() 13264 def isTranslating(self): 13265 '''bool QTransform.isTranslating()''' 13266 return bool() 13267 def isRotating(self): 13268 '''bool QTransform.isRotating()''' 13269 return bool() 13270 def isScaling(self): 13271 '''bool QTransform.isScaling()''' 13272 return bool() 13273 def isInvertible(self): 13274 '''bool QTransform.isInvertible()''' 13275 return bool() 13276 def isIdentity(self): 13277 '''bool QTransform.isIdentity()''' 13278 return bool() 13279 def isAffine(self): 13280 '''bool QTransform.isAffine()''' 13281 return bool() 13282 def mapRect(self): 13283 '''QRect QTransform.mapRect()''' 13284 return QRect() 13285 def mapRect(self): 13286 '''QRectF QTransform.mapRect()''' 13287 return QRectF() 13288 def mapToPolygon(self, r): 13289 '''QPolygon QTransform.mapToPolygon(QRect r)''' 13290 return QPolygon() 13291 def map(self, x, y, tx, ty): 13292 '''void QTransform.map(int x, int y, int tx, int ty)''' 13293 def map(self, x, y, tx, ty): 13294 '''void QTransform.map(float x, float y, float tx, float ty)''' 13295 def map(self, p): 13296 '''QPoint QTransform.map(QPoint p)''' 13297 return QPoint() 13298 def map(self, p): 13299 '''QPointF QTransform.map(QPointF p)''' 13300 return QPointF() 13301 def map(self, l): 13302 '''QLine QTransform.map(QLine l)''' 13303 return QLine() 13304 def map(self, l): 13305 '''QLineF QTransform.map(QLineF l)''' 13306 return QLineF() 13307 def map(self, a): 13308 '''QPolygonF QTransform.map(QPolygonF a)''' 13309 return QPolygonF() 13310 def map(self, a): 13311 '''QPolygon QTransform.map(QPolygon a)''' 13312 return QPolygon() 13313 def map(self, r): 13314 '''QRegion QTransform.map(QRegion r)''' 13315 return QRegion() 13316 def map(self, p): 13317 '''QPainterPath QTransform.map(QPainterPath p)''' 13318 return QPainterPath() 13319 def reset(self): 13320 '''void QTransform.reset()''' 13321 def __mul__(self, o): 13322 '''QTransform QTransform.__mul__(QTransform o)''' 13323 return QTransform() 13324 def __mul__(self, n): 13325 '''QTransform QTransform.__mul__(float n)''' 13326 return QTransform() 13327 def __imul__(self): 13328 '''QTransform QTransform.__imul__()''' 13329 return QTransform() 13330 def __imul__(self, num): 13331 '''QTransform QTransform.__imul__(float num)''' 13332 return QTransform() 13333 def __ne__(self): 13334 '''QTransform QTransform.__ne__()''' 13335 return QTransform() 13336 def __eq__(self): 13337 '''QTransform QTransform.__eq__()''' 13338 return QTransform() 13339 def quadToQuad(self, one, two, result): 13340 '''static bool QTransform.quadToQuad(QPolygonF one, QPolygonF two, QTransform result)''' 13341 return bool() 13342 def quadToSquare(self, quad, result): 13343 '''static bool QTransform.quadToSquare(QPolygonF quad, QTransform result)''' 13344 return bool() 13345 def squareToQuad(self, square, result): 13346 '''static bool QTransform.squareToQuad(QPolygonF square, QTransform result)''' 13347 return bool() 13348 def rotateRadians(self, angle, axis = None): 13349 '''QTransform QTransform.rotateRadians(float angle, Qt.Axis axis = Qt.ZAxis)''' 13350 return QTransform() 13351 def rotate(self, angle, axis = None): 13352 '''QTransform QTransform.rotate(float angle, Qt.Axis axis = Qt.ZAxis)''' 13353 return QTransform() 13354 def shear(self, sh, sv): 13355 '''QTransform QTransform.shear(float sh, float sv)''' 13356 return QTransform() 13357 def scale(self, sx, sy): 13358 '''QTransform QTransform.scale(float sx, float sy)''' 13359 return QTransform() 13360 def translate(self, dx, dy): 13361 '''QTransform QTransform.translate(float dx, float dy)''' 13362 return QTransform() 13363 def transposed(self): 13364 '''QTransform QTransform.transposed()''' 13365 return QTransform() 13366 def adjoint(self): 13367 '''QTransform QTransform.adjoint()''' 13368 return QTransform() 13369 def inverted(self, invertible): 13370 '''QTransform QTransform.inverted(bool invertible)''' 13371 return QTransform() 13372 def setMatrix(self, m11, m12, m13, m21, m22, m23, m31, m32, m33): 13373 '''void QTransform.setMatrix(float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33)''' 13374 def type(self): 13375 '''QTransform.TransformationType QTransform.type()''' 13376 return QTransform.TransformationType() 13377 13378 13379 class QValidator(QObject): 13380 """""" 13381 # Enum QValidator.State 13382 Invalid = 0 13383 Intermediate = 0 13384 Acceptable = 0 13385 13386 def __init__(self, parent = None): 13387 '''void QValidator.__init__(QObject parent = None)''' 13388 changed = pyqtSignal() # void changed() - signal 13389 def locale(self): 13390 '''QLocale QValidator.locale()''' 13391 return QLocale() 13392 def setLocale(self, locale): 13393 '''void QValidator.setLocale(QLocale locale)''' 13394 def fixup(self): 13395 '''str QValidator.fixup()''' 13396 return str() 13397 def validate(self): 13398 '''abstract int QValidator.validate()''' 13399 return int() 13400 13401 13402 class QIntValidator(QValidator): 13403 """""" 13404 def __init__(self, parent = None): 13405 '''void QIntValidator.__init__(QObject parent = None)''' 13406 def __init__(self, bottom, top, parent = None): 13407 '''void QIntValidator.__init__(int bottom, int top, QObject parent = None)''' 13408 def top(self): 13409 '''int QIntValidator.top()''' 13410 return int() 13411 def bottom(self): 13412 '''int QIntValidator.bottom()''' 13413 return int() 13414 def setRange(self, bottom, top): 13415 '''void QIntValidator.setRange(int bottom, int top)''' 13416 def setTop(self): 13417 '''int QIntValidator.setTop()''' 13418 return int() 13419 def setBottom(self): 13420 '''int QIntValidator.setBottom()''' 13421 return int() 13422 def fixup(self, input): 13423 '''void QIntValidator.fixup(str input)''' 13424 def validate(self): 13425 '''int QIntValidator.validate()''' 13426 return int() 13427 13428 13429 class QDoubleValidator(QValidator): 13430 """""" 13431 # Enum QDoubleValidator.Notation 13432 StandardNotation = 0 13433 ScientificNotation = 0 13434 13435 def __init__(self, parent = None): 13436 '''void QDoubleValidator.__init__(QObject parent = None)''' 13437 def __init__(self, bottom, top, decimals, parent = None): 13438 '''void QDoubleValidator.__init__(float bottom, float top, int decimals, QObject parent = None)''' 13439 def notation(self): 13440 '''QDoubleValidator.Notation QDoubleValidator.notation()''' 13441 return QDoubleValidator.Notation() 13442 def setNotation(self): 13443 '''QDoubleValidator.Notation QDoubleValidator.setNotation()''' 13444 return QDoubleValidator.Notation() 13445 def decimals(self): 13446 '''int QDoubleValidator.decimals()''' 13447 return int() 13448 def top(self): 13449 '''float QDoubleValidator.top()''' 13450 return float() 13451 def bottom(self): 13452 '''float QDoubleValidator.bottom()''' 13453 return float() 13454 def setDecimals(self): 13455 '''int QDoubleValidator.setDecimals()''' 13456 return int() 13457 def setTop(self): 13458 '''float QDoubleValidator.setTop()''' 13459 return float() 13460 def setBottom(self): 13461 '''float QDoubleValidator.setBottom()''' 13462 return float() 13463 def setRange(self, minimum, maximum, decimals = 0): 13464 '''void QDoubleValidator.setRange(float minimum, float maximum, int decimals = 0)''' 13465 def validate(self): 13466 '''int QDoubleValidator.validate()''' 13467 return int() 13468 13469 13470 class QRegExpValidator(QValidator): 13471 """""" 13472 def __init__(self, parent = None): 13473 '''void QRegExpValidator.__init__(QObject parent = None)''' 13474 def __init__(self, rx, parent = None): 13475 '''void QRegExpValidator.__init__(QRegExp rx, QObject parent = None)''' 13476 def regExp(self): 13477 '''QRegExp QRegExpValidator.regExp()''' 13478 return QRegExp() 13479 def setRegExp(self, rx): 13480 '''void QRegExpValidator.setRegExp(QRegExp rx)''' 13481 def validate(self, input, pos): 13482 '''QValidator.State QRegExpValidator.validate(str input, int pos)''' 13483 return QValidator.State() 13484 13485 13486 class QRegularExpressionValidator(QValidator): 13487 """""" 13488 def __init__(self, parent = None): 13489 '''void QRegularExpressionValidator.__init__(QObject parent = None)''' 13490 def __init__(self, re, parent = None): 13491 '''void QRegularExpressionValidator.__init__(QRegularExpression re, QObject parent = None)''' 13492 def setRegularExpression(self, re): 13493 '''void QRegularExpressionValidator.setRegularExpression(QRegularExpression re)''' 13494 def regularExpression(self): 13495 '''QRegularExpression QRegularExpressionValidator.regularExpression()''' 13496 return QRegularExpression() 13497 def validate(self, input, pos): 13498 '''QValidator.State QRegularExpressionValidator.validate(str input, int pos)''' 13499 return QValidator.State() 13500 13501 13502 class QVector2D(): 13503 """""" 13504 def __init__(self): 13505 '''void QVector2D.__init__()''' 13506 def __init__(self, xpos, ypos): 13507 '''void QVector2D.__init__(float xpos, float ypos)''' 13508 def __init__(self, point): 13509 '''void QVector2D.__init__(QPoint point)''' 13510 def __init__(self, point): 13511 '''void QVector2D.__init__(QPointF point)''' 13512 def __init__(self, vector): 13513 '''void QVector2D.__init__(QVector3D vector)''' 13514 def __init__(self, vector): 13515 '''void QVector2D.__init__(QVector4D vector)''' 13516 def __init__(self): 13517 '''QVector2D QVector2D.__init__()''' 13518 return QVector2D() 13519 def __eq__(self, v2): 13520 '''bool QVector2D.__eq__(QVector2D v2)''' 13521 return bool() 13522 def __div__(self, divisor): 13523 '''QVector2D QVector2D.__div__(float divisor)''' 13524 return QVector2D() 13525 def __div__(self, divisor): 13526 '''QVector2D QVector2D.__div__(QVector2D divisor)''' 13527 return QVector2D() 13528 def __add__(self, v2): 13529 '''QVector2D QVector2D.__add__(QVector2D v2)''' 13530 return QVector2D() 13531 def __sub__(self, v2): 13532 '''QVector2D QVector2D.__sub__(QVector2D v2)''' 13533 return QVector2D() 13534 def __mul__(self, vector): 13535 '''QVector2D QVector2D.__mul__(QVector2D vector)''' 13536 return QVector2D() 13537 def __mul__(self, factor): 13538 '''QVector2D QVector2D.__mul__(float factor)''' 13539 return QVector2D() 13540 def __mul__(self, v2): 13541 '''QVector2D QVector2D.__mul__(QVector2D v2)''' 13542 return QVector2D() 13543 def __neg__(self): 13544 '''QVector2D QVector2D.__neg__()''' 13545 return QVector2D() 13546 def __ne__(self, v2): 13547 '''bool QVector2D.__ne__(QVector2D v2)''' 13548 return bool() 13549 def __getitem__(self, i): 13550 '''float QVector2D.__getitem__(int i)''' 13551 return float() 13552 def distanceToLine(self, point, direction): 13553 '''float QVector2D.distanceToLine(QVector2D point, QVector2D direction)''' 13554 return float() 13555 def distanceToPoint(self, point): 13556 '''float QVector2D.distanceToPoint(QVector2D point)''' 13557 return float() 13558 def toPointF(self): 13559 '''QPointF QVector2D.toPointF()''' 13560 return QPointF() 13561 def toPoint(self): 13562 '''QPoint QVector2D.toPoint()''' 13563 return QPoint() 13564 def __idiv__(self, divisor): 13565 '''QVector2D QVector2D.__idiv__(float divisor)''' 13566 return QVector2D() 13567 def __idiv__(self, vector): 13568 '''QVector2D QVector2D.__idiv__(QVector2D vector)''' 13569 return QVector2D() 13570 def __imul__(self, factor): 13571 '''QVector2D QVector2D.__imul__(float factor)''' 13572 return QVector2D() 13573 def __imul__(self, vector): 13574 '''QVector2D QVector2D.__imul__(QVector2D vector)''' 13575 return QVector2D() 13576 def __isub__(self, vector): 13577 '''QVector2D QVector2D.__isub__(QVector2D vector)''' 13578 return QVector2D() 13579 def __iadd__(self, vector): 13580 '''QVector2D QVector2D.__iadd__(QVector2D vector)''' 13581 return QVector2D() 13582 def setY(self, aY): 13583 '''void QVector2D.setY(float aY)''' 13584 def setX(self, aX): 13585 '''void QVector2D.setX(float aX)''' 13586 def y(self): 13587 '''float QVector2D.y()''' 13588 return float() 13589 def x(self): 13590 '''float QVector2D.x()''' 13591 return float() 13592 def isNull(self): 13593 '''bool QVector2D.isNull()''' 13594 return bool() 13595 def toVector4D(self): 13596 '''QVector4D QVector2D.toVector4D()''' 13597 return QVector4D() 13598 def toVector3D(self): 13599 '''QVector3D QVector2D.toVector3D()''' 13600 return QVector3D() 13601 def dotProduct(self, v1, v2): 13602 '''static float QVector2D.dotProduct(QVector2D v1, QVector2D v2)''' 13603 return float() 13604 def normalize(self): 13605 '''void QVector2D.normalize()''' 13606 def normalized(self): 13607 '''QVector2D QVector2D.normalized()''' 13608 return QVector2D() 13609 def lengthSquared(self): 13610 '''float QVector2D.lengthSquared()''' 13611 return float() 13612 def length(self): 13613 '''float QVector2D.length()''' 13614 return float() 13615 def __repr__(self): 13616 '''str QVector2D.__repr__()''' 13617 return str() 13618 13619 13620 class QVector3D(): 13621 """""" 13622 def __init__(self): 13623 '''void QVector3D.__init__()''' 13624 def __init__(self, xpos, ypos, zpos): 13625 '''void QVector3D.__init__(float xpos, float ypos, float zpos)''' 13626 def __init__(self, point): 13627 '''void QVector3D.__init__(QPoint point)''' 13628 def __init__(self, point): 13629 '''void QVector3D.__init__(QPointF point)''' 13630 def __init__(self, vector): 13631 '''void QVector3D.__init__(QVector2D vector)''' 13632 def __init__(self, vector, zpos): 13633 '''void QVector3D.__init__(QVector2D vector, float zpos)''' 13634 def __init__(self, vector): 13635 '''void QVector3D.__init__(QVector4D vector)''' 13636 def __init__(self): 13637 '''QVector3D QVector3D.__init__()''' 13638 return QVector3D() 13639 def __eq__(self, v2): 13640 '''bool QVector3D.__eq__(QVector3D v2)''' 13641 return bool() 13642 def __div__(self, divisor): 13643 '''QVector3D QVector3D.__div__(float divisor)''' 13644 return QVector3D() 13645 def __div__(self, divisor): 13646 '''QVector3D QVector3D.__div__(QVector3D divisor)''' 13647 return QVector3D() 13648 def __add__(self, v2): 13649 '''QVector3D QVector3D.__add__(QVector3D v2)''' 13650 return QVector3D() 13651 def __sub__(self, v2): 13652 '''QVector3D QVector3D.__sub__(QVector3D v2)''' 13653 return QVector3D() 13654 def __mul__(self, matrix): 13655 '''QVector3D QVector3D.__mul__(QMatrix4x4 matrix)''' 13656 return QVector3D() 13657 def __mul__(self, vector): 13658 '''QVector3D QVector3D.__mul__(QVector3D vector)''' 13659 return QVector3D() 13660 def __mul__(self, factor): 13661 '''QVector3D QVector3D.__mul__(float factor)''' 13662 return QVector3D() 13663 def __mul__(self, v2): 13664 '''QVector3D QVector3D.__mul__(QVector3D v2)''' 13665 return QVector3D() 13666 def __neg__(self): 13667 '''QVector3D QVector3D.__neg__()''' 13668 return QVector3D() 13669 def __ne__(self, v2): 13670 '''bool QVector3D.__ne__(QVector3D v2)''' 13671 return bool() 13672 def unproject(self, modelView, projection, viewport): 13673 '''QVector3D QVector3D.unproject(QMatrix4x4 modelView, QMatrix4x4 projection, QRect viewport)''' 13674 return QVector3D() 13675 def project(self, modelView, projection, viewport): 13676 '''QVector3D QVector3D.project(QMatrix4x4 modelView, QMatrix4x4 projection, QRect viewport)''' 13677 return QVector3D() 13678 def __getitem__(self, i): 13679 '''float QVector3D.__getitem__(int i)''' 13680 return float() 13681 def distanceToPoint(self, point): 13682 '''float QVector3D.distanceToPoint(QVector3D point)''' 13683 return float() 13684 def toPointF(self): 13685 '''QPointF QVector3D.toPointF()''' 13686 return QPointF() 13687 def toPoint(self): 13688 '''QPoint QVector3D.toPoint()''' 13689 return QPoint() 13690 def __idiv__(self, divisor): 13691 '''QVector3D QVector3D.__idiv__(float divisor)''' 13692 return QVector3D() 13693 def __idiv__(self, vector): 13694 '''QVector3D QVector3D.__idiv__(QVector3D vector)''' 13695 return QVector3D() 13696 def __imul__(self, factor): 13697 '''QVector3D QVector3D.__imul__(float factor)''' 13698 return QVector3D() 13699 def __imul__(self, vector): 13700 '''QVector3D QVector3D.__imul__(QVector3D vector)''' 13701 return QVector3D() 13702 def __isub__(self, vector): 13703 '''QVector3D QVector3D.__isub__(QVector3D vector)''' 13704 return QVector3D() 13705 def __iadd__(self, vector): 13706 '''QVector3D QVector3D.__iadd__(QVector3D vector)''' 13707 return QVector3D() 13708 def setZ(self, aZ): 13709 '''void QVector3D.setZ(float aZ)''' 13710 def setY(self, aY): 13711 '''void QVector3D.setY(float aY)''' 13712 def setX(self, aX): 13713 '''void QVector3D.setX(float aX)''' 13714 def z(self): 13715 '''float QVector3D.z()''' 13716 return float() 13717 def y(self): 13718 '''float QVector3D.y()''' 13719 return float() 13720 def x(self): 13721 '''float QVector3D.x()''' 13722 return float() 13723 def isNull(self): 13724 '''bool QVector3D.isNull()''' 13725 return bool() 13726 def toVector4D(self): 13727 '''QVector4D QVector3D.toVector4D()''' 13728 return QVector4D() 13729 def toVector2D(self): 13730 '''QVector2D QVector3D.toVector2D()''' 13731 return QVector2D() 13732 def distanceToLine(self, point, direction): 13733 '''float QVector3D.distanceToLine(QVector3D point, QVector3D direction)''' 13734 return float() 13735 def distanceToPlane(self, plane, normal): 13736 '''float QVector3D.distanceToPlane(QVector3D plane, QVector3D normal)''' 13737 return float() 13738 def distanceToPlane(self, plane1, plane2, plane3): 13739 '''float QVector3D.distanceToPlane(QVector3D plane1, QVector3D plane2, QVector3D plane3)''' 13740 return float() 13741 def normal(self, v1, v2): 13742 '''static QVector3D QVector3D.normal(QVector3D v1, QVector3D v2)''' 13743 return QVector3D() 13744 def normal(self, v1, v2, v3): 13745 '''static QVector3D QVector3D.normal(QVector3D v1, QVector3D v2, QVector3D v3)''' 13746 return QVector3D() 13747 def crossProduct(self, v1, v2): 13748 '''static QVector3D QVector3D.crossProduct(QVector3D v1, QVector3D v2)''' 13749 return QVector3D() 13750 def dotProduct(self, v1, v2): 13751 '''static float QVector3D.dotProduct(QVector3D v1, QVector3D v2)''' 13752 return float() 13753 def normalize(self): 13754 '''void QVector3D.normalize()''' 13755 def normalized(self): 13756 '''QVector3D QVector3D.normalized()''' 13757 return QVector3D() 13758 def lengthSquared(self): 13759 '''float QVector3D.lengthSquared()''' 13760 return float() 13761 def length(self): 13762 '''float QVector3D.length()''' 13763 return float() 13764 def __repr__(self): 13765 '''str QVector3D.__repr__()''' 13766 return str() 13767 13768 13769 class QVector4D(): 13770 """""" 13771 def __init__(self): 13772 '''void QVector4D.__init__()''' 13773 def __init__(self, xpos, ypos, zpos, wpos): 13774 '''void QVector4D.__init__(float xpos, float ypos, float zpos, float wpos)''' 13775 def __init__(self, point): 13776 '''void QVector4D.__init__(QPoint point)''' 13777 def __init__(self, point): 13778 '''void QVector4D.__init__(QPointF point)''' 13779 def __init__(self, vector): 13780 '''void QVector4D.__init__(QVector2D vector)''' 13781 def __init__(self, vector, zpos, wpos): 13782 '''void QVector4D.__init__(QVector2D vector, float zpos, float wpos)''' 13783 def __init__(self, vector): 13784 '''void QVector4D.__init__(QVector3D vector)''' 13785 def __init__(self, vector, wpos): 13786 '''void QVector4D.__init__(QVector3D vector, float wpos)''' 13787 def __init__(self): 13788 '''QVector4D QVector4D.__init__()''' 13789 return QVector4D() 13790 def __eq__(self, v2): 13791 '''bool QVector4D.__eq__(QVector4D v2)''' 13792 return bool() 13793 def __div__(self, divisor): 13794 '''QVector4D QVector4D.__div__(float divisor)''' 13795 return QVector4D() 13796 def __div__(self, divisor): 13797 '''QVector4D QVector4D.__div__(QVector4D divisor)''' 13798 return QVector4D() 13799 def __add__(self, v2): 13800 '''QVector4D QVector4D.__add__(QVector4D v2)''' 13801 return QVector4D() 13802 def __sub__(self, v2): 13803 '''QVector4D QVector4D.__sub__(QVector4D v2)''' 13804 return QVector4D() 13805 def __mul__(self, matrix): 13806 '''QVector4D QVector4D.__mul__(QMatrix4x4 matrix)''' 13807 return QVector4D() 13808 def __mul__(self, vector): 13809 '''QVector4D QVector4D.__mul__(QVector4D vector)''' 13810 return QVector4D() 13811 def __mul__(self, factor): 13812 '''QVector4D QVector4D.__mul__(float factor)''' 13813 return QVector4D() 13814 def __mul__(self, v2): 13815 '''QVector4D QVector4D.__mul__(QVector4D v2)''' 13816 return QVector4D() 13817 def __neg__(self): 13818 '''QVector4D QVector4D.__neg__()''' 13819 return QVector4D() 13820 def __ne__(self, v2): 13821 '''bool QVector4D.__ne__(QVector4D v2)''' 13822 return bool() 13823 def __getitem__(self, i): 13824 '''float QVector4D.__getitem__(int i)''' 13825 return float() 13826 def toPointF(self): 13827 '''QPointF QVector4D.toPointF()''' 13828 return QPointF() 13829 def toPoint(self): 13830 '''QPoint QVector4D.toPoint()''' 13831 return QPoint() 13832 def __idiv__(self, divisor): 13833 '''QVector4D QVector4D.__idiv__(float divisor)''' 13834 return QVector4D() 13835 def __idiv__(self, vector): 13836 '''QVector4D QVector4D.__idiv__(QVector4D vector)''' 13837 return QVector4D() 13838 def __imul__(self, factor): 13839 '''QVector4D QVector4D.__imul__(float factor)''' 13840 return QVector4D() 13841 def __imul__(self, vector): 13842 '''QVector4D QVector4D.__imul__(QVector4D vector)''' 13843 return QVector4D() 13844 def __isub__(self, vector): 13845 '''QVector4D QVector4D.__isub__(QVector4D vector)''' 13846 return QVector4D() 13847 def __iadd__(self, vector): 13848 '''QVector4D QVector4D.__iadd__(QVector4D vector)''' 13849 return QVector4D() 13850 def setW(self, aW): 13851 '''void QVector4D.setW(float aW)''' 13852 def setZ(self, aZ): 13853 '''void QVector4D.setZ(float aZ)''' 13854 def setY(self, aY): 13855 '''void QVector4D.setY(float aY)''' 13856 def setX(self, aX): 13857 '''void QVector4D.setX(float aX)''' 13858 def w(self): 13859 '''float QVector4D.w()''' 13860 return float() 13861 def z(self): 13862 '''float QVector4D.z()''' 13863 return float() 13864 def y(self): 13865 '''float QVector4D.y()''' 13866 return float() 13867 def x(self): 13868 '''float QVector4D.x()''' 13869 return float() 13870 def isNull(self): 13871 '''bool QVector4D.isNull()''' 13872 return bool() 13873 def toVector3DAffine(self): 13874 '''QVector3D QVector4D.toVector3DAffine()''' 13875 return QVector3D() 13876 def toVector3D(self): 13877 '''QVector3D QVector4D.toVector3D()''' 13878 return QVector3D() 13879 def toVector2DAffine(self): 13880 '''QVector2D QVector4D.toVector2DAffine()''' 13881 return QVector2D() 13882 def toVector2D(self): 13883 '''QVector2D QVector4D.toVector2D()''' 13884 return QVector2D() 13885 def dotProduct(self, v1, v2): 13886 '''static float QVector4D.dotProduct(QVector4D v1, QVector4D v2)''' 13887 return float() 13888 def normalize(self): 13889 '''void QVector4D.normalize()''' 13890 def normalized(self): 13891 '''QVector4D QVector4D.normalized()''' 13892 return QVector4D() 13893 def lengthSquared(self): 13894 '''float QVector4D.lengthSquared()''' 13895 return float() 13896 def length(self): 13897 '''float QVector4D.length()''' 13898 return float() 13899 def __repr__(self): 13900 '''str QVector4D.__repr__()''' 13901 return str() 13902 13903 13904 class QPointF(): 13905 """""" 13906 def __init__(self): 13907 '''QPainterPath.Element QPointF.__init__()''' 13908 return QPainterPath.Element() 13909 13910 13911 def qUnpremultiply(p): 13912 '''static int qUnpremultiply(int p)''' 13913 return int() 13914 13915 def qPremultiply(x): 13916 '''static int qPremultiply(int x)''' 13917 return int() 13918 13919 def qIsGray(rgb): 13920 '''static bool qIsGray(int rgb)''' 13921 return bool() 13922 13923 def qGray(r, g, b): 13924 '''static int qGray(int r, int g, int b)''' 13925 return int() 13926 13927 def qGray(rgb): 13928 '''static int qGray(int rgb)''' 13929 return int() 13930 13931 def qRgba(r, g, b, a): 13932 '''static int qRgba(int r, int g, int b, int a)''' 13933 return int() 13934 13935 def qRgb(r, g, b): 13936 '''static int qRgb(int r, int g, int b)''' 13937 return int() 13938 13939 def qAlpha(rgb): 13940 '''static int qAlpha(int rgb)''' 13941 return int() 13942 13943 def qBlue(rgb): 13944 '''static int qBlue(int rgb)''' 13945 return int() 13946 13947 def qGreen(rgb): 13948 '''static int qGreen(int rgb)''' 13949 return int() 13950 13951 def qRed(rgb): 13952 '''static int qRed(int rgb)''' 13953 return int() 13954 13955 def qPixelFormatAlpha(channelSize, typeInterpretation = None): 13956 '''static QPixelFormat qPixelFormatAlpha(int channelSize, QPixelFormat.TypeInterpretation typeInterpretation = QPixelFormat.UnsignedInteger)''' 13957 return QPixelFormat() 13958 13959 def qPixelFormatYuv(layout, alphaSize = 0, alphaUsage = None, alphaPosition = None, premultiplied = None, typeInterpretation = None, byteOrder = None): 13960 '''static QPixelFormat qPixelFormatYuv(QPixelFormat.YUVLayout layout, int alphaSize = 0, QPixelFormat.AlphaUsage alphaUsage = QPixelFormat.IgnoresAlpha, QPixelFormat.AlphaPosition alphaPosition = QPixelFormat.AtBeginning, QPixelFormat.AlphaPremultiplied premultiplied = QPixelFormat.NotPremultiplied, QPixelFormat.TypeInterpretation typeInterpretation = QPixelFormat.UnsignedByte, QPixelFormat.ByteOrder byteOrder = QPixelFormat.LittleEndian)''' 13961 return QPixelFormat() 13962 13963 def qPixelFormatHsv(channelSize, alphaSize = 0, alphaUsage = None, alphaPosition = None, typeInterpretation = None): 13964 '''static QPixelFormat qPixelFormatHsv(int channelSize, int alphaSize = 0, QPixelFormat.AlphaUsage alphaUsage = QPixelFormat.IgnoresAlpha, QPixelFormat.AlphaPosition alphaPosition = QPixelFormat.AtBeginning, QPixelFormat.TypeInterpretation typeInterpretation = QPixelFormat.FloatingPoint)''' 13965 return QPixelFormat() 13966 13967 def qPixelFormatHsl(channelSize, alphaSize = 0, alphaUsage = None, alphaPosition = None, typeInterpretation = None): 13968 '''static QPixelFormat qPixelFormatHsl(int channelSize, int alphaSize = 0, QPixelFormat.AlphaUsage alphaUsage = QPixelFormat.IgnoresAlpha, QPixelFormat.AlphaPosition alphaPosition = QPixelFormat.AtBeginning, QPixelFormat.TypeInterpretation typeInterpretation = QPixelFormat.FloatingPoint)''' 13969 return QPixelFormat() 13970 13971 def qPixelFormatCmyk(channelSize, alphaSize = 0, alphaUsage = None, alphaPosition = None, typeInterpretation = None): 13972 '''static QPixelFormat qPixelFormatCmyk(int channelSize, int alphaSize = 0, QPixelFormat.AlphaUsage alphaUsage = QPixelFormat.IgnoresAlpha, QPixelFormat.AlphaPosition alphaPosition = QPixelFormat.AtBeginning, QPixelFormat.TypeInterpretation typeInterpretation = QPixelFormat.UnsignedInteger)''' 13973 return QPixelFormat() 13974 13975 def qPixelFormatGrayscale(channelSize, typeInterpretation = None): 13976 '''static QPixelFormat qPixelFormatGrayscale(int channelSize, QPixelFormat.TypeInterpretation typeInterpretation = QPixelFormat.UnsignedInteger)''' 13977 return QPixelFormat() 13978 13979 def qPixelFormatRgba(red, green, blue, alfa, usage, position, premultiplied = None, typeInterpretation = None): 13980 '''static QPixelFormat qPixelFormatRgba(int red, int green, int blue, int alfa, QPixelFormat.AlphaUsage usage, QPixelFormat.AlphaPosition position, QPixelFormat.AlphaPremultiplied premultiplied = QPixelFormat.NotPremultiplied, QPixelFormat.TypeInterpretation typeInterpretation = QPixelFormat.UnsignedInteger)''' 13981 return QPixelFormat() 13982 13983 def qFuzzyCompare(m1, m2): 13984 '''static bool qFuzzyCompare(QMatrix4x4 m1, QMatrix4x4 m2)''' 13985 return bool() 13986 13987 def qFuzzyCompare(q1, q2): 13988 '''static bool qFuzzyCompare(QQuaternion q1, QQuaternion q2)''' 13989 return bool() 13990 13991 def qFuzzyCompare(t1, t2): 13992 '''static bool qFuzzyCompare(QTransform t1, QTransform t2)''' 13993 return bool() 13994 13995 def qFuzzyCompare(v1, v2): 13996 '''static bool qFuzzyCompare(QVector2D v1, QVector2D v2)''' 13997 return bool() 13998 13999 def qFuzzyCompare(v1, v2): 14000 '''static bool qFuzzyCompare(QVector3D v1, QVector3D v2)''' 14001 return bool() 14002 14003 def qFuzzyCompare(v1, v2): 14004 '''static bool qFuzzyCompare(QVector4D v1, QVector4D v2)''' 14005 return bool() 14006