Skip to content

Dialog

Sub classes

Name Children Inherits
PopupInfo
prettyqt.custom_widgets.popupinfo
Dialog overlay to show some info to user.
    PydanticDialog
    prettyqt.custom_widgets.pydanticform
    Dialog with a `PydanticForm` and OK / Cancel; OK is enabled only if valid.
      TracebackDialog
      prettyqt.debugging.tracebackdialog
      A dialog box that shows Python traceback.

        Base classes

        Name Children Inherits
        DialogMixin
        prettyqt.widgets.dialog
        QDialog
        PySide6.QtWidgets
        QDialog(self, /, parent: PySide6.QtWidgets.QWidget | None \= None, f: PySide6.QtCore.Qt.WindowType \= Default(Qt.WindowFlags), *, sizeGripEnabled: bool | None \= None, modal: bool | None \= None) -> None

        ⋔ Inheritance diagram

        graph TD
          4254570387["widgets.Dialog"]
          2345124717["widgets.DialogMixin"]
          829357528["widgets.WidgetMixin"]
          3227531497["core.ObjectMixin"]
          2751680898["builtins.object"]
          625385617["gui.PaintDeviceMixin"]
          392105360["QtWidgets.QDialog"]
          3620195106["QtWidgets.QWidget"]
          3984060476["QtCore.QObject"]
          37984305["Shiboken.Object"]
          673956333["QtGui.QPaintDevice"]
          2345124717 --> 4254570387
          829357528 --> 2345124717
          3227531497 --> 829357528
          2751680898 --> 3227531497
          625385617 --> 829357528
          2751680898 --> 625385617
          2751680898 --> 829357528
          2751680898 --> 2345124717
          392105360 --> 4254570387
          3620195106 --> 392105360
          3984060476 --> 3620195106
          37984305 --> 3984060476
          2751680898 --> 37984305
          673956333 --> 3620195106
          37984305 --> 673956333

        🛈 DocStrings

        Bases: DialogMixin, QDialog

        The base class of dialog windows.

        Source code in prettyqt/widgets/dialog.py
        class Dialog(DialogMixin, widgets.QDialog):
            """The base class of dialog windows."""
        

        :fa-brands-github: Show source on GitHub