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

Informations générales

Héritage

builtins.object
    Object
        QObject
            QIODevice
                QBuffer

Définition

class QBuffer(QIODevice):

Description [extrait de QBuffer.__doc__]

QBuffer(self, buf: PySide2.QtCore.QByteArray, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)
QBuffer(self, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = 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__]
__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
AppendPySide2.QtCore.QIODevice.OpenModeFlag.Append
ExistingOnlyPySide2.QtCore.QIODevice.OpenModeFlag.ExistingOnly
NewOnlyPySide2.QtCore.QIODevice.OpenModeFlag.NewOnly
NotOpenPySide2.QtCore.QIODevice.OpenModeFlag.NotOpen
ReadOnlyPySide2.QtCore.QIODevice.OpenModeFlag.ReadOnly
ReadWritePySide2.QtCore.QIODevice.OpenModeFlag.ReadWrite
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe36be3080>
TextPySide2.QtCore.QIODevice.OpenModeFlag.Text
TruncatePySide2.QtCore.QIODevice.OpenModeFlag.Truncate
UnbufferedPySide2.QtCore.QIODevice.OpenModeFlag.Unbuffered
WriteOnlyPySide2.QtCore.QIODevice.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__]
buffer(self) -> PySide2.QtCore.QByteArray buffer(self) -> PySide2.QtCore.QByteArray [extrait de buffer.__doc__]
bytesWritten
canReadLine(self) -> bool canReadLine(self) -> bool [extrait de canReadLine.__doc__]
channelBytesWritten
channelReadyRead
close(self) close(self) [extrait de close.__doc__]
connectNotify(self, arg__1: PySide2.QtCore.QMetaMethod) connectNotify(self, arg__1: PySide2.QtCore.QMetaMethod) [extrait de connectNotify.__doc__]
data(self) -> PySide2.QtCore.QByteArray data(self) -> PySide2.QtCore.QByteArray [extrait de data.__doc__]
destroyed
disconnectNotify(self, arg__1: PySide2.QtCore.QMetaMethod) disconnectNotify(self, arg__1: PySide2.QtCore.QMetaMethod) [extrait de disconnectNotify.__doc__]
objectNameChanged
open(self, openMode: PySide2.QtCore.QIODevice.OpenMode) -> bool open(self, openMode: PySide2.QtCore.QIODevice.OpenMode) -> bool [extrait de open.__doc__]
pos(self) -> int pos(self) -> int [extrait de pos.__doc__]
readChannelFinished
readData(self, data: bytes, maxlen: int) -> int readData(self, data: bytes, maxlen: int) -> int [extrait de readData.__doc__]
readyRead
seek(self, off: int) -> bool seek(self, off: int) -> bool [extrait de seek.__doc__]
setBuffer(self, a: PySide2.QtCore.QByteArray) setBuffer(self, a: PySide2.QtCore.QByteArray) [extrait de setBuffer.__doc__]
setData(self, data: PySide2.QtCore.QByteArray) setData(self, data: PySide2.QtCore.QByteArray) [extrait de setData.__doc__]
size(self) -> int size(self) -> int [extrait de size.__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 QIODevice

__init_subclass__, __subclasshook__, bytesAvailable, bytesToWrite, commitTransaction, currentReadChannel, currentWriteChannel, errorString, getChar, isOpen, isReadable, isSequential, isTextModeEnabled, isTransactionStarted, isWritable, OpenMode, openMode, OpenModeFlag, peek, putChar, read, readAll, readChannelCount, readLine, readLineData, reset, rollbackTransaction, setCurrentReadChannel, setCurrentWriteChannel, setErrorString, setOpenMode, setTextModeEnabled, skip, startTransaction, ungetChar, waitForBytesWritten, waitForReadyRead, write, writeChannelCount

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

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

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__