Skip to content

File

Qt Base Class: QFile

Signature: QFile(self) -> None QFile(self, name: Union[str, bytes, os.PathLike]) -> None QFile(self, name: Union[str, bytes, os.PathLike], parent: PySide6.QtCore.QObject) -> None QFile(self, parent: PySide6.QtCore.QObject) -> None

Base classes

Name Children Inherits
FileMixin
prettyqt.core.file
QFile
PySide6.QtCore
QFile(self) -> None

⋔ Inheritance diagram

graph TD
  1473299868704["core.File"]
  1473299847232["core.FileMixin"]
  1473299857968["core.FileDeviceMixin"]
  1473299871632["core.IODeviceMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473288929104["QtCore.QFile"]
  1473288918368["QtCore.QFileDevice"]
  1473288885184["QtCore.QIODevice"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473243629040["QtCore.QIODeviceBase"]
  1473299847232 --> 1473299868704
  1473299857968 --> 1473299847232
  1473299871632 --> 1473299857968
  1473299815024 --> 1473299871632
  140713234304496 --> 1473299815024
  1473288929104 --> 1473299868704
  1473288918368 --> 1473288929104
  1473288885184 --> 1473288918368
  1473288842240 --> 1473288885184
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208
  1473243629040 --> 1473288885184
  1473291690208 --> 1473243629040

🛈 DocStrings

Bases: FileMixin, QFile

Interface for reading from and writing to files.

Source code in prettyqt\core\file.py
class File(FileMixin, core.QFile):
    """Interface for reading from and writing to files."""

⌗ Property table

Qt Property Type Doc
objectName QString