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

Informations générales

Héritage

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

Définition

class QSaveFile(QFileDevice):

Description [extrait de QSaveFile.__doc__]

QSaveFile(self, name: str) -> None
QSaveFile(self, name: str, parent: PySide6.QtCore.QObject) -> None
QSaveFile(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
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 0x7f40ebf35dc0>
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
bytesWritten
cancelWriting(self) -> None cancelWriting(self) -> None [extrait de cancelWriting.__doc__]
channelBytesWritten
channelReadyRead
close(self) -> None close(self) -> None [extrait de close.__doc__]
commit(self) -> bool commit(self) -> bool [extrait de commit.__doc__]
destroyed
directWriteFallback(self) -> bool directWriteFallback(self) -> bool [extrait de directWriteFallback.__doc__]
fileName(self) -> str fileName(self) -> str [extrait de fileName.__doc__]
objectNameChanged
open(self, flags: PySide6.QtCore.QIODeviceBase.OpenMode) -> bool open(self, flags: PySide6.QtCore.QIODeviceBase.OpenMode) -> bool [extrait de open.__doc__]
readChannelFinished
readyRead
setDirectWriteFallback(self, enabled: bool) -> None setDirectWriteFallback(self, enabled: bool) -> None [extrait de setDirectWriteFallback.__doc__]
setFileName(self, name: str) -> None setFileName(self, name: str) -> None [extrait de setFileName.__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 QFileDevice

__init_subclass__, __subclasshook__, atEnd, error, FileError, FileHandleFlag, FileHandleFlags, FileTime, fileTime, flush, handle, isSequential, map, MemoryMapFlag, MemoryMapFlags, Permission, Permissions, permissions, pos, readData, readLineData, resize, seek, setFileTime, setPermissions, size, unmap, unsetError

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

__init_subclass__, __subclasshook__, atEnd, bytesAvailable, bytesToWrite, canReadLine, commitTransaction, currentReadChannel, currentWriteChannel, errorString, getChar, isOpen, isReadable, isSequential, isTextModeEnabled, isTransactionStarted, isWritable, openMode, peek, pos, putChar, read, readAll, readChannelCount, readData, readLine, readLineData, reset, rollbackTransaction, seek, setCurrentReadChannel, setCurrentWriteChannel, setErrorString, setOpenMode, setTextModeEnabled, size, 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__