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

Public Member Functions

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

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: