Public Member Functions |
| CustomLayerOrderModel (QgsLayerTreeMapCanvasBridge *bridge, QObject *parent=0) |
QVariant | data (const QModelIndex &index, int role) const override |
bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override |
Qt::ItemFlags | flags (const QModelIndex &index) const override |
QMimeData * | mimeData (const QModelIndexList &indexes) const override |
QStringList | mimeTypes () const override |
QStringList | order () const |
void | refreshModel (const QStringList &order) |
bool | removeRows (int row, int count, const QModelIndex &parent) override |
int | rowCount (const QModelIndex &) const override |
bool | setData (const QModelIndex &index, const QVariant &value, int role) override |
Qt::DropActions | supportedDropActions () const override |
void | updateLayerVisibility (const QString &layerId) |
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
QVariant CustomLayerOrderModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
inlineoverride |
bool CustomLayerOrderModel::dropMimeData |
( |
const QMimeData * |
data, |
|
|
Qt::DropAction |
action, |
|
|
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent |
|
) |
| |
|
inlineoverride |
Qt::ItemFlags CustomLayerOrderModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
inlineoverride |
QMimeData* CustomLayerOrderModel::mimeData |
( |
const QModelIndexList & |
indexes | ) |
const |
|
inlineoverride |
QStringList CustomLayerOrderModel::mimeTypes |
( |
| ) |
const |
|
inlineoverride |
QStringList CustomLayerOrderModel::order |
( |
| ) |
const |
|
inline |
void CustomLayerOrderModel::refreshModel |
( |
const QStringList & |
order | ) |
|
|
inline |
bool CustomLayerOrderModel::removeRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent |
|
) |
| |
|
inlineoverride |
int CustomLayerOrderModel::rowCount |
( |
const QModelIndex & |
| ) |
const |
|
inlineoverride |
bool CustomLayerOrderModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
|
inlineoverride |
Qt::DropActions CustomLayerOrderModel::supportedDropActions |
( |
| ) |
const |
|
inlineoverride |
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: