27 #ifndef DIGIKAM_GPS_MARKER_TILER_H
28 #define DIGIKAM_GPS_MARKER_TILER_H
34 #include <QItemSelectionModel>
70 QItemSelectionModel*
const selectionModel);
83 bool indicesEqual(
const QVariant& a,
const QVariant& b)
const override;
89 void setActive(
const bool state)
override;
106 void slotMapImagesJobResult();
110 void slotSelectionChanged(
const QItemSelection& selected,
const QItemSelection& deselected);
115 GeoGroupState getImageState(
const qlonglong imageId);
116 void removeMarkerFromTileAndChildren(
const qlonglong imageId,
118 void addMarkerToTileAndChildren(
const qlonglong imageId,
Definition: abstractmarkertiler.h:61
Definition: abstractmarkertiler.h:73
Definition: abstractmarkertiler.h:45
Marker model for storing data needed to display markers on the map. The data is retrieved from Digika...
Definition: gpsmarkertiler.h:61
void onIndicesClicked(const ClickInfo &clickInfo) override
these can be implemented if you want to react to actions in geolocation interface
Definition: gpsmarkertiler.cpp:798
GeoGroupState getTileGroupState(const TileIndex &tileIndex) override
Definition: gpsmarkertiler.cpp:488
void slotNewModelData(const QList< ItemInfo > &infoList)
Receives notifications from the album model about new items.
Definition: gpsmarkertiler.cpp:762
void regenerateTiles() override
Definition: gpsmarkertiler.cpp:151
AbstractMarkerTiler::Tile * getTile(const TileIndex &tileIndex, const bool stopIfEmpty) override
Returns a pointer to a tile.
Definition: gpsmarkertiler.cpp:276
void removeCurrentRegionSelection()
Definition: gpsmarkertiler.cpp:789
void setActive(const bool state) override
Sets the map active/inactive.
Definition: gpsmarkertiler.cpp:662
QVariant bestRepresentativeIndexFromList(const QList< QVariant > &indices, const int sortKey) override
This function finds the best representative marker from a group of markers. This is needed to display...
Definition: gpsmarkertiler.cpp:404
GPSMarkerTiler(QObject *const parent, ItemFilterModel *const imageFilterModel, QItemSelectionModel *const selectionModel)
Constructor.
Definition: gpsmarkertiler.cpp:117
int getTileSelectedCount(const TileIndex &tileIndex) override
Definition: gpsmarkertiler.cpp:346
QVariant getTileRepresentativeMarker(const TileIndex &tileIndex, const int sortKey) override
This function finds the best representative marker from a tile of markers.
Definition: gpsmarkertiler.cpp:359
GeoGroupState getGlobalGroupState() override
Definition: gpsmarkertiler.cpp:869
void prepareTiles(const GeoCoordinates &upperLeft, const GeoCoordinates &lowerRight, int level) override
Requests all images inside a given rectangle from the database.
Definition: gpsmarkertiler.cpp:166
void setRegionSelection(const GeoCoordinates::Pair &sel)
Definition: gpsmarkertiler.cpp:773
void setPositiveFilterIsActive(const bool state)
Definition: gpsmarkertiler.cpp:943
~GPSMarkerTiler() override
Destructor.
Definition: gpsmarkertiler.cpp:146
bool indicesEqual(const QVariant &a, const QVariant &b) const override
This function compares two marker indices.
Definition: gpsmarkertiler.cpp:472
Tile * tileNew() override
Definition: gpsmarkertiler.cpp:667
int getTileMarkerCount(const TileIndex &tileIndex) override
Definition: gpsmarkertiler.cpp:334
void signalModelFilteredImages(const QList< qlonglong > &imagesId)
QPixmap pixmapFromRepresentativeIndex(const QVariant &index, const QSize &size) override
This function retrieves the thumbnail for an index.
Definition: gpsmarkertiler.cpp:448
Definition: geocoordinates.h:49
QPair< GeoCoordinates, GeoCoordinates > Pair
Definition: geocoordinates.h:64
Definition: coredbchangesets.h:48
Definition: itemfiltermodel.h:125
Definition: loadingdescription.h:45
Definition: tileindex.h:45
Definition: datefolderview.cpp:43