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

Informations générales

Héritage

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

Définition

class QTemporaryFile(QFile):

Description [extrait de QTemporaryFile.__doc__]

QTemporaryFile(self) -> None
QTemporaryFile(self, parent: PySide6.QtCore.QObject) -> None
QTemporaryFile(self, templateName: str) -> None
QTemporaryFile(self, templateName: str, 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 0x7f40ebf36480>
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
autoRemove(self) -> bool autoRemove(self) -> bool [extrait de autoRemove.__doc__]
bytesWritten
channelBytesWritten
channelReadyRead
createNativeFile createNativeFile(file: PySide6.QtCore.QFile) -> PySide6.QtCore.QTemporaryFile [extrait de createNativeFile.__doc__]
destroyed
fileName(self) -> str fileName(self) -> str [extrait de fileName.__doc__]
fileTemplate(self) -> str fileTemplate(self) -> str [extrait de fileTemplate.__doc__]
objectNameChanged
open open(self) -> bool [extrait de open.__doc__]
readChannelFinished
readyRead
rename(self, newName: Union[str, bytes, os.PathLike]) -> bool rename(self, newName: Union[str, bytes, os.PathLike]) -> bool [extrait de rename.__doc__]
setAutoRemove(self, b: bool) -> None setAutoRemove(self, b: bool) -> None [extrait de setAutoRemove.__doc__]
setFileTemplate(self, name: str) -> None setFileTemplate(self, name: str) -> None [extrait de setFileTemplate.__doc__]
tr

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

__getattribute__, __init_subclass__, __subclasshook__, copy, decodeName, encodeName, exists, link, moveToTrash, permissions, remove, resize, setFileName, setPermissions, size, symLinkTarget

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

__init_subclass__, __subclasshook__, atEnd, close, 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, writeData

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

__init_subclass__, __subclasshook__, atEnd, bytesAvailable, bytesToWrite, canReadLine, close, 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, writeData

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__