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

Informations générales

Héritage

builtins.object
    Object
        QObject
            QSharedMemory

Définition

class QSharedMemory(QObject):

Description [extrait de QSharedMemory.__doc__]

QSharedMemory(self, key: str, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QSharedMemory(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
AlreadyExistsPySide6.QtCore.QSharedMemory.SharedMemoryError.AlreadyExists
InvalidSizePySide6.QtCore.QSharedMemory.SharedMemoryError.InvalidSize
KeyErrorPySide6.QtCore.QSharedMemory.SharedMemoryError.KeyError
LockErrorPySide6.QtCore.QSharedMemory.SharedMemoryError.LockError
NoErrorPySide6.QtCore.QSharedMemory.SharedMemoryError.NoError
NotFoundPySide6.QtCore.QSharedMemory.SharedMemoryError.NotFound
OutOfResourcesPySide6.QtCore.QSharedMemory.SharedMemoryError.OutOfResources
PermissionDeniedPySide6.QtCore.QSharedMemory.SharedMemoryError.PermissionDenied
ReadOnlyPySide6.QtCore.QSharedMemory.AccessMode.ReadOnly
ReadWritePySide6.QtCore.QSharedMemory.AccessMode.ReadWrite
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40ebf16200>
UnknownErrorPySide6.QtCore.QSharedMemory.SharedMemoryError.UnknownError

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__]
AccessMode
attach(self, mode: PySide6.QtCore.QSharedMemory.AccessMode = PySide6.QtCore.QSharedMemory.AccessMode.ReadWrite) -> bool attach(self, mode: PySide6.QtCore.QSharedMemory.AccessMode = PySide6.QtCore.QSharedMemory.AccessMode.ReadWrite) -> bool [extrait de attach.__doc__]
constData(self) -> int constData(self) -> int [extrait de constData.__doc__]
create(self, size: int, mode: PySide6.QtCore.QSharedMemory.AccessMode = PySide6.QtCore.QSharedMemory.AccessMode.ReadWrite) -> bool create(self, size: int, mode: PySide6.QtCore.QSharedMemory.AccessMode = PySide6.QtCore.QSharedMemory.AccessMode.ReadWrite) -> bool [extrait de create.__doc__]
data(self) -> int data(self) -> int [extrait de data.__doc__]
destroyed
detach(self) -> bool detach(self) -> bool [extrait de detach.__doc__]
error(self) -> PySide6.QtCore.QSharedMemory.SharedMemoryError error(self) -> PySide6.QtCore.QSharedMemory.SharedMemoryError [extrait de error.__doc__]
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
isAttached(self) -> bool isAttached(self) -> bool [extrait de isAttached.__doc__]
key(self) -> str key(self) -> str [extrait de key.__doc__]
lock(self) -> bool lock(self) -> bool [extrait de lock.__doc__]
nativeKey(self) -> str nativeKey(self) -> str [extrait de nativeKey.__doc__]
objectNameChanged
setKey(self, key: str) -> None setKey(self, key: str) -> None [extrait de setKey.__doc__]
setNativeKey(self, key: str) -> None setNativeKey(self, key: str) -> None [extrait de setNativeKey.__doc__]
SharedMemoryError
size(self) -> int size(self) -> int [extrait de size.__doc__]
tr
unlock(self) -> bool unlock(self) -> bool [extrait de unlock.__doc__]

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__