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

A widget for configuring the conditions attached to a style smart group. More...

#include <qgssmartgroupeditordialog.h>

Inheritance diagram for QgsSmartGroupCondition:

Public Slots

void destruct ()

Signals

void removed (int id)
 Emitted when the group with the specified id is removed.

Public Member Functions

 QgsSmartGroupCondition (int id, QWidget *parent=nullptr)
QString constraint ()
 returns the constraint key
void hideRemoveButton (bool hide)
 sets the remove button hidden state to 'hide'
QString parameter ()
 returns the parameter
void setConstraint (const QString &constraint)
 sets the given constraint
void setParameter (const QString &param)
 sets the given param

Protected Attributes

int mConditionId

Detailed Description

A widget for configuring the conditions attached to a style smart group.

Definition at line 29 of file qgssmartgroupeditordialog.h.

Constructor & Destructor Documentation

◆ QgsSmartGroupCondition()

QgsSmartGroupCondition::QgsSmartGroupCondition ( int id,
QWidget * parent = nullptr )

Definition at line 30 of file qgssmartgroupeditordialog.cpp.

Member Function Documentation

◆ constraint()

QString QgsSmartGroupCondition::constraint ( )

returns the constraint key

Definition at line 52 of file qgssmartgroupeditordialog.cpp.

◆ destruct

void QgsSmartGroupCondition::destruct ( )
slot

Definition at line 47 of file qgssmartgroupeditordialog.cpp.

◆ hideRemoveButton()

void QgsSmartGroupCondition::hideRemoveButton ( bool hide)

sets the remove button hidden state to 'hide'

Definition at line 72 of file qgssmartgroupeditordialog.cpp.

◆ parameter()

QString QgsSmartGroupCondition::parameter ( )

returns the parameter

Definition at line 57 of file qgssmartgroupeditordialog.cpp.

◆ removed

void QgsSmartGroupCondition::removed ( int id)
signal

Emitted when the group with the specified id is removed.

◆ setConstraint()

void QgsSmartGroupCondition::setConstraint ( const QString & constraint)

sets the given constraint

Definition at line 62 of file qgssmartgroupeditordialog.cpp.

◆ setParameter()

void QgsSmartGroupCondition::setParameter ( const QString & param)

sets the given param

Definition at line 67 of file qgssmartgroupeditordialog.cpp.

Member Data Documentation

◆ mConditionId

int QgsSmartGroupCondition::mConditionId
protected

Definition at line 62 of file qgssmartgroupeditordialog.h.


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