QDeclarativeContext Class Reference
[QtDeclarative module]
Inherits QObject.
Methods
- __init__ (self, QDeclarativeEngine engine, QObject parent = None)
- __init__ (self, QDeclarativeContext context, QObject parent = None)
- QUrl baseUrl (self)
- QObject contextObject (self)
- QVariant contextProperty (self, QString)
- QDeclarativeEngine engine (self)
- bool isValid (self)
- QDeclarativeContext parentContext (self)
- QUrl resolvedUrl (self, QUrl)
- setBaseUrl (self, QUrl)
- setContextObject (self, QObject)
- setContextProperty (self, QString, QObject)
- setContextProperty (self, QString, QVariant)
Detailed Description
Method Documentation
QDeclarativeContext.__init__ (self, QDeclarativeEngine engine, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QDeclarativeContext.__init__ (self, QDeclarativeContext context, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QUrl QDeclarativeContext.baseUrl (self)
QObject QDeclarativeContext.contextObject (self)
QVariant QDeclarativeContext.contextProperty (self, QString)
bool QDeclarativeContext.isValid (self)
QDeclarativeContext QDeclarativeContext.parentContext (self)
QUrl QDeclarativeContext.resolvedUrl (self, QUrl)
QDeclarativeContext.setBaseUrl (self, QUrl)
QDeclarativeContext.setContextObject (self, QObject)
QDeclarativeContext.setContextProperty (self, QString, QObject)
QDeclarativeContext.setContextProperty (self, QString, QVariant)