QGIS API Documentation 3.37.0-Master (c2d15952569)
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

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.

This class is not a part of public API
QGIS 3.24

Definition at line 215 of file qgsrulebasedlabelingwidget.h.

Constructor & Destructor Documentation

◆ QgsLabelingRulePropsDialog()

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

Constructor for QgsLabelingRulePropsDialog.

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 ( )

Apply any changes from the widget to the set rule.

Definition at line 287 of file qgsrulebasedlabelingwidget.cpp.

◆ buildExpression

void QgsLabelingRulePropsDialog::buildExpression ( )

Open the expression builder widget.

Definition at line 282 of file qgsrulebasedlabelingwidget.cpp.

◆ rule()

QgsRuleBasedLabeling::Rule * QgsLabelingRulePropsDialog::rule ( )

Returns the current set rule.

The current rule.

Definition at line 235 of file qgsrulebasedlabelingwidget.h.

◆ testFilter

void QgsLabelingRulePropsDialog::testFilter ( )

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: