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 2023-07-03 at 11:02:08 +0000