digiKam
|
Public Slots | |
void | slotClustersNeedUpdating () override |
void | slotThumbnailAvailableForIndex (const QVariant &index, const QPixmap &pixmap) override |
void | slotUngroupedModelChanged (const int mindex) |
Signals | |
void | signalBackendReadyChanged (const QString &backendName) |
void | signalClustersClicked (const QIntList &clusterIndices) |
void | signalClustersMoved (const QIntList &clusterIndices, const QPair< int, QModelIndex > &snapTarget) |
void | signalMarkersMoved (const QIntList &markerIndices) |
void | signalSelectionHasBeenMade (const Digikam::GeoCoordinates::Pair &coordinates) |
void | signalZoomChanged (const QString &newZoom) |
Public Member Functions | |
void | addActionsToConfigurationMenu (QMenu *const configurationMenu) override |
BackendGoogleMaps (const QExplicitlySharedDataPointer< GeoIfaceSharedData > &sharedData, QObject *const parent=nullptr) | |
QString | backendHumanName () const override |
QString | backendName () const override |
void | centerOn (const Marble::GeoDataLatLonBox &latLonBox, const bool useSaneZoomLevel) override |
bool | geoCoordinates (const QPoint &point, GeoCoordinates *const coordinates) const override |
GeoCoordinates | getCenter () const override |
QString | getMapType () const |
int | getMarkerModelLevel () override |
GeoCoordinates::PairList | getNormalizedBounds () override |
QString | getZoom () const override |
bool | isReady () const override |
QSize | mapSize () const override |
QWidget * | mapWidget () override |
void | mapWidgetDocked (const bool state) override |
void | mouseModeChanged () override |
void | readSettingsFromGroup (const KConfigGroup *const group) override |
void | regionSelectionChanged () override |
void | releaseWidget (GeoIfaceInternalWidgetInfo *const info) override |
void | saveSettingsToGroup (KConfigGroup *const group) override |
bool | screenCoordinates (const GeoCoordinates &coordinates, QPoint *const point) override |
void | setActive (const bool state) override |
void | setCenter (const GeoCoordinates &coordinate) override |
void | setMapType (const QString &newMapType) |
void | setShowMapTypeControl (const bool state) |
void | setShowNavigationControl (const bool state) |
void | setShowScaleControl (const bool state) |
void | setZoom (const QString &newZoom) override |
void | updateActionAvailability () override |
void | updateClusters () override |
void | updateMarkers () override |
void | zoomIn () override |
void | zoomOut () override |
~BackendGoogleMaps () override | |
Public Attributes | |
const QExplicitlySharedDataPointer< GeoIfaceSharedData > | s |
Protected Member Functions | |
void | createActions () |
bool | eventFilter (QObject *object, QEvent *event) override |
void | setClusterPixmap (const int clusterId, const QPoint ¢erPoint, const QPixmap &clusterPixmap) |
void | setMarkerPixmap (const int modelId, const int markerId, const QPoint ¢erPoint, const QPixmap &markerPixmap) |
void | setMarkerPixmap (const int modelId, const int markerId, const QPoint ¢erPoint, const QSize &iconSize, const QUrl &iconUrl) |
void | storeTrackChanges (const TrackManager::TrackChanges trackChanges) |
|
explicit |
References createActions().
|
override |
|
overridevirtual |
Implements Digikam::MapBackend.
References GEOIFACE_ASSERT, and updateActionAvailability().
|
overridevirtual |
Implements Digikam::MapBackend.
|
overridevirtual |
Implements Digikam::MapBackend.
Referenced by releaseWidget(), and setActive().
|
overridevirtual |
Implements Digikam::MapBackend.
References getZoom().
|
protected |
Referenced by BackendGoogleMaps().
|
overrideprotected |
|
overridevirtual |
Implements Digikam::MapBackend.
|
overridevirtual |
Implements Digikam::MapBackend.
QString Digikam::BackendGoogleMaps::getMapType | ( | ) | const |
Referenced by saveSettingsToGroup(), and updateActionAvailability().
|
overridevirtual |
Implements Digikam::MapBackend.
References GEOIFACE_ASSERT, isReady(), and Digikam::TileIndex::MaxLevel.
|
overridevirtual |
Implements Digikam::MapBackend.
References Digikam::GeoIfaceHelperNormalizeBounds().
|
overridevirtual |
Implements Digikam::MapBackend.
Referenced by centerOn().
|
overridevirtual |
|
overridevirtual |
Implements Digikam::MapBackend.
References GEOIFACE_ASSERT.
|
overridevirtual |
Implements Digikam::MapBackend.
References Digikam::GeoIfaceInternalWidgetInfo::backendData, Digikam::GeoIfaceGlobalObject::getInternalWidgetFromPool(), Digikam::GeoIfaceGlobalObject::instance(), Digikam::GeoIfaceGlobalObject::locateDataFile(), Digikam::MapBackend::s, and Digikam::GeoIfaceInternalWidgetInfo::widget.
|
overridevirtual |
|
overridevirtual |
Implements Digikam::MapBackend.
References Digikam::MapBackend::s.
|
overridevirtual |
Implements Digikam::MapBackend.
References GEOIFACE_ASSERT, setMapType(), setShowMapTypeControl(), setShowNavigationControl(), and setShowScaleControl().
|
overridevirtual |
Implements Digikam::MapBackend.
References Digikam::MapBackend::s.
|
overridevirtual |
|
overridevirtual |
Implements Digikam::MapBackend.
References GEOIFACE_ASSERT, and getMapType().
|
overridevirtual |
|
overridevirtual |
@TODO update tracks more gently
Implements Digikam::MapBackend.
References Digikam::GeoIfaceGlobalObject::addMyInternalWidgetToPool(), Digikam::GeoIfaceInternalWidgetInfo::backendData, backendName(), Digikam::GeoIfaceInternalWidgetInfo::backendName, Digikam::GeoIfaceInternalWidgetInfo::currentOwner, Digikam::GeoIfaceInternalWidgetInfo::deleteFunction, Digikam::GeoIfaceGlobalObject::instance(), Digikam::GeoIfaceInternalWidgetInfo::InternalWidgetStillDocked, Digikam::GeoIfaceInternalWidgetInfo::InternalWidgetUndocked, Digikam::GeoIfaceGlobalObject::removeMyInternalWidgetFromPool(), setCenter(), setMapType(), setShowMapTypeControl(), setShowNavigationControl(), setShowScaleControl(), Digikam::GeoIfaceInternalWidgetInfo::state, and Digikam::GeoIfaceInternalWidgetInfo::widget.
|
overridevirtual |
|
protected |
Referenced by slotThumbnailAvailableForIndex(), and updateClusters().
void Digikam::BackendGoogleMaps::setMapType | ( | const QString & | newMapType | ) |
References isReady(), and updateActionAvailability().
Referenced by readSettingsFromGroup(), and setActive().
|
protected |
Referenced by slotUngroupedModelChanged().
|
protected |
void Digikam::BackendGoogleMaps::setShowMapTypeControl | ( | const bool | state | ) |
References isReady().
Referenced by readSettingsFromGroup(), and setActive().
void Digikam::BackendGoogleMaps::setShowNavigationControl | ( | const bool | state | ) |
References isReady().
Referenced by readSettingsFromGroup(), and setActive().
void Digikam::BackendGoogleMaps::setShowScaleControl | ( | const bool | state | ) |
References isReady().
Referenced by readSettingsFromGroup(), and setActive().
|
overridevirtual |
Implements Digikam::MapBackend.
References GEOIFACE_ASSERT, isReady(), and Digikam::MapBackend::s.
|
signalinherited |
|
signalinherited |
Referenced by Digikam::BackendMarble::eventFilter(), and Digikam::MapWidget::setBackend().
|
signalinherited |
Referenced by Digikam::BackendMarble::eventFilter(), and Digikam::MapWidget::setBackend().
|
signalinherited |
|
signalinherited |
Referenced by Digikam::BackendMarble::eventFilter(), and Digikam::MapWidget::setBackend().
|
signalinherited |
Referenced by Digikam::MapWidget::setBackend(), and Digikam::BackendMarble::slotMarbleZoomChanged().
|
overrideslot |
References Digikam::MapBackend::s.
|
overrideslot |
References Digikam::MapBackend::s, and setClusterPixmap().
|
slot |
References Digikam::GeoModelHelper::FlagMovable, Digikam::GeoModelHelper::FlagSnaps, Digikam::GeoModelHelper::FlagVisible, GEOIFACE_ASSERT, isReady(), Digikam::GeoModelHelper::itemCoordinates(), Digikam::GeoModelHelper::itemFlags(), Digikam::GeoModelHelper::itemIcon(), Digikam::GeoCoordinates::latString(), Digikam::GeoCoordinates::lonString(), Digikam::GeoModelHelper::model(), Digikam::GeoModelHelper::modelFlags(), Digikam::MapBackend::s, and setMarkerPixmap().
Referenced by updateMarkers().
|
protected |
|
overridevirtual |
Implements Digikam::MapBackend.
References getMapType(), isReady(), and Digikam::MapBackend::s.
Referenced by addActionsToConfigurationMenu(), and setMapType().
|
overridevirtual |
Implements Digikam::MapBackend.
References Digikam::GeoIfaceCluster::coordinates, Digikam::AbstractMarkerTiler::FlagMovable, GEOIFACE_ASSERT, isReady(), Digikam::GeoCoordinates::latString(), Digikam::GeoCoordinates::lonString(), Digikam::GeoIfaceCluster::markerCount, Digikam::GeoIfaceCluster::markerSelectedCount, Digikam::MapBackend::s, and setClusterPixmap().
|
overridevirtual |
Implements Digikam::MapBackend.
References Digikam::MapBackend::s, and slotUngroupedModelChanged().
|
overridevirtual |
Implements Digikam::MapBackend.
|
overridevirtual |
Implements Digikam::MapBackend.
|
inherited |
Referenced by Digikam::BackendMarble::eventFilter(), Digikam::BackendMarble::findSnapPoint(), mapWidget(), Digikam::BackendMarble::marbleCustomPaint(), mouseModeChanged(), Digikam::BackendMarble::mouseModeChanged(), regionSelectionChanged(), setZoom(), Digikam::BackendMarble::setZoom(), slotClustersNeedUpdating(), Digikam::BackendMarble::slotMarbleZoomChanged(), slotThumbnailAvailableForIndex(), Digikam::BackendMarble::slotThumbnailAvailableForIndex(), Digikam::BackendMarble::slotTrackManagerChanged(), slotUngroupedModelChanged(), updateActionAvailability(), Digikam::BackendMarble::updateActionAvailability(), updateClusters(), and updateMarkers().