QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Protected Attributes | List of all members
QgsSmartGroupEditorDialog Class Reference

#include <qgssmartgroupeditordialog.h>

Public Slots

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

Public Member Functions

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

Protected Attributes

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

Detailed Description

Definition at line 62 of file qgssmartgroupeditordialog.h.

Constructor & Destructor Documentation

QgsSmartGroupEditorDialog::QgsSmartGroupEditorDialog ( QgsStyleV2 style,
QWidget *  parent = NULL 

Definition at line 79 of file qgssmartgroupeditordialog.cpp.

QgsSmartGroupEditorDialog::~QgsSmartGroupEditorDialog ( )

Definition at line 95 of file qgssmartgroupeditordialog.cpp.

Member Function Documentation

void QgsSmartGroupEditorDialog::addCondition ( )

function to create a new ConditionBox and update UI

Definition at line 104 of file qgssmartgroupeditordialog.cpp.

QgsSmartConditionMap QgsSmartGroupEditorDialog::conditionMap ( )

returns the condition map

not available in python bindings

Definition at line 141 of file qgssmartgroupeditordialog.cpp.

QString QgsSmartGroupEditorDialog::conditionOperator ( )

returns the AND/OR condition

Definition at line 153 of file qgssmartgroupeditordialog.cpp.

void QgsSmartGroupEditorDialog::on_buttonBox_accepted ( )

Definition at line 200 of file qgssmartgroupeditordialog.cpp.

void QgsSmartGroupEditorDialog::removeCondition ( int  id)

slot to remove the condition with id int

Definition at line 126 of file qgssmartgroupeditordialog.cpp.

void QgsSmartGroupEditorDialog::setConditionMap ( QgsSmartConditionMap  map)

sets up the GUI for the given conditionmap

not available in python bindings

Definition at line 158 of file qgssmartgroupeditordialog.cpp.

void QgsSmartGroupEditorDialog::setOperator ( QString  op)

sets the operator AND/OR

Definition at line 190 of file qgssmartgroupeditordialog.cpp.

void QgsSmartGroupEditorDialog::setSmartgroupName ( QString  name)

sets the smart group Name

Definition at line 195 of file qgssmartgroupeditordialog.cpp.

QString QgsSmartGroupEditorDialog::smartgroupName ( )

returns the value from mNameLineEdit

Definition at line 99 of file qgssmartgroupeditordialog.cpp.

Member Data Documentation

int QgsSmartGroupEditorDialog::mCondCount

Definition at line 105 of file qgssmartgroupeditordialog.h.

QMap<int, QgsSmartGroupCondition*> QgsSmartGroupEditorDialog::mConditionMap

Definition at line 107 of file qgssmartgroupeditordialog.h.

QGridLayout* QgsSmartGroupEditorDialog::mLayout

Definition at line 103 of file qgssmartgroupeditordialog.h.

QgsStyleV2* QgsSmartGroupEditorDialog::mStyle

Definition at line 101 of file qgssmartgroupeditordialog.h.

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