QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsLabelingEngineRuleDialog Class Reference

A simple dialog for customizing a labeling engine rule. More...

#include <qgslabelingenginerulewidget.h>

Inheritance diagram for QgsLabelingEngineRuleDialog:
Inheritance graph
[legend]

Public Member Functions

 QgsLabelingEngineRuleDialog (QgsLabelingEngineRuleWidget *widget, QWidget *parent=nullptr, Qt::WindowFlags flags=QgsGuiUtils::ModalDialogFlags)
 Constructor for QgsLabelingEngineRuleDialog.
 
QgsAbstractLabelingEngineRulerule ()
 Returns the rule defined by the current settings in the dialog.
 
void setRule (const QgsAbstractLabelingEngineRule *rule)
 Sets the rule to show in the dialog.
 

Detailed Description

A simple dialog for customizing a labeling engine rule.

Note
Not available in Python bindings
See also
QgsLabelingEngineRuleWidget()
Since
QGIS 3.40

Definition at line 90 of file qgslabelingenginerulewidget.h.

Constructor & Destructor Documentation

◆ QgsLabelingEngineRuleDialog()

QgsLabelingEngineRuleDialog::QgsLabelingEngineRuleDialog ( QgsLabelingEngineRuleWidget widget,
QWidget *  parent = nullptr,
Qt::WindowFlags  flags = QgsGuiUtils::ModalDialogFlags 
)

Constructor for QgsLabelingEngineRuleDialog.

Parameters
widgetrule widget to show in dialog
parentparent widget
flagswindow flags for dialog

Definition at line 28 of file qgslabelingenginerulewidget.cpp.

Member Function Documentation

◆ rule()

QgsAbstractLabelingEngineRule * QgsLabelingEngineRuleDialog::rule ( )

Returns the rule defined by the current settings in the dialog.

Ownership of the returned object is transferred to the caller

See also
setRule()

Definition at line 54 of file qgslabelingenginerulewidget.cpp.

◆ setRule()

void QgsLabelingEngineRuleDialog::setRule ( const QgsAbstractLabelingEngineRule rule)

Sets the rule to show in the dialog.

Ownership is not transferred.

See also
rule()

Definition at line 49 of file qgslabelingenginerulewidget.cpp.


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