Class: QgsLabelSettingsWidgetDialog

A blocking dialog containing a QgsLabelSettingsWidgetBase.

Added in version 3.12.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsLabelSettingsWidgetDialog

Base classes

QDialog

QWidget

QObject

QPaintDevice

Methods

buttonBox

Returns the dialog's button box.

class qgis.gui.QgsLabelSettingsWidgetDialog[source]

Bases: QDialog

__init__(widget: QgsLabelSettingsWidgetBase | None, parent: QWidget | None = None)

Constructor for QgsLabelSettingsWidgetDialog.

Parameters:
  • widget (Optional[QgsLabelSettingsWidgetBase]) – label settings widget to embed in the dialog. Ownership is transferred to the dialog.

  • parent (Optional[QWidget] = None) – parent widget

buttonBox(self) QDialogButtonBox | None[source]

Returns the dialog’s button box.

Added in version 3.14.

Return type:

Optional[QDialogButtonBox]