#include <mapshapefilelistadapter.h>
|
| MapShapefileListAdapter (qmapcontrol::QMapControl *control) |
|
void | clearPaths () |
|
void | addPath (const QString &path) |
|
void | refresh () |
|
int | rowCount (const QModelIndex &parent) const override |
|
QVariant | data (const QModelIndex &index, int role) const override |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role) override |
|
◆ MapShapefileListAdapter()
MapShapefileListAdapter::MapShapefileListAdapter |
( |
qmapcontrol::QMapControl * |
control | ) |
|
|
explicit |
◆ addPath()
void MapShapefileListAdapter::addPath |
( |
const QString & |
path | ) |
|
◆ clearPaths()
void MapShapefileListAdapter::clearPaths |
( |
| ) |
|
◆ data()
QVariant MapShapefileListAdapter::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ flags()
Qt::ItemFlags MapShapefileListAdapter::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ refresh()
void MapShapefileListAdapter::refresh |
( |
| ) |
|
@TODO Optimize this. We can cache paths that aren't changed.
◆ rowCount()
int MapShapefileListAdapter::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
|
override |
◆ setData()
bool MapShapefileListAdapter::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
|
override |
The documentation for this class was generated from the following files: