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

Informations générales

Héritage

builtins.object
    Object
        QJSValue

Définition

class QJSValue(Object):

Description [extrait de QJSValue.__doc__]

QJSValue(self, other: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int]) -> None
QJSValue(self, str: bytes) -> None
QJSValue(self, value: PySide6.QtQml.QJSValue.SpecialValue = PySide6.QtQml.QJSValue.SpecialValue.UndefinedValue) -> None
QJSValue(self, value: str) -> None
QJSValue(self, value: bool) -> None
QJSValue(self, value: float) -> None
QJSValue(self, value: int) -> None
QJSValue(self, value: int) -> 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
ConvertJSObjectsPySide6.QtQml.QJSValue.ObjectConversionBehavior.ConvertJSObjects
EvalErrorPySide6.QtQml.QJSValue.ErrorType.EvalError
GenericErrorPySide6.QtQml.QJSValue.ErrorType.GenericError
NoErrorPySide6.QtQml.QJSValue.ErrorType.NoError
NullValuePySide6.QtQml.QJSValue.SpecialValue.NullValue
RangeErrorPySide6.QtQml.QJSValue.ErrorType.RangeError
ReferenceErrorPySide6.QtQml.QJSValue.ErrorType.ReferenceError
RetainJSObjectsPySide6.QtQml.QJSValue.ObjectConversionBehavior.RetainJSObjects
SyntaxErrorPySide6.QtQml.QJSValue.ErrorType.SyntaxError
TypeErrorPySide6.QtQml.QJSValue.ErrorType.TypeError
UndefinedValuePySide6.QtQml.QJSValue.SpecialValue.UndefinedValue
URIErrorPySide6.QtQml.QJSValue.ErrorType.URIError

Liste des opérateurs

Signature de l'opérateur Description
__lshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream __lshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __lshift__.__doc__]
__rlshift__(self, value) Return value<<self. [extrait de __rlshift__.__doc__]
__rrshift__(self, value) Return value>>self. [extrait de __rrshift__.__doc__]
__rshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream __rshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __rshift__.__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__() -> None __copy__() -> None [extrait de __copy__.__doc__]
call(self, args: Sequence[PySide6.QtQml.QJSValue] = Default(QJSValueList)) -> PySide6.QtQml.QJSValue call(self, args: Sequence[PySide6.QtQml.QJSValue] = Default(QJSValueList)) -> PySide6.QtQml.QJSValue [extrait de call.__doc__]
callAsConstructor(self, args: Sequence[PySide6.QtQml.QJSValue] = Default(QJSValueList)) -> PySide6.QtQml.QJSValue callAsConstructor(self, args: Sequence[PySide6.QtQml.QJSValue] = Default(QJSValueList)) -> PySide6.QtQml.QJSValue [extrait de callAsConstructor.__doc__]
callWithInstance(self, instance: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int], args: Sequence[PySide6.QtQml.QJSValue] = Default(QJSValueList)) -> PySide6.QtQml.QJSValue callWithInstance(self, instance: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int], args: Sequence[PySide6.QtQml.QJSValue] = Default(QJSValueList)) -> PySide6.QtQml.QJSValue [extrait de callWithInstance.__doc__]
deleteProperty(self, name: str) -> bool deleteProperty(self, name: str) -> bool [extrait de deleteProperty.__doc__]
equals(self, other: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int]) -> bool equals(self, other: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int]) -> bool [extrait de equals.__doc__]
ErrorType
errorType(self) -> PySide6.QtQml.QJSValue.ErrorType errorType(self) -> PySide6.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__]
isUrl(self) -> bool isUrl(self) -> bool [extrait de isUrl.__doc__]
isVariant(self) -> bool isVariant(self) -> bool [extrait de isVariant.__doc__]
ObjectConversionBehavior
property property(self, arrayIndex: int) -> PySide6.QtQml.QJSValue [extrait de property.__doc__]
prototype(self) -> PySide6.QtQml.QJSValue prototype(self) -> PySide6.QtQml.QJSValue [extrait de prototype.__doc__]
setProperty setProperty(self, arrayIndex: int, value: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int]) -> None [extrait de setProperty.__doc__]
setPrototype(self, prototype: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int]) -> None setPrototype(self, prototype: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int]) -> None [extrait de setPrototype.__doc__]
SpecialValue
strictlyEquals(self, other: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int]) -> bool strictlyEquals(self, other: Union[PySide6.QtQml.QJSValue, PySide6.QtQml.QJSValue.SpecialValue, bool, str, bytes, float, int]) -> bool [extrait de strictlyEquals.__doc__]
toBool(self) -> bool toBool(self) -> bool [extrait de toBool.__doc__]
toDateTime(self) -> PySide6.QtCore.QDateTime toDateTime(self) -> PySide6.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__]
toPrimitive(self) -> PySide6.QtQml.QJSPrimitiveValue toPrimitive(self) -> PySide6.QtQml.QJSPrimitiveValue [extrait de toPrimitive.__doc__]
toQMetaObject(self) -> PySide6.QtCore.QMetaObject toQMetaObject(self) -> PySide6.QtCore.QMetaObject [extrait de toQMetaObject.__doc__]
toQObject(self) -> PySide6.QtCore.QObject toQObject(self) -> PySide6.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 toVariant(self) -> Any [extrait de toVariant.__doc__]

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

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

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

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