|
QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
A dialog which allows configuration of a list of labeling engine rules. More...
#include <qgslabelingengineruleswidget.h>

Public Member Functions | |
| QgsLabelingEngineRulesDialog (QWidget *parent=nullptr, Qt::WindowFlags flags=QgsGuiUtils::ModalDialogFlags) | |
| Constructor for QgsLabelingEngineRulesDialog. | |
| QList< QgsAbstractLabelingEngineRule * > | rules () const |
| Returns the rules shown in the dialog. | |
| void | setRules (const QList< QgsAbstractLabelingEngineRule * > &rules) |
| Sets the rules to show in the dialog. | |
A dialog which allows configuration of a list of labeling engine rules.
This dialog allows users to add, remove, and edit the properties of a list of QgsAbstractLabelingEngineRule objects.
Definition at line 172 of file qgslabelingengineruleswidget.h.
| QgsLabelingEngineRulesDialog::QgsLabelingEngineRulesDialog | ( | QWidget * | parent = nullptr, |
| Qt::WindowFlags | flags = QgsGuiUtils::ModalDialogFlags |
||
| ) |
Constructor for QgsLabelingEngineRulesDialog.
| parent | parent widget |
| flags | window flags for dialog |
Definition at line 403 of file qgslabelingengineruleswidget.cpp.
| QList< QgsAbstractLabelingEngineRule * > QgsLabelingEngineRulesDialog::rules | ( | ) | const |
Returns the rules shown in the dialog.
The caller takes ownership of all returned rules.
Definition at line 429 of file qgslabelingengineruleswidget.cpp.
| void QgsLabelingEngineRulesDialog::setRules | ( | const QList< QgsAbstractLabelingEngineRule * > & | rules | ) |
Sets the rules to show in the dialog.
Ownership is not transferred, an internal copy will be made.
Definition at line 424 of file qgslabelingengineruleswidget.cpp.