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

Informations générales

Héritage

builtins.object
    Object
        QIODeviceBase
            QTextStream

Définition

class QTextStream(QIODeviceBase):

Description [extrait de QTextStream.__doc__]

QTextStream(self) -> None
QTextStream(self, array: Union[PySide6.QtCore.QByteArray, bytes], openMode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> None
QTextStream(self, device: PySide6.QtCore.QIODevice) -> 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
AlignAccountingStylePySide6.QtCore.QTextStream.FieldAlignment.AlignAccountingStyle
AlignCenterPySide6.QtCore.QTextStream.FieldAlignment.AlignCenter
AlignLeftPySide6.QtCore.QTextStream.FieldAlignment.AlignLeft
AlignRightPySide6.QtCore.QTextStream.FieldAlignment.AlignRight
AppendPySide6.QtCore.QIODeviceBase.OpenModeFlag.Append
ExistingOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ExistingOnly
FixedNotationPySide6.QtCore.QTextStream.RealNumberNotation.FixedNotation
ForcePointPySide6.QtCore.QTextStream.NumberFlag.ForcePoint
ForceSignPySide6.QtCore.QTextStream.NumberFlag.ForceSign
NewOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.NewOnly
NotOpenPySide6.QtCore.QIODeviceBase.OpenModeFlag.NotOpen
OkPySide6.QtCore.QTextStream.Status.Ok
ReadCorruptDataPySide6.QtCore.QTextStream.Status.ReadCorruptData
ReadOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadOnly
ReadPastEndPySide6.QtCore.QTextStream.Status.ReadPastEnd
ReadWritePySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite
ScientificNotationPySide6.QtCore.QTextStream.RealNumberNotation.ScientificNotation
ShowBasePySide6.QtCore.QTextStream.NumberFlag.ShowBase
SmartNotationPySide6.QtCore.QTextStream.RealNumberNotation.SmartNotation
TextPySide6.QtCore.QIODeviceBase.OpenModeFlag.Text
TruncatePySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate
UnbufferedPySide6.QtCore.QIODeviceBase.OpenModeFlag.Unbuffered
UppercaseBasePySide6.QtCore.QTextStream.NumberFlag.UppercaseBase
UppercaseDigitsPySide6.QtCore.QTextStream.NumberFlag.UppercaseDigits
WriteFailedPySide6.QtCore.QTextStream.Status.WriteFailed
WriteOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.WriteOnly

Liste des opérateurs

Signature de l'opérateur Description
__lshift__ __lshift__(self, array: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtCore.QTextStream [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, array: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtCore.QTextStream __rshift__(self, array: Union[PySide6.QtCore.QByteArray, bytes]) -> PySide6.QtCore.QTextStream [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
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
atEnd(self) -> bool atEnd(self) -> bool [extrait de atEnd.__doc__]
autoDetectUnicode(self) -> bool autoDetectUnicode(self) -> bool [extrait de autoDetectUnicode.__doc__]
device(self) -> PySide6.QtCore.QIODevice device(self) -> PySide6.QtCore.QIODevice [extrait de device.__doc__]
encoding(self) -> PySide6.QtCore.QStringConverter.Encoding encoding(self) -> PySide6.QtCore.QStringConverter.Encoding [extrait de encoding.__doc__]
FieldAlignment
fieldAlignment(self) -> PySide6.QtCore.QTextStream.FieldAlignment fieldAlignment(self) -> PySide6.QtCore.QTextStream.FieldAlignment [extrait de fieldAlignment.__doc__]
fieldWidth(self) -> int fieldWidth(self) -> int [extrait de fieldWidth.__doc__]
flush(self) -> None flush(self) -> None [extrait de flush.__doc__]
generateByteOrderMark(self) -> bool generateByteOrderMark(self) -> bool [extrait de generateByteOrderMark.__doc__]
integerBase(self) -> int integerBase(self) -> int [extrait de integerBase.__doc__]
locale(self) -> PySide6.QtCore.QLocale locale(self) -> PySide6.QtCore.QLocale [extrait de locale.__doc__]
NumberFlag
NumberFlags
numberFlags(self) -> PySide6.QtCore.QTextStream.NumberFlags numberFlags(self) -> PySide6.QtCore.QTextStream.NumberFlags [extrait de numberFlags.__doc__]
padChar(self) -> str padChar(self) -> str [extrait de padChar.__doc__]
pos(self) -> int pos(self) -> int [extrait de pos.__doc__]
read(self, maxlen: int) -> str read(self, maxlen: int) -> str [extrait de read.__doc__]
readAll(self) -> str readAll(self) -> str [extrait de readAll.__doc__]
readLine(self, maxlen: int = 0) -> str readLine(self, maxlen: int = 0) -> str [extrait de readLine.__doc__]
RealNumberNotation
realNumberNotation(self) -> PySide6.QtCore.QTextStream.RealNumberNotation realNumberNotation(self) -> PySide6.QtCore.QTextStream.RealNumberNotation [extrait de realNumberNotation.__doc__]
realNumberPrecision(self) -> int realNumberPrecision(self) -> int [extrait de realNumberPrecision.__doc__]
reset(self) -> None reset(self) -> None [extrait de reset.__doc__]
resetStatus(self) -> None resetStatus(self) -> None [extrait de resetStatus.__doc__]
seek(self, pos: int) -> bool seek(self, pos: int) -> bool [extrait de seek.__doc__]
setAutoDetectUnicode(self, enabled: bool) -> None setAutoDetectUnicode(self, enabled: bool) -> None [extrait de setAutoDetectUnicode.__doc__]
setDevice(self, device: PySide6.QtCore.QIODevice) -> None setDevice(self, device: PySide6.QtCore.QIODevice) -> None [extrait de setDevice.__doc__]
setEncoding(self, encoding: PySide6.QtCore.QStringConverter.Encoding) -> None setEncoding(self, encoding: PySide6.QtCore.QStringConverter.Encoding) -> None [extrait de setEncoding.__doc__]
setFieldAlignment(self, alignment: PySide6.QtCore.QTextStream.FieldAlignment) -> None setFieldAlignment(self, alignment: PySide6.QtCore.QTextStream.FieldAlignment) -> None [extrait de setFieldAlignment.__doc__]
setFieldWidth(self, width: int) -> None setFieldWidth(self, width: int) -> None [extrait de setFieldWidth.__doc__]
setGenerateByteOrderMark(self, generate: bool) -> None setGenerateByteOrderMark(self, generate: bool) -> None [extrait de setGenerateByteOrderMark.__doc__]
setIntegerBase(self, base: int) -> None setIntegerBase(self, base: int) -> None [extrait de setIntegerBase.__doc__]
setLocale(self, locale: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language]) -> None setLocale(self, locale: Union[PySide6.QtCore.QLocale, PySide6.QtCore.QLocale.Language]) -> None [extrait de setLocale.__doc__]
setNumberFlags(self, flags: PySide6.QtCore.QTextStream.NumberFlags) -> None setNumberFlags(self, flags: PySide6.QtCore.QTextStream.NumberFlags) -> None [extrait de setNumberFlags.__doc__]
setPadChar(self, ch: str) -> None setPadChar(self, ch: str) -> None [extrait de setPadChar.__doc__]
setRealNumberNotation(self, notation: PySide6.QtCore.QTextStream.RealNumberNotation) -> None setRealNumberNotation(self, notation: PySide6.QtCore.QTextStream.RealNumberNotation) -> None [extrait de setRealNumberNotation.__doc__]
setRealNumberPrecision(self, precision: int) -> None setRealNumberPrecision(self, precision: int) -> None [extrait de setRealNumberPrecision.__doc__]
setStatus(self, status: PySide6.QtCore.QTextStream.Status) -> None setStatus(self, status: PySide6.QtCore.QTextStream.Status) -> None [extrait de setStatus.__doc__]
skipWhiteSpace(self) -> None skipWhiteSpace(self) -> None [extrait de skipWhiteSpace.__doc__]
Status
status(self) -> PySide6.QtCore.QTextStream.Status status(self) -> PySide6.QtCore.QTextStream.Status [extrait de status.__doc__]
string(self) -> List[str] string(self) -> List[str] [extrait de string.__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

__getattribute__, __init_subclass__, __subclasshook__

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

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