QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Dialog for editing labeling rule. More...
#include <qgsrulebasedlabelingwidget.h>
Public Slots | |
void | accept () override |
Apply any changes from the widget to the set rule. | |
void | buildExpression () |
Open the expression builder widget. | |
void | testFilter () |
Test the filter that is set in the widget. | |
Public Member Functions | |
QgsLabelingRulePropsDialog (QgsRuleBasedLabeling::Rule *rule, QgsVectorLayer *layer, QWidget *parent=nullptr, QgsMapCanvas *mapCanvas=nullptr) | |
Constructor for QgsLabelingRulePropsDialog. | |
QgsRuleBasedLabeling::Rule * | rule () |
Returns the current set rule. | |
Dialog for editing labeling rule.
Definition at line 217 of file qgsrulebasedlabelingwidget.h.
QgsLabelingRulePropsDialog::QgsLabelingRulePropsDialog | ( | QgsRuleBasedLabeling::Rule * | rule, |
QgsVectorLayer * | layer, | ||
QWidget * | parent = nullptr , |
||
QgsMapCanvas * | mapCanvas = nullptr |
||
) |
Constructor for QgsLabelingRulePropsDialog.
rule | associated rule based labeling rule |
layer | source vector layer |
parent | parent widget |
mapCanvas | map canvas |
Definition at line 251 of file qgsrulebasedlabelingwidget.cpp.
|
overrideslot |
Apply any changes from the widget to the set rule.
Definition at line 287 of file qgsrulebasedlabelingwidget.cpp.
|
slot |
Open the expression builder widget.
Definition at line 282 of file qgsrulebasedlabelingwidget.cpp.
|
inline |
Returns the current set rule.
Definition at line 237 of file qgsrulebasedlabelingwidget.h.
|
slot |
Test the filter that is set in the widget.
Definition at line 277 of file qgsrulebasedlabelingwidget.cpp.