OSMAreaModel
#include <osmareamodel.h>
Inherits from QAbstractListModel
Public Types
|
Name |
enum |
Roles { AreaGroupRole = Qt::UserRole, TypeRole} |
Public Functions
|
Name |
|
OSMAreaModel(const OSMController * controller =nullptr, QObject * parent =nullptr) |
|
~OSMAreaModel() override |
int |
rowCount(const QModelIndex & index ={}) const override |
QVariant |
data(const QModelIndex & index, int role =Qt::DisplayRole) const override |
Protected Functions
|
Name |
QHash< int, QByteArray > |
roleNames() const override |
Public Types Documentation
enum Roles
Enumerator |
Value |
Description |
AreaGroupRole |
Qt::UserRole |
|
TypeRole |
|
|
Public Functions Documentation
function OSMAreaModel
| explicit OSMAreaModel(
const OSMController * controller =nullptr,
QObject * parent =nullptr
)
|
function ~OSMAreaModel
function rowCount
| int rowCount(
const QModelIndex & index ={}
) const override
|
function data
| QVariant data(
const QModelIndex & index,
int role =Qt::DisplayRole
) const override
|
Protected Functions Documentation
function roleNames
| QHash< int, QByteArray > roleNames() const override
|
Updated on 2022-10-18 at 11:12:51 +0200