QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members
QgsRuleBasedRendererV2Model Class Reference

#include <qgsrulebasedrendererv2widget.h>

Inheritance diagram for QgsRuleBasedRendererV2Model:
Inheritance graph

Public Member Functions

 QgsRuleBasedRendererV2Model (QgsRuleBasedRendererV2 *r)
void clearFeatureCounts ()
virtual int columnCount (const QModelIndex &=QModelIndex()) const
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
void finishedAddingRules ()
virtual Qt::ItemFlags flags (const QModelIndex &index) const
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
virtual QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 provide model index for parent's child item More...
void insertRule (const QModelIndex &parent, int before, QgsRuleBasedRendererV2::Rule *newrule)
QMimeData * mimeData (const QModelIndexList &indexes) const
QStringList mimeTypes () const
virtual QModelIndex parent (const QModelIndex &index) const
 provide parent model index More...
bool removeRows (int row, int count, const QModelIndex &parent=QModelIndex())
void removeRule (const QModelIndex &index)
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
QgsRuleBasedRendererV2::RuleruleForIndex (const QModelIndex &index) const
virtual bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
void setFeatureCounts (QMap< QgsRuleBasedRendererV2::Rule *, QgsRuleBasedRendererV2Count > theCountMap)
Qt::DropActions supportedDropActions () const
void updateRule (const QModelIndex &parent, int row)
void updateRule (const QModelIndex &index)
void willAddRules (const QModelIndex &parent, int count)

Protected Attributes

< QgsRuleBasedRendererV2::Rule
*, QgsRuleBasedRendererV2Count

Detailed Description

Definition at line 44 of file qgsrulebasedrendererv2widget.h.

Constructor & Destructor Documentation

QgsRuleBasedRendererV2Model::QgsRuleBasedRendererV2Model ( QgsRuleBasedRendererV2 r)

Definition at line 698 of file qgsrulebasedrendererv2widget.cpp.

Member Function Documentation

void QgsRuleBasedRendererV2Model::clearFeatureCounts ( )

Definition at line 1114 of file qgsrulebasedrendererv2widget.cpp.

int QgsRuleBasedRendererV2Model::columnCount ( const QModelIndex &  = QModelIndex()) const

Definition at line 848 of file qgsrulebasedrendererv2widget.cpp.

QVariant QgsRuleBasedRendererV2Model::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Definition at line 718 of file qgsrulebasedrendererv2widget.cpp.

bool QgsRuleBasedRendererV2Model::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 

Definition at line 967 of file qgsrulebasedrendererv2widget.cpp.

void QgsRuleBasedRendererV2Model::finishedAddingRules ( )

Definition at line 1103 of file qgsrulebasedrendererv2widget.cpp.

Qt::ItemFlags QgsRuleBasedRendererV2Model::flags ( const QModelIndex &  index) const

Definition at line 703 of file qgsrulebasedrendererv2widget.cpp.

QVariant QgsRuleBasedRendererV2Model::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const

Definition at line 816 of file qgsrulebasedrendererv2widget.cpp.

QModelIndex QgsRuleBasedRendererV2Model::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

provide model index for parent's child item

Definition at line 853 of file qgsrulebasedrendererv2widget.cpp.

void QgsRuleBasedRendererV2Model::insertRule ( const QModelIndex &  parent,
int  before,
QgsRuleBasedRendererV2::Rule newrule 

Definition at line 1054 of file qgsrulebasedrendererv2widget.cpp.

QMimeData * QgsRuleBasedRendererV2Model::mimeData ( const QModelIndexList &  indexes) const

Definition at line 932 of file qgsrulebasedrendererv2widget.cpp.

QStringList QgsRuleBasedRendererV2Model::mimeTypes ( ) const

Definition at line 925 of file qgsrulebasedrendererv2widget.cpp.

QModelIndex QgsRuleBasedRendererV2Model::parent ( const QModelIndex &  index) const

provide parent model index

Definition at line 864 of file qgsrulebasedrendererv2widget.cpp.

bool QgsRuleBasedRendererV2Model::removeRows ( int  row,
int  count,
const QModelIndex &  parent = QModelIndex() 

Definition at line 1023 of file qgsrulebasedrendererv2widget.cpp.

void QgsRuleBasedRendererV2Model::removeRule ( const QModelIndex &  index)

Definition at line 1084 of file qgsrulebasedrendererv2widget.cpp.

int QgsRuleBasedRendererV2Model::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 838 of file qgsrulebasedrendererv2widget.cpp.

QgsRuleBasedRendererV2::Rule * QgsRuleBasedRendererV2Model::ruleForIndex ( const QModelIndex &  index) const

Definition at line 1016 of file qgsrulebasedrendererv2widget.cpp.

bool QgsRuleBasedRendererV2Model::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 

Definition at line 881 of file qgsrulebasedrendererv2widget.cpp.

void QgsRuleBasedRendererV2Model::setFeatureCounts ( QMap< QgsRuleBasedRendererV2::Rule *, QgsRuleBasedRendererV2Count theCountMap)
not available in python bindungs

Definition at line 1108 of file qgsrulebasedrendererv2widget.cpp.

Qt::DropActions QgsRuleBasedRendererV2Model::supportedDropActions ( ) const

Definition at line 920 of file qgsrulebasedrendererv2widget.cpp.

void QgsRuleBasedRendererV2Model::updateRule ( const QModelIndex &  parent,
int  row 

Definition at line 1066 of file qgsrulebasedrendererv2widget.cpp.

void QgsRuleBasedRendererV2Model::updateRule ( const QModelIndex &  index)

Definition at line 1072 of file qgsrulebasedrendererv2widget.cpp.

void QgsRuleBasedRendererV2Model::willAddRules ( const QModelIndex &  parent,
int  count 

Definition at line 1097 of file qgsrulebasedrendererv2widget.cpp.

Member Data Documentation

QMap<QgsRuleBasedRendererV2::Rule*, QgsRuleBasedRendererV2Count> QgsRuleBasedRendererV2Model::mFeatureCountMap

Definition at line 90 of file qgsrulebasedrendererv2widget.h.

QgsRuleBasedRendererV2* QgsRuleBasedRendererV2Model::mR

Definition at line 89 of file qgsrulebasedrendererv2widget.h.

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