QGIS API Documentation  2.99.0-Master (c558d51)
Public Slots | Public Member Functions | Protected Attributes | List of all members
QgsSmartGroupEditorDialog Class Reference

#include <qgssmartgroupeditordialog.h>

Inheritance diagram for QgsSmartGroupEditorDialog:
Inheritance graph

Public Slots

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

Public Member Functions

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

Protected Attributes

int mCondCount
QMap< int, QgsSmartGroupCondition * > mConditionMap
QGridLayout * mLayout

Detailed Description

Definition at line 68 of file qgssmartgroupeditordialog.h.

Constructor & Destructor Documentation

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

Definition at line 77 of file qgssmartgroupeditordialog.cpp.

QgsSmartGroupEditorDialog::~QgsSmartGroupEditorDialog ( )

Definition at line 94 of file qgssmartgroupeditordialog.cpp.

Member Function Documentation

void QgsSmartGroupEditorDialog::addCondition ( )

function to create a new ConditionBox and update UI

Definition at line 103 of file qgssmartgroupeditordialog.cpp.

QgsSmartConditionMap QgsSmartGroupEditorDialog::conditionMap ( )

returns the condition map

not available in python bindings

Definition at line 140 of file qgssmartgroupeditordialog.cpp.

QString QgsSmartGroupEditorDialog::conditionOperator ( )

returns the AND/OR condition

Definition at line 152 of file qgssmartgroupeditordialog.cpp.

void QgsSmartGroupEditorDialog::on_buttonBox_accepted ( )

Definition at line 199 of file qgssmartgroupeditordialog.cpp.

void QgsSmartGroupEditorDialog::removeCondition ( int  id)

slot to remove the condition with id int

Definition at line 125 of file qgssmartgroupeditordialog.cpp.

void QgsSmartGroupEditorDialog::setConditionMap ( const QgsSmartConditionMap map)

sets up the GUI for the given conditionmap

not available in python bindings

Definition at line 157 of file qgssmartgroupeditordialog.cpp.

void QgsSmartGroupEditorDialog::setOperator ( const QString &  op)

sets the operator AND/OR

Definition at line 189 of file qgssmartgroupeditordialog.cpp.

void QgsSmartGroupEditorDialog::setSmartgroupName ( const QString &  name)

sets the smart group Name

Definition at line 194 of file qgssmartgroupeditordialog.cpp.

QString QgsSmartGroupEditorDialog::smartgroupName ( )

returns the value from mNameLineEdit

Definition at line 98 of file qgssmartgroupeditordialog.cpp.

Member Data Documentation

int QgsSmartGroupEditorDialog::mCondCount

Definition at line 111 of file qgssmartgroupeditordialog.h.

QMap<int, QgsSmartGroupCondition*> QgsSmartGroupEditorDialog::mConditionMap

Definition at line 113 of file qgssmartgroupeditordialog.h.

QGridLayout* QgsSmartGroupEditorDialog::mLayout

Definition at line 109 of file qgssmartgroupeditordialog.h.

QgsStyle* QgsSmartGroupEditorDialog::mStyle

Definition at line 107 of file qgssmartgroupeditordialog.h.

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