QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsLabelingRulePropsDialog Class Reference

Dialog for editing labeling rule. More...

#include <qgsrulebasedlabelingwidget.h>

Inheritance diagram for QgsLabelingRulePropsDialog:

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::Rulerule ()
 Returns the current set rule.

Detailed Description

Dialog for editing labeling rule.

Note
This class is not a part of public API
Since
QGIS 3.24

Definition at line 214 of file qgsrulebasedlabelingwidget.h.

Constructor & Destructor Documentation

◆ QgsLabelingRulePropsDialog()

QgsLabelingRulePropsDialog::QgsLabelingRulePropsDialog ( QgsRuleBasedLabeling::Rule * rule,
QgsVectorLayer * layer,
QWidget * parent = nullptr,
QgsMapCanvas * mapCanvas = nullptr )

Constructor for QgsLabelingRulePropsDialog.

Parameters
ruleassociated rule based labeling rule
layersource vector layer
parentparent widget
mapCanvasmap canvas

Definition at line 255 of file qgsrulebasedlabelingwidget.cpp.

Member Function Documentation

◆ accept

void QgsLabelingRulePropsDialog::accept ( )
overrideslot

Apply any changes from the widget to the set rule.

Definition at line 290 of file qgsrulebasedlabelingwidget.cpp.

◆ buildExpression

void QgsLabelingRulePropsDialog::buildExpression ( )
slot

Open the expression builder widget.

Definition at line 285 of file qgsrulebasedlabelingwidget.cpp.

◆ rule()

QgsRuleBasedLabeling::Rule * QgsLabelingRulePropsDialog::rule ( )
inline

Returns the current set rule.

Returns
The current rule.

Definition at line 232 of file qgsrulebasedlabelingwidget.h.

◆ testFilter

void QgsLabelingRulePropsDialog::testFilter ( )
slot

Test the filter that is set in the widget.

Definition at line 280 of file qgsrulebasedlabelingwidget.cpp.


The documentation for this class was generated from the following files: