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

Informations générales

Héritage

builtins.object
    Object
        QScriptValue

Définition

class QScriptValue(Object):

Description [extrait de QScriptValue.__doc__]

QScriptValue(self)
QScriptValue(self, engine: PySide2.QtScript.QScriptEngine, val: PySide2.QtScript.QScriptValue.SpecialValue)
QScriptValue(self, engine: PySide2.QtScript.QScriptEngine, val: str)
QScriptValue(self, engine: PySide2.QtScript.QScriptEngine, val: bool)
QScriptValue(self, engine: PySide2.QtScript.QScriptEngine, val: bytes)
QScriptValue(self, engine: PySide2.QtScript.QScriptEngine, val: float)
QScriptValue(self, engine: PySide2.QtScript.QScriptEngine, val: int)
QScriptValue(self, engine: PySide2.QtScript.QScriptEngine, val: int)
QScriptValue(self, other: PySide2.QtScript.QScriptValue)
QScriptValue(self, value: PySide2.QtScript.QScriptValue.SpecialValue)
QScriptValue(self, value: str)
QScriptValue(self, value: bool)
QScriptValue(self, value: bytes)
QScriptValue(self, value: float)
QScriptValue(self, value: int)
QScriptValue(self, value: int)

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
KeepExistingFlagsPySide2.QtScript.QScriptValue.PropertyFlag.KeepExistingFlags
NullValuePySide2.QtScript.QScriptValue.SpecialValue.NullValue
PropertyGetterPySide2.QtScript.QScriptValue.PropertyFlag.PropertyGetter
PropertySetterPySide2.QtScript.QScriptValue.PropertyFlag.PropertySetter
QObjectMemberPySide2.QtScript.QScriptValue.PropertyFlag.QObjectMember
ReadOnlyPySide2.QtScript.QScriptValue.PropertyFlag.ReadOnly
ResolveFullPySide2.QtScript.QScriptValue.ResolveFlag.ResolveFull
ResolveLocalPySide2.QtScript.QScriptValue.ResolveFlag.ResolveLocal
ResolvePrototypePySide2.QtScript.QScriptValue.ResolveFlag.ResolvePrototype
ResolveScopePySide2.QtScript.QScriptValue.ResolveFlag.ResolveScope
SkipInEnumerationPySide2.QtScript.QScriptValue.PropertyFlag.SkipInEnumeration
UndefinedValuePySide2.QtScript.QScriptValue.SpecialValue.UndefinedValue
UndeletablePySide2.QtScript.QScriptValue.PropertyFlag.Undeletable
UserRangePySide2.QtScript.QScriptValue.PropertyFlag.UserRange

Liste des opérateurs

Signature de l'opérateur Description
__getitem__(self, key) Return self[key]. [extrait de __getitem__.__doc__]

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__]
__copy__(self) __copy__(self) [extrait de __copy__.__doc__]
__iter__(self) -> object __iter__(self) -> object [extrait de __iter__.__doc__]
__repr__(self) -> object __repr__(self) -> object [extrait de __repr__.__doc__]
call call(self, thisObject: PySide2.QtScript.QScriptValue, arguments: PySide2.QtScript.QScriptValue) -> PySide2.QtScript.QScriptValue [extrait de call.__doc__]
construct construct(self, args: typing.Sequence[PySide2.QtScript.QScriptValue] = []) -> PySide2.QtScript.QScriptValue [extrait de construct.__doc__]
data(self) -> PySide2.QtScript.QScriptValue data(self) -> PySide2.QtScript.QScriptValue [extrait de data.__doc__]
engine(self) -> PySide2.QtScript.QScriptEngine engine(self) -> PySide2.QtScript.QScriptEngine [extrait de engine.__doc__]
equals(self, other: PySide2.QtScript.QScriptValue) -> bool equals(self, other: PySide2.QtScript.QScriptValue) -> bool [extrait de equals.__doc__]
instanceOf(self, other: PySide2.QtScript.QScriptValue) -> bool instanceOf(self, other: PySide2.QtScript.QScriptValue) -> bool [extrait de instanceOf.__doc__]
isArray(self) -> bool isArray(self) -> bool [extrait de isArray.__doc__]
isBool(self) -> bool isBool(self) -> bool [extrait de isBool.__doc__]
isBoolean(self) -> bool isBoolean(self) -> bool [extrait de isBoolean.__doc__]
isDate(self) -> bool isDate(self) -> bool [extrait de isDate.__doc__]
isError(self) -> bool isError(self) -> bool [extrait de isError.__doc__]
isFunction(self) -> bool isFunction(self) -> bool [extrait de isFunction.__doc__]
isNull(self) -> bool isNull(self) -> bool [extrait de isNull.__doc__]
isNumber(self) -> bool isNumber(self) -> bool [extrait de isNumber.__doc__]
isObject(self) -> bool isObject(self) -> bool [extrait de isObject.__doc__]
isQMetaObject(self) -> bool isQMetaObject(self) -> bool [extrait de isQMetaObject.__doc__]
isQObject(self) -> bool isQObject(self) -> bool [extrait de isQObject.__doc__]
isRegExp(self) -> bool isRegExp(self) -> bool [extrait de isRegExp.__doc__]
isString(self) -> bool isString(self) -> bool [extrait de isString.__doc__]
isUndefined(self) -> bool isUndefined(self) -> bool [extrait de isUndefined.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
isVariant(self) -> bool isVariant(self) -> bool [extrait de isVariant.__doc__]
lessThan(self, other: PySide2.QtScript.QScriptValue) -> bool lessThan(self, other: PySide2.QtScript.QScriptValue) -> bool [extrait de lessThan.__doc__]
objectId(self) -> int objectId(self) -> int [extrait de objectId.__doc__]
property property(self, arrayIndex: int, mode: PySide2.QtScript.QScriptValue.ResolveFlags = PySide2.QtScript.QScriptValue.ResolveFlag.ResolvePrototype) -> PySide2.QtScript.QScriptValue [extrait de property.__doc__]
PropertyFlag
PropertyFlags
propertyFlags propertyFlags(self, name: PySide2.QtScript.QScriptString, mode: PySide2.QtScript.QScriptValue.ResolveFlags = PySide2.QtScript.QScriptValue.ResolveFlag.ResolvePrototype) -> PySide2.QtScript.QScriptValue.PropertyFlags [extrait de propertyFlags.__doc__]
prototype(self) -> PySide2.QtScript.QScriptValue prototype(self) -> PySide2.QtScript.QScriptValue [extrait de prototype.__doc__]
ResolveFlag
ResolveFlags
scope(self) -> PySide2.QtScript.QScriptValue scope(self) -> PySide2.QtScript.QScriptValue [extrait de scope.__doc__]
scriptClass(self) -> PySide2.QtScript.QScriptClass scriptClass(self) -> PySide2.QtScript.QScriptClass [extrait de scriptClass.__doc__]
setData(self, data: PySide2.QtScript.QScriptValue) setData(self, data: PySide2.QtScript.QScriptValue) [extrait de setData.__doc__]
setProperty setProperty(self, arrayIndex: int, value: PySide2.QtScript.QScriptValue, flags: PySide2.QtScript.QScriptValue.PropertyFlags = PySide2.QtScript.QScriptValue.PropertyFlag.KeepExistingFlags) [extrait de setProperty.__doc__]
setPrototype(self, prototype: PySide2.QtScript.QScriptValue) setPrototype(self, prototype: PySide2.QtScript.QScriptValue) [extrait de setPrototype.__doc__]
setScope(self, scope: PySide2.QtScript.QScriptValue) setScope(self, scope: PySide2.QtScript.QScriptValue) [extrait de setScope.__doc__]
setScriptClass(self, scriptClass: PySide2.QtScript.QScriptClass) setScriptClass(self, scriptClass: PySide2.QtScript.QScriptClass) [extrait de setScriptClass.__doc__]
SpecialValue
strictlyEquals(self, other: PySide2.QtScript.QScriptValue) -> bool strictlyEquals(self, other: PySide2.QtScript.QScriptValue) -> bool [extrait de strictlyEquals.__doc__]
toBool(self) -> bool toBool(self) -> bool [extrait de toBool.__doc__]
toBoolean(self) -> bool toBoolean(self) -> bool [extrait de toBoolean.__doc__]
toDateTime(self) -> PySide2.QtCore.QDateTime toDateTime(self) -> PySide2.QtCore.QDateTime [extrait de toDateTime.__doc__]
toInt32(self) -> int toInt32(self) -> int [extrait de toInt32.__doc__]
toInteger(self) -> float toInteger(self) -> float [extrait de toInteger.__doc__]
toNumber(self) -> float toNumber(self) -> float [extrait de toNumber.__doc__]
toObject(self) -> PySide2.QtScript.QScriptValue toObject(self) -> PySide2.QtScript.QScriptValue [extrait de toObject.__doc__]
toQMetaObject(self) -> PySide2.QtCore.QMetaObject toQMetaObject(self) -> PySide2.QtCore.QMetaObject [extrait de toQMetaObject.__doc__]
toQObject(self) -> PySide2.QtCore.QObject toQObject(self) -> PySide2.QtCore.QObject [extrait de toQObject.__doc__]
toRegExp(self) -> PySide2.QtCore.QRegExp toRegExp(self) -> PySide2.QtCore.QRegExp [extrait de toRegExp.__doc__]
toString(self) -> str toString(self) -> str [extrait de toString.__doc__]
toUInt16(self) -> int toUInt16(self) -> int [extrait de toUInt16.__doc__]
toUInt32(self) -> int toUInt32(self) -> int [extrait de toUInt32.__doc__]
toVariant(self) -> typing.Any toVariant(self) -> typing.Any [extrait de toVariant.__doc__]

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

__init_subclass__, __subclasshook__

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

__delattr__, __dir__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__