QGIS API Documentation 3.41.0-Master (57ec4277f5e)
|
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 88 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 29 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 58 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 53 of file qgslabelingenginerulewidget.cpp.