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

Informations générales

Héritage

builtins.object
    Object
        QTextStream

Définition

class QTextStream(Object):

Description [extrait de QTextStream.__doc__]

QTextStream(self)
QTextStream(self, array: PySide2.QtCore.QByteArray, openMode: PySide2.QtCore.QIODevice.OpenMode = PySide2.QtCore.QIODevice.OpenModeFlag.ReadWrite)
QTextStream(self, device: 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
AlignAccountingStylePySide2.QtCore.QTextStream.FieldAlignment.AlignAccountingStyle
AlignCenterPySide2.QtCore.QTextStream.FieldAlignment.AlignCenter
AlignLeftPySide2.QtCore.QTextStream.FieldAlignment.AlignLeft
AlignRightPySide2.QtCore.QTextStream.FieldAlignment.AlignRight
FixedNotationPySide2.QtCore.QTextStream.RealNumberNotation.FixedNotation
ForcePointPySide2.QtCore.QTextStream.NumberFlag.ForcePoint
ForceSignPySide2.QtCore.QTextStream.NumberFlag.ForceSign
OkPySide2.QtCore.QTextStream.Status.Ok
ReadCorruptDataPySide2.QtCore.QTextStream.Status.ReadCorruptData
ReadPastEndPySide2.QtCore.QTextStream.Status.ReadPastEnd
ScientificNotationPySide2.QtCore.QTextStream.RealNumberNotation.ScientificNotation
ShowBasePySide2.QtCore.QTextStream.NumberFlag.ShowBase
SmartNotationPySide2.QtCore.QTextStream.RealNumberNotation.SmartNotation
UppercaseBasePySide2.QtCore.QTextStream.NumberFlag.UppercaseBase
UppercaseDigitsPySide2.QtCore.QTextStream.NumberFlag.UppercaseDigits
WriteFailedPySide2.QtCore.QTextStream.Status.WriteFailed

Liste des opérateurs

Signature de l'opérateur Description
__lshift__ __lshift__(self, array: PySide2.QtCore.QByteArray) -> PySide2.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: PySide2.QtCore.QByteArray) -> PySide2.QtCore.QTextStream __rshift__(self, array: PySide2.QtCore.QByteArray) -> PySide2.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__]
codec(self) -> PySide2.QtCore.QTextCodec codec(self) -> PySide2.QtCore.QTextCodec [extrait de codec.__doc__]
device(self) -> PySide2.QtCore.QIODevice device(self) -> PySide2.QtCore.QIODevice [extrait de device.__doc__]
FieldAlignment
fieldAlignment(self) -> PySide2.QtCore.QTextStream.FieldAlignment fieldAlignment(self) -> PySide2.QtCore.QTextStream.FieldAlignment [extrait de fieldAlignment.__doc__]
fieldWidth(self) -> int fieldWidth(self) -> int [extrait de fieldWidth.__doc__]
flush(self) flush(self) [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) -> PySide2.QtCore.QLocale locale(self) -> PySide2.QtCore.QLocale [extrait de locale.__doc__]
NumberFlag
NumberFlags
numberFlags(self) -> PySide2.QtCore.QTextStream.NumberFlags numberFlags(self) -> PySide2.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) -> PySide2.QtCore.QTextStream.RealNumberNotation realNumberNotation(self) -> PySide2.QtCore.QTextStream.RealNumberNotation [extrait de realNumberNotation.__doc__]
realNumberPrecision(self) -> int realNumberPrecision(self) -> int [extrait de realNumberPrecision.__doc__]
reset(self) reset(self) [extrait de reset.__doc__]
resetStatus(self) resetStatus(self) [extrait de resetStatus.__doc__]
seek(self, pos: int) -> bool seek(self, pos: int) -> bool [extrait de seek.__doc__]
setAutoDetectUnicode(self, enabled: bool) setAutoDetectUnicode(self, enabled: bool) [extrait de setAutoDetectUnicode.__doc__]
setCodec setCodec(self, codec: PySide2.QtCore.QTextCodec) [extrait de setCodec.__doc__]
setDevice(self, device: PySide2.QtCore.QIODevice) setDevice(self, device: PySide2.QtCore.QIODevice) [extrait de setDevice.__doc__]
setFieldAlignment(self, alignment: PySide2.QtCore.QTextStream.FieldAlignment) setFieldAlignment(self, alignment: PySide2.QtCore.QTextStream.FieldAlignment) [extrait de setFieldAlignment.__doc__]
setFieldWidth(self, width: int) setFieldWidth(self, width: int) [extrait de setFieldWidth.__doc__]
setGenerateByteOrderMark(self, generate: bool) setGenerateByteOrderMark(self, generate: bool) [extrait de setGenerateByteOrderMark.__doc__]
setIntegerBase(self, base: int) setIntegerBase(self, base: int) [extrait de setIntegerBase.__doc__]
setLocale(self, locale: PySide2.QtCore.QLocale) setLocale(self, locale: PySide2.QtCore.QLocale) [extrait de setLocale.__doc__]
setNumberFlags(self, flags: PySide2.QtCore.QTextStream.NumberFlags) setNumberFlags(self, flags: PySide2.QtCore.QTextStream.NumberFlags) [extrait de setNumberFlags.__doc__]
setPadChar(self, ch: str) setPadChar(self, ch: str) [extrait de setPadChar.__doc__]
setRealNumberNotation(self, notation: PySide2.QtCore.QTextStream.RealNumberNotation) setRealNumberNotation(self, notation: PySide2.QtCore.QTextStream.RealNumberNotation) [extrait de setRealNumberNotation.__doc__]
setRealNumberPrecision(self, precision: int) setRealNumberPrecision(self, precision: int) [extrait de setRealNumberPrecision.__doc__]
setStatus(self, status: PySide2.QtCore.QTextStream.Status) setStatus(self, status: PySide2.QtCore.QTextStream.Status) [extrait de setStatus.__doc__]
skipWhiteSpace(self) skipWhiteSpace(self) [extrait de skipWhiteSpace.__doc__]
Status
status(self) -> PySide2.QtCore.QTextStream.Status status(self) -> PySide2.QtCore.QTextStream.Status [extrait de status.__doc__]
string(self) -> typing.List[str] string(self) -> typing.List[str] [extrait de string.__doc__]

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

__init_subclass__, __subclasshook__

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

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