digiKam
geoifacecommon.h File Reference

Go to the source code of this file.

Classes

class  Digikam::GeoIfaceCluster
 
class  Digikam::GeoIfaceGlobalObject
 Global object for geolocation interface to hold items common to all geolocation interface Widget instances. More...
 
class  Digikam::GeoIfaceInternalWidgetInfo
 Class to hold information about map widgets stored in the GeoIfaceGlobalObject. More...
 
class  Digikam::GeoIfaceSharedData
 

Namespaces

 Digikam
 

Macros

#define GEOIFACE_ASSERT(cond)   ((!(cond)) ? Digikam::GeoIface_assert(#cond,__FILE__,__LINE__) : qt_noop())
 

Functions

void Digikam::GeoIface_assert (const char *const condition, const char *const filename, const int lineNumber)
 
GeoCoordinates::PairList Digikam::GeoIfaceHelperNormalizeBounds (const GeoCoordinates::Pair &boundsPair)
 Split bounds crossing the dateline into parts which do not cross the dateline. More...
 
bool Digikam::GeoIfaceHelperParseBoundsString (const QString &boundsString, QPair< GeoCoordinates, GeoCoordinates > *const boundsCoordinates)
 Parses a '((lat1, lon1), (lat2, lon2))' bounds string as returned by the JavaScript parts. More...
 
bool Digikam::GeoIfaceHelperParseLatLonString (const QString &latLonString, GeoCoordinates *const coordinates)
 Parse a 'lat,lon' string a returned by the JavaScript parts. More...
 
bool Digikam::GeoIfaceHelperParseXYStringToPoint (const QString &xyString, QPoint *const point)
 Parse a '(X.xxx,Y.yyy)' string as returned by the JavaScript parts. More...
 
int Digikam::QPointSquareDistance (const QPoint &a, const QPoint &b)
 Helper function, returns the square of the distance between two points. More...
 

Variables

const int Digikam::GeoIfaceMinMarkerGroupingRadius = 1
 
const int Digikam::GeoIfaceMinThumbnailGroupingRadius = 15
 
const int Digikam::GeoIfaceMinThumbnailSize = GeoIfaceMinThumbnailGroupingRadius * 2
 

Macro Definition Documentation

◆ GEOIFACE_ASSERT

#define GEOIFACE_ASSERT (   cond)    ((!(cond)) ? Digikam::GeoIface_assert(#cond,__FILE__,__LINE__) : qt_noop())