QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
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 27 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 53 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 48 of file qgslabelingenginerulewidget.cpp.