Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtQml »

Classe « QQmlComponent »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QQmlComponent

Définition

class QQmlComponent(QObject):

Description [extrait de QQmlComponent.__doc__]

QQmlComponent(self, arg__1: PySide6.QtQml.QQmlEngine, fileName: str, mode: PySide6.QtQml.QQmlComponent.CompilationMode, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QQmlComponent(self, arg__1: PySide6.QtQml.QQmlEngine, fileName: str, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QQmlComponent(self, arg__1: PySide6.QtQml.QQmlEngine, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QQmlComponent(self, arg__1: PySide6.QtQml.QQmlEngine, url: Union[PySide6.QtCore.QUrl, str], mode: PySide6.QtQml.QQmlComponent.CompilationMode, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QQmlComponent(self, arg__1: PySide6.QtQml.QQmlEngine, url: Union[PySide6.QtCore.QUrl, str], parent: Optional[PySide6.QtCore.QObject] = None) -> None
QQmlComponent(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AsynchronousPySide6.QtQml.QQmlComponent.CompilationMode.Asynchronous
ErrorPySide6.QtQml.QQmlComponent.Status.Error
LoadingPySide6.QtQml.QQmlComponent.Status.Loading
NullPySide6.QtQml.QQmlComponent.Status.Null
PreferSynchronousPySide6.QtQml.QQmlComponent.CompilationMode.PreferSynchronous
ReadyPySide6.QtQml.QQmlComponent.Status.Ready
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40db0a3bc0>

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__bool__(self) self != 0 [extrait de __bool__.__doc__]
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
beginCreate(self, arg__1: PySide6.QtQml.QQmlContext) -> PySide6.QtCore.QObject beginCreate(self, arg__1: PySide6.QtQml.QQmlContext) -> PySide6.QtCore.QObject [extrait de beginCreate.__doc__]
CompilationMode
completeCreate(self) -> None completeCreate(self) -> None [extrait de completeCreate.__doc__]
create create(self, arg__1: PySide6.QtQml.QQmlIncubator, context: Optional[PySide6.QtQml.QQmlContext] = None, forContext: Optional[PySide6.QtQml.QQmlContext] = None) -> None [extrait de create.__doc__]
createWithInitialProperties(self, initialProperties: Dict[str, Any], context: Optional[PySide6.QtQml.QQmlContext] = None) -> PySide6.QtCore.QObject createWithInitialProperties(self, initialProperties: Dict[str, Any], context: Optional[PySide6.QtQml.QQmlContext] = None) -> PySide6.QtCore.QObject [extrait de createWithInitialProperties.__doc__]
creationContext(self) -> PySide6.QtQml.QQmlContext creationContext(self) -> PySide6.QtQml.QQmlContext [extrait de creationContext.__doc__]
destroyed
engine(self) -> PySide6.QtQml.QQmlEngine engine(self) -> PySide6.QtQml.QQmlEngine [extrait de engine.__doc__]
errors(self) -> List[PySide6.QtQml.QQmlError] errors(self) -> List[PySide6.QtQml.QQmlError] [extrait de errors.__doc__]
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
isError(self) -> bool isError(self) -> bool [extrait de isError.__doc__]
isLoading(self) -> bool isLoading(self) -> bool [extrait de isLoading.__doc__]
isNull(self) -> bool isNull(self) -> bool [extrait de isNull.__doc__]
isReady(self) -> bool isReady(self) -> bool [extrait de isReady.__doc__]
loadUrl loadUrl(self, url: Union[PySide6.QtCore.QUrl, str]) -> None [extrait de loadUrl.__doc__]
objectNameChanged
progress(self) -> float progress(self) -> float [extrait de progress.__doc__]
progressChanged
setData(self, arg__1: Union[PySide6.QtCore.QByteArray, bytes], baseUrl: Union[PySide6.QtCore.QUrl, str]) -> None setData(self, arg__1: Union[PySide6.QtCore.QByteArray, bytes], baseUrl: Union[PySide6.QtCore.QUrl, str]) -> None [extrait de setData.__doc__]
setInitialProperties(self, component: PySide6.QtCore.QObject, properties: Dict[str, Any]) -> None setInitialProperties(self, component: PySide6.QtCore.QObject, properties: Dict[str, Any]) -> None [extrait de setInitialProperties.__doc__]
Status
status(self) -> PySide6.QtQml.QQmlComponent.Status status(self) -> PySide6.QtQml.QQmlComponent.Status [extrait de status.__doc__]
statusChanged
tr
url(self) -> PySide6.QtCore.QUrl url(self) -> PySide6.QtCore.QUrl [extrait de url.__doc__]

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__