#include <libosmscout-client-qt/include/osmscoutclientqt/StyleFlagsModel.h>
|
| | StyleFlagsModel () |
| | ~StyleFlagsModel () override |
| Q_INVOKABLE int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| Q_INVOKABLE QVariant | data (const QModelIndex &index, int role) const override |
| QHash< int, QByteArray > | roleNames () const override |
| Q_INVOKABLE Qt::ItemFlags | flags (const QModelIndex &index) const override |
| Q_INVOKABLE void | setFlag (const QString &key, bool value) |
◆ Roles
| Enumerator |
|---|
| KeyRole | |
| ValueRole | |
| InProgressRole | |
◆ StyleFlagsModel()
| osmscout::StyleFlagsModel::StyleFlagsModel |
( |
| ) |
|
◆ ~StyleFlagsModel()
| osmscout::StyleFlagsModel::~StyleFlagsModel |
( |
| ) |
|
|
override |
◆ data()
| Q_INVOKABLE QVariant osmscout::StyleFlagsModel::data |
( |
const QModelIndex & | index, |
|
|
int | role ) const |
|
override |
◆ flags()
| Q_INVOKABLE Qt::ItemFlags osmscout::StyleFlagsModel::flags |
( |
const QModelIndex & | index | ) |
const |
|
override |
◆ roleNames()
| QHash< int, QByteArray > osmscout::StyleFlagsModel::roleNames |
( |
| ) |
const |
|
override |
◆ rowCount()
| Q_INVOKABLE int osmscout::StyleFlagsModel::rowCount |
( |
const QModelIndex & | parent = QModelIndex() | ) |
const |
|
inlineoverride |
◆ setFlag()
| Q_INVOKABLE void osmscout::StyleFlagsModel::setFlag |
( |
const QString & | key, |
|
|
bool | value ) |
◆ setFlagRequest
| void osmscout::StyleFlagsModel::setFlagRequest |
( |
QString | key, |
|
|
bool | value ) |
|
signal |
◆ styleFlagsRequested
| void osmscout::StyleFlagsModel::styleFlagsRequested |
( |
| ) |
|
|
signal |
The documentation for this class was generated from the following file: