QGIS API Documentation  2.5.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 removeCondition (int)
 slot to remove the condition with id int More...
 
void on_buttonBox_accepted ()
 

Public Member Functions

 QgsSmartGroupEditorDialog (QgsStyleV2 *style, QWidget *parent=NULL)
 
 ~QgsSmartGroupEditorDialog ()
 
QString smartgroupName ()
 returns the value from mNameLineEdit More...
 
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...
 

Protected Attributes

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

Constructor & Destructor Documentation

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

Member Function Documentation

void QgsSmartGroupEditorDialog::addCondition ( )
slot

function to create a new ConditionBox and update UI

QgsSmartConditionMap QgsSmartGroupEditorDialog::conditionMap ( )

returns the condition map

Note
not available in python bindings
QString QgsSmartGroupEditorDialog::conditionOperator ( )

returns the AND/OR condition

void QgsSmartGroupEditorDialog::on_buttonBox_accepted ( )
slot
void QgsSmartGroupEditorDialog::removeCondition ( int  id)
slot

slot to remove the condition with id int

void QgsSmartGroupEditorDialog::setConditionMap ( QgsSmartConditionMap  map)

sets up the GUI for the given conditionmap

Note
not available in python bindings
void QgsSmartGroupEditorDialog::setOperator ( QString  op)

sets the operator AND/OR

void QgsSmartGroupEditorDialog::setSmartgroupName ( QString  name)

sets the smart group Name

QString QgsSmartGroupEditorDialog::smartgroupName ( )

returns the value from mNameLineEdit

Member Data Documentation

int QgsSmartGroupEditorDialog::mCondCount
protected
QMap<int, QgsSmartGroupCondition*> QgsSmartGroupEditorDialog::mConditionMap
protected
QGridLayout* QgsSmartGroupEditorDialog::mLayout
protected
QgsStyleV2* QgsSmartGroupEditorDialog::mStyle
protected

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