Class: QgsDialog¶
A generic dialog with layout and button box
Class Hierarchy¶
Base classes¶
Subclasses¶
A dialog for modifying the properties of a |
|
New name, for example new layer name dialog. If existing names are provided, the dialog warns users if an entered name already exists. |
Methods
Returns the button box. |
|
Returns the central layout. |
- class qgis.gui.QgsDialog[source]¶
Bases:
QDialog
- __init__(parent: QWidget | None = None, fl: Qt.WindowFlags | Qt.WindowType = QgsGuiUtils.ModalDialogFlags, buttons: QDialogButtonBox.StandardButtons | QDialogButtonBox.StandardButton = QDialogButtonBox.Close, orientation: Qt.Orientation = Qt.Horizontal)
Constructor for QgsDialog.
- Parameters:
parent (Optional[QWidget] = None)
fl (Union[Qt.WindowFlags, Qt.WindowType] = QgsGuiUtils.ModalDialogFlags)
buttons (Union[QDialogButtonBox.StandardButtons, QDialogButtonBox.StandardButton] = QDialogButtonBox.Close)
orientation (Qt.Orientation = Qt.Horizontal)