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.QtQml »

Classe « QJSValue »

Informations générales

Héritage

builtins.object
    Object
        QJSValue

Définition

class QJSValue(Object):

Description [extrait de QJSValue.__doc__]

QJSValue(self, other: PySide2.QtQml.QJSValue)
QJSValue(self, str: bytes)
QJSValue(self, value: PySide2.QtQml.QJSValue.SpecialValue = PySide2.QtQml.QJSValue.SpecialValue.UndefinedValue)
QJSValue(self, value: str)
QJSValue(self, value: bool)
QJSValue(self, value: float)
QJSValue(self, value: int)
QJSValue(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
EvalErrorPySide2.QtQml.QJSValue.ErrorType.EvalError
GenericErrorPySide2.QtQml.QJSValue.ErrorType.GenericError
NoErrorPySide2.QtQml.QJSValue.ErrorType.NoError
NullValuePySide2.QtQml.QJSValue.SpecialValue.NullValue
RangeErrorPySide2.QtQml.QJSValue.ErrorType.RangeError
ReferenceErrorPySide2.QtQml.QJSValue.ErrorType.ReferenceError
SyntaxErrorPySide2.QtQml.QJSValue.ErrorType.SyntaxError
TypeErrorPySide2.QtQml.QJSValue.ErrorType.TypeError
UndefinedValuePySide2.QtQml.QJSValue.SpecialValue.UndefinedValue
URIErrorPySide2.QtQml.QJSValue.ErrorType.URIError

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__]
__copy__(self) __copy__(self) [extrait de __copy__.__doc__]
call(self, args: typing.Sequence[PySide2.QtQml.QJSValue] = []) -> PySide2.QtQml.QJSValue call(self, args: typing.Sequence[PySide2.QtQml.QJSValue] = []) -> PySide2.QtQml.QJSValue [extrait de call.__doc__]
callAsConstructor(self, args: typing.Sequence[PySide2.QtQml.QJSValue] = []) -> PySide2.QtQml.QJSValue callAsConstructor(self, args: typing.Sequence[PySide2.QtQml.QJSValue] = []) -> PySide2.QtQml.QJSValue [extrait de callAsConstructor.__doc__]
callWithInstance(self, instance: PySide2.QtQml.QJSValue, args: typing.Sequence[PySide2.QtQml.QJSValue] = []) -> PySide2.QtQml.QJSValue callWithInstance(self, instance: PySide2.QtQml.QJSValue, args: typing.Sequence[PySide2.QtQml.QJSValue] = []) -> PySide2.QtQml.QJSValue [extrait de callWithInstance.__doc__]
deleteProperty(self, name: str) -> bool deleteProperty(self, name: str) -> bool [extrait de deleteProperty.__doc__]
engine(self) -> PySide2.QtQml.QJSEngine engine(self) -> PySide2.QtQml.QJSEngine [extrait de engine.__doc__]
equals(self, other: PySide2.QtQml.QJSValue) -> bool equals(self, other: PySide2.QtQml.QJSValue) -> bool [extrait de equals.__doc__]
ErrorType
errorType(self) -> PySide2.QtQml.QJSValue.ErrorType errorType(self) -> PySide2.QtQml.QJSValue.ErrorType [extrait de errorType.__doc__]
hasOwnProperty(self, name: str) -> bool hasOwnProperty(self, name: str) -> bool [extrait de hasOwnProperty.__doc__]
hasProperty(self, name: str) -> bool hasProperty(self, name: str) -> bool [extrait de hasProperty.__doc__]
isArray(self) -> bool isArray(self) -> bool [extrait de isArray.__doc__]
isBool(self) -> bool isBool(self) -> bool [extrait de isBool.__doc__]
isCallable(self) -> bool isCallable(self) -> bool [extrait de isCallable.__doc__]
isDate(self) -> bool isDate(self) -> bool [extrait de isDate.__doc__]
isError(self) -> bool isError(self) -> bool [extrait de isError.__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__]
isVariant(self) -> bool isVariant(self) -> bool [extrait de isVariant.__doc__]
property property(self, arrayIndex: int) -> PySide2.QtQml.QJSValue [extrait de property.__doc__]
prototype(self) -> PySide2.QtQml.QJSValue prototype(self) -> PySide2.QtQml.QJSValue [extrait de prototype.__doc__]
setProperty setProperty(self, arrayIndex: int, value: PySide2.QtQml.QJSValue) [extrait de setProperty.__doc__]
setPrototype(self, prototype: PySide2.QtQml.QJSValue) setPrototype(self, prototype: PySide2.QtQml.QJSValue) [extrait de setPrototype.__doc__]
SpecialValue
strictlyEquals(self, other: PySide2.QtQml.QJSValue) -> bool strictlyEquals(self, other: PySide2.QtQml.QJSValue) -> bool [extrait de strictlyEquals.__doc__]
toBool(self) -> bool toBool(self) -> bool [extrait de toBool.__doc__]
toDateTime(self) -> PySide2.QtCore.QDateTime toDateTime(self) -> PySide2.QtCore.QDateTime [extrait de toDateTime.__doc__]
toInt(self) -> int toInt(self) -> int [extrait de toInt.__doc__]
toNumber(self) -> float toNumber(self) -> float [extrait de toNumber.__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__]
toString(self) -> str toString(self) -> str [extrait de toString.__doc__]
toUInt(self) -> int toUInt(self) -> int [extrait de toUInt.__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__, __repr__, __setattr__, __sizeof__, __str__