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

#include <qgssmartgroupeditordialog.h>

Inheritance diagram for QgsSmartGroupCondition:
Inheritance graph
[legend]
Collaboration diagram for QgsSmartGroupCondition:
Collaboration graph
[legend]

Public Slots

void destruct ()
 

Signals

void removed (int)
 

Public Member Functions

 QgsSmartGroupCondition (int id, QWidget *parent=NULL)
 
QString constraint ()
 returns the constraint key More...
 
QString parameter ()
 returns the parameter More...
 
void setConstraint (QString constraint)
 sets the given constraint More...
 
void setParameter (QString param)
 sets the given param More...
 
void hideRemoveButton (bool hide)
 sets the remove button hidden state to 'hide' More...
 

Protected Attributes

int mConditionId
 

Detailed Description

Definition at line 21 of file qgssmartgroupeditordialog.h.

Constructor & Destructor Documentation

QgsSmartGroupCondition::QgsSmartGroupCondition ( int  id,
QWidget *  parent = NULL 
)

Definition at line 27 of file qgssmartgroupeditordialog.cpp.

References destruct(), QgsApplication::iconPath(), mConditionId, and tr.

Member Function Documentation

QString QgsSmartGroupCondition::constraint ( )

returns the constraint key

Definition at line 50 of file qgssmartgroupeditordialog.cpp.

Referenced by QgsSmartGroupEditorDialog::conditionMap().

void QgsSmartGroupCondition::destruct ( )
slot

Definition at line 45 of file qgssmartgroupeditordialog.cpp.

References mConditionId, and removed().

Referenced by QgsSmartGroupCondition().

void QgsSmartGroupCondition::hideRemoveButton ( bool  hide)

sets the remove button hidden state to 'hide'

Definition at line 70 of file qgssmartgroupeditordialog.cpp.

Referenced by QgsSmartGroupEditorDialog::addCondition(), and QgsSmartGroupEditorDialog::removeCondition().

QString QgsSmartGroupCondition::parameter ( )

returns the parameter

Definition at line 55 of file qgssmartgroupeditordialog.cpp.

Referenced by QgsSmartGroupEditorDialog::conditionMap().

void QgsSmartGroupCondition::removed ( int  )
signal

Referenced by destruct().

void QgsSmartGroupCondition::setConstraint ( QString  constraint)

sets the given constraint

Definition at line 60 of file qgssmartgroupeditordialog.cpp.

Referenced by QgsSmartGroupEditorDialog::setConditionMap().

void QgsSmartGroupCondition::setParameter ( QString  param)

sets the given param

Definition at line 65 of file qgssmartgroupeditordialog.cpp.

Referenced by QgsSmartGroupEditorDialog::setConditionMap().

Member Data Documentation

int QgsSmartGroupCondition::mConditionId
protected

Definition at line 50 of file qgssmartgroupeditordialog.h.

Referenced by destruct(), and QgsSmartGroupCondition().


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