Logo Search packages:      
Sourcecode: qlandkarte version File versions  Download package

CGarminDBRoute Class Reference

#include <CGarminDBRoute.h>

List of all members.


Detailed Description

route database

Basically routes and distance measurement objects are the same. Thus the route database will hold dictionaries for both types.

Definition at line 39 of file CGarminDBRoute.h.


Signals

void sigDistListChanged ()
 emitted on a distance object list change
void sigRouteChanged ()
 emitted if a registered CGarminRoute object is changed
void sigRouteListChanged ()
 emitted on a route object list change

Public Member Functions

 CGarminDBRoute (QTabWidget *parent)
void clear ()
 remove all data
void gainFocus (const QString &toolViewName)
CGarminRoute * getCurrentRoute ()
 get pointer to the current selected route object
const QMap< QString,
CGarminRoute * > & 
getDistanceDict ()
 get access to the distance object dictionary
const QMap< QString,
CGarminRoute * > & 
getRouteDict ()
 get access to the distance object dictionary
void highlightDistance (const QString &key)
 select a distance polyline as active polyline by key
void highlightRoute (const QString &key)
 select a route polyline as active polyline by key
void loadGPX (CGpx &gpx)
void newDistance ()
 add a new CGarminRoute object as distance measurement object
void newRoute ()
 add a new CGarminRoute object
void removeDistances (const QStringList &keys)
 remove distances by their keys
void removeRoutes (const QStringList &keys)
 remove routes by their keys
void saveGPX (CGpx &gpx)
void uploadRoutes ()
 send routes to the device

Protected Attributes

QMap< QString, CGarminRoute * > distances
 dictionaries to hold all distances
QPointer< CGarminRoute > pRoute
 pointer to the current route object
QMap< QString, CGarminRoute * > routes
 dictionaries to hold all distances
QPointer< QTabWidget > tab
 pointer to toolview tab widget
CToolViewDist * toolviewDist
 tool view widget to display database information
CToolViewRoute * toolviewRoute
 tool view widget to display database information

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

Generated by  Doxygen 1.6.0   Back to index