QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | List of all members
QgsLabelingRulePropsDialog Class Reference

Dialog for editing labeling rule. More...

#include <qgsrulebasedlabelingwidget.h>

Inheritance diagram for QgsLabelingRulePropsDialog:
Inheritance graph
[legend]

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 217 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 251 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 287 of file qgsrulebasedlabelingwidget.cpp.

◆ buildExpression

void QgsLabelingRulePropsDialog::buildExpression ( )
slot

Open the expression builder widget.

Definition at line 282 of file qgsrulebasedlabelingwidget.cpp.

◆ rule()

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

Returns the current set rule.

Returns
The current rule.

Definition at line 237 of file qgsrulebasedlabelingwidget.h.

◆ testFilter

void QgsLabelingRulePropsDialog::testFilter ( )
slot

Test the filter that is set in the widget.

Definition at line 277 of file qgsrulebasedlabelingwidget.cpp.


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