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

Informations générales

Héritage

builtins.object
    Object
        QIODeviceBase
builtins.object
    Object
        QObject
            QIODevice
                QBuffer

Définition

class QBuffer(QIODevice):

Description [extrait de QBuffer.__doc__]

QBuffer(self, buf: Union[PySide6.QtCore.QByteArray, bytes], parent: Optional[PySide6.QtCore.QObject] = None) -> None
QBuffer(self, parent: Optional[PySide6.QtCore.QObject] = None) -> 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 0x7f40ebf77b80>
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__]
buffer(self) -> PySide6.QtCore.QByteArray buffer(self) -> PySide6.QtCore.QByteArray [extrait de buffer.__doc__]
bytesWritten
canReadLine(self) -> bool canReadLine(self) -> bool [extrait de canReadLine.__doc__]
channelBytesWritten
channelReadyRead
close(self) -> None close(self) -> None [extrait de close.__doc__]
connectNotify(self, arg__1: PySide6.QtCore.QMetaMethod) -> None connectNotify(self, arg__1: PySide6.QtCore.QMetaMethod) -> None [extrait de connectNotify.__doc__]
data(self) -> PySide6.QtCore.QByteArray data(self) -> PySide6.QtCore.QByteArray [extrait de data.__doc__]
destroyed
disconnectNotify(self, arg__1: PySide6.QtCore.QMetaMethod) -> None disconnectNotify(self, arg__1: PySide6.QtCore.QMetaMethod) -> None [extrait de disconnectNotify.__doc__]
objectNameChanged
open(self, openMode: PySide6.QtCore.QIODeviceBase.OpenMode) -> bool open(self, openMode: PySide6.QtCore.QIODeviceBase.OpenMode) -> bool [extrait de open.__doc__]
pos(self) -> int pos(self) -> int [extrait de pos.__doc__]
readChannelFinished
readData(self, data: bytes, maxlen: int) -> object readData(self, data: bytes, maxlen: int) -> object [extrait de readData.__doc__]
readyRead
seek(self, off: int) -> bool seek(self, off: int) -> bool [extrait de seek.__doc__]
setBuffer(self, a: Union[PySide6.QtCore.QByteArray, bytes]) -> None setBuffer(self, a: Union[PySide6.QtCore.QByteArray, bytes]) -> None [extrait de setBuffer.__doc__]
setData(self, data: Union[PySide6.QtCore.QByteArray, bytes]) -> None setData(self, data: Union[PySide6.QtCore.QByteArray, bytes]) -> None [extrait de setData.__doc__]
size(self) -> int size(self) -> int [extrait de size.__doc__]
tr
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, peek, putChar, read, readAll, readChannelCount, readLine, readLineData, reset, rollbackTransaction, setCurrentReadChannel, setCurrentWriteChannel, setErrorString, setOpenMode, setTextModeEnabled, skip, skipData, startTransaction, ungetChar, waitForBytesWritten, waitForReadyRead, write, writeChannelCount

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, customEvent, deleteLater, disconnect, 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__