|
map2d_widget
|
The main graphicsItem used on the widget, contains the map and map logic. More...
#include "mapgraphicitem.h"
Public Slots | |
| void | resize (QRectF const &rect=QRectF()) |
| To be called when the scene size changes. More... | |
Signals | |
| void | zoomChanged (double zoomtotal, double zoomreal, double zoomdigi) |
| Fired when the current zoom is changed. More... | |
Public Member Functions | |
| MapGraphicItem (internals::Core *core, Configuration *configuration) | |
| Contructer. More... | |
| QRectF | boundingRect () const |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
| QSize | sizeHint () const |
| core::Point | FromLatLngToLocal (internals::PointLatLng const &point) |
| Convertes LatLong coordinates to local item coordinates. More... | |
| internals::PointLatLng | FromLocalToLatLng (int x, int y) |
| Converts from local item coordinates to LatLong point. More... | |
| bool | IsDragging () const |
| Returns true if map is being dragged. More... | |
| void | paintImage (QPainter *painter) |
| void | ConstructLastImage (int const &zoomdiff) |
| internals::PureProjection * | Projection () const |
| double | Zoom () |
| double | ZoomDigi () |
| double | ZoomTotal () |
Public Attributes | |
| QImage | lastimage |
| core::Point | lastimagepoint |
Protected Member Functions | |
| void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) |
| void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
| void | wheelEvent (QGraphicsSceneWheelEvent *event) |
| void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) |
| bool | IsMouseOverMarker () const |
| int | ZoomStep () const |
| Returns current map zoom. More... | |
| void | SetZoomStep (int const &value) |
| Sets map zoom. More... | |
| void | SetShowDragons (bool const &value) |
| Ask Stacey. More... | |
Friends | |
| class | mapcontrol::OPMapWidget |
The main graphicsItem used on the widget, contains the map and map logic.
1.8.6