QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
A simple dialog for customizing a labeling engine rule. More...
#include <qgslabelingenginerulewidget.h>
Public Member Functions | |
QgsLabelingEngineRuleDialog (QgsLabelingEngineRuleWidget *widget, QWidget *parent=nullptr, Qt::WindowFlags flags=QgsGuiUtils::ModalDialogFlags) | |
Constructor for QgsLabelingEngineRuleDialog. | |
QgsAbstractLabelingEngineRule * | rule () |
Returns the rule defined by the current settings in the dialog. | |
void | setRule (const QgsAbstractLabelingEngineRule *rule) |
Sets the rule to show in the dialog. | |
A simple dialog for customizing a labeling engine rule.
Definition at line 90 of file qgslabelingenginerulewidget.h.
QgsLabelingEngineRuleDialog::QgsLabelingEngineRuleDialog | ( | QgsLabelingEngineRuleWidget * | widget, |
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | flags = QgsGuiUtils::ModalDialogFlags |
||
) |
Constructor for QgsLabelingEngineRuleDialog.
widget | rule widget to show in dialog |
parent | parent widget |
flags | window flags for dialog |
Definition at line 28 of file qgslabelingenginerulewidget.cpp.
QgsAbstractLabelingEngineRule * QgsLabelingEngineRuleDialog::rule | ( | ) |
Returns the rule defined by the current settings in the dialog.
Ownership of the returned object is transferred to the caller
Definition at line 54 of file qgslabelingenginerulewidget.cpp.
void QgsLabelingEngineRuleDialog::setRule | ( | const QgsAbstractLabelingEngineRule * | rule | ) |
Sets the rule to show in the dialog.
Ownership is not transferred.
Definition at line 49 of file qgslabelingenginerulewidget.cpp.