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

Informations générales

Héritage

builtins.object
    Object
        QDataStream

Définition

class QDataStream(Object):

Description [extrait de QDataStream.__doc__]

QDataStream(self)
QDataStream(self, arg__1: PySide2.QtCore.QByteArray)
QDataStream(self, arg__1: PySide2.QtCore.QByteArray, flags: PySide2.QtCore.QIODevice.OpenMode)
QDataStream(self, arg__1: PySide2.QtCore.QIODevice)

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
BigEndianPySide2.QtCore.QDataStream.ByteOrder.BigEndian
DoublePrecisionPySide2.QtCore.QDataStream.FloatingPointPrecision.DoublePrecision
LittleEndianPySide2.QtCore.QDataStream.ByteOrder.LittleEndian
OkPySide2.QtCore.QDataStream.Status.Ok
Qt_1_0PySide2.QtCore.QDataStream.Version.Qt_1_0
Qt_2_0PySide2.QtCore.QDataStream.Version.Qt_2_0
Qt_2_1PySide2.QtCore.QDataStream.Version.Qt_2_1
Qt_3_0PySide2.QtCore.QDataStream.Version.Qt_3_0
Qt_3_1PySide2.QtCore.QDataStream.Version.Qt_3_1
Qt_3_3PySide2.QtCore.QDataStream.Version.Qt_3_3
Qt_4_0PySide2.QtCore.QDataStream.Version.Qt_4_0
Qt_4_1PySide2.QtCore.QDataStream.Version.Qt_4_1
Qt_4_2PySide2.QtCore.QDataStream.Version.Qt_4_2
Qt_4_3PySide2.QtCore.QDataStream.Version.Qt_4_3
Qt_4_4PySide2.QtCore.QDataStream.Version.Qt_4_4
Qt_4_5PySide2.QtCore.QDataStream.Version.Qt_4_5
Qt_4_6PySide2.QtCore.QDataStream.Version.Qt_4_6
Qt_4_7PySide2.QtCore.QDataStream.Version.Qt_4_7
Qt_4_8PySide2.QtCore.QDataStream.Version.Qt_4_8
Qt_4_9PySide2.QtCore.QDataStream.Version.Qt_4_9
Qt_5_0PySide2.QtCore.QDataStream.Version.Qt_5_0
Qt_5_1PySide2.QtCore.QDataStream.Version.Qt_5_1
Qt_5_10PySide2.QtCore.QDataStream.Version.Qt_5_10
Qt_5_11PySide2.QtCore.QDataStream.Version.Qt_5_11
Qt_5_12PySide2.QtCore.QDataStream.Version.Qt_5_12
Qt_5_13PySide2.QtCore.QDataStream.Version.Qt_5_13
Qt_5_14PySide2.QtCore.QDataStream.Version.Qt_5_14
Qt_5_2PySide2.QtCore.QDataStream.Version.Qt_5_2
Qt_5_3PySide2.QtCore.QDataStream.Version.Qt_5_3
Qt_5_4PySide2.QtCore.QDataStream.Version.Qt_5_4
Qt_5_5PySide2.QtCore.QDataStream.Version.Qt_5_5
Qt_5_6PySide2.QtCore.QDataStream.Version.Qt_5_6
Qt_5_7PySide2.QtCore.QDataStream.Version.Qt_5_7
Qt_5_8PySide2.QtCore.QDataStream.Version.Qt_5_8
Qt_5_9PySide2.QtCore.QDataStream.Version.Qt_5_9
Qt_DefaultCompiledVersionPySide2.QtCore.QDataStream.Version.Qt_DefaultCompiledVersion
ReadCorruptDataPySide2.QtCore.QDataStream.Status.ReadCorruptData
ReadPastEndPySide2.QtCore.QDataStream.Status.ReadPastEnd
SinglePrecisionPySide2.QtCore.QDataStream.FloatingPointPrecision.SinglePrecision
WriteFailedPySide2.QtCore.QDataStream.Status.WriteFailed

Liste des opérateurs

Signature de l'opérateur Description
__lshift__ __lshift__(self, arg__1: str) [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__ __rshift__(self, arg__2: PySide2.QtCore.QBitArray) -> PySide2.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
abortTransaction(self) abortTransaction(self) [extrait de abortTransaction.__doc__]
atEnd(self) -> bool atEnd(self) -> bool [extrait de atEnd.__doc__]
ByteOrder
byteOrder(self) -> PySide2.QtCore.QDataStream.ByteOrder byteOrder(self) -> PySide2.QtCore.QDataStream.ByteOrder [extrait de byteOrder.__doc__]
commitTransaction(self) -> bool commitTransaction(self) -> bool [extrait de commitTransaction.__doc__]
device(self) -> PySide2.QtCore.QIODevice device(self) -> PySide2.QtCore.QIODevice [extrait de device.__doc__]
FloatingPointPrecision
floatingPointPrecision(self) -> PySide2.QtCore.QDataStream.FloatingPointPrecision floatingPointPrecision(self) -> PySide2.QtCore.QDataStream.FloatingPointPrecision [extrait de floatingPointPrecision.__doc__]
readBool(self) -> bool readBool(self) -> bool [extrait de readBool.__doc__]
readDouble(self) -> float readDouble(self) -> float [extrait de readDouble.__doc__]
readFloat(self) -> float readFloat(self) -> float [extrait de readFloat.__doc__]
readInt16(self) -> int readInt16(self) -> int [extrait de readInt16.__doc__]
readInt32(self) -> int readInt32(self) -> int [extrait de readInt32.__doc__]
readInt64(self) -> int readInt64(self) -> int [extrait de readInt64.__doc__]
readInt8(self) -> int readInt8(self) -> int [extrait de readInt8.__doc__]
readQChar(self) -> str readQChar(self) -> str [extrait de readQChar.__doc__]
readQString(self) -> str readQString(self) -> str [extrait de readQString.__doc__]
readQStringList(self) -> typing.List[str] readQStringList(self) -> typing.List[str] [extrait de readQStringList.__doc__]
readQVariant(self) -> typing.Any readQVariant(self) -> typing.Any [extrait de readQVariant.__doc__]
readRawData(self, arg__1: bytes, len: int) -> int readRawData(self, arg__1: bytes, len: int) -> int [extrait de readRawData.__doc__]
readString(self) -> str readString(self) -> str [extrait de readString.__doc__]
readUInt16(self) -> int readUInt16(self) -> int [extrait de readUInt16.__doc__]
readUInt32(self) -> int readUInt32(self) -> int [extrait de readUInt32.__doc__]
readUInt64(self) -> int readUInt64(self) -> int [extrait de readUInt64.__doc__]
readUInt8(self) -> int readUInt8(self) -> int [extrait de readUInt8.__doc__]
resetStatus(self) resetStatus(self) [extrait de resetStatus.__doc__]
rollbackTransaction(self) rollbackTransaction(self) [extrait de rollbackTransaction.__doc__]
setByteOrder(self, arg__1: PySide2.QtCore.QDataStream.ByteOrder) setByteOrder(self, arg__1: PySide2.QtCore.QDataStream.ByteOrder) [extrait de setByteOrder.__doc__]
setDevice(self, arg__1: PySide2.QtCore.QIODevice) setDevice(self, arg__1: PySide2.QtCore.QIODevice) [extrait de setDevice.__doc__]
setFloatingPointPrecision(self, precision: PySide2.QtCore.QDataStream.FloatingPointPrecision) setFloatingPointPrecision(self, precision: PySide2.QtCore.QDataStream.FloatingPointPrecision) [extrait de setFloatingPointPrecision.__doc__]
setStatus(self, status: PySide2.QtCore.QDataStream.Status) setStatus(self, status: PySide2.QtCore.QDataStream.Status) [extrait de setStatus.__doc__]
setVersion(self, arg__1: int) setVersion(self, arg__1: int) [extrait de setVersion.__doc__]
skipRawData(self, len: int) -> int skipRawData(self, len: int) -> int [extrait de skipRawData.__doc__]
startTransaction(self) startTransaction(self) [extrait de startTransaction.__doc__]
Status
status(self) -> PySide2.QtCore.QDataStream.Status status(self) -> PySide2.QtCore.QDataStream.Status [extrait de status.__doc__]
unsetDevice(self) unsetDevice(self) [extrait de unsetDevice.__doc__]
Version
version(self) -> int version(self) -> int [extrait de version.__doc__]
writeBool(self, arg__1: bool) writeBool(self, arg__1: bool) [extrait de writeBool.__doc__]
writeDouble(self, arg__1: float) writeDouble(self, arg__1: float) [extrait de writeDouble.__doc__]
writeFloat(self, arg__1: float) writeFloat(self, arg__1: float) [extrait de writeFloat.__doc__]
writeInt16(self, arg__1: int) writeInt16(self, arg__1: int) [extrait de writeInt16.__doc__]
writeInt32(self, arg__1: int) writeInt32(self, arg__1: int) [extrait de writeInt32.__doc__]
writeInt64(self, arg__1: int) writeInt64(self, arg__1: int) [extrait de writeInt64.__doc__]
writeInt8(self, arg__1: int) writeInt8(self, arg__1: int) [extrait de writeInt8.__doc__]
writeQChar(self, arg__1: str) writeQChar(self, arg__1: str) [extrait de writeQChar.__doc__]
writeQString(self, arg__1: str) writeQString(self, arg__1: str) [extrait de writeQString.__doc__]
writeQStringList(self, arg__1: typing.Sequence[str]) writeQStringList(self, arg__1: typing.Sequence[str]) [extrait de writeQStringList.__doc__]
writeQVariant(self, arg__1: typing.Any) writeQVariant(self, arg__1: typing.Any) [extrait de writeQVariant.__doc__]
writeRawData(self, arg__1: bytes, len: int) -> int writeRawData(self, arg__1: bytes, len: int) -> int [extrait de writeRawData.__doc__]
writeString(self, arg__1: str) writeString(self, arg__1: str) [extrait de writeString.__doc__]
writeUInt16(self, arg__1: int) writeUInt16(self, arg__1: int) [extrait de writeUInt16.__doc__]
writeUInt32(self, arg__1: int) writeUInt32(self, arg__1: int) [extrait de writeUInt32.__doc__]
writeUInt64(self, arg__1: int) writeUInt64(self, arg__1: int) [extrait de writeUInt64.__doc__]
writeUInt8(self, arg__1: int) writeUInt8(self, arg__1: int) [extrait de writeUInt8.__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__