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 « PySide2.QtScript »

Classe « QScriptEngine »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QScriptEngine

Définition

class QScriptEngine(QObject):

Description [extrait de QScriptEngine.__doc__]

QScriptEngine(self)
QScriptEngine(self, parent: PySide2.QtCore.QObject)

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, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AutoCreateDynamicPropertiesPySide2.QtScript.QScriptEngine.QObjectWrapOption.AutoCreateDynamicProperties
AutoOwnershipPySide2.QtScript.QScriptEngine.ValueOwnership.AutoOwnership
ExcludeChildObjectsPySide2.QtScript.QScriptEngine.QObjectWrapOption.ExcludeChildObjects
ExcludeDeleteLaterPySide2.QtScript.QScriptEngine.QObjectWrapOption.ExcludeDeleteLater
ExcludeSlotsPySide2.QtScript.QScriptEngine.QObjectWrapOption.ExcludeSlots
ExcludeSuperClassContentsPySide2.QtScript.QScriptEngine.QObjectWrapOption.ExcludeSuperClassContents
ExcludeSuperClassMethodsPySide2.QtScript.QScriptEngine.QObjectWrapOption.ExcludeSuperClassMethods
ExcludeSuperClassPropertiesPySide2.QtScript.QScriptEngine.QObjectWrapOption.ExcludeSuperClassProperties
PreferExistingWrapperObjectPySide2.QtScript.QScriptEngine.QObjectWrapOption.PreferExistingWrapperObject
QtOwnershipPySide2.QtScript.QScriptEngine.ValueOwnership.QtOwnership
ScriptOwnershipPySide2.QtScript.QScriptEngine.ValueOwnership.ScriptOwnership
SkipMethodsInEnumerationPySide2.QtScript.QScriptEngine.QObjectWrapOption.SkipMethodsInEnumeration
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe335cf700>

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__]
abortEvaluation(self, result: PySide2.QtScript.QScriptValue = Default(QScriptValue)) abortEvaluation(self, result: PySide2.QtScript.QScriptValue = Default(QScriptValue)) [extrait de abortEvaluation.__doc__]
agent(self) -> PySide2.QtScript.QScriptEngineAgent agent(self) -> PySide2.QtScript.QScriptEngineAgent [extrait de agent.__doc__]
availableExtensions(self) -> typing.List[str] availableExtensions(self) -> typing.List[str] [extrait de availableExtensions.__doc__]
canEvaluate(self, program: str) -> bool canEvaluate(self, program: str) -> bool [extrait de canEvaluate.__doc__]
clearExceptions(self) clearExceptions(self) [extrait de clearExceptions.__doc__]
collectGarbage(self) collectGarbage(self) [extrait de collectGarbage.__doc__]
currentContext(self) -> PySide2.QtScript.QScriptContext currentContext(self) -> PySide2.QtScript.QScriptContext [extrait de currentContext.__doc__]
defaultPrototype(self, metaTypeId: int) -> PySide2.QtScript.QScriptValue defaultPrototype(self, metaTypeId: int) -> PySide2.QtScript.QScriptValue [extrait de defaultPrototype.__doc__]
destroyed
evaluate evaluate(self, program: PySide2.QtScript.QScriptProgram) -> PySide2.QtScript.QScriptValue [extrait de evaluate.__doc__]
globalObject(self) -> PySide2.QtScript.QScriptValue globalObject(self) -> PySide2.QtScript.QScriptValue [extrait de globalObject.__doc__]
hasUncaughtException(self) -> bool hasUncaughtException(self) -> bool [extrait de hasUncaughtException.__doc__]
importedExtensions(self) -> typing.List[str] importedExtensions(self) -> typing.List[str] [extrait de importedExtensions.__doc__]
importExtension(self, extension: str) -> PySide2.QtScript.QScriptValue importExtension(self, extension: str) -> PySide2.QtScript.QScriptValue [extrait de importExtension.__doc__]
installTranslatorFunctions(self, object: PySide2.QtScript.QScriptValue = Default(QScriptValue)) installTranslatorFunctions(self, object: PySide2.QtScript.QScriptValue = Default(QScriptValue)) [extrait de installTranslatorFunctions.__doc__]
isEvaluating(self) -> bool isEvaluating(self) -> bool [extrait de isEvaluating.__doc__]
newActivationObject(self) -> PySide2.QtScript.QScriptValue newActivationObject(self) -> PySide2.QtScript.QScriptValue [extrait de newActivationObject.__doc__]
newArray(self, length: int = 0) -> PySide2.QtScript.QScriptValue newArray(self, length: int = 0) -> PySide2.QtScript.QScriptValue [extrait de newArray.__doc__]
newDate newDate(self, value: PySide2.QtCore.QDateTime) -> PySide2.QtScript.QScriptValue [extrait de newDate.__doc__]
newObject newObject(self) -> PySide2.QtScript.QScriptValue [extrait de newObject.__doc__]
newQMetaObject(self, metaObject: PySide2.QtCore.QMetaObject, ctor: PySide2.QtScript.QScriptValue = Default(QScriptValue)) -> PySide2.QtScript.QScriptValue newQMetaObject(self, metaObject: PySide2.QtCore.QMetaObject, ctor: PySide2.QtScript.QScriptValue = Default(QScriptValue)) -> PySide2.QtScript.QScriptValue [extrait de newQMetaObject.__doc__]
newQObject newQObject(self, object: PySide2.QtCore.QObject, ownership: PySide2.QtScript.QScriptEngine.ValueOwnership = PySide2.QtScript.QScriptEngine.ValueOwnership.QtOwnership, options: PySide2.QtScript.QScriptEngine.QObjectWrapOptions = Default(QScriptEngine.QObjectWrapOptions)) -> PySide2.QtScript.QScriptValue [extrait de newQObject.__doc__]
newRegExp newRegExp(self, pattern: str, flags: str) -> PySide2.QtScript.QScriptValue [extrait de newRegExp.__doc__]
newVariant newVariant(self, object: PySide2.QtScript.QScriptValue, value: typing.Any) -> PySide2.QtScript.QScriptValue [extrait de newVariant.__doc__]
nullValue(self) -> PySide2.QtScript.QScriptValue nullValue(self) -> PySide2.QtScript.QScriptValue [extrait de nullValue.__doc__]
objectById(self, id: int) -> PySide2.QtScript.QScriptValue objectById(self, id: int) -> PySide2.QtScript.QScriptValue [extrait de objectById.__doc__]
objectNameChanged
popContext(self) popContext(self) [extrait de popContext.__doc__]
processEventsInterval(self) -> int processEventsInterval(self) -> int [extrait de processEventsInterval.__doc__]
pushContext(self) -> PySide2.QtScript.QScriptContext pushContext(self) -> PySide2.QtScript.QScriptContext [extrait de pushContext.__doc__]
QObjectWrapOption
QObjectWrapOptions
reportAdditionalMemoryCost(self, size: int) reportAdditionalMemoryCost(self, size: int) [extrait de reportAdditionalMemoryCost.__doc__]
setAgent(self, agent: PySide2.QtScript.QScriptEngineAgent) setAgent(self, agent: PySide2.QtScript.QScriptEngineAgent) [extrait de setAgent.__doc__]
setDefaultPrototype(self, metaTypeId: int, prototype: PySide2.QtScript.QScriptValue) setDefaultPrototype(self, metaTypeId: int, prototype: PySide2.QtScript.QScriptValue) [extrait de setDefaultPrototype.__doc__]
setGlobalObject(self, object: PySide2.QtScript.QScriptValue) setGlobalObject(self, object: PySide2.QtScript.QScriptValue) [extrait de setGlobalObject.__doc__]
setProcessEventsInterval(self, interval: int) setProcessEventsInterval(self, interval: int) [extrait de setProcessEventsInterval.__doc__]
signalHandlerException
toObject(self, value: PySide2.QtScript.QScriptValue) -> PySide2.QtScript.QScriptValue toObject(self, value: PySide2.QtScript.QScriptValue) -> PySide2.QtScript.QScriptValue [extrait de toObject.__doc__]
toStringHandle(self, str: str) -> PySide2.QtScript.QScriptString toStringHandle(self, str: str) -> PySide2.QtScript.QScriptString [extrait de toStringHandle.__doc__]
uncaughtException(self) -> PySide2.QtScript.QScriptValue uncaughtException(self) -> PySide2.QtScript.QScriptValue [extrait de uncaughtException.__doc__]
uncaughtExceptionBacktrace(self) -> typing.List[str] uncaughtExceptionBacktrace(self) -> typing.List[str] [extrait de uncaughtExceptionBacktrace.__doc__]
uncaughtExceptionLineNumber(self) -> int uncaughtExceptionLineNumber(self) -> int [extrait de uncaughtExceptionLineNumber.__doc__]
undefinedValue(self) -> PySide2.QtScript.QScriptValue undefinedValue(self) -> PySide2.QtScript.QScriptValue [extrait de undefinedValue.__doc__]
ValueOwnership

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, registerUserData, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

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

__init_subclass__, __subclasshook__

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

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