|
libosmscout 1.1.1
|
#include <libosmscout-client-qt/include/osmscoutclientqt/MapRenderer.h>


Public Slots | |
| virtual void | Initialize ()=0 |
| virtual void | InvalidateVisualCache ()=0 |
| virtual void | onStylesheetFilenameChanged () |
| virtual void | onDatabaseLoaded (osmscout::GeoBox boundingBox)=0 |
| virtual void | onMapDPIChange (double dpi) |
| virtual void | onRenderSeaChanged (bool) |
| virtual void | onFontNameChanged (const QString &) |
| virtual void | onFontSizeChanged (double) |
| virtual void | onShowAltLanguageChanged (bool) |
| virtual void | onUnitsChanged (const QString &) |
Signals | |
| void | Redraw () |
| void | TriggerDrawMap () |
| void | mapDpiChangeSignal (double) |
| void | renderSeaSignal (bool) |
| void | fontNameSignal (QString) |
| void | fontSizeSignal (double) |
| void | showAltLanguageSignal (bool) |
| void | unitsSignal (QString) |
| void | stylesheetFilenameChanged () |
| void | databaseLoadFinished (const osmscout::GeoBox &geoBox) |
Public Member Functions | |
| virtual | ~MapRenderer () |
| virtual bool | RenderMap (QPainter &painter, const MapViewStruct &request)=0 |
| void | addOverlayObject (int id, const OverlayObjectRef &obj) |
| void | removeOverlayObject (int id) |
| void | removeAllOverlayObjects () |
| std::map< int, OverlayObjectRef > | getOverlayObjects () const |
Protected Member Functions | |
| MapRenderer (QThread *thread, SettingsRef settings, DBThreadRef dbThread, QString iconDirectory) | |
| osmscout::GeoBox | overlayObjectsBox () const |
| void | getOverlayObjects (std::vector< OverlayObjectRef > &objs, osmscout::GeoBox requestBox) const |
Protected Attributes | |
| QThread * | thread |
| SettingsRef | settings |
| DBThreadRef | dbThread |
| QRecursiveMutex | lock |
| double | mapDpi |
| bool | renderSea |
| QString | fontName |
| double | fontSize |
| QString | iconDirectory |
| bool | showAltLanguage {false} |
| QString | units |
| QMutex | overlayLock |
| std::map< int, OverlayObjectRef > | overlayObjectMap |
|
protected |
|
virtual |
| void osmscout::MapRenderer::addOverlayObject | ( | int | id, |
| const OverlayObjectRef & | obj ) |
|
signal |
|
signal |
|
signal |
| std::map< int, OverlayObjectRef > osmscout::MapRenderer::getOverlayObjects | ( | ) | const |
|
protected |
|
pure virtualslot |
|
pure virtualslot |
|
signal |
|
pure virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
protected |
|
signal |
| void osmscout::MapRenderer::removeAllOverlayObjects | ( | ) |
| void osmscout::MapRenderer::removeOverlayObject | ( | int | id | ) |
|
pure virtual |
Render map defined by request to painter
| painter | |
| request |
Implemented in osmscout::PlaneMapRenderer, and osmscout::TiledMapRenderer.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |