Skip to content

SharedMemory

Qt Base Class: QSharedMemory

Signature: QSharedMemory(self, key: str, parent: Optional[PySide6.QtCore.QObject] = None) -> None QSharedMemory(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Base classes

Name Children Inherits
ObjectMixin
prettyqt.core.object
QSharedMemory
PySide6.QtCore
QSharedMemory(self, key: str, parent: Optional[PySide6.QtCore.QObject] \= None) -> None

⋔ Inheritance diagram

graph TD
  1473299816976["core.SharedMemory"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473288873472["QtCore.QSharedMemory"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473299815024 --> 1473299816976
  140713234304496 --> 1473299815024
  1473288873472 --> 1473299816976
  1473288842240 --> 1473288873472
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: ObjectMixin, QSharedMemory

Access to a shared memory segment.

Source code in prettyqt\core\sharedmemory.py
class SharedMemory(core.ObjectMixin, core.QSharedMemory):
    """Access to a shared memory segment."""

    def __repr__(self):
        return get_repr(self, self.key())

    def __reduce__(self):
        return type(self), (self.key())

    def get_error(self) -> SharedMemoryErrorStr:
        return SHARED_MEMORY_ERROR.inverse[self.error()]

⌗ Property table

Qt Property Type Doc
objectName QString