QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
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 250 of file qgsrulebasedlabelingwidget.cpp.
|
overrideslot |
Apply any changes from the widget to the set rule.
Definition at line 286 of file qgsrulebasedlabelingwidget.cpp.
|
slot |
Open the expression builder widget.
Definition at line 281 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 276 of file qgsrulebasedlabelingwidget.cpp.