Public Member Functions |
| | CustomLayerOrderModel (QgsLayerTreeMapCanvasBridge *bridge, QObject *parent=0) |
| int | rowCount (const QModelIndex &) const |
| QVariant | data (const QModelIndex &index, int role) const |
| bool | setData (const QModelIndex &index, const QVariant &value, int role) |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| 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) |
| void | refreshModel (const QStringList &order) |
| QStringList | order () const |
| void | updateLayerVisibility (const QString &layerId) |
Constructor & Destructor Documentation
Member Function Documentation
| QVariant CustomLayerOrderModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
inline |
| bool CustomLayerOrderModel::dropMimeData |
( |
const QMimeData * |
data, |
|
|
Qt::DropAction |
action, |
|
|
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent |
|
) |
| |
|
inline |
| Qt::ItemFlags CustomLayerOrderModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
inline |
| QMimeData* CustomLayerOrderModel::mimeData |
( |
const QModelIndexList & |
indexes | ) |
const |
|
inline |
| QStringList CustomLayerOrderModel::mimeTypes |
( |
| ) |
const |
|
inline |
| QStringList CustomLayerOrderModel::order |
( |
| ) |
const |
|
inline |
| void CustomLayerOrderModel::refreshModel |
( |
const QStringList & |
order | ) |
|
|
inline |
| bool CustomLayerOrderModel::removeRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent |
|
) |
| |
|
inline |
| int CustomLayerOrderModel::rowCount |
( |
const QModelIndex & |
| ) |
const |
|
inline |
| bool CustomLayerOrderModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
|
inline |
| Qt::DropActions CustomLayerOrderModel::supportedDropActions |
( |
| ) |
const |
|
inline |
| void CustomLayerOrderModel::updateLayerVisibility |
( |
const QString & |
layerId | ) |
|
|
inline |
Member Data Documentation
| QStringList CustomLayerOrderModel::mOrder |
|
protected |
The documentation for this class was generated from the following file: