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

Informations générales

Héritage

builtins.object
    Object
        QObject
            QIODevice
                QFileDevice
                    QSaveFile

Définition

class QSaveFile(QFileDevice):

Description [extrait de QSaveFile.__doc__]

QSaveFile(self, name: str)
QSaveFile(self, name: str, parent: PySide2.QtCore.QObject)
QSaveFile(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
AbortErrorPySide2.QtCore.QFileDevice.FileError.AbortError
AppendPySide2.QtCore.QIODevice.OpenModeFlag.Append
AutoCloseHandlePySide2.QtCore.QFileDevice.FileHandleFlag.AutoCloseHandle
CopyErrorPySide2.QtCore.QFileDevice.FileError.CopyError
DontCloseHandlePySide2.QtCore.QFileDevice.FileHandleFlag.DontCloseHandle
ExeGroupPySide2.QtCore.QFileDevice.Permission.ExeGroup
ExeOtherPySide2.QtCore.QFileDevice.Permission.ExeOther
ExeOwnerPySide2.QtCore.QFileDevice.Permission.ExeOwner
ExeUserPySide2.QtCore.QFileDevice.Permission.ExeUser
ExistingOnlyPySide2.QtCore.QIODevice.OpenModeFlag.ExistingOnly
FatalErrorPySide2.QtCore.QFileDevice.FileError.FatalError
FileAccessTimePySide2.QtCore.QFileDevice.FileTime.FileAccessTime
FileBirthTimePySide2.QtCore.QFileDevice.FileTime.FileBirthTime
FileMetadataChangeTimePySide2.QtCore.QFileDevice.FileTime.FileMetadataChangeTime
FileModificationTimePySide2.QtCore.QFileDevice.FileTime.FileModificationTime
MapPrivateOptionPySide2.QtCore.QFileDevice.MemoryMapFlags.MapPrivateOption
NewOnlyPySide2.QtCore.QIODevice.OpenModeFlag.NewOnly
NoErrorPySide2.QtCore.QFileDevice.FileError.NoError
NoOptionsPySide2.QtCore.QFileDevice.MemoryMapFlags.NoOptions
NotOpenPySide2.QtCore.QIODevice.OpenModeFlag.NotOpen
OpenErrorPySide2.QtCore.QFileDevice.FileError.OpenError
PermissionsErrorPySide2.QtCore.QFileDevice.FileError.PermissionsError
PositionErrorPySide2.QtCore.QFileDevice.FileError.PositionError
ReadErrorPySide2.QtCore.QFileDevice.FileError.ReadError
ReadGroupPySide2.QtCore.QFileDevice.Permission.ReadGroup
ReadOnlyPySide2.QtCore.QIODevice.OpenModeFlag.ReadOnly
ReadOtherPySide2.QtCore.QFileDevice.Permission.ReadOther
ReadOwnerPySide2.QtCore.QFileDevice.Permission.ReadOwner
ReadUserPySide2.QtCore.QFileDevice.Permission.ReadUser
ReadWritePySide2.QtCore.QIODevice.OpenModeFlag.ReadWrite
RemoveErrorPySide2.QtCore.QFileDevice.FileError.RemoveError
RenameErrorPySide2.QtCore.QFileDevice.FileError.RenameError
ResizeErrorPySide2.QtCore.QFileDevice.FileError.ResizeError
ResourceErrorPySide2.QtCore.QFileDevice.FileError.ResourceError
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe36c93900>
TextPySide2.QtCore.QIODevice.OpenModeFlag.Text
TimeOutErrorPySide2.QtCore.QFileDevice.FileError.TimeOutError
TruncatePySide2.QtCore.QIODevice.OpenModeFlag.Truncate
UnbufferedPySide2.QtCore.QIODevice.OpenModeFlag.Unbuffered
UnspecifiedErrorPySide2.QtCore.QFileDevice.FileError.UnspecifiedError
WriteErrorPySide2.QtCore.QFileDevice.FileError.WriteError
WriteGroupPySide2.QtCore.QFileDevice.Permission.WriteGroup
WriteOnlyPySide2.QtCore.QIODevice.OpenModeFlag.WriteOnly
WriteOtherPySide2.QtCore.QFileDevice.Permission.WriteOther
WriteOwnerPySide2.QtCore.QFileDevice.Permission.WriteOwner
WriteUserPySide2.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) cancelWriting(self) [extrait de cancelWriting.__doc__]
channelBytesWritten
channelReadyRead
close(self) close(self) [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: PySide2.QtCore.QIODevice.OpenMode) -> bool open(self, flags: PySide2.QtCore.QIODevice.OpenMode) -> bool [extrait de open.__doc__]
readChannelFinished
readyRead
setDirectWriteFallback(self, enabled: bool) setDirectWriteFallback(self, enabled: bool) [extrait de setDirectWriteFallback.__doc__]
setFileName(self, name: str) setFileName(self, name: str) [extrait de setFileName.__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 QFileDevice

__init_subclass__, __subclasshook__, atEnd, error, FileError, FileHandleFlag, FileHandleFlags, FileTime, fileTime, flush, handle, isSequential, map, 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, openMode, OpenModeFlag, peek, pos, putChar, read, readAll, readChannelCount, readData, readLine, readLineData, reset, rollbackTransaction, seek, setCurrentReadChannel, setCurrentWriteChannel, setErrorString, setOpenMode, setTextModeEnabled, size, 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, 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, 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__