QGIS API Documentation 3.41.0-Master (57ec4277f5e)
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | Protected Attributes | List of all members
QgsSmartGroupEditorDialog Class Reference

#include <qgssmartgroupeditordialog.h>

Inheritance diagram for QgsSmartGroupEditorDialog:
Inheritance graph
[legend]

Public Slots

void addCondition ()
 function to create a new ConditionBox and update UI
 
void removeCondition (int)
 slot to remove the condition with id int
 

Public Member Functions

 QgsSmartGroupEditorDialog (QgsStyle *style, QWidget *parent=nullptr)
 
QgsSmartConditionMap conditionMap ()
 returns the condition map
 
QString conditionOperator ()
 returns the AND/OR condition
 
void setConditionMap (const QgsSmartConditionMap &)
 sets up the GUI for the given conditionmap
 
void setOperator (const QString &)
 sets the operator AND/OR
 
void setSmartgroupName (const QString &)
 sets the smart group Name
 
QString smartgroupName ()
 returns the value from mNameLineEdit
 

Protected Attributes

int mCondCount
 
QMap< int, QgsSmartGroupCondition * > mConditionMap
 
QGridLayout * mLayout = nullptr
 
QgsStylemStyle = nullptr
 

Detailed Description

Definition at line 74 of file qgssmartgroupeditordialog.h.

Constructor & Destructor Documentation

◆ QgsSmartGroupEditorDialog()

QgsSmartGroupEditorDialog::QgsSmartGroupEditorDialog ( QgsStyle style,
QWidget *  parent = nullptr 
)

Definition at line 80 of file qgssmartgroupeditordialog.cpp.

Member Function Documentation

◆ addCondition

void QgsSmartGroupEditorDialog::addCondition ( )
slot

function to create a new ConditionBox and update UI

Definition at line 105 of file qgssmartgroupeditordialog.cpp.

◆ conditionMap()

QgsSmartConditionMap QgsSmartGroupEditorDialog::conditionMap ( )

returns the condition map

Note
not available in Python bindings

Definition at line 144 of file qgssmartgroupeditordialog.cpp.

◆ conditionOperator()

QString QgsSmartGroupEditorDialog::conditionOperator ( )

returns the AND/OR condition

Definition at line 157 of file qgssmartgroupeditordialog.cpp.

◆ removeCondition

void QgsSmartGroupEditorDialog::removeCondition ( int  id)
slot

slot to remove the condition with id int

Definition at line 128 of file qgssmartgroupeditordialog.cpp.

◆ setConditionMap()

void QgsSmartGroupEditorDialog::setConditionMap ( const QgsSmartConditionMap map)

sets up the GUI for the given conditionmap

Note
not available in Python bindings

Definition at line 162 of file qgssmartgroupeditordialog.cpp.

◆ setOperator()

void QgsSmartGroupEditorDialog::setOperator ( const QString &  op)

sets the operator AND/OR

Definition at line 193 of file qgssmartgroupeditordialog.cpp.

◆ setSmartgroupName()

void QgsSmartGroupEditorDialog::setSmartgroupName ( const QString &  name)

sets the smart group Name

Definition at line 198 of file qgssmartgroupeditordialog.cpp.

◆ smartgroupName()

QString QgsSmartGroupEditorDialog::smartgroupName ( )

returns the value from mNameLineEdit

Definition at line 100 of file qgssmartgroupeditordialog.cpp.

Member Data Documentation

◆ mCondCount

int QgsSmartGroupEditorDialog::mCondCount
protected

Definition at line 118 of file qgssmartgroupeditordialog.h.

◆ mConditionMap

QMap<int, QgsSmartGroupCondition *> QgsSmartGroupEditorDialog::mConditionMap
protected

Definition at line 120 of file qgssmartgroupeditordialog.h.

◆ mLayout

QGridLayout* QgsSmartGroupEditorDialog::mLayout = nullptr
protected

Definition at line 116 of file qgssmartgroupeditordialog.h.

◆ mStyle

QgsStyle* QgsSmartGroupEditorDialog::mStyle = nullptr
protected

Definition at line 114 of file qgssmartgroupeditordialog.h.


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