QDeclarativeComponent Class Reference
[QtDeclarative module]
Inherits QObject.
Types
- enum Status { Null, Ready, Loading, Error }
Methods
- __init__ (self, QDeclarativeEngine, QObject parent = None)
- __init__ (self, QDeclarativeEngine, QString fileName, QObject parent = None)
- __init__ (self, QDeclarativeEngine, QUrl url, QObject parent = None)
- QObject beginCreate (self, QDeclarativeContext)
- completeCreate (self)
- QObject create (self, QDeclarativeContext context = None)
- QDeclarativeContext creationContext (self)
- list-of-QDeclarativeError errors (self)
- bool isError (self)
- bool isLoading (self)
- bool isNull (self)
- bool isReady (self)
- loadUrl (self, QUrl url)
- float progress (self)
- setData (self, QByteArray, QUrl baseUrl)
- Status status (self)
- QUrl url (self)
Qt Signals
Detailed Description
Type Documentation
QDeclarativeComponent.Status
Method Documentation
QDeclarativeComponent.__init__ (self, QDeclarativeEngine, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QDeclarativeComponent.__init__ (self, QDeclarativeEngine, QString fileName, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QDeclarativeComponent.__init__ (self, QDeclarativeEngine, QUrl url, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QDeclarativeComponent.completeCreate (self)
QObject QDeclarativeComponent.create (self, QDeclarativeContext context = None)
QDeclarativeContext QDeclarativeComponent.creationContext (self)
list-of-QDeclarativeError QDeclarativeComponent.errors (self)
bool QDeclarativeComponent.isError (self)
bool QDeclarativeComponent.isLoading (self)
bool QDeclarativeComponent.isNull (self)
bool QDeclarativeComponent.isReady (self)
QDeclarativeComponent.loadUrl (self, QUrl url)
float QDeclarativeComponent.progress (self)
QDeclarativeComponent.setData (self, QByteArray, QUrl baseUrl)
Status QDeclarativeComponent.status (self)
QUrl QDeclarativeComponent.url (self)
Qt Signal Documentation
void progressChanged (qreal)
This is the default overload of this signal.
void statusChanged (QDeclarativeComponent::Status)
This is the default overload of this signal.