27 #ifndef MAPGRAPHICITEM_H 28 #define MAPGRAPHICITEM_H 30 #include <QGraphicsItem> 31 #include "../internals/core.h" 33 #include "../core/diagnostics.h" 55 Q_INTERFACES(QGraphicsItem)
68 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
107 void wheelEvent ( QGraphicsSceneWheelEvent * event );
135 bool showTileGridLines;
136 qreal MapRenderTransform;
137 void DrawMap2D(QPainter *painter);
157 bool isMouseOverMarker;
159 void SetIsMouseOverMarker(
bool const& value){isMouseOverMarker = value;}
170 QRectF boundingBox(QRectF
const& rect, qreal
const& angle);
182 int MinZoom()
const{
return minZoom;}
187 void Offset(
int const& x,
int const& y);
188 bool CanDragMap()
const{
return core->CanDragMap;}
189 void SetCanDragMap(
bool const& value){core->CanDragMap = value;}
191 void SetZoom(
double const& value);
192 void mapRotate ( qreal angle );
199 void Core_OnNeedInvalidation();
200 void ChildPosRefresh();
207 void resize ( QRectF
const &rect=QRectF() );
214 void zoomChanged(
double zoomtotal,
double zoomreal,
double zoomdigi);
217 #endif // MAPGRAPHICITEM_H
A graphicsItem representing a WayPoint.
Definition: rectlatlng.h:37
Definition: accessmode.h:35
Definition: pointlatlng.h:35
Definition: copyrightstrings.h:33
A class that centralizes most of the mapcontrol configurations.
A class that centralizes most of the mapcontrol configurations.
Definition: configuration.h:46
Definition: pureprojection.h:42
The main graphicsItem used on the widget, contains the map and map logic.
Definition: mapgraphicitem.h:51