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 « QQmlEngine »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QJSEngine
                QQmlEngine

Définition

class QQmlEngine(QJSEngine):

Description [extrait de QQmlEngine.__doc__]

QQmlEngine(self, p: 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__]
__init__(self, p: Optional[PySide6.QtCore.QObject] = None) -> None __init__(self, p: Optional[PySide6.QtCore.QObject] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AllExtensionsPySide6.QtQml.QJSEngine.Extension.AllExtensions
ConsoleExtensionPySide6.QtQml.QJSEngine.Extension.ConsoleExtension
CppOwnershipPySide6.QtQml.QJSEngine.ObjectOwnership.CppOwnership
GarbageCollectionExtensionPySide6.QtQml.QJSEngine.Extension.GarbageCollectionExtension
JavaScriptOwnershipPySide6.QtQml.QJSEngine.ObjectOwnership.JavaScriptOwnership
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40db0b8d40>
TranslationExtensionPySide6.QtQml.QJSEngine.Extension.TranslationExtension

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
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
addImageProvider(self, id: str, arg__2: PySide6.QtQml.QQmlImageProviderBase) -> None addImageProvider(self, id: str, arg__2: PySide6.QtQml.QQmlImageProviderBase) -> None [extrait de addImageProvider.__doc__]
addImportPath(self, dir: Union[str, bytes, os.PathLike]) -> None addImportPath(self, dir: Union[str, bytes, os.PathLike]) -> None [extrait de addImportPath.__doc__]
addNamedBundle(self, arg__1: str, arg__2: str) -> bool addNamedBundle(self, arg__1: str, arg__2: str) -> bool [extrait de addNamedBundle.__doc__]
addPluginPath(self, dir: Union[str, bytes, os.PathLike]) -> None addPluginPath(self, dir: Union[str, bytes, os.PathLike]) -> None [extrait de addPluginPath.__doc__]
addUrlInterceptor(self, urlInterceptor: PySide6.QtQml.QQmlAbstractUrlInterceptor) -> None addUrlInterceptor(self, urlInterceptor: PySide6.QtQml.QQmlAbstractUrlInterceptor) -> None [extrait de addUrlInterceptor.__doc__]
baseUrl(self) -> PySide6.QtCore.QUrl baseUrl(self) -> PySide6.QtCore.QUrl [extrait de baseUrl.__doc__]
captureProperty(self, object: PySide6.QtCore.QObject, property: PySide6.QtCore.QMetaProperty) -> None captureProperty(self, object: PySide6.QtCore.QObject, property: PySide6.QtCore.QMetaProperty) -> None [extrait de captureProperty.__doc__]
clearComponentCache(self) -> None clearComponentCache(self) -> None [extrait de clearComponentCache.__doc__]
contextForObject(arg__1: PySide6.QtCore.QObject) -> PySide6.QtQml.QQmlContext contextForObject(arg__1: PySide6.QtCore.QObject) -> PySide6.QtQml.QQmlContext [extrait de contextForObject.__doc__]
destroyed
event(self, arg__1: PySide6.QtCore.QEvent) -> bool event(self, arg__1: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
exit
imageProvider(self, id: str) -> PySide6.QtQml.QQmlImageProviderBase imageProvider(self, id: str) -> PySide6.QtQml.QQmlImageProviderBase [extrait de imageProvider.__doc__]
importPathList(self) -> List[str] importPathList(self) -> List[str] [extrait de importPathList.__doc__]
importPlugin(self, filePath: str, uri: str, errors: Sequence[PySide6.QtQml.QQmlError]) -> bool importPlugin(self, filePath: str, uri: str, errors: Sequence[PySide6.QtQml.QQmlError]) -> bool [extrait de importPlugin.__doc__]
incubationController(self) -> PySide6.QtQml.QQmlIncubationController incubationController(self) -> PySide6.QtQml.QQmlIncubationController [extrait de incubationController.__doc__]
interceptUrl(self, url: Union[PySide6.QtCore.QUrl, str], type: PySide6.QtQml.QQmlAbstractUrlInterceptor.DataType) -> PySide6.QtCore.QUrl interceptUrl(self, url: Union[PySide6.QtCore.QUrl, str], type: PySide6.QtQml.QQmlAbstractUrlInterceptor.DataType) -> PySide6.QtCore.QUrl [extrait de interceptUrl.__doc__]
networkAccessManager(self) -> PySide6.QtNetwork.QNetworkAccessManager networkAccessManager(self) -> PySide6.QtNetwork.QNetworkAccessManager [extrait de networkAccessManager.__doc__]
networkAccessManagerFactory(self) -> PySide6.QtQml.QQmlNetworkAccessManagerFactory networkAccessManagerFactory(self) -> PySide6.QtQml.QQmlNetworkAccessManagerFactory [extrait de networkAccessManagerFactory.__doc__]
objectNameChanged
offlineStorageDatabaseFilePath(self, databaseName: str) -> str offlineStorageDatabaseFilePath(self, databaseName: str) -> str [extrait de offlineStorageDatabaseFilePath.__doc__]
offlineStoragePath(self) -> str offlineStoragePath(self) -> str [extrait de offlineStoragePath.__doc__]
outputWarningsToStandardError(self) -> bool outputWarningsToStandardError(self) -> bool [extrait de outputWarningsToStandardError.__doc__]
pluginPathList(self) -> List[str] pluginPathList(self) -> List[str] [extrait de pluginPathList.__doc__]
quit
removeImageProvider(self, id: str) -> None removeImageProvider(self, id: str) -> None [extrait de removeImageProvider.__doc__]
removeUrlInterceptor(self, urlInterceptor: PySide6.QtQml.QQmlAbstractUrlInterceptor) -> None removeUrlInterceptor(self, urlInterceptor: PySide6.QtQml.QQmlAbstractUrlInterceptor) -> None [extrait de removeUrlInterceptor.__doc__]
retranslate(self) -> None retranslate(self) -> None [extrait de retranslate.__doc__]
rootContext(self) -> PySide6.QtQml.QQmlContext rootContext(self) -> PySide6.QtQml.QQmlContext [extrait de rootContext.__doc__]
setBaseUrl(self, arg__1: Union[PySide6.QtCore.QUrl, str]) -> None setBaseUrl(self, arg__1: Union[PySide6.QtCore.QUrl, str]) -> None [extrait de setBaseUrl.__doc__]
setContextForObject(arg__1: PySide6.QtCore.QObject, arg__2: PySide6.QtQml.QQmlContext) -> None setContextForObject(arg__1: PySide6.QtCore.QObject, arg__2: PySide6.QtQml.QQmlContext) -> None [extrait de setContextForObject.__doc__]
setImportPathList(self, paths: Sequence[str]) -> None setImportPathList(self, paths: Sequence[str]) -> None [extrait de setImportPathList.__doc__]
setIncubationController(self, arg__1: PySide6.QtQml.QQmlIncubationController) -> None setIncubationController(self, arg__1: PySide6.QtQml.QQmlIncubationController) -> None [extrait de setIncubationController.__doc__]
setNetworkAccessManagerFactory(self, arg__1: PySide6.QtQml.QQmlNetworkAccessManagerFactory) -> None setNetworkAccessManagerFactory(self, arg__1: PySide6.QtQml.QQmlNetworkAccessManagerFactory) -> None [extrait de setNetworkAccessManagerFactory.__doc__]
setOfflineStoragePath(self, dir: str) -> None setOfflineStoragePath(self, dir: str) -> None [extrait de setOfflineStoragePath.__doc__]
setOutputWarningsToStandardError(self, arg__1: bool) -> None setOutputWarningsToStandardError(self, arg__1: bool) -> None [extrait de setOutputWarningsToStandardError.__doc__]
setPluginPathList(self, paths: Sequence[str]) -> None setPluginPathList(self, paths: Sequence[str]) -> None [extrait de setPluginPathList.__doc__]
setUrlInterceptor(self, urlInterceptor: PySide6.QtQml.QQmlAbstractUrlInterceptor) -> None setUrlInterceptor(self, urlInterceptor: PySide6.QtQml.QQmlAbstractUrlInterceptor) -> None [extrait de setUrlInterceptor.__doc__]
tr
trimComponentCache(self) -> None trimComponentCache(self) -> None [extrait de trimComponentCache.__doc__]
uiLanguageChanged
urlInterceptor(self) -> PySide6.QtQml.QQmlAbstractUrlInterceptor urlInterceptor(self) -> PySide6.QtQml.QQmlAbstractUrlInterceptor [extrait de urlInterceptor.__doc__]
urlInterceptors(self) -> List[PySide6.QtQml.QQmlAbstractUrlInterceptor] urlInterceptors(self) -> List[PySide6.QtQml.QQmlAbstractUrlInterceptor] [extrait de urlInterceptors.__doc__]
warnings

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

__init_subclass__, __subclasshook__, catchError, collectGarbage, evaluate, Extension, Extensions, globalObject, hasError, importModule, installExtensions, isInterrupted, newArray, newErrorObject, newObject, newQMetaObject, newQObject, newSymbol, ObjectOwnership, objectOwnership, registerModule, setInterrupted, setObjectOwnership, setUiLanguage, throwError, toScriptValue, uiLanguage

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, 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__