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

Informations générales

Héritage

builtins.object
    Object
        QObject
            QJSEngine

Définition

class QJSEngine(QObject):

Description [extrait de QJSEngine.__doc__]

QJSEngine(self) -> None
QJSEngine(self, parent: PySide6.QtCore.QObject) -> 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
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 0x7f40db0b8840>
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__]
catchError(self) -> PySide6.QtQml.QJSValue catchError(self) -> PySide6.QtQml.QJSValue [extrait de catchError.__doc__]
collectGarbage(self) -> None collectGarbage(self) -> None [extrait de collectGarbage.__doc__]
destroyed
evaluate(self, program: str, fileName: str = '', lineNumber: int = 1) -> Tuple[PySide6.QtQml.QJSValue, List[str]] evaluate(self, program: str, fileName: str = '', lineNumber: int = 1) -> Tuple[PySide6.QtQml.QJSValue, List[str]] [extrait de evaluate.__doc__]
Extension
Extensions
globalObject(self) -> PySide6.QtQml.QJSValue globalObject(self) -> PySide6.QtQml.QJSValue [extrait de globalObject.__doc__]
hasError(self) -> bool hasError(self) -> bool [extrait de hasError.__doc__]
importModule(self, fileName: str) -> PySide6.QtQml.QJSValue importModule(self, fileName: str) -> PySide6.QtQml.QJSValue [extrait de importModule.__doc__]
installExtensions(self, extensions: PySide6.QtQml.QJSEngine.Extensions, object: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int] = Default(QJSValue)) -> None installExtensions(self, extensions: PySide6.QtQml.QJSEngine.Extensions, object: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int] = Default(QJSValue)) -> None [extrait de installExtensions.__doc__]
isInterrupted(self) -> bool isInterrupted(self) -> bool [extrait de isInterrupted.__doc__]
newArray(self, length: int = 0) -> PySide6.QtQml.QJSValue newArray(self, length: int = 0) -> PySide6.QtQml.QJSValue [extrait de newArray.__doc__]
newErrorObject(self, errorType: PySide6.QtQml.QJSValue.ErrorType, message: str = '') -> PySide6.QtQml.QJSValue newErrorObject(self, errorType: PySide6.QtQml.QJSValue.ErrorType, message: str = '') -> PySide6.QtQml.QJSValue [extrait de newErrorObject.__doc__]
newObject(self) -> PySide6.QtQml.QJSValue newObject(self) -> PySide6.QtQml.QJSValue [extrait de newObject.__doc__]
newQMetaObject(self, metaObject: PySide6.QtCore.QMetaObject) -> PySide6.QtQml.QJSValue newQMetaObject(self, metaObject: PySide6.QtCore.QMetaObject) -> PySide6.QtQml.QJSValue [extrait de newQMetaObject.__doc__]
newQObject(self, object: PySide6.QtCore.QObject) -> PySide6.QtQml.QJSValue newQObject(self, object: PySide6.QtCore.QObject) -> PySide6.QtQml.QJSValue [extrait de newQObject.__doc__]
newSymbol(self, name: str) -> PySide6.QtQml.QJSValue newSymbol(self, name: str) -> PySide6.QtQml.QJSValue [extrait de newSymbol.__doc__]
objectNameChanged
ObjectOwnership
objectOwnership(arg__1: PySide6.QtCore.QObject) -> PySide6.QtQml.QJSEngine.ObjectOwnership objectOwnership(arg__1: PySide6.QtCore.QObject) -> PySide6.QtQml.QJSEngine.ObjectOwnership [extrait de objectOwnership.__doc__]
registerModule(self, moduleName: str, value: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int]) -> bool registerModule(self, moduleName: str, value: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int]) -> bool [extrait de registerModule.__doc__]
setInterrupted(self, interrupted: bool) -> None setInterrupted(self, interrupted: bool) -> None [extrait de setInterrupted.__doc__]
setObjectOwnership(arg__1: PySide6.QtCore.QObject, arg__2: PySide6.QtQml.QJSEngine.ObjectOwnership) -> None setObjectOwnership(arg__1: PySide6.QtCore.QObject, arg__2: PySide6.QtQml.QJSEngine.ObjectOwnership) -> None [extrait de setObjectOwnership.__doc__]
setUiLanguage(self, language: str) -> None setUiLanguage(self, language: str) -> None [extrait de setUiLanguage.__doc__]
throwError throwError(self, error: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int]) -> None [extrait de throwError.__doc__]
toScriptValue(self, arg__1: Any) -> PySide6.QtQml.QJSValue toScriptValue(self, arg__1: Any) -> PySide6.QtQml.QJSValue [extrait de toScriptValue.__doc__]
tr
uiLanguage(self) -> str uiLanguage(self) -> str [extrait de uiLanguage.__doc__]
uiLanguageChanged

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__