File indexing completed on 2024-05-12 16:08:44
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 class QDeclarativeComponent(QObject): 0007 """""" 0008 # Enum QDeclarativeComponent.Status 0009 Null = 0 0010 Ready = 0 0011 Loading = 0 0012 Error = 0 0013 0014 def __init__(self, parent = None): 0015 '''QDeclarativeEngine QDeclarativeComponent.__init__(QObject parent = None)''' 0016 return QDeclarativeEngine() 0017 def __init__(self, fileName, parent = None): 0018 '''QDeclarativeEngine QDeclarativeComponent.__init__(QString fileName, QObject parent = None)''' 0019 return QDeclarativeEngine() 0020 def __init__(self, url, parent = None): 0021 '''QDeclarativeEngine QDeclarativeComponent.__init__(QUrl url, QObject parent = None)''' 0022 return QDeclarativeEngine() 0023 progressChanged = pyqtSignal() # void progressChanged(qreal) - signal 0024 statusChanged = pyqtSignal() # void statusChanged(QDeclarativeComponent::Status) - signal 0025 def creationContext(self): 0026 '''QDeclarativeContext QDeclarativeComponent.creationContext()''' 0027 return QDeclarativeContext() 0028 def setData(self, baseUrl): 0029 '''QByteArray QDeclarativeComponent.setData(QUrl baseUrl)''' 0030 return QByteArray() 0031 def loadUrl(self, url): 0032 '''void QDeclarativeComponent.loadUrl(QUrl url)''' 0033 def completeCreate(self): 0034 '''void QDeclarativeComponent.completeCreate()''' 0035 def beginCreate(self): 0036 '''QDeclarativeContext QDeclarativeComponent.beginCreate()''' 0037 return QDeclarativeContext() 0038 def create(self, context = None): 0039 '''QObject QDeclarativeComponent.create(QDeclarativeContext context = None)''' 0040 return QObject() 0041 def url(self): 0042 '''QUrl QDeclarativeComponent.url()''' 0043 return QUrl() 0044 def progress(self): 0045 '''float QDeclarativeComponent.progress()''' 0046 return float() 0047 def errors(self): 0048 '''list-of-QDeclarativeError QDeclarativeComponent.errors()''' 0049 return [QDeclarativeError()] 0050 def isLoading(self): 0051 '''bool QDeclarativeComponent.isLoading()''' 0052 return bool() 0053 def isError(self): 0054 '''bool QDeclarativeComponent.isError()''' 0055 return bool() 0056 def isReady(self): 0057 '''bool QDeclarativeComponent.isReady()''' 0058 return bool() 0059 def isNull(self): 0060 '''bool QDeclarativeComponent.isNull()''' 0061 return bool() 0062 def status(self): 0063 '''QDeclarativeComponent.Status QDeclarativeComponent.status()''' 0064 return QDeclarativeComponent.Status() 0065 0066 0067 class QDeclarativeContext(QObject): 0068 """""" 0069 def __init__(self, engine, parent = None): 0070 '''void QDeclarativeContext.__init__(QDeclarativeEngine engine, QObject parent = None)''' 0071 def __init__(self, context, parent = None): 0072 '''void QDeclarativeContext.__init__(QDeclarativeContext context, QObject parent = None)''' 0073 def baseUrl(self): 0074 '''QUrl QDeclarativeContext.baseUrl()''' 0075 return QUrl() 0076 def setBaseUrl(self): 0077 '''QUrl QDeclarativeContext.setBaseUrl()''' 0078 return QUrl() 0079 def resolvedUrl(self): 0080 '''QUrl QDeclarativeContext.resolvedUrl()''' 0081 return QUrl() 0082 def setContextProperty(self): 0083 '''QObject QDeclarativeContext.setContextProperty()''' 0084 return QObject() 0085 def setContextProperty(self): 0086 '''QVariant QDeclarativeContext.setContextProperty()''' 0087 return QVariant() 0088 def contextProperty(self): 0089 '''QString QDeclarativeContext.contextProperty()''' 0090 return QString() 0091 def setContextObject(self): 0092 '''QObject QDeclarativeContext.setContextObject()''' 0093 return QObject() 0094 def contextObject(self): 0095 '''QObject QDeclarativeContext.contextObject()''' 0096 return QObject() 0097 def parentContext(self): 0098 '''QDeclarativeContext QDeclarativeContext.parentContext()''' 0099 return QDeclarativeContext() 0100 def engine(self): 0101 '''QDeclarativeEngine QDeclarativeContext.engine()''' 0102 return QDeclarativeEngine() 0103 def isValid(self): 0104 '''bool QDeclarativeContext.isValid()''' 0105 return bool() 0106 0107 0108 class QDeclarativeEngine(QObject): 0109 """""" 0110 # Enum QDeclarativeEngine.ObjectOwnership 0111 CppOwnership = 0 0112 JavaScriptOwnership = 0 0113 0114 def __init__(self, parent = None): 0115 '''void QDeclarativeEngine.__init__(QObject parent = None)''' 0116 warnings = pyqtSignal() # void warnings(const QListlt;QDeclarativeErrorgt;amp;) - signal 0117 quit = pyqtSignal() # void quit() - signal 0118 def objectOwnership(self): 0119 '''static QObject QDeclarativeEngine.objectOwnership()''' 0120 return QObject() 0121 def setObjectOwnership(self): 0122 '''static QDeclarativeEngine.ObjectOwnership QDeclarativeEngine.setObjectOwnership()''' 0123 return QDeclarativeEngine.ObjectOwnership() 0124 def setContextForObject(self): 0125 '''static QDeclarativeContext QDeclarativeEngine.setContextForObject()''' 0126 return QDeclarativeContext() 0127 def contextForObject(self): 0128 '''static QObject QDeclarativeEngine.contextForObject()''' 0129 return QObject() 0130 def setOutputWarningsToStandardError(self): 0131 '''bool QDeclarativeEngine.setOutputWarningsToStandardError()''' 0132 return bool() 0133 def outputWarningsToStandardError(self): 0134 '''bool QDeclarativeEngine.outputWarningsToStandardError()''' 0135 return bool() 0136 def setBaseUrl(self): 0137 '''QUrl QDeclarativeEngine.setBaseUrl()''' 0138 return QUrl() 0139 def baseUrl(self): 0140 '''QUrl QDeclarativeEngine.baseUrl()''' 0141 return QUrl() 0142 def offlineStoragePath(self): 0143 '''QString QDeclarativeEngine.offlineStoragePath()''' 0144 return QString() 0145 def setOfflineStoragePath(self, dir): 0146 '''void QDeclarativeEngine.setOfflineStoragePath(QString dir)''' 0147 def removeImageProvider(self, id): 0148 '''void QDeclarativeEngine.removeImageProvider(QString id)''' 0149 def imageProvider(self, id): 0150 '''QDeclarativeImageProvider QDeclarativeEngine.imageProvider(QString id)''' 0151 return QDeclarativeImageProvider() 0152 def addImageProvider(self, id): 0153 '''QDeclarativeImageProvider QDeclarativeEngine.addImageProvider(QString id)''' 0154 return QDeclarativeImageProvider() 0155 def networkAccessManager(self): 0156 '''QNetworkAccessManager QDeclarativeEngine.networkAccessManager()''' 0157 return QNetworkAccessManager() 0158 def networkAccessManagerFactory(self): 0159 '''QDeclarativeNetworkAccessManagerFactory QDeclarativeEngine.networkAccessManagerFactory()''' 0160 return QDeclarativeNetworkAccessManagerFactory() 0161 def setNetworkAccessManagerFactory(self): 0162 '''QDeclarativeNetworkAccessManagerFactory QDeclarativeEngine.setNetworkAccessManagerFactory()''' 0163 return QDeclarativeNetworkAccessManagerFactory() 0164 def importPlugin(self, filePath, uri, errorString): 0165 '''bool QDeclarativeEngine.importPlugin(QString filePath, QString uri, QString errorString)''' 0166 return bool() 0167 def addPluginPath(self, dir): 0168 '''void QDeclarativeEngine.addPluginPath(QString dir)''' 0169 def setPluginPathList(self, paths): 0170 '''void QDeclarativeEngine.setPluginPathList(QStringList paths)''' 0171 def pluginPathList(self): 0172 '''QStringList QDeclarativeEngine.pluginPathList()''' 0173 return QStringList() 0174 def addImportPath(self, dir): 0175 '''void QDeclarativeEngine.addImportPath(QString dir)''' 0176 def setImportPathList(self, paths): 0177 '''void QDeclarativeEngine.setImportPathList(QStringList paths)''' 0178 def importPathList(self): 0179 '''QStringList QDeclarativeEngine.importPathList()''' 0180 return QStringList() 0181 def clearComponentCache(self): 0182 '''void QDeclarativeEngine.clearComponentCache()''' 0183 def rootContext(self): 0184 '''QDeclarativeContext QDeclarativeEngine.rootContext()''' 0185 return QDeclarativeContext() 0186 0187 0188 class QDeclarativeError(): 0189 """""" 0190 def __init__(self): 0191 '''void QDeclarativeError.__init__()''' 0192 def __init__(self): 0193 '''QDeclarativeError QDeclarativeError.__init__()''' 0194 return QDeclarativeError() 0195 def toString(self): 0196 '''QString QDeclarativeError.toString()''' 0197 return QString() 0198 def setColumn(self): 0199 '''int QDeclarativeError.setColumn()''' 0200 return int() 0201 def column(self): 0202 '''int QDeclarativeError.column()''' 0203 return int() 0204 def setLine(self): 0205 '''int QDeclarativeError.setLine()''' 0206 return int() 0207 def line(self): 0208 '''int QDeclarativeError.line()''' 0209 return int() 0210 def setDescription(self): 0211 '''QString QDeclarativeError.setDescription()''' 0212 return QString() 0213 def description(self): 0214 '''QString QDeclarativeError.description()''' 0215 return QString() 0216 def setUrl(self): 0217 '''QUrl QDeclarativeError.setUrl()''' 0218 return QUrl() 0219 def url(self): 0220 '''QUrl QDeclarativeError.url()''' 0221 return QUrl() 0222 def isValid(self): 0223 '''bool QDeclarativeError.isValid()''' 0224 return bool() 0225 0226 0227 class QDeclarativeExpression(QObject): 0228 """""" 0229 def __init__(self): 0230 '''void QDeclarativeExpression.__init__()''' 0231 def __init__(self, parent = None): 0232 '''QString QDeclarativeExpression.__init__(QObject parent = None)''' 0233 return QString() 0234 valueChanged = pyqtSignal() # void valueChanged() - signal 0235 def evaluate(self, valueIsUndefined): 0236 '''QVariant QDeclarativeExpression.evaluate(bool valueIsUndefined)''' 0237 return QVariant() 0238 def error(self): 0239 '''QDeclarativeError QDeclarativeExpression.error()''' 0240 return QDeclarativeError() 0241 def clearError(self): 0242 '''void QDeclarativeExpression.clearError()''' 0243 def hasError(self): 0244 '''bool QDeclarativeExpression.hasError()''' 0245 return bool() 0246 def scopeObject(self): 0247 '''QObject QDeclarativeExpression.scopeObject()''' 0248 return QObject() 0249 def setSourceLocation(self, fileName, line): 0250 '''void QDeclarativeExpression.setSourceLocation(QString fileName, int line)''' 0251 def lineNumber(self): 0252 '''int QDeclarativeExpression.lineNumber()''' 0253 return int() 0254 def sourceFile(self): 0255 '''QString QDeclarativeExpression.sourceFile()''' 0256 return QString() 0257 def setNotifyOnValueChanged(self): 0258 '''bool QDeclarativeExpression.setNotifyOnValueChanged()''' 0259 return bool() 0260 def notifyOnValueChanged(self): 0261 '''bool QDeclarativeExpression.notifyOnValueChanged()''' 0262 return bool() 0263 def setExpression(self): 0264 '''QString QDeclarativeExpression.setExpression()''' 0265 return QString() 0266 def expression(self): 0267 '''QString QDeclarativeExpression.expression()''' 0268 return QString() 0269 def context(self): 0270 '''QDeclarativeContext QDeclarativeExpression.context()''' 0271 return QDeclarativeContext() 0272 def engine(self): 0273 '''QDeclarativeEngine QDeclarativeExpression.engine()''' 0274 return QDeclarativeEngine() 0275 0276 0277 class QDeclarativeExtensionPlugin(QObject): 0278 """""" 0279 def __init__(self, parent = None): 0280 '''void QDeclarativeExtensionPlugin.__init__(QObject parent = None)''' 0281 def initializeEngine(self, engine, uri): 0282 '''void QDeclarativeExtensionPlugin.initializeEngine(QDeclarativeEngine engine, str uri)''' 0283 def registerTypes(self, uri): 0284 '''abstract void QDeclarativeExtensionPlugin.registerTypes(str uri)''' 0285 0286 0287 class QDeclarativeImageProvider(): 0288 """""" 0289 # Enum QDeclarativeImageProvider.ImageType 0290 Image = 0 0291 Pixmap = 0 0292 0293 def __init__(self, type): 0294 '''void QDeclarativeImageProvider.__init__(QDeclarativeImageProvider.ImageType type)''' 0295 def __init__(self): 0296 '''QDeclarativeImageProvider QDeclarativeImageProvider.__init__()''' 0297 return QDeclarativeImageProvider() 0298 def requestPixmap(self, id, size, requestedSize): 0299 '''QPixmap QDeclarativeImageProvider.requestPixmap(QString id, QSize size, QSize requestedSize)''' 0300 return QPixmap() 0301 def requestImage(self, id, size, requestedSize): 0302 '''QImage QDeclarativeImageProvider.requestImage(QString id, QSize size, QSize requestedSize)''' 0303 return QImage() 0304 def imageType(self): 0305 '''QDeclarativeImageProvider.ImageType QDeclarativeImageProvider.imageType()''' 0306 return QDeclarativeImageProvider.ImageType() 0307 0308 0309 class QDeclarativeParserStatus(): 0310 """""" 0311 def __init__(self): 0312 '''void QDeclarativeParserStatus.__init__()''' 0313 def __init__(self): 0314 '''QDeclarativeParserStatus QDeclarativeParserStatus.__init__()''' 0315 return QDeclarativeParserStatus() 0316 def componentComplete(self): 0317 '''abstract void QDeclarativeParserStatus.componentComplete()''' 0318 def classBegin(self): 0319 '''abstract void QDeclarativeParserStatus.classBegin()''' 0320 0321 0322 class QDeclarativeItem(QGraphicsObject, QDeclarativeParserStatus): 0323 """""" 0324 # Enum QDeclarativeItem.TransformOrigin 0325 TopLeft = 0 0326 Top = 0 0327 TopRight = 0 0328 Left = 0 0329 Center = 0 0330 Right = 0 0331 BottomLeft = 0 0332 Bottom = 0 0333 BottomRight = 0 0334 0335 def __init__(self, parent = None): 0336 '''void QDeclarativeItem.__init__(QDeclarativeItem parent = None)''' 0337 def geometryChanged(self, newGeometry, oldGeometry): 0338 '''void QDeclarativeItem.geometryChanged(QRectF newGeometry, QRectF oldGeometry)''' 0339 def inputMethodQuery(self, query): 0340 '''QVariant QDeclarativeItem.inputMethodQuery(Qt.InputMethodQuery query)''' 0341 return QVariant() 0342 def inputMethodEvent(self): 0343 '''QInputMethodEvent QDeclarativeItem.inputMethodEvent()''' 0344 return QInputMethodEvent() 0345 def keyReleaseEvent(self, event): 0346 '''void QDeclarativeItem.keyReleaseEvent(QKeyEvent event)''' 0347 def keyPressEvent(self, event): 0348 '''void QDeclarativeItem.keyPressEvent(QKeyEvent event)''' 0349 def componentComplete(self): 0350 '''void QDeclarativeItem.componentComplete()''' 0351 def classBegin(self): 0352 '''void QDeclarativeItem.classBegin()''' 0353 def heightValid(self): 0354 '''bool QDeclarativeItem.heightValid()''' 0355 return bool() 0356 def setImplicitHeight(self): 0357 '''float QDeclarativeItem.setImplicitHeight()''' 0358 return float() 0359 def widthValid(self): 0360 '''bool QDeclarativeItem.widthValid()''' 0361 return bool() 0362 def setImplicitWidth(self): 0363 '''float QDeclarativeItem.setImplicitWidth()''' 0364 return float() 0365 def itemChange(self): 0366 '''QVariant QDeclarativeItem.itemChange()''' 0367 return QVariant() 0368 def event(self): 0369 '''QEvent QDeclarativeItem.event()''' 0370 return QEvent() 0371 def sceneEvent(self): 0372 '''QEvent QDeclarativeItem.sceneEvent()''' 0373 return QEvent() 0374 def isComponentComplete(self): 0375 '''bool QDeclarativeItem.isComponentComplete()''' 0376 return bool() 0377 def setKeepMouseGrab(self): 0378 '''bool QDeclarativeItem.setKeepMouseGrab()''' 0379 return bool() 0380 def keepMouseGrab(self): 0381 '''bool QDeclarativeItem.keepMouseGrab()''' 0382 return bool() 0383 def hasFocus(self): 0384 '''bool QDeclarativeItem.hasFocus()''' 0385 return bool() 0386 def paint(self): 0387 '''QWidget QDeclarativeItem.paint()''' 0388 return QWidget() 0389 def boundingRect(self): 0390 '''QRectF QDeclarativeItem.boundingRect()''' 0391 return QRectF() 0392 def setSmooth(self): 0393 '''bool QDeclarativeItem.setSmooth()''' 0394 return bool() 0395 def smooth(self): 0396 '''bool QDeclarativeItem.smooth()''' 0397 return bool() 0398 def setTransformOrigin(self): 0399 '''QDeclarativeItem.TransformOrigin QDeclarativeItem.setTransformOrigin()''' 0400 return QDeclarativeItem.TransformOrigin() 0401 def transformOrigin(self): 0402 '''QDeclarativeItem.TransformOrigin QDeclarativeItem.transformOrigin()''' 0403 return QDeclarativeItem.TransformOrigin() 0404 def implicitHeight(self): 0405 '''float QDeclarativeItem.implicitHeight()''' 0406 return float() 0407 def setHeight(self): 0408 '''float QDeclarativeItem.setHeight()''' 0409 return float() 0410 def implicitWidth(self): 0411 '''float QDeclarativeItem.implicitWidth()''' 0412 return float() 0413 def setWidth(self): 0414 '''float QDeclarativeItem.setWidth()''' 0415 return float() 0416 def setBaselineOffset(self): 0417 '''float QDeclarativeItem.setBaselineOffset()''' 0418 return float() 0419 def baselineOffset(self): 0420 '''float QDeclarativeItem.baselineOffset()''' 0421 return float() 0422 def setClip(self): 0423 '''bool QDeclarativeItem.setClip()''' 0424 return bool() 0425 def clip(self): 0426 '''bool QDeclarativeItem.clip()''' 0427 return bool() 0428 def childrenRect(self): 0429 '''QRectF QDeclarativeItem.childrenRect()''' 0430 return QRectF() 0431 def setParentItem(self, parent): 0432 '''void QDeclarativeItem.setParentItem(QDeclarativeItem parent)''' 0433 def parentItem(self): 0434 '''QDeclarativeItem QDeclarativeItem.parentItem()''' 0435 return QDeclarativeItem() 0436 0437 0438 class QDeclarativeListReference(): 0439 """""" 0440 def __init__(self): 0441 '''void QDeclarativeListReference.__init__()''' 0442 def __init__(self, property, engine = None): 0443 '''QObject QDeclarativeListReference.__init__(str property, QDeclarativeEngine engine = None)''' 0444 return QObject() 0445 def __init__(self): 0446 '''QDeclarativeListReference QDeclarativeListReference.__init__()''' 0447 return QDeclarativeListReference() 0448 def count(self): 0449 '''int QDeclarativeListReference.count()''' 0450 return int() 0451 def clear(self): 0452 '''bool QDeclarativeListReference.clear()''' 0453 return bool() 0454 def at(self): 0455 '''int QDeclarativeListReference.at()''' 0456 return int() 0457 def append(self): 0458 '''QObject QDeclarativeListReference.append()''' 0459 return QObject() 0460 def canCount(self): 0461 '''bool QDeclarativeListReference.canCount()''' 0462 return bool() 0463 def canClear(self): 0464 '''bool QDeclarativeListReference.canClear()''' 0465 return bool() 0466 def canAt(self): 0467 '''bool QDeclarativeListReference.canAt()''' 0468 return bool() 0469 def canAppend(self): 0470 '''bool QDeclarativeListReference.canAppend()''' 0471 return bool() 0472 def listElementType(self): 0473 '''QMetaObject QDeclarativeListReference.listElementType()''' 0474 return QMetaObject() 0475 def object(self): 0476 '''QObject QDeclarativeListReference.object()''' 0477 return QObject() 0478 def isValid(self): 0479 '''bool QDeclarativeListReference.isValid()''' 0480 return bool() 0481 0482 0483 class QDeclarativeNetworkAccessManagerFactory(): 0484 """""" 0485 def __init__(self): 0486 '''void QDeclarativeNetworkAccessManagerFactory.__init__()''' 0487 def __init__(self): 0488 '''QDeclarativeNetworkAccessManagerFactory QDeclarativeNetworkAccessManagerFactory.__init__()''' 0489 return QDeclarativeNetworkAccessManagerFactory() 0490 def create(self, parent): 0491 '''abstract QNetworkAccessManager QDeclarativeNetworkAccessManagerFactory.create(QObject parent)''' 0492 return QNetworkAccessManager() 0493 0494 0495 class QDeclarativeProperty(): 0496 """""" 0497 # Enum QDeclarativeProperty.Type 0498 Invalid = 0 0499 Property = 0 0500 SignalProperty = 0 0501 0502 # Enum QDeclarativeProperty.PropertyTypeCategory 0503 InvalidCategory = 0 0504 List = 0 0505 Object = 0 0506 Normal = 0 0507 0508 def __init__(self): 0509 '''void QDeclarativeProperty.__init__()''' 0510 def __init__(self): 0511 '''QObject QDeclarativeProperty.__init__()''' 0512 return QObject() 0513 def __init__(self): 0514 '''QDeclarativeContext QDeclarativeProperty.__init__()''' 0515 return QDeclarativeContext() 0516 def __init__(self): 0517 '''QDeclarativeEngine QDeclarativeProperty.__init__()''' 0518 return QDeclarativeEngine() 0519 def __init__(self): 0520 '''QString QDeclarativeProperty.__init__()''' 0521 return QString() 0522 def __init__(self): 0523 '''QDeclarativeContext QDeclarativeProperty.__init__()''' 0524 return QDeclarativeContext() 0525 def __init__(self): 0526 '''QDeclarativeEngine QDeclarativeProperty.__init__()''' 0527 return QDeclarativeEngine() 0528 def __init__(self): 0529 '''QDeclarativeProperty QDeclarativeProperty.__init__()''' 0530 return QDeclarativeProperty() 0531 def __ne__(self): 0532 '''QDeclarativeProperty QDeclarativeProperty.__ne__()''' 0533 return QDeclarativeProperty() 0534 def __hash__(self): 0535 '''int QDeclarativeProperty.__hash__()''' 0536 return int() 0537 def method(self): 0538 '''QMetaMethod QDeclarativeProperty.method()''' 0539 return QMetaMethod() 0540 def property(self): 0541 '''QMetaProperty QDeclarativeProperty.property()''' 0542 return QMetaProperty() 0543 def index(self): 0544 '''int QDeclarativeProperty.index()''' 0545 return int() 0546 def object(self): 0547 '''QObject QDeclarativeProperty.object()''' 0548 return QObject() 0549 def isResettable(self): 0550 '''bool QDeclarativeProperty.isResettable()''' 0551 return bool() 0552 def isDesignable(self): 0553 '''bool QDeclarativeProperty.isDesignable()''' 0554 return bool() 0555 def isWritable(self): 0556 '''bool QDeclarativeProperty.isWritable()''' 0557 return bool() 0558 def connectNotifySignal(self, dest, slot): 0559 '''bool QDeclarativeProperty.connectNotifySignal(QObject dest, SLOT() slot)''' 0560 return bool() 0561 def connectNotifySignal(self, dest): 0562 '''bool QDeclarativeProperty.connectNotifySignal(callable dest)''' 0563 return bool() 0564 def connectNotifySignal(self, dest, method): 0565 '''bool QDeclarativeProperty.connectNotifySignal(QObject dest, int method)''' 0566 return bool() 0567 def needsNotifySignal(self): 0568 '''bool QDeclarativeProperty.needsNotifySignal()''' 0569 return bool() 0570 def hasNotifySignal(self): 0571 '''bool QDeclarativeProperty.hasNotifySignal()''' 0572 return bool() 0573 def reset(self): 0574 '''bool QDeclarativeProperty.reset()''' 0575 return bool() 0576 def write(self): 0577 '''QVariant QDeclarativeProperty.write()''' 0578 return QVariant() 0579 def write(self): 0580 '''static QVariant QDeclarativeProperty.write()''' 0581 return QVariant() 0582 def write(self): 0583 '''static QDeclarativeContext QDeclarativeProperty.write()''' 0584 return QDeclarativeContext() 0585 def write(self): 0586 '''static QDeclarativeEngine QDeclarativeProperty.write()''' 0587 return QDeclarativeEngine() 0588 def read(self): 0589 '''QVariant QDeclarativeProperty.read()''' 0590 return QVariant() 0591 def read(self): 0592 '''static QString QDeclarativeProperty.read()''' 0593 return QString() 0594 def read(self): 0595 '''static QDeclarativeContext QDeclarativeProperty.read()''' 0596 return QDeclarativeContext() 0597 def read(self): 0598 '''static QDeclarativeEngine QDeclarativeProperty.read()''' 0599 return QDeclarativeEngine() 0600 def name(self): 0601 '''QString QDeclarativeProperty.name()''' 0602 return QString() 0603 def propertyTypeName(self): 0604 '''str QDeclarativeProperty.propertyTypeName()''' 0605 return str() 0606 def propertyTypeCategory(self): 0607 '''QDeclarativeProperty.PropertyTypeCategory QDeclarativeProperty.propertyTypeCategory()''' 0608 return QDeclarativeProperty.PropertyTypeCategory() 0609 def propertyType(self): 0610 '''int QDeclarativeProperty.propertyType()''' 0611 return int() 0612 def isSignalProperty(self): 0613 '''bool QDeclarativeProperty.isSignalProperty()''' 0614 return bool() 0615 def isProperty(self): 0616 '''bool QDeclarativeProperty.isProperty()''' 0617 return bool() 0618 def isValid(self): 0619 '''bool QDeclarativeProperty.isValid()''' 0620 return bool() 0621 def type(self): 0622 '''QDeclarativeProperty.Type QDeclarativeProperty.type()''' 0623 return QDeclarativeProperty.Type() 0624 def __eq__(self): 0625 '''QDeclarativeProperty QDeclarativeProperty.__eq__()''' 0626 return QDeclarativeProperty() 0627 0628 0629 class QDeclarativePropertyMap(QObject): 0630 """""" 0631 def __init__(self, parent = None): 0632 '''void QDeclarativePropertyMap.__init__(QObject parent = None)''' 0633 valueChanged = pyqtSignal() # void valueChanged(const QStringamp;,const QVariantamp;) - signal 0634 def __getitem__(self, key): 0635 '''QVariant QDeclarativePropertyMap.__getitem__(QString key)''' 0636 return QVariant() 0637 def contains(self, key): 0638 '''bool QDeclarativePropertyMap.contains(QString key)''' 0639 return bool() 0640 def isEmpty(self): 0641 '''bool QDeclarativePropertyMap.isEmpty()''' 0642 return bool() 0643 def size(self): 0644 '''int QDeclarativePropertyMap.size()''' 0645 return int() 0646 def __len__(self): 0647 '''None QDeclarativePropertyMap.__len__()''' 0648 return None() 0649 def count(self): 0650 '''int QDeclarativePropertyMap.count()''' 0651 return int() 0652 def keys(self): 0653 '''QStringList QDeclarativePropertyMap.keys()''' 0654 return QStringList() 0655 def clear(self, key): 0656 '''void QDeclarativePropertyMap.clear(QString key)''' 0657 def insert(self, key, value): 0658 '''void QDeclarativePropertyMap.insert(QString key, QVariant value)''' 0659 def value(self, key): 0660 '''QVariant QDeclarativePropertyMap.value(QString key)''' 0661 return QVariant() 0662 0663 0664 class QDeclarativePropertyValueSource(): 0665 """""" 0666 def __init__(self): 0667 '''void QDeclarativePropertyValueSource.__init__()''' 0668 def __init__(self): 0669 '''QDeclarativePropertyValueSource QDeclarativePropertyValueSource.__init__()''' 0670 return QDeclarativePropertyValueSource() 0671 def setTarget(self): 0672 '''abstract QDeclarativeProperty QDeclarativePropertyValueSource.setTarget()''' 0673 return QDeclarativeProperty() 0674 0675 0676 class QDeclarativeScriptString(): 0677 """""" 0678 def __init__(self): 0679 '''void QDeclarativeScriptString.__init__()''' 0680 def __init__(self): 0681 '''QDeclarativeScriptString QDeclarativeScriptString.__init__()''' 0682 return QDeclarativeScriptString() 0683 def setScript(self): 0684 '''QString QDeclarativeScriptString.setScript()''' 0685 return QString() 0686 def script(self): 0687 '''QString QDeclarativeScriptString.script()''' 0688 return QString() 0689 def setScopeObject(self): 0690 '''QObject QDeclarativeScriptString.setScopeObject()''' 0691 return QObject() 0692 def scopeObject(self): 0693 '''QObject QDeclarativeScriptString.scopeObject()''' 0694 return QObject() 0695 def setContext(self): 0696 '''QDeclarativeContext QDeclarativeScriptString.setContext()''' 0697 return QDeclarativeContext() 0698 def context(self): 0699 '''QDeclarativeContext QDeclarativeScriptString.context()''' 0700 return QDeclarativeContext() 0701 0702 0703 class QDeclarativeView(QGraphicsView): 0704 """""" 0705 # Enum QDeclarativeView.Status 0706 Null = 0 0707 Ready = 0 0708 Loading = 0 0709 Error = 0 0710 0711 # Enum QDeclarativeView.ResizeMode 0712 SizeViewToRootObject = 0 0713 SizeRootObjectToView = 0 0714 0715 def __init__(self, parent = None): 0716 '''void QDeclarativeView.__init__(QWidget parent = None)''' 0717 def __init__(self, source, parent = None): 0718 '''void QDeclarativeView.__init__(QUrl source, QWidget parent = None)''' 0719 def eventFilter(self, watched, e): 0720 '''bool QDeclarativeView.eventFilter(QObject watched, QEvent e)''' 0721 return bool() 0722 def timerEvent(self): 0723 '''QTimerEvent QDeclarativeView.timerEvent()''' 0724 return QTimerEvent() 0725 def paintEvent(self, event): 0726 '''void QDeclarativeView.paintEvent(QPaintEvent event)''' 0727 def resizeEvent(self): 0728 '''QResizeEvent QDeclarativeView.resizeEvent()''' 0729 return QResizeEvent() 0730 statusChanged = pyqtSignal() # void statusChanged(QDeclarativeView::Status) - signal 0731 sceneResized = pyqtSignal() # void sceneResized(QSize) - signal 0732 def initialSize(self): 0733 '''QSize QDeclarativeView.initialSize()''' 0734 return QSize() 0735 def sizeHint(self): 0736 '''QSize QDeclarativeView.sizeHint()''' 0737 return QSize() 0738 def errors(self): 0739 '''list-of-QDeclarativeError QDeclarativeView.errors()''' 0740 return [QDeclarativeError()] 0741 def status(self): 0742 '''QDeclarativeView.Status QDeclarativeView.status()''' 0743 return QDeclarativeView.Status() 0744 def setResizeMode(self): 0745 '''QDeclarativeView.ResizeMode QDeclarativeView.setResizeMode()''' 0746 return QDeclarativeView.ResizeMode() 0747 def resizeMode(self): 0748 '''QDeclarativeView.ResizeMode QDeclarativeView.resizeMode()''' 0749 return QDeclarativeView.ResizeMode() 0750 def rootObject(self): 0751 '''QGraphicsObject QDeclarativeView.rootObject()''' 0752 return QGraphicsObject() 0753 def rootContext(self): 0754 '''QDeclarativeContext QDeclarativeView.rootContext()''' 0755 return QDeclarativeContext() 0756 def engine(self): 0757 '''QDeclarativeEngine QDeclarativeView.engine()''' 0758 return QDeclarativeEngine() 0759 def setSource(self): 0760 '''QUrl QDeclarativeView.setSource()''' 0761 return QUrl() 0762 def source(self): 0763 '''QUrl QDeclarativeView.source()''' 0764 return QUrl() 0765 0766 0767 class QPyDeclarativePropertyValueSource(QObject, QDeclarativePropertyValueSource): 0768 """""" 0769 def __init__(self, parent = None): 0770 '''void QPyDeclarativePropertyValueSource.__init__(QObject parent = None)''' 0771 0772