25 #ifndef DIGIKAM_MAP_WIDGET_VIEW_H
26 #define DIGIKAM_MAP_WIDGET_VIEW_H
46 class AlbumWidgetStack;
58 ApplicationDigikam = 1,
59 ApplicationImportUI = 2
64 explicit MapWidgetView(QItemSelectionModel*
const selectionModel,
66 QWidget*
const parent,
67 const Application application);
70 void setActive(
const bool state);
71 bool getActiveState()
const;
78 void slotModelChanged();
82 void doLoadState()
override;
83 void doSaveState()
override;
88 const QScopedPointer<Private> d;
101 QObject*
const parent,
105 QAbstractItemModel*
model()
const override;
111 const QSize& size)
override;
113 const int sortKey)
override;
130 const QScopedPointer<Private> d;
Definition: camiteminfo.h:48
Definition: dcategorizedsortfilterproxymodel.h:53
Definition: geocoordinates.h:49
Helper class to access data in models.
Definition: geomodelhelper.h:47
Definition: coredbchangesets.h:48
Definition: iteminfo.h:78
Definition: loadingdescription.h:45
Definition: mapwidgetview.h:94
bool itemCoordinates(const QModelIndex &index, GeoCoordinates *const coordinates) const override
Gets the coordinates of a marker found at current model index.
Definition: mapwidgetview.cpp:440
QPersistentModelIndex bestRepresentativeIndexFromList(const QList< QPersistentModelIndex > &list, const int sortKey) override
This function finds the best representative marker from a group of markers. This is needed to display...
Definition: mapwidgetview.cpp:547
QAbstractItemModel * model() const override
Definition: mapwidgetview.cpp:408
void onIndicesClicked(const QList< QPersistentModelIndex > &clickedIndices) override
Definition: mapwidgetview.cpp:736
void signalFilteredImages(const QList< qlonglong > &idList)
QPixmap pixmapFromRepresentativeIndex(const QPersistentModelIndex &index, const QSize &size) override
This function retrieves the thumbnail for an index.
Definition: mapwidgetview.cpp:500
~MapViewModelHelper() override
Destructor.
Definition: mapwidgetview.cpp:401
QItemSelectionModel * selectionModel() const override
Definition: mapwidgetview.cpp:429
MapViewModelHelper(QItemSelectionModel *const selection, DCategorizedSortFilterProxyModel *const filterModel, QObject *const parent, const MapWidgetView::Application application)
Definition: mapwidgetview.cpp:356
Definition: statesavingobject.h:76
Definition: datefolderview.cpp:43