|
libosmscout 1.1.1
|
#include <libosmscout-client-qt/include/osmscoutclientqt/MapObjectInfoModel.h>


Public Types | |
| enum | Roles { LabelRole = Qt::UserRole , TypeRole = Qt::UserRole+1 , IdRole = Qt::UserRole+2 , NameRole = Qt::UserRole+3 , ObjectRole = Qt::UserRole+4 , PhoneRole = Qt::UserRole+5 , WebsiteRole = Qt::UserRole+6 , AddressLocationRole = Qt::UserRole+7 , AddressNumberRole = Qt::UserRole+8 , PostalCodeRole = Qt::UserRole+9 , RegionRole = Qt::UserRole+10 , LatRole = Qt::UserRole+11 , LonRole = Qt::UserRole+12 , AltLangName = Qt::UserRole+13 , OpeningHours = Qt::UserRole+14 } |
Public Slots | |
| void | dbInitialized (const osmscout::GeoBox &) |
| void | setPosition (QObject *mapView, const int width, const int height, const int screenX, const int screenY) |
| void | onViewObjectsLoaded (const MapViewStruct &, const QList< LookupModule::ObjectInfo > &objects) |
| void | setLocationEntry (QObject *o) |
| void | onObjectsLoaded (const LocationEntry &entry, const QList< LookupModule::ObjectInfo > &objects) |
Signals | |
| void | readyChange (bool ready) |
| void | objectsOnViewRequested (const MapViewStruct &view, const QRectF &filterRectangle) |
| void | objectsRequested (const LocationEntry &entry, bool reverseLookupAddresses) |
Public Member Functions | |
| MapObjectInfoModel () | |
| ~MapObjectInfoModel () override | |
| Q_INVOKABLE int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| bool | isReady () const |
| Q_INVOKABLE QObject * | createOverlayObject (int row) const |
| 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 |
Properties | |
| bool | ready |
| osmscout::MapObjectInfoModel::MapObjectInfoModel | ( | ) |
|
override |
| Q_INVOKABLE QObject * osmscout::MapObjectInfoModel::createOverlayObject | ( | int | row | ) | const |
|
override |
|
slot |
|
override |
|
inline |
|
signal |
|
signal |
|
slot |
|
slot |
|
signal |
|
override |
|
inlineoverride |
|
slot |
|
slot |
|
read |