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

Classe « QDataStream »

Informations générales

Héritage

builtins.object
    Object
        QIODeviceBase
            QDataStream

Définition

class QDataStream(QIODeviceBase):

Description [extrait de QDataStream.__doc__]

QDataStream(self) -> None
QDataStream(self, arg__1: PySide6.QtCore.QIODevice) -> None
QDataStream(self, arg__1: Union[PySide6.QtCore.QByteArray, bytes]) -> None
QDataStream(self, arg__1: Union[PySide6.QtCore.QByteArray, bytes], flags: PySide6.QtCore.QIODeviceBase.OpenMode) -> 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
AppendPySide6.QtCore.QIODeviceBase.OpenModeFlag.Append
BigEndianPySide6.QtCore.QDataStream.ByteOrder.BigEndian
DoublePrecisionPySide6.QtCore.QDataStream.FloatingPointPrecision.DoublePrecision
ExistingOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ExistingOnly
LittleEndianPySide6.QtCore.QDataStream.ByteOrder.LittleEndian
NewOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.NewOnly
NotOpenPySide6.QtCore.QIODeviceBase.OpenModeFlag.NotOpen
OkPySide6.QtCore.QDataStream.Status.Ok
Qt_1_0PySide6.QtCore.QDataStream.Version.Qt_1_0
Qt_2_0PySide6.QtCore.QDataStream.Version.Qt_2_0
Qt_2_1PySide6.QtCore.QDataStream.Version.Qt_2_1
Qt_3_0PySide6.QtCore.QDataStream.Version.Qt_3_0
Qt_3_1PySide6.QtCore.QDataStream.Version.Qt_3_1
Qt_3_3PySide6.QtCore.QDataStream.Version.Qt_3_3
Qt_4_0PySide6.QtCore.QDataStream.Version.Qt_4_0
Qt_4_1PySide6.QtCore.QDataStream.Version.Qt_4_1
Qt_4_2PySide6.QtCore.QDataStream.Version.Qt_4_2
Qt_4_3PySide6.QtCore.QDataStream.Version.Qt_4_3
Qt_4_4PySide6.QtCore.QDataStream.Version.Qt_4_4
Qt_4_5PySide6.QtCore.QDataStream.Version.Qt_4_5
Qt_4_6PySide6.QtCore.QDataStream.Version.Qt_4_6
Qt_4_7PySide6.QtCore.QDataStream.Version.Qt_4_7
Qt_4_8PySide6.QtCore.QDataStream.Version.Qt_4_8
Qt_4_9PySide6.QtCore.QDataStream.Version.Qt_4_9
Qt_5_0PySide6.QtCore.QDataStream.Version.Qt_5_0
Qt_5_1PySide6.QtCore.QDataStream.Version.Qt_5_1
Qt_5_10PySide6.QtCore.QDataStream.Version.Qt_5_10
Qt_5_11PySide6.QtCore.QDataStream.Version.Qt_5_11
Qt_5_12PySide6.QtCore.QDataStream.Version.Qt_5_12
Qt_5_13PySide6.QtCore.QDataStream.Version.Qt_5_13
Qt_5_14PySide6.QtCore.QDataStream.Version.Qt_5_14
Qt_5_15PySide6.QtCore.QDataStream.Version.Qt_5_15
Qt_5_2PySide6.QtCore.QDataStream.Version.Qt_5_2
Qt_5_3PySide6.QtCore.QDataStream.Version.Qt_5_3
Qt_5_4PySide6.QtCore.QDataStream.Version.Qt_5_4
Qt_5_5PySide6.QtCore.QDataStream.Version.Qt_5_5
Qt_5_6PySide6.QtCore.QDataStream.Version.Qt_5_6
Qt_5_7PySide6.QtCore.QDataStream.Version.Qt_5_7
Qt_5_8PySide6.QtCore.QDataStream.Version.Qt_5_8
Qt_5_9PySide6.QtCore.QDataStream.Version.Qt_5_9
Qt_6_0PySide6.QtCore.QDataStream.Version.Qt_6_0
Qt_6_1PySide6.QtCore.QDataStream.Version.Qt_6_1
Qt_6_2PySide6.QtCore.QDataStream.Version.Qt_6_2
Qt_DefaultCompiledVersionPySide6.QtCore.QDataStream.Version.Qt_DefaultCompiledVersion
ReadCorruptDataPySide6.QtCore.QDataStream.Status.ReadCorruptData
ReadOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadOnly
ReadPastEndPySide6.QtCore.QDataStream.Status.ReadPastEnd
ReadWritePySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite
SinglePrecisionPySide6.QtCore.QDataStream.FloatingPointPrecision.SinglePrecision
TextPySide6.QtCore.QIODeviceBase.OpenModeFlag.Text
TruncatePySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate
UnbufferedPySide6.QtCore.QIODeviceBase.OpenModeFlag.Unbuffered
WriteFailedPySide6.QtCore.QDataStream.Status.WriteFailed
WriteOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.WriteOnly

Liste des opérateurs

Signature de l'opérateur Description
__lshift__ __lshift__(self, arg__1: str) -> None [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: PySide6.QtCore.QCborArray) -> 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
abortTransaction(self) -> None abortTransaction(self) -> None [extrait de abortTransaction.__doc__]
atEnd(self) -> bool atEnd(self) -> bool [extrait de atEnd.__doc__]
ByteOrder
byteOrder(self) -> PySide6.QtCore.QDataStream.ByteOrder byteOrder(self) -> PySide6.QtCore.QDataStream.ByteOrder [extrait de byteOrder.__doc__]
commitTransaction(self) -> bool commitTransaction(self) -> bool [extrait de commitTransaction.__doc__]
device(self) -> PySide6.QtCore.QIODevice device(self) -> PySide6.QtCore.QIODevice [extrait de device.__doc__]
FloatingPointPrecision
floatingPointPrecision(self) -> PySide6.QtCore.QDataStream.FloatingPointPrecision floatingPointPrecision(self) -> PySide6.QtCore.QDataStream.FloatingPointPrecision [extrait de floatingPointPrecision.__doc__]
isDeviceTransactionStarted(self) -> bool isDeviceTransactionStarted(self) -> bool [extrait de isDeviceTransactionStarted.__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) -> List[str] readQStringList(self) -> List[str] [extrait de readQStringList.__doc__]
readQVariant(self) -> Any readQVariant(self) -> 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) -> None resetStatus(self) -> None [extrait de resetStatus.__doc__]
rollbackTransaction(self) -> None rollbackTransaction(self) -> None [extrait de rollbackTransaction.__doc__]
setByteOrder(self, arg__1: PySide6.QtCore.QDataStream.ByteOrder) -> None setByteOrder(self, arg__1: PySide6.QtCore.QDataStream.ByteOrder) -> None [extrait de setByteOrder.__doc__]
setDevice(self, arg__1: PySide6.QtCore.QIODevice) -> None setDevice(self, arg__1: PySide6.QtCore.QIODevice) -> None [extrait de setDevice.__doc__]
setFloatingPointPrecision(self, precision: PySide6.QtCore.QDataStream.FloatingPointPrecision) -> None setFloatingPointPrecision(self, precision: PySide6.QtCore.QDataStream.FloatingPointPrecision) -> None [extrait de setFloatingPointPrecision.__doc__]
setStatus(self, status: PySide6.QtCore.QDataStream.Status) -> None setStatus(self, status: PySide6.QtCore.QDataStream.Status) -> None [extrait de setStatus.__doc__]
setVersion(self, arg__1: int) -> None setVersion(self, arg__1: int) -> None [extrait de setVersion.__doc__]
skipRawData(self, len: int) -> int skipRawData(self, len: int) -> int [extrait de skipRawData.__doc__]
startTransaction(self) -> None startTransaction(self) -> None [extrait de startTransaction.__doc__]
Status
status(self) -> PySide6.QtCore.QDataStream.Status status(self) -> PySide6.QtCore.QDataStream.Status [extrait de status.__doc__]
Version
version(self) -> int version(self) -> int [extrait de version.__doc__]
writeBool(self, arg__1: bool) -> None writeBool(self, arg__1: bool) -> None [extrait de writeBool.__doc__]
writeDouble(self, arg__1: float) -> None writeDouble(self, arg__1: float) -> None [extrait de writeDouble.__doc__]
writeFloat(self, arg__1: float) -> None writeFloat(self, arg__1: float) -> None [extrait de writeFloat.__doc__]
writeInt16(self, arg__1: int) -> None writeInt16(self, arg__1: int) -> None [extrait de writeInt16.__doc__]
writeInt32(self, arg__1: int) -> None writeInt32(self, arg__1: int) -> None [extrait de writeInt32.__doc__]
writeInt64(self, arg__1: int) -> None writeInt64(self, arg__1: int) -> None [extrait de writeInt64.__doc__]
writeInt8(self, arg__1: int) -> None writeInt8(self, arg__1: int) -> None [extrait de writeInt8.__doc__]
writeQChar(self, arg__1: str) -> None writeQChar(self, arg__1: str) -> None [extrait de writeQChar.__doc__]
writeQString(self, arg__1: str) -> None writeQString(self, arg__1: str) -> None [extrait de writeQString.__doc__]
writeQStringList(self, arg__1: Sequence[str]) -> None writeQStringList(self, arg__1: Sequence[str]) -> None [extrait de writeQStringList.__doc__]
writeQVariant(self, arg__1: Any) -> None writeQVariant(self, arg__1: Any) -> None [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) -> None writeString(self, arg__1: str) -> None [extrait de writeString.__doc__]
writeUInt16(self, arg__1: int) -> None writeUInt16(self, arg__1: int) -> None [extrait de writeUInt16.__doc__]
writeUInt32(self, arg__1: int) -> None writeUInt32(self, arg__1: int) -> None [extrait de writeUInt32.__doc__]
writeUInt64(self, arg__1: int) -> None writeUInt64(self, arg__1: int) -> None [extrait de writeUInt64.__doc__]
writeUInt8(self, arg__1: int) -> None writeUInt8(self, arg__1: int) -> None [extrait de writeUInt8.__doc__]

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

__copy__, __init_subclass__, __subclasshook__, OpenMode, OpenModeFlag

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__