QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
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 215 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 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 233 of file qgsrulebasedlabelingwidget.h.
|
slot |
Test the filter that is set in the widget.
Definition at line 276 of file qgsrulebasedlabelingwidget.cpp.