QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
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 404 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 430 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 425 of file qgslabelingengineruleswidget.cpp.