25 #ifndef ITEM_MARKER_TILER_H
26 #define ITEM_MARKER_TILER_H
30 #include <QItemSelection>
54 TilerFlags tilerFlags()
const override;
55 Tile* tileNew()
override;
57 void regenerateTiles()
override;
58 Tile* getTile(
const TileIndex& tileIndex,
const bool stopIfEmpty)
override;
59 int getTileMarkerCount(
const TileIndex& tileIndex)
override;
60 int getTileSelectedCount(
const TileIndex& tileIndex)
override;
62 QVariant getTileRepresentativeMarker(
const TileIndex& tileIndex,
const int sortKey)
override;
63 QVariant bestRepresentativeIndexFromList(
const QList<QVariant>& indices,
const int sortKey)
override;
64 QPixmap pixmapFromRepresentativeIndex(
const QVariant& index,
const QSize& size)
override;
65 bool indicesEqual(
const QVariant& a,
const QVariant& b)
const override;
66 GeoGroupState getTileGroupState(
const TileIndex& tileIndex)
override;
67 GeoGroupState getGlobalGroupState()
override;
69 void onIndicesClicked(
const ClickInfo& clickInfo)
override;
72 const QPersistentModelIndex& targetSnapIndex)
override;
75 void removeMarkerIndexFromGrid(
const QModelIndex& markerIndex,
const bool ignoreSelection =
false);
76 void addMarkerIndexToGrid(
const QPersistentModelIndex& markerIndex);
78 void setActive(
const bool state)
override;
82 void slotSourceModelRowsInserted(
const QModelIndex& parentIndex,
int start,
int end);
83 void slotSourceModelRowsAboutToBeRemoved(
const QModelIndex& parentIndex,
int start,
int end);
84 void slotSourceModelDataChanged(
const QModelIndex& topLeft,
const QModelIndex& bottomRight);
85 void slotSourceModelReset();
86 void slotSelectionChanged(
const QItemSelection& selected,
const QItemSelection& deselected);
87 void slotThumbnailAvailableForIndex(
const QPersistentModelIndex& index,
const QPixmap& pixmap);
88 void slotSourceModelLayoutChanged();
Definition: abstractmarkertiler.h:61
Definition: abstractmarkertiler.h:73
Definition: abstractmarkertiler.h:45
Definition: geocoordinates.h:49
Helper class to access data in models.
Definition: geomodelhelper.h:47
Definition: itemmarkertiler.h:42
Definition: tileindex.h:45
Definition: datefolderview.cpp:43