|
dRonin
adbada4
dRonin GCS
|
A class that centralizes most of the mapcontrol configurations. More...
#include "configuration.h"
Public Member Functions | |
| Configuration () | |
| void | SetAccessMode (core::AccessMode::Types const &type) |
| Sets the access mode for the map (cache only, server and cache...) More... | |
| core::AccessMode::Types | AccessMode () |
| Returns the access mode for the map (cache only, server and cache...) More... | |
| void | SetLanguage (core::LanguageType::Types const &type) |
| Sets the language used for geocaching. More... | |
| core::LanguageType::Types | Language () |
| Returns the language used for geocaching. More... | |
| void | SetUseMemoryCache (bool const &value) |
| Used to allow disallow use of memory caching. More... | |
| bool | UseMemoryCache () |
| Return if memory caching is in use. More... | |
| double | TileMemoryUsed () const |
| Returns the currently used memory for tiles. More... | |
| void | SetTileMemorySize (int const &value) |
| Sets the size of the memory for tiles. More... | |
| void | SetCacheLocation (QString const &dir) |
| Sets the location for the SQLite Database used for caching and the geocoding cache files. More... | |
| void | DeleteTilesOlderThan (int const &days) |
| Deletes tiles in DataBase older than "days" days. More... | |
| void | ExportMapDataToDB (QString const &sourceDB, QString const &destDB) const |
| Exports tiles from one DB to another. Only new tiles are added. More... | |
| QString | CacheLocation () |
| Returns the location for the SQLite Database used for caching and the geocoding cache files. More... | |
Public Attributes | |
| QBrush | EmptytileBrush |
| Used to draw empty map tiles. More... | |
| QString | EmptyTileText |
| Used for empty tiles text. More... | |
| QPen | EmptyTileBorders |
| Used to draw empty tile borders. More... | |
| QPen | ScalePen |
| Used to Draw the maps scale. More... | |
| QPen | SelectionPen |
| Used to draw selection box. More... | |
| QFont | MissingDataFont |
| Qt::MouseButton | DragButton |
| Button used for dragging. More... | |
A class that centralizes most of the mapcontrol configurations.
Definition at line 48 of file configuration.h.