#include <qgsrulebasedrendererv2widget.h>
Public Member Functions |
| | QgsRuleBasedRendererV2Model (QgsRuleBasedRendererV2 *r) |
| virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
| virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| virtual int | columnCount (const QModelIndex &=QModelIndex()) const |
| virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| | provide model index for parent's child item
|
| virtual QModelIndex | parent (const QModelIndex &index) const |
| | provide parent model index
|
| virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| Qt::DropActions | supportedDropActions () const |
| QStringList | mimeTypes () const |
| QMimeData * | mimeData (const QModelIndexList &indexes) const |
| bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) |
| bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| QgsRuleBasedRendererV2::Rule * | ruleForIndex (const QModelIndex &index) const |
| void | insertRule (const QModelIndex &parent, int before, QgsRuleBasedRendererV2::Rule *newrule) |
| void | updateRule (const QModelIndex &parent, int row) |
| void | updateRule (const QModelIndex &index) |
| void | removeRule (const QModelIndex &index) |
| void | willAddRules (const QModelIndex &parent, int count) |
| void | finishedAddingRules () |
| void | setFeatureCounts (QMap< QgsRuleBasedRendererV2::Rule *, QgsRuleBasedRendererV2Count > theCountMap) |
| void | clearFeatureCounts () |
Constructor & Destructor Documentation
Member Function Documentation
| void QgsRuleBasedRendererV2Model::clearFeatureCounts |
( |
| ) |
|
| int QgsRuleBasedRendererV2Model::columnCount |
( |
const QModelIndex & |
= QModelIndex() | ) |
const |
|
virtual |
| QVariant QgsRuleBasedRendererV2Model::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
virtual |
| bool QgsRuleBasedRendererV2Model::dropMimeData |
( |
const QMimeData * |
data, |
|
|
Qt::DropAction |
action, |
|
|
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent |
|
) |
| |
| void QgsRuleBasedRendererV2Model::finishedAddingRules |
( |
| ) |
|
| Qt::ItemFlags QgsRuleBasedRendererV2Model::flags |
( |
const QModelIndex & |
index | ) |
const |
|
virtual |
| QVariant QgsRuleBasedRendererV2Model::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
virtual |
| QModelIndex QgsRuleBasedRendererV2Model::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
virtual |
provide model index for parent's child item
| QMimeData * QgsRuleBasedRendererV2Model::mimeData |
( |
const QModelIndexList & |
indexes | ) |
const |
| QStringList QgsRuleBasedRendererV2Model::mimeTypes |
( |
| ) |
const |
| QModelIndex QgsRuleBasedRendererV2Model::parent |
( |
const QModelIndex & |
index | ) |
const |
|
virtual |
provide parent model index
| bool QgsRuleBasedRendererV2Model::removeRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| |
| void QgsRuleBasedRendererV2Model::removeRule |
( |
const QModelIndex & |
index | ) |
|
| int QgsRuleBasedRendererV2Model::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
| bool QgsRuleBasedRendererV2Model::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
|
virtual |
- Note
- not available in python bindungs
| Qt::DropActions QgsRuleBasedRendererV2Model::supportedDropActions |
( |
| ) |
const |
| void QgsRuleBasedRendererV2Model::updateRule |
( |
const QModelIndex & |
parent, |
|
|
int |
row |
|
) |
| |
| void QgsRuleBasedRendererV2Model::updateRule |
( |
const QModelIndex & |
index | ) |
|
| void QgsRuleBasedRendererV2Model::willAddRules |
( |
const QModelIndex & |
parent, |
|
|
int |
count |
|
) |
| |
Member Data Documentation
The documentation for this class was generated from the following files: