Tree model for the rules:
More...
#include <qgsrulebasedrendererwidget.h>
|
| | QgsRuleBasedRendererModel (QgsRuleBasedRenderer *renderer, QObject *parent) |
| | Constructor for QgsRuleBasedRendererModel, for the specified renderer. More...
|
| |
| void | clearFeatureCounts () |
| |
| int | columnCount (const QModelIndex &=QModelIndex()) const override |
| |
| 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 () |
| |
| Qt::ItemFlags | flags (const QModelIndex &index) const override |
| |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
| |
| QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
| |
| void | insertRule (const QModelIndex &parent, int before, QgsRuleBasedRenderer::Rule *newrule) |
| |
| QMimeData * | mimeData (const QModelIndexList &indexes) const override |
| |
| QStringList | mimeTypes () const override |
| |
| QModelIndex | parent (const QModelIndex &index) const override |
| |
| bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) override |
| |
| void | removeRule (const QModelIndex &index) |
| |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| |
| QgsRuleBasedRenderer::Rule * | ruleForIndex (const QModelIndex &index) const |
| |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
| |
| void | setFeatureCounts (const QHash< QgsRuleBasedRenderer::Rule *, QgsRuleBasedRendererCount > &countMap) |
| |
| Qt::DropActions | supportedDropActions () const override |
| |
| void | updateRule (const QModelIndex &parent, int row) |
| |
| void | updateRule (const QModelIndex &index) |
| |
| void | willAddRules (const QModelIndex &parent, int count) |
| |
Tree model for the rules:
(invalid) == root node +— top level rule +— top level rule
Definition at line 47 of file qgsrulebasedrendererwidget.h.
| QgsRuleBasedRendererModel::QgsRuleBasedRendererModel |
( |
QgsRuleBasedRenderer * |
renderer, |
|
|
QObject * |
parent |
|
) |
| |
| void QgsRuleBasedRendererModel::clearFeatureCounts |
( |
| ) |
|
| int QgsRuleBasedRendererModel::columnCount |
( |
const QModelIndex & |
= QModelIndex() | ) |
const |
|
override |
| QVariant QgsRuleBasedRendererModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
| bool QgsRuleBasedRendererModel::dropMimeData |
( |
const QMimeData * |
data, |
|
|
Qt::DropAction |
action, |
|
|
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent |
|
) |
| |
|
override |
| void QgsRuleBasedRendererModel::finishedAddingRules |
( |
| ) |
|
| Qt::ItemFlags QgsRuleBasedRendererModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
| QVariant QgsRuleBasedRendererModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
| QModelIndex QgsRuleBasedRendererModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
override |
| QMimeData * QgsRuleBasedRendererModel::mimeData |
( |
const QModelIndexList & |
indexes | ) |
const |
|
override |
| QStringList QgsRuleBasedRendererModel::mimeTypes |
( |
| ) |
const |
|
override |
| QModelIndex QgsRuleBasedRendererModel::parent |
( |
const QModelIndex & |
index | ) |
const |
|
override |
| bool QgsRuleBasedRendererModel::removeRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| |
|
override |
| void QgsRuleBasedRendererModel::removeRule |
( |
const QModelIndex & |
index | ) |
|
| int QgsRuleBasedRendererModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
| bool QgsRuleBasedRendererModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
|
override |
| Qt::DropActions QgsRuleBasedRendererModel::supportedDropActions |
( |
| ) |
const |
|
override |
| void QgsRuleBasedRendererModel::updateRule |
( |
const QModelIndex & |
parent, |
|
|
int |
row |
|
) |
| |
| void QgsRuleBasedRendererModel::updateRule |
( |
const QModelIndex & |
index | ) |
|
| void QgsRuleBasedRendererModel::willAddRules |
( |
const QModelIndex & |
parent, |
|
|
int |
count |
|
) |
| |
The documentation for this class was generated from the following files: