builtins.object Object QIODeviceBase builtins.object Object QObject QIODevice QFileDevice
class QFileDevice(QIODevice):
QFileDevice(self) -> None QFileDevice(self, parent: PySide6.QtCore.QObject) -> None
Signature du constructeur | Description |
---|---|
__new__(*args, **kwargs) | Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__] |
Nom de l'attribut | Valeur |
---|---|
AbortError | PySide6.QtCore.QFileDevice.FileError.AbortError |
Append | PySide6.QtCore.QIODeviceBase.OpenModeFlag.Append |
AutoCloseHandle | PySide6.QtCore.QFileDevice.FileHandleFlag.AutoCloseHandle |
CopyError | PySide6.QtCore.QFileDevice.FileError.CopyError |
DontCloseHandle | PySide6.QtCore.QFileDevice.FileHandleFlag.DontCloseHandle |
ExeGroup | PySide6.QtCore.QFileDevice.Permission.ExeGroup |
ExeOther | PySide6.QtCore.QFileDevice.Permission.ExeOther |
ExeOwner | PySide6.QtCore.QFileDevice.Permission.ExeOwner |
ExeUser | PySide6.QtCore.QFileDevice.Permission.ExeUser |
ExistingOnly | PySide6.QtCore.QIODeviceBase.OpenModeFlag.ExistingOnly |
FatalError | PySide6.QtCore.QFileDevice.FileError.FatalError |
FileAccessTime | PySide6.QtCore.QFileDevice.FileTime.FileAccessTime |
FileBirthTime | PySide6.QtCore.QFileDevice.FileTime.FileBirthTime |
FileMetadataChangeTime | PySide6.QtCore.QFileDevice.FileTime.FileMetadataChangeTime |
FileModificationTime | PySide6.QtCore.QFileDevice.FileTime.FileModificationTime |
MapPrivateOption | PySide6.QtCore.QFileDevice.MemoryMapFlag.MapPrivateOption |
NewOnly | PySide6.QtCore.QIODeviceBase.OpenModeFlag.NewOnly |
NoError | PySide6.QtCore.QFileDevice.FileError.NoError |
NoOptions | PySide6.QtCore.QFileDevice.MemoryMapFlag.NoOptions |
NotOpen | PySide6.QtCore.QIODeviceBase.OpenModeFlag.NotOpen |
OpenError | PySide6.QtCore.QFileDevice.FileError.OpenError |
PermissionsError | PySide6.QtCore.QFileDevice.FileError.PermissionsError |
PositionError | PySide6.QtCore.QFileDevice.FileError.PositionError |
ReadError | PySide6.QtCore.QFileDevice.FileError.ReadError |
ReadGroup | PySide6.QtCore.QFileDevice.Permission.ReadGroup |
ReadOnly | PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadOnly |
ReadOther | PySide6.QtCore.QFileDevice.Permission.ReadOther |
ReadOwner | PySide6.QtCore.QFileDevice.Permission.ReadOwner |
ReadUser | PySide6.QtCore.QFileDevice.Permission.ReadUser |
ReadWrite | PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite |
RemoveError | PySide6.QtCore.QFileDevice.FileError.RemoveError |
RenameError | PySide6.QtCore.QFileDevice.FileError.RenameError |
ResizeError | PySide6.QtCore.QFileDevice.FileError.ResizeError |
ResourceError | PySide6.QtCore.QFileDevice.FileError.ResourceError |
staticMetaObject | <PySide6.QtCore.QMetaObject object at 0x7f40ebf35bc0> |
Text | PySide6.QtCore.QIODeviceBase.OpenModeFlag.Text |
TimeOutError | PySide6.QtCore.QFileDevice.FileError.TimeOutError |
Truncate | PySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate |
Unbuffered | PySide6.QtCore.QIODeviceBase.OpenModeFlag.Unbuffered |
UnspecifiedError | PySide6.QtCore.QFileDevice.FileError.UnspecifiedError |
WriteError | PySide6.QtCore.QFileDevice.FileError.WriteError |
WriteGroup | PySide6.QtCore.QFileDevice.Permission.WriteGroup |
WriteOnly | PySide6.QtCore.QIODeviceBase.OpenModeFlag.WriteOnly |
WriteOther | PySide6.QtCore.QFileDevice.Permission.WriteOther |
WriteOwner | PySide6.QtCore.QFileDevice.Permission.WriteOwner |
WriteUser | PySide6.QtCore.QFileDevice.Permission.WriteUser |
Signature de la méthode | Description |
---|---|
__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__] |
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 :