QGIS API Documentation
2.8.2-Wien
|
#include <qgsrulebasedrendererv2widget.h>
Public Member Functions | |
QgsRuleBasedRendererV2Model (QgsRuleBasedRendererV2 *r) | |
void | clearFeatureCounts () |
virtual int | columnCount (const QModelIndex &=QModelIndex()) const override |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override |
void | finishedAddingRules () |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const override |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
provide model index for parent's child item | |
void | insertRule (const QModelIndex &parent, int before, QgsRuleBasedRendererV2::Rule *newrule) |
QMimeData * | mimeData (const QModelIndexList &indexes) const override |
QStringList | mimeTypes () const override |
virtual QModelIndex | parent (const QModelIndex &index) const override |
provide parent model index | |
bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) override |
void | removeRule (const QModelIndex &index) |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
QgsRuleBasedRendererV2::Rule * | ruleForIndex (const QModelIndex &index) const |
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
void | setFeatureCounts (QMap< QgsRuleBasedRendererV2::Rule *, QgsRuleBasedRendererV2Count > theCountMap) |
Qt::DropActions | supportedDropActions () const override |
void | updateRule (const QModelIndex &parent, int row) |
void | updateRule (const QModelIndex &index) |
void | willAddRules (const QModelIndex &parent, int count) |
Protected Attributes | |
QMap < QgsRuleBasedRendererV2::Rule *, QgsRuleBasedRendererV2Count > | mFeatureCountMap |
QgsRuleBasedRendererV2 * | mR |
Definition at line 44 of file qgsrulebasedrendererv2widget.h.
QgsRuleBasedRendererV2Model::QgsRuleBasedRendererV2Model | ( | QgsRuleBasedRendererV2 * | r | ) |
Definition at line 700 of file qgsrulebasedrendererv2widget.cpp.
void QgsRuleBasedRendererV2Model::clearFeatureCounts | ( | ) |
Definition at line 1116 of file qgsrulebasedrendererv2widget.cpp.
|
overridevirtual |
Definition at line 850 of file qgsrulebasedrendererv2widget.cpp.
|
overridevirtual |
Definition at line 720 of file qgsrulebasedrendererv2widget.cpp.
|
override |
Definition at line 969 of file qgsrulebasedrendererv2widget.cpp.
void QgsRuleBasedRendererV2Model::finishedAddingRules | ( | ) |
Definition at line 1105 of file qgsrulebasedrendererv2widget.cpp.
|
overridevirtual |
Definition at line 705 of file qgsrulebasedrendererv2widget.cpp.
|
overridevirtual |
Definition at line 818 of file qgsrulebasedrendererv2widget.cpp.
|
overridevirtual |
provide model index for parent's child item
Definition at line 855 of file qgsrulebasedrendererv2widget.cpp.
void QgsRuleBasedRendererV2Model::insertRule | ( | const QModelIndex & | parent, |
int | before, | ||
QgsRuleBasedRendererV2::Rule * | newrule | ||
) |
Definition at line 1056 of file qgsrulebasedrendererv2widget.cpp.
|
override |
Definition at line 934 of file qgsrulebasedrendererv2widget.cpp.
|
override |
Definition at line 927 of file qgsrulebasedrendererv2widget.cpp.
|
overridevirtual |
provide parent model index
Definition at line 866 of file qgsrulebasedrendererv2widget.cpp.
|
override |
Definition at line 1025 of file qgsrulebasedrendererv2widget.cpp.
void QgsRuleBasedRendererV2Model::removeRule | ( | const QModelIndex & | index | ) |
Definition at line 1086 of file qgsrulebasedrendererv2widget.cpp.
|
overridevirtual |
Definition at line 840 of file qgsrulebasedrendererv2widget.cpp.
QgsRuleBasedRendererV2::Rule * QgsRuleBasedRendererV2Model::ruleForIndex | ( | const QModelIndex & | index | ) | const |
Definition at line 1018 of file qgsrulebasedrendererv2widget.cpp.
|
overridevirtual |
Definition at line 883 of file qgsrulebasedrendererv2widget.cpp.
void QgsRuleBasedRendererV2Model::setFeatureCounts | ( | QMap< QgsRuleBasedRendererV2::Rule *, QgsRuleBasedRendererV2Count > | theCountMap | ) |
Definition at line 1110 of file qgsrulebasedrendererv2widget.cpp.
|
override |
Definition at line 922 of file qgsrulebasedrendererv2widget.cpp.
void QgsRuleBasedRendererV2Model::updateRule | ( | const QModelIndex & | parent, |
int | row | ||
) |
Definition at line 1068 of file qgsrulebasedrendererv2widget.cpp.
void QgsRuleBasedRendererV2Model::updateRule | ( | const QModelIndex & | index | ) |
Definition at line 1074 of file qgsrulebasedrendererv2widget.cpp.
void QgsRuleBasedRendererV2Model::willAddRules | ( | const QModelIndex & | parent, |
int | count | ||
) |
Definition at line 1099 of file qgsrulebasedrendererv2widget.cpp.
|
protected |
Definition at line 90 of file qgsrulebasedrendererv2widget.h.
|
protected |
Definition at line 89 of file qgsrulebasedrendererv2widget.h.