26 #ifndef DIGIKAM_BACKEND_MARBLE_H
27 #define DIGIKAM_BACKEND_MARBLE_H
51 explicit BackendMarble(
const QExplicitlySharedDataPointer<GeoIfaceSharedData>& sharedData,
52 QObject*
const parent =
nullptr);
55 QString backendName()
const override;
56 QString backendHumanName()
const override;
57 QWidget* mapWidget()
override;
59 void mapWidgetDocked(
const bool state)
override;
64 bool isReady()
const override;
66 void zoomIn()
override;
67 void zoomOut()
override;
69 void saveSettingsToGroup(KConfigGroup*
const group)
override;
70 void readSettingsFromGroup(
const KConfigGroup*
const group)
override;
72 void addActionsToConfigurationMenu(QMenu*
const configurationMenu)
override;
74 void updateMarkers()
override;
75 void updateClusters()
override;
77 QString getMapTheme()
const;
78 void setMapTheme(
const QString& newMapTheme);
80 QString getProjection()
const;
81 void setProjection(
const QString& newProjection);
84 QPoint*
const point)
override;
85 bool geoCoordinates(
const QPoint& point,
87 QSize mapSize()
const override;
89 void setZoom(
const QString& newZoom)
override;
90 QString getZoom()
const override;
92 int getMarkerModelLevel()
override;
99 void updateActionAvailability()
override;
101 void marbleCustomPaint(Marble::GeoPainter* painter);
102 void setShowCompass(
const bool state);
103 void setShowScaleBar(
const bool state);
104 void setShowNavigation(
const bool state);
105 void setShowOverviewMap(
const bool state);
107 void regionSelectionChanged()
override;
108 void mouseModeChanged()
override;
110 void centerOn(
const Marble::GeoDataLatLonBox& box,
111 const bool useSaneZoomLevel)
override;
112 void setActive(
const bool state)
override;
116 void slotClustersNeedUpdating()
override;
117 void slotThumbnailAvailableForIndex(
const QVariant& index,
118 const QPixmap& pixmap)
override;
119 void slotUngroupedModelChanged(
const int index);
120 void slotTrackManagerChanged()
override;
124 bool eventFilter(QObject*
object, QEvent* event)
override;
125 void createActions();
126 bool findSnapPoint(
const QPoint& actualPoint,
127 QPoint*
const snapPoint,
129 QPair<int, QModelIndex>*
const snapTargetIndex);
130 void GeoPainter_drawPixmapAtCoordinates(Marble::GeoPainter*
const painter,
131 const QPixmap& pixmap,
133 const QPoint& basePoint);
134 void drawSearchRectangle(Marble::GeoPainter*
const painter,
136 const bool isOldRectangle);
137 void applyCacheToWidget();
143 void slotMapThemeActionTriggered(QAction* action);
144 void slotProjectionActionTriggered(QAction* action);
145 void slotFloatSettingsTriggered(QAction* action);
146 void slotMarbleZoomChanged();
148 void slotScheduleUpdate();
Definition: backendmarble.h:46
Definition: geocoordinates.h:49
QPair< GeoCoordinates, GeoCoordinates > Pair
Definition: geocoordinates.h:64
Definition: mapbackend.h:52
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43