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

Informations générales

Héritage

builtins.object
    Object
        QIODeviceBase
builtins.object
    Object
        QObject
            QIODevice
                QFileDevice

Définition

class QFileDevice(QIODevice):

Description [extrait de QFileDevice.__doc__]

QFileDevice(self) -> None
QFileDevice(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
AbortErrorPySide6.QtCore.QFileDevice.FileError.AbortError
AppendPySide6.QtCore.QIODeviceBase.OpenModeFlag.Append
AutoCloseHandlePySide6.QtCore.QFileDevice.FileHandleFlag.AutoCloseHandle
CopyErrorPySide6.QtCore.QFileDevice.FileError.CopyError
DontCloseHandlePySide6.QtCore.QFileDevice.FileHandleFlag.DontCloseHandle
ExeGroupPySide6.QtCore.QFileDevice.Permission.ExeGroup
ExeOtherPySide6.QtCore.QFileDevice.Permission.ExeOther
ExeOwnerPySide6.QtCore.QFileDevice.Permission.ExeOwner
ExeUserPySide6.QtCore.QFileDevice.Permission.ExeUser
ExistingOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ExistingOnly
FatalErrorPySide6.QtCore.QFileDevice.FileError.FatalError
FileAccessTimePySide6.QtCore.QFileDevice.FileTime.FileAccessTime
FileBirthTimePySide6.QtCore.QFileDevice.FileTime.FileBirthTime
FileMetadataChangeTimePySide6.QtCore.QFileDevice.FileTime.FileMetadataChangeTime
FileModificationTimePySide6.QtCore.QFileDevice.FileTime.FileModificationTime
MapPrivateOptionPySide6.QtCore.QFileDevice.MemoryMapFlag.MapPrivateOption
NewOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.NewOnly
NoErrorPySide6.QtCore.QFileDevice.FileError.NoError
NoOptionsPySide6.QtCore.QFileDevice.MemoryMapFlag.NoOptions
NotOpenPySide6.QtCore.QIODeviceBase.OpenModeFlag.NotOpen
OpenErrorPySide6.QtCore.QFileDevice.FileError.OpenError
PermissionsErrorPySide6.QtCore.QFileDevice.FileError.PermissionsError
PositionErrorPySide6.QtCore.QFileDevice.FileError.PositionError
ReadErrorPySide6.QtCore.QFileDevice.FileError.ReadError
ReadGroupPySide6.QtCore.QFileDevice.Permission.ReadGroup
ReadOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadOnly
ReadOtherPySide6.QtCore.QFileDevice.Permission.ReadOther
ReadOwnerPySide6.QtCore.QFileDevice.Permission.ReadOwner
ReadUserPySide6.QtCore.QFileDevice.Permission.ReadUser
ReadWritePySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite
RemoveErrorPySide6.QtCore.QFileDevice.FileError.RemoveError
RenameErrorPySide6.QtCore.QFileDevice.FileError.RenameError
ResizeErrorPySide6.QtCore.QFileDevice.FileError.ResizeError
ResourceErrorPySide6.QtCore.QFileDevice.FileError.ResourceError
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40ebf35bc0>
TextPySide6.QtCore.QIODeviceBase.OpenModeFlag.Text
TimeOutErrorPySide6.QtCore.QFileDevice.FileError.TimeOutError
TruncatePySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate
UnbufferedPySide6.QtCore.QIODeviceBase.OpenModeFlag.Unbuffered
UnspecifiedErrorPySide6.QtCore.QFileDevice.FileError.UnspecifiedError
WriteErrorPySide6.QtCore.QFileDevice.FileError.WriteError
WriteGroupPySide6.QtCore.QFileDevice.Permission.WriteGroup
WriteOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.WriteOnly
WriteOtherPySide6.QtCore.QFileDevice.Permission.WriteOther
WriteOwnerPySide6.QtCore.QFileDevice.Permission.WriteOwner
WriteUserPySide6.QtCore.QFileDevice.Permission.WriteUser

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__]
bytesWritten
channelBytesWritten
channelReadyRead
close(self) -> None close(self) -> None [extrait de close.__doc__]
destroyed
error(self) -> PySide6.QtCore.QFileDevice.FileError error(self) -> PySide6.QtCore.QFileDevice.FileError [extrait de error.__doc__]
FileError
FileHandleFlag
FileHandleFlags
fileName(self) -> str fileName(self) -> str [extrait de fileName.__doc__]
FileTime
fileTime(self, time: PySide6.QtCore.QFileDevice.FileTime) -> PySide6.QtCore.QDateTime fileTime(self, time: PySide6.QtCore.QFileDevice.FileTime) -> PySide6.QtCore.QDateTime [extrait de fileTime.__doc__]
flush(self) -> bool flush(self) -> bool [extrait de flush.__doc__]
handle(self) -> int handle(self) -> int [extrait de handle.__doc__]
isSequential(self) -> bool isSequential(self) -> bool [extrait de isSequential.__doc__]
map(self, offset: int, size: int, flags: PySide6.QtCore.QFileDevice.MemoryMapFlags = PySide6.QtCore.QFileDevice.MemoryMapFlag.NoOptions) -> object map(self, offset: int, size: int, flags: PySide6.QtCore.QFileDevice.MemoryMapFlags = PySide6.QtCore.QFileDevice.MemoryMapFlag.NoOptions) -> object [extrait de map.__doc__]
MemoryMapFlag
MemoryMapFlags
objectNameChanged
Permission
Permissions
permissions(self) -> PySide6.QtCore.QFileDevice.Permissions permissions(self) -> PySide6.QtCore.QFileDevice.Permissions [extrait de permissions.__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__]
readLineData(self, data: bytes, maxlen: int) -> object readLineData(self, data: bytes, maxlen: int) -> object [extrait de readLineData.__doc__]
readyRead
resize(self, sz: int) -> bool resize(self, sz: int) -> bool [extrait de resize.__doc__]
seek(self, offset: int) -> bool seek(self, offset: int) -> bool [extrait de seek.__doc__]
setFileTime(self, newDate: PySide6.QtCore.QDateTime, fileTime: PySide6.QtCore.QFileDevice.FileTime) -> bool setFileTime(self, newDate: PySide6.QtCore.QDateTime, fileTime: PySide6.QtCore.QFileDevice.FileTime) -> bool [extrait de setFileTime.__doc__]
setPermissions(self, permissionSpec: PySide6.QtCore.QFileDevice.Permissions) -> bool setPermissions(self, permissionSpec: PySide6.QtCore.QFileDevice.Permissions) -> bool [extrait de setPermissions.__doc__]
size(self) -> int size(self) -> int [extrait de size.__doc__]
tr
unmap(self, address: bytes) -> bool unmap(self, address: bytes) -> bool [extrait de unmap.__doc__]
unsetError(self) -> None unsetError(self) -> None [extrait de unsetError.__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, canReadLine, commitTransaction, currentReadChannel, currentWriteChannel, errorString, getChar, isOpen, isReadable, isTextModeEnabled, isTransactionStarted, isWritable, open, openMode, peek, putChar, read, readAll, readChannelCount, readLine, 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, 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__