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

Classe « QCborValue »

Informations générales

Héritage

builtins.object
    Object
        QCborValue

Définition

class QCborValue(Object):

Description [extrait de QCborValue.__doc__]

QCborValue(self)
QCborValue(self, a: PySide2.QtCore.QCborArray)
QCborValue(self, b_: bool)
QCborValue(self, ba: PySide2.QtCore.QByteArray)
QCborValue(self, dt: PySide2.QtCore.QDateTime)
QCborValue(self, i: int)
QCborValue(self, i: int)
QCborValue(self, m: PySide2.QtCore.QCborMap)
QCborValue(self, other: PySide2.QtCore.QCborValue)
QCborValue(self, rx: PySide2.QtCore.QRegularExpression)
QCborValue(self, s: str)
QCborValue(self, s: bytes)
QCborValue(self, st: PySide2.QtCore.QCborSimpleType)
QCborValue(self, t_: PySide2.QtCore.QCborKnownTags, tv: PySide2.QtCore.QCborValue = Default(QCborValue))
QCborValue(self, t_: PySide2.QtCore.QCborValue.Type)
QCborValue(self, u: int)
QCborValue(self, url: PySide2.QtCore.QUrl)
QCborValue(self, uuid: PySide2.QtCore.QUuid)
QCborValue(self, v: float)

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
ArrayPySide2.QtCore.QCborValue.Type.Array
ByteArrayPySide2.QtCore.QCborValue.Type.ByteArray
CompactPySide2.QtCore.QCborValue.DiagnosticNotationOption.Compact
DateTimePySide2.QtCore.QCborValue.Type.DateTime
DoublePySide2.QtCore.QCborValue.Type.Double
ExtendedFormatPySide2.QtCore.QCborValue.DiagnosticNotationOption.ExtendedFormat
False_PySide2.QtCore.QCborValue.Type.False_
IntegerPySide2.QtCore.QCborValue.Type.Integer
InvalidPySide2.QtCore.QCborValue.Type.Invalid
LineWrappedPySide2.QtCore.QCborValue.DiagnosticNotationOption.LineWrapped
MapPySide2.QtCore.QCborValue.Type.Map
NoTransformationPySide2.QtCore.QCborValue.EncodingOption.NoTransformation
NullPySide2.QtCore.QCborValue.Type.Null
RegularExpressionPySide2.QtCore.QCborValue.Type.RegularExpression
SimpleTypePySide2.QtCore.QCborValue.Type.SimpleType
SortKeysInMapsPySide2.QtCore.QCborValue.EncodingOption.SortKeysInMaps
StringPySide2.QtCore.QCborValue.Type.String
TagPySide2.QtCore.QCborValue.Type.Tag
True_PySide2.QtCore.QCborValue.Type.True_
UndefinedPySide2.QtCore.QCborValue.Type.Undefined
UrlPySide2.QtCore.QCborValue.Type.Url
UseFloatPySide2.QtCore.QCborValue.EncodingOption.UseFloat
UseFloat16PySide2.QtCore.QCborValue.EncodingOption.UseFloat16
UseIntegersPySide2.QtCore.QCborValue.EncodingOption.UseIntegers
UuidPySide2.QtCore.QCborValue.Type.Uuid

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]

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__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
compare(self, other: PySide2.QtCore.QCborValue) -> int compare(self, other: PySide2.QtCore.QCborValue) -> int [extrait de compare.__doc__]
DiagnosticNotationOption
DiagnosticNotationOptions
EncodingOption
EncodingOptions
fromCbor fromCbor(ba: PySide2.QtCore.QByteArray, error: typing.Union[PySide2.QtCore.QCborParserError, NoneType] = None) -> PySide2.QtCore.QCborValue [extrait de fromCbor.__doc__]
fromJsonValue(v: PySide2.QtCore.QJsonValue) -> PySide2.QtCore.QCborValue fromJsonValue(v: PySide2.QtCore.QJsonValue) -> PySide2.QtCore.QCborValue [extrait de fromJsonValue.__doc__]
fromVariant(variant: typing.Any) -> PySide2.QtCore.QCborValue fromVariant(variant: typing.Any) -> PySide2.QtCore.QCborValue [extrait de fromVariant.__doc__]
isArray(self) -> bool isArray(self) -> bool [extrait de isArray.__doc__]
isBool(self) -> bool isBool(self) -> bool [extrait de isBool.__doc__]
isByteArray(self) -> bool isByteArray(self) -> bool [extrait de isByteArray.__doc__]
isContainer(self) -> bool isContainer(self) -> bool [extrait de isContainer.__doc__]
isDateTime(self) -> bool isDateTime(self) -> bool [extrait de isDateTime.__doc__]
isDouble(self) -> bool isDouble(self) -> bool [extrait de isDouble.__doc__]
isFalse(self) -> bool isFalse(self) -> bool [extrait de isFalse.__doc__]
isInteger(self) -> bool isInteger(self) -> bool [extrait de isInteger.__doc__]
isInvalid(self) -> bool isInvalid(self) -> bool [extrait de isInvalid.__doc__]
isMap(self) -> bool isMap(self) -> bool [extrait de isMap.__doc__]
isNull(self) -> bool isNull(self) -> bool [extrait de isNull.__doc__]
isRegularExpression(self) -> bool isRegularExpression(self) -> bool [extrait de isRegularExpression.__doc__]
isSimpleType isSimpleType(self) -> bool [extrait de isSimpleType.__doc__]
isString(self) -> bool isString(self) -> bool [extrait de isString.__doc__]
isTag(self) -> bool isTag(self) -> bool [extrait de isTag.__doc__]
isTrue(self) -> bool isTrue(self) -> bool [extrait de isTrue.__doc__]
isUndefined(self) -> bool isUndefined(self) -> bool [extrait de isUndefined.__doc__]
isUrl(self) -> bool isUrl(self) -> bool [extrait de isUrl.__doc__]
isUuid(self) -> bool isUuid(self) -> bool [extrait de isUuid.__doc__]
swap(self, other: PySide2.QtCore.QCborValue) swap(self, other: PySide2.QtCore.QCborValue) [extrait de swap.__doc__]
taggedValue(self, defaultValue: PySide2.QtCore.QCborValue = Default(QCborValue)) -> PySide2.QtCore.QCborValue taggedValue(self, defaultValue: PySide2.QtCore.QCborValue = Default(QCborValue)) -> PySide2.QtCore.QCborValue [extrait de taggedValue.__doc__]
toArray toArray(self) -> PySide2.QtCore.QCborArray [extrait de toArray.__doc__]
toBool(self, defaultValue: bool = False) -> bool toBool(self, defaultValue: bool = False) -> bool [extrait de toBool.__doc__]
toByteArray(self, defaultValue: PySide2.QtCore.QByteArray = {}) -> PySide2.QtCore.QByteArray toByteArray(self, defaultValue: PySide2.QtCore.QByteArray = {}) -> PySide2.QtCore.QByteArray [extrait de toByteArray.__doc__]
toCbor toCbor(self, opt: PySide2.QtCore.QCborValue.EncodingOptions = PySide2.QtCore.QCborValue.EncodingOption.NoTransformation) -> PySide2.QtCore.QByteArray [extrait de toCbor.__doc__]
toDateTime(self, defaultValue: PySide2.QtCore.QDateTime = {}) -> PySide2.QtCore.QDateTime toDateTime(self, defaultValue: PySide2.QtCore.QDateTime = {}) -> PySide2.QtCore.QDateTime [extrait de toDateTime.__doc__]
toDiagnosticNotation(self, opts: PySide2.QtCore.QCborValue.DiagnosticNotationOptions = PySide2.QtCore.QCborValue.DiagnosticNotationOption.Compact) -> str toDiagnosticNotation(self, opts: PySide2.QtCore.QCborValue.DiagnosticNotationOptions = PySide2.QtCore.QCborValue.DiagnosticNotationOption.Compact) -> str [extrait de toDiagnosticNotation.__doc__]
toDouble(self, defaultValue: float = 0) -> float toDouble(self, defaultValue: float = 0) -> float [extrait de toDouble.__doc__]
toInteger(self, defaultValue: int = 0) -> int toInteger(self, defaultValue: int = 0) -> int [extrait de toInteger.__doc__]
toJsonValue(self) -> PySide2.QtCore.QJsonValue toJsonValue(self) -> PySide2.QtCore.QJsonValue [extrait de toJsonValue.__doc__]
toMap toMap(self) -> PySide2.QtCore.QCborMap [extrait de toMap.__doc__]
toRegularExpression(self, defaultValue: PySide2.QtCore.QRegularExpression = {}) -> PySide2.QtCore.QRegularExpression toRegularExpression(self, defaultValue: PySide2.QtCore.QRegularExpression = {}) -> PySide2.QtCore.QRegularExpression [extrait de toRegularExpression.__doc__]
toSimpleType(self, defaultValue: PySide2.QtCore.QCborSimpleType = PySide2.QtCore.QCborSimpleType.Undefined) -> PySide2.QtCore.QCborSimpleType toSimpleType(self, defaultValue: PySide2.QtCore.QCborSimpleType = PySide2.QtCore.QCborSimpleType.Undefined) -> PySide2.QtCore.QCborSimpleType [extrait de toSimpleType.__doc__]
toString(self, defaultValue: str = {}) -> str toString(self, defaultValue: str = {}) -> str [extrait de toString.__doc__]
toUrl(self, defaultValue: PySide2.QtCore.QUrl = {}) -> PySide2.QtCore.QUrl toUrl(self, defaultValue: PySide2.QtCore.QUrl = {}) -> PySide2.QtCore.QUrl [extrait de toUrl.__doc__]
toUuid(self, defaultValue: PySide2.QtCore.QUuid = {}) -> PySide2.QtCore.QUuid toUuid(self, defaultValue: PySide2.QtCore.QUuid = {}) -> PySide2.QtCore.QUuid [extrait de toUuid.__doc__]
toVariant(self) -> typing.Any toVariant(self) -> typing.Any [extrait de toVariant.__doc__]
Type
type(self) -> PySide2.QtCore.QCborValue.Type type(self) -> PySide2.QtCore.QCborValue.Type [extrait de type.__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__