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

Informations générales

Héritage

builtins.object
    Object
        QIODeviceBase
builtins.object
    Object
        QObject
            QIODevice

Définition

class QIODevice(QObject, QIODeviceBase):

Description [extrait de QIODevice.__doc__]

QIODevice(self) -> None
QIODevice(self, parent: PySide6.QtCore.QObject) -> 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
ExistingOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ExistingOnly
NewOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.NewOnly
NotOpenPySide6.QtCore.QIODeviceBase.OpenModeFlag.NotOpen
ReadOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadOnly
ReadWritePySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40ebf24ec0>
TextPySide6.QtCore.QIODeviceBase.OpenModeFlag.Text
TruncatePySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate
UnbufferedPySide6.QtCore.QIODeviceBase.OpenModeFlag.Unbuffered
WriteOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.WriteOnly

Liste des opérateurs

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__]
aboutToClose
atEnd(self) -> bool atEnd(self) -> bool [extrait de atEnd.__doc__]
bytesAvailable(self) -> int bytesAvailable(self) -> int [extrait de bytesAvailable.__doc__]
bytesToWrite(self) -> int bytesToWrite(self) -> int [extrait de bytesToWrite.__doc__]
bytesWritten
canReadLine(self) -> bool canReadLine(self) -> bool [extrait de canReadLine.__doc__]
channelBytesWritten
channelReadyRead
close(self) -> None close(self) -> None [extrait de close.__doc__]
commitTransaction(self) -> None commitTransaction(self) -> None [extrait de commitTransaction.__doc__]
currentReadChannel(self) -> int currentReadChannel(self) -> int [extrait de currentReadChannel.__doc__]
currentWriteChannel(self) -> int currentWriteChannel(self) -> int [extrait de currentWriteChannel.__doc__]
destroyed
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
getChar(self, c: bytes) -> bool getChar(self, c: bytes) -> bool [extrait de getChar.__doc__]
isOpen(self) -> bool isOpen(self) -> bool [extrait de isOpen.__doc__]
isReadable(self) -> bool isReadable(self) -> bool [extrait de isReadable.__doc__]
isSequential(self) -> bool isSequential(self) -> bool [extrait de isSequential.__doc__]
isTextModeEnabled(self) -> bool isTextModeEnabled(self) -> bool [extrait de isTextModeEnabled.__doc__]
isTransactionStarted(self) -> bool isTransactionStarted(self) -> bool [extrait de isTransactionStarted.__doc__]
isWritable(self) -> bool isWritable(self) -> bool [extrait de isWritable.__doc__]
objectNameChanged
open(self, mode: PySide6.QtCore.QIODeviceBase.OpenMode) -> bool open(self, mode: PySide6.QtCore.QIODeviceBase.OpenMode) -> bool [extrait de open.__doc__]
openMode(self) -> PySide6.QtCore.QIODeviceBase.OpenMode openMode(self) -> PySide6.QtCore.QIODeviceBase.OpenMode [extrait de openMode.__doc__]
peek(self, maxlen: int) -> PySide6.QtCore.QByteArray peek(self, maxlen: int) -> PySide6.QtCore.QByteArray [extrait de peek.__doc__]
pos(self) -> int pos(self) -> int [extrait de pos.__doc__]
putChar(self, c: int) -> bool putChar(self, c: int) -> bool [extrait de putChar.__doc__]
read(self, maxlen: int) -> PySide6.QtCore.QByteArray read(self, maxlen: int) -> PySide6.QtCore.QByteArray [extrait de read.__doc__]
readAll(self) -> PySide6.QtCore.QByteArray readAll(self) -> PySide6.QtCore.QByteArray [extrait de readAll.__doc__]
readChannelCount(self) -> int readChannelCount(self) -> int [extrait de readChannelCount.__doc__]
readChannelFinished
readData(self, data: bytes, maxlen: int) -> object readData(self, data: bytes, maxlen: int) -> object [extrait de readData.__doc__]
readLine(self, maxlen: int = 0) -> PySide6.QtCore.QByteArray readLine(self, maxlen: int = 0) -> PySide6.QtCore.QByteArray [extrait de readLine.__doc__]
readLineData(self, data: bytes, maxlen: int) -> object readLineData(self, data: bytes, maxlen: int) -> object [extrait de readLineData.__doc__]
readyRead
reset(self) -> bool reset(self) -> bool [extrait de reset.__doc__]
rollbackTransaction(self) -> None rollbackTransaction(self) -> None [extrait de rollbackTransaction.__doc__]
seek(self, pos: int) -> bool seek(self, pos: int) -> bool [extrait de seek.__doc__]
setCurrentReadChannel(self, channel: int) -> None setCurrentReadChannel(self, channel: int) -> None [extrait de setCurrentReadChannel.__doc__]
setCurrentWriteChannel(self, channel: int) -> None setCurrentWriteChannel(self, channel: int) -> None [extrait de setCurrentWriteChannel.__doc__]
setErrorString(self, errorString: str) -> None setErrorString(self, errorString: str) -> None [extrait de setErrorString.__doc__]
setOpenMode(self, openMode: PySide6.QtCore.QIODeviceBase.OpenMode) -> None setOpenMode(self, openMode: PySide6.QtCore.QIODeviceBase.OpenMode) -> None [extrait de setOpenMode.__doc__]
setTextModeEnabled(self, enabled: bool) -> None setTextModeEnabled(self, enabled: bool) -> None [extrait de setTextModeEnabled.__doc__]
size(self) -> int size(self) -> int [extrait de size.__doc__]
skip(self, maxSize: int) -> int skip(self, maxSize: int) -> int [extrait de skip.__doc__]
skipData(self, maxSize: int) -> int skipData(self, maxSize: int) -> int [extrait de skipData.__doc__]
startTransaction(self) -> None startTransaction(self) -> None [extrait de startTransaction.__doc__]
tr
ungetChar(self, c: int) -> None ungetChar(self, c: int) -> None [extrait de ungetChar.__doc__]
waitForBytesWritten(self, msecs: int) -> bool waitForBytesWritten(self, msecs: int) -> bool [extrait de waitForBytesWritten.__doc__]
waitForReadyRead(self, msecs: int) -> bool waitForReadyRead(self, msecs: int) -> bool [extrait de waitForReadyRead.__doc__]
write(self, data: Union[PySide6.QtCore.QByteArray, bytes]) -> int write(self, data: Union[PySide6.QtCore.QByteArray, bytes]) -> int [extrait de write.__doc__]
writeChannelCount(self) -> int writeChannelCount(self) -> int [extrait de writeChannelCount.__doc__]
writeData(self, data: bytes, len: int) -> int writeData(self, data: bytes, len: int) -> int [extrait de writeData.__doc__]

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

__copy__, __init_subclass__, __subclasshook__, OpenMode, OpenModeFlag

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

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

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__