digiKam
Digikam::BackendGoogleMaps Class Reference
+ Inheritance diagram for Digikam::BackendGoogleMaps:

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< GeoIfaceSharedDatas
 

Protected Member Functions

void createActions ()
 
bool eventFilter (QObject *object, QEvent *event) override
 
void setClusterPixmap (const int clusterId, const QPoint &centerPoint, const QPixmap &clusterPixmap)
 
void setMarkerPixmap (const int modelId, const int markerId, const QPoint &centerPoint, const QPixmap &markerPixmap)
 
void setMarkerPixmap (const int modelId, const int markerId, const QPoint &centerPoint, const QSize &iconSize, const QUrl &iconUrl)
 
void storeTrackChanges (const TrackManager::TrackChanges trackChanges)
 

Constructor & Destructor Documentation

◆ BackendGoogleMaps()

Digikam::BackendGoogleMaps::BackendGoogleMaps ( const QExplicitlySharedDataPointer< GeoIfaceSharedData > &  sharedData,
QObject *const  parent = nullptr 
)
explicit

References createActions().

◆ ~BackendGoogleMaps()

Digikam::BackendGoogleMaps::~BackendGoogleMaps ( )
override

Member Function Documentation

◆ addActionsToConfigurationMenu()

void Digikam::BackendGoogleMaps::addActionsToConfigurationMenu ( QMenu *const  configurationMenu)
overridevirtual

◆ backendHumanName()

QString Digikam::BackendGoogleMaps::backendHumanName ( ) const
overridevirtual

Implements Digikam::MapBackend.

◆ backendName()

QString Digikam::BackendGoogleMaps::backendName ( ) const
overridevirtual

Implements Digikam::MapBackend.

Referenced by releaseWidget(), and setActive().

◆ centerOn()

void Digikam::BackendGoogleMaps::centerOn ( const Marble::GeoDataLatLonBox &  latLonBox,
const bool  useSaneZoomLevel 
)
overridevirtual

Implements Digikam::MapBackend.

References getZoom().

◆ createActions()

void Digikam::BackendGoogleMaps::createActions ( )
protected

Referenced by BackendGoogleMaps().

◆ eventFilter()

bool Digikam::BackendGoogleMaps::eventFilter ( QObject *  object,
QEvent *  event 
)
overrideprotected

◆ geoCoordinates()

bool Digikam::BackendGoogleMaps::geoCoordinates ( const QPoint &  point,
GeoCoordinates *const  coordinates 
) const
overridevirtual

Implements Digikam::MapBackend.

◆ getCenter()

GeoCoordinates Digikam::BackendGoogleMaps::getCenter ( ) const
overridevirtual

Implements Digikam::MapBackend.

◆ getMapType()

QString Digikam::BackendGoogleMaps::getMapType ( ) const

◆ getMarkerModelLevel()

int Digikam::BackendGoogleMaps::getMarkerModelLevel ( )
overridevirtual

◆ getNormalizedBounds()

GeoCoordinates::PairList Digikam::BackendGoogleMaps::getNormalizedBounds ( )
overridevirtual

◆ getZoom()

QString Digikam::BackendGoogleMaps::getZoom ( ) const
overridevirtual

Implements Digikam::MapBackend.

Referenced by centerOn().

◆ isReady()

◆ mapSize()

QSize Digikam::BackendGoogleMaps::mapSize ( ) const
overridevirtual

Implements Digikam::MapBackend.

References GEOIFACE_ASSERT.

◆ mapWidget()

◆ mapWidgetDocked()

◆ mouseModeChanged()

void Digikam::BackendGoogleMaps::mouseModeChanged ( )
overridevirtual

◆ readSettingsFromGroup()

void Digikam::BackendGoogleMaps::readSettingsFromGroup ( const KConfigGroup *const  group)
overridevirtual

◆ regionSelectionChanged()

void Digikam::BackendGoogleMaps::regionSelectionChanged ( )
overridevirtual

◆ releaseWidget()

◆ saveSettingsToGroup()

void Digikam::BackendGoogleMaps::saveSettingsToGroup ( KConfigGroup *const  group)
overridevirtual

Implements Digikam::MapBackend.

References GEOIFACE_ASSERT, and getMapType().

◆ screenCoordinates()

bool Digikam::BackendGoogleMaps::screenCoordinates ( const GeoCoordinates coordinates,
QPoint *const  point 
)
overridevirtual

◆ setActive()

◆ setCenter()

void Digikam::BackendGoogleMaps::setCenter ( const GeoCoordinates coordinate)
overridevirtual

Implements Digikam::MapBackend.

References isReady().

Referenced by setActive().

◆ setClusterPixmap()

void Digikam::BackendGoogleMaps::setClusterPixmap ( const int  clusterId,
const QPoint &  centerPoint,
const QPixmap &  clusterPixmap 
)
protected

◆ setMapType()

void Digikam::BackendGoogleMaps::setMapType ( const QString &  newMapType)

◆ setMarkerPixmap() [1/2]

void Digikam::BackendGoogleMaps::setMarkerPixmap ( const int  modelId,
const int  markerId,
const QPoint &  centerPoint,
const QPixmap &  markerPixmap 
)
protected

◆ setMarkerPixmap() [2/2]

void Digikam::BackendGoogleMaps::setMarkerPixmap ( const int  modelId,
const int  markerId,
const QPoint &  centerPoint,
const QSize &  iconSize,
const QUrl &  iconUrl 
)
protected

◆ setShowMapTypeControl()

void Digikam::BackendGoogleMaps::setShowMapTypeControl ( const bool  state)

References isReady().

Referenced by readSettingsFromGroup(), and setActive().

◆ setShowNavigationControl()

void Digikam::BackendGoogleMaps::setShowNavigationControl ( const bool  state)

References isReady().

Referenced by readSettingsFromGroup(), and setActive().

◆ setShowScaleControl()

void Digikam::BackendGoogleMaps::setShowScaleControl ( const bool  state)

References isReady().

Referenced by readSettingsFromGroup(), and setActive().

◆ setZoom()

void Digikam::BackendGoogleMaps::setZoom ( const QString &  newZoom)
overridevirtual

◆ signalBackendReadyChanged

void Digikam::MapBackend::signalBackendReadyChanged ( const QString &  backendName)
signalinherited

◆ signalClustersClicked

void Digikam::MapBackend::signalClustersClicked ( const QIntList clusterIndices)
signalinherited

◆ signalClustersMoved

void Digikam::MapBackend::signalClustersMoved ( const QIntList clusterIndices,
const QPair< int, QModelIndex > &  snapTarget 
)
signalinherited

◆ signalMarkersMoved

void Digikam::MapBackend::signalMarkersMoved ( const QIntList markerIndices)
signalinherited

◆ signalSelectionHasBeenMade

void Digikam::MapBackend::signalSelectionHasBeenMade ( const Digikam::GeoCoordinates::Pair coordinates)
signalinherited

◆ signalZoomChanged

void Digikam::MapBackend::signalZoomChanged ( const QString &  newZoom)
signalinherited

◆ slotClustersNeedUpdating

void Digikam::BackendGoogleMaps::slotClustersNeedUpdating ( )
overrideslot

◆ slotThumbnailAvailableForIndex

void Digikam::BackendGoogleMaps::slotThumbnailAvailableForIndex ( const QVariant &  index,
const QPixmap &  pixmap 
)
overrideslot

◆ slotUngroupedModelChanged

◆ storeTrackChanges()

void Digikam::BackendGoogleMaps::storeTrackChanges ( const TrackManager::TrackChanges  trackChanges)
protected

◆ updateActionAvailability()

void Digikam::BackendGoogleMaps::updateActionAvailability ( )
overridevirtual

◆ updateClusters()

◆ updateMarkers()

void Digikam::BackendGoogleMaps::updateMarkers ( )
overridevirtual

◆ zoomIn()

void Digikam::BackendGoogleMaps::zoomIn ( )
overridevirtual

Implements Digikam::MapBackend.

◆ zoomOut()

void Digikam::BackendGoogleMaps::zoomOut ( )
overridevirtual

Implements Digikam::MapBackend.

Member Data Documentation

◆ s


The documentation for this class was generated from the following files: