QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 More...
 
void on_buttonBox_accepted ()
 
void removeCondition (int)
 slot to remove the condition with id int More...
 

Public Member Functions

 QgsSmartGroupEditorDialog (QgsStyleV2 *style, QWidget *parent=NULL)
 
 ~QgsSmartGroupEditorDialog ()
 
QgsSmartConditionMap conditionMap ()
 returns the condition map More...
 
QString conditionOperator ()
 returns the AND/OR condition More...
 
void setConditionMap (QgsSmartConditionMap)
 sets up the GUI for the given conditionmap More...
 
void setOperator (QString)
 sets the operator AND/OR More...
 
void setSmartgroupName (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
 
QgsStyleV2mStyle
 

Detailed Description

Definition at line 67 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 ( )
slot

function to create a new ConditionBox and update UI

Definition at line 104 of file qgssmartgroupeditordialog.cpp.

QgsSmartConditionMap QgsSmartGroupEditorDialog::conditionMap ( )

returns the condition map

Note
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 ( )
slot

Definition at line 200 of file qgssmartgroupeditordialog.cpp.

void QgsSmartGroupEditorDialog::removeCondition ( int  id)
slot

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

Note
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
protected

Definition at line 110 of file qgssmartgroupeditordialog.h.

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

Definition at line 112 of file qgssmartgroupeditordialog.h.

QGridLayout* QgsSmartGroupEditorDialog::mLayout
protected

Definition at line 108 of file qgssmartgroupeditordialog.h.

QgsStyleV2* QgsSmartGroupEditorDialog::mStyle
protected

Definition at line 106 of file qgssmartgroupeditordialog.h.


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