24 #ifndef DIGIKAM_ITEM_GPS_MODEL_HELPER_H
25 #define DIGIKAM_ITEM_GPS_MODEL_HELPER_H
30 #include <QStandardItemModel>
51 QObject*
const parent =
nullptr);
54 QAbstractItemModel*
model()
const override;
61 const QSize& size)
override;
64 const int sortKey)
override;
Definition: geocoordinates.h:49
Helper class to access data in models.
Definition: geomodelhelper.h:47
Definition: itemgpsmodelhelper.h:45
QPixmap pixmapFromRepresentativeIndex(const QPersistentModelIndex &index, const QSize &size) override
these are used by MarkerModel for grouped models
Definition: itemgpsmodelhelper.cpp:92
bool itemCoordinates(const QModelIndex &index, GeoCoordinates *const coordinates) const override
Definition: itemgpsmodelhelper.cpp:76
QPersistentModelIndex bestRepresentativeIndexFromList(const QList< QPersistentModelIndex > &list, const int sortKey) override
Definition: itemgpsmodelhelper.cpp:121
~ItemGPSModelHelper() override
Definition: itemgpsmodelhelper.cpp:61
ItemGPSModelHelper(QStandardItemModel *const itemModel, QObject *const parent=nullptr)
Definition: itemgpsmodelhelper.cpp:45
QAbstractItemModel * model() const override
these are necessary for grouped and ungrouped models
Definition: itemgpsmodelhelper.cpp:66
QItemSelectionModel * selectionModel() const override
Definition: itemgpsmodelhelper.cpp:71
Definition: loadingdescription.h:45
Definition: datefolderview.cpp:43
const int RoleGPSItemInfo
Definition: itemgpsmodelhelper.h:42