dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
mapcontrol::WayPointItem Class Reference

A QGraphicsItem representing a WayPoint. More...

#include "waypointitem.h"

Inheritance diagram for mapcontrol::WayPointItem:
mapcontrol::MapPointItem

Public Slots

void WPDeleted (int const &number, WayPointItem *waypoint)
 Called when a WayPoint is deleted. More...
 
void WPRenumbered (int const &oldnumber, int const &newnumber, WayPointItem *waypoint)
 Called when a WayPoint is renumbered. More...
 
void WPInserted (int const &number, WayPointItem *waypoint)
 Called when a WayPoint is inserted. More...
 
void onHomePositionChanged (internals::PointLatLng, float altitude)
 
void RefreshPos ()
 
void setOpacitySlot (qreal opacity)
 

Signals

void WPNumberChanged (int const &oldnumber, int const &newnumber, WayPointItem *waypoint)
 fires when this WayPoint number changes (not fired if due to a auto-renumbering) More...
 
void WPDropped (WayPointItem *waypoint)
 Fired when the description, altitude or coordinates change. More...
 
void WPValuesChanged (WayPointItem *waypoint)
 
void waypointdoubleclick (WayPointItem *waypoint)
 
void manualCoordChange (WayPointItem *)
 
- Signals inherited from mapcontrol::MapPointItem
void absolutePositionChanged (internals::PointLatLng coord, float altitude)
 
void relativePositionChanged (QPointF point, MapPointItem *mappoint)
 
void aboutToBeDeleted (MapPointItem *)
 

Protected Member Functions

void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
 
void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event)
 
- Protected Member Functions inherited from mapcontrol::MapPointItem
double DistanceToPoint_2D (const internals::PointLatLng &coord)
 MapPointItem::DistanceToPoint_2D Calculates distance from this point to second point. More...
 
double DistanceToPoint_3D (const internals::PointLatLng &coord, const int &altitude)
 MapPointItem::DistanceToPoint_3D Calculates distance from this point to second point. More...
 

Additional Inherited Members

- Protected Attributes inherited from mapcontrol::MapPointItem
MapGraphicItemmap
 
internals::PointLatLng coord
 
float altitude
 
distBearingAltitude relativeCoord
 
QString description
 

Detailed Description

A QGraphicsItem representing a WayPoint.

Definition at line 41 of file waypointitem.h.


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