#include <MapStyleModel.h>
|
| Q_INVOKABLE QVariant | data (const QModelIndex &index, int role) const override |
| |
| Q_INVOKABLE QString | file (int i) const |
| |
| Q_INVOKABLE Qt::ItemFlags | flags (const QModelIndex &index) const override |
| |
| QString | getStyle () const |
| |
| Q_INVOKABLE int | indexOf (const QString &style) const |
| |
| | MapStyleModel () |
| |
| QHash< int, QByteArray > | roleNames () const override |
| |
| Q_INVOKABLE int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| |
| void | setStyle (const QString &style) |
| |
| | ~MapStyleModel () override |
| |
◆ Roles
| Enumerator |
|---|
| NameRole | |
| FileRole | |
| PathRole | |
◆ MapStyleModel()
| osmscout::MapStyleModel::MapStyleModel |
( |
| ) |
|
◆ ~MapStyleModel()
| osmscout::MapStyleModel::~MapStyleModel |
( |
| ) |
|
|
override |
◆ data()
| QVariant osmscout::MapStyleModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ file()
| Q_INVOKABLE QString osmscout::MapStyleModel::file |
( |
int |
i | ) |
const |
◆ flags()
| Qt::ItemFlags osmscout::MapStyleModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ getStyle()
| QString osmscout::MapStyleModel::getStyle |
( |
| ) |
const |
◆ indexOf()
| Q_INVOKABLE int osmscout::MapStyleModel::indexOf |
( |
const QString & |
style | ) |
const |
◆ loadStyleRequested
| void osmscout::MapStyleModel::loadStyleRequested |
( |
QString |
, |
|
|
std::unordered_map< std::string, bool > |
|
|
) |
| |
|
signal |
◆ roleNames()
| QHash< int, QByteArray > osmscout::MapStyleModel::roleNames |
( |
| ) |
const |
|
override |
◆ rowCount()
| Q_INVOKABLE int osmscout::MapStyleModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
inlineoverride |
◆ setStyle()
| void osmscout::MapStyleModel::setStyle |
( |
const QString & |
style | ) |
|
◆ styleChanged
| void osmscout::MapStyleModel::styleChanged |
( |
| ) |
|
|
signal |
◆ style
| QString osmscout::MapStyleModel::style |
|
readwrite |
The documentation for this class was generated from the following files: