dRonin
adbada4
dRonin GCS
|
Svg QtQuick image provider. More...
Namespaces | |
Ui | |
Core | |
The Core namespace contains all classes that make up the Core plugin which constitute the basic functionality of the GCS. | |
Classes | |
class | homeEditor |
class | ModelMapProxy |
The ModelMapProxy class maps from the FlightDataModel to the OPMap and provides synchronization, both when the model changes updating the UI and if it is modified on the UI propagating changes to the model. More... | |
class | opmap_statusbar_widget |
class | opmap_zoom_slider_widget |
class | OPMapGadget |
class | OPMapGadgetConfiguration |
class | OPMapGadgetFactory |
class | OPMapGadgetOptionsPage |
struct | t_home |
class | OPMapGadgetWidget |
class | OPMapPlugin |
class | ModelUavoProxy |
class | QmlViewGadget |
class | QmlViewGadgetConfiguration |
class | QmlViewGadgetFactory |
class | QmlViewGadgetOptionsPage |
class | QmlViewGadgetWidget |
class | QmlViewPlugin |
Typedefs | |
typedef struct t_home | t_home |
Enumerations | |
enum | opMapModeType { Normal_MapMode = 0, MagicWaypoint_MapMode = 1 } |
Variables | |
const int | safe_area_radius_list [] = { 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000 } |
const int | uav_trail_time_list [] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 } |
const int | uav_trail_distance_list [] = { 1, 2, 5, 10, 20, 50, 100, 200, 500 } |
const int | max_update_rate_list [] = { 100, 200, 500, 1000, 2000, 5000 } |
internals::PointLatLng | t_home::coord |
double | t_home::altitude |
bool | t_home::locked |
Signals | |
void | OPMapGadgetWidget::defaultLocationAndZoomChanged (double lng, double lat, double zoom) |
void | OPMapGadgetWidget::overlayOpacityChanged (qreal) |
void | ModelUavoProxy::waypointTransactionSucceeded () |
void | ModelUavoProxy::waypointTransactionFailed () |
void | ModelUavoProxy::sendPathPlanToUavProgress (int percent) |
Svg QtQuick image provider.
The QML Viewer Gadget.
The OpenPilot Map plugin.
Tau Labs map plugin.
enum opMapModeType |
Enumerator | |
---|---|
Normal_MapMode | |
MagicWaypoint_MapMode |
Definition at line 85 of file opmapgadgetwidget.h.
|
inline |
Definition at line 66 of file opmapgadgetconfiguration.h.
|
virtual |
Implements Core::IOptionsPage.
Definition at line 164 of file opmapgadgetoptionspage.cpp.
|
virtual |
Called when the user presses apply or OK.
Saves the current values
Implements Core::IOptionsPage.
Definition at line 70 of file qmlviewgadgetoptionspage.cpp.
|
inline |
Definition at line 68 of file opmapgadgetconfiguration.h.
|
virtual |
Clones a configuration.
Implements Core::IUAVGadgetConfiguration.
Definition at line 50 of file qmlviewgadgetconfiguration.cpp.
|
virtual |
Implements Core::IUAVGadgetConfiguration.
Definition at line 100 of file opmapgadgetconfiguration.cpp.
|
protected |
Definition at line 562 of file opmapgadgetwidget.cpp.
|
protected |
Definition at line 352 of file opmapgadgetwidget.cpp.
|
virtual |
Reimplemented from Core::IUAVGadgetFactory.
Definition at line 48 of file qmlviewgadgetfactory.cpp.
|
virtual |
Reimplemented from Core::IUAVGadgetFactory.
Definition at line 49 of file opmapgadgetfactory.cpp.
|
virtual |
Implements Core::IUAVGadgetFactory.
Definition at line 42 of file qmlviewgadgetfactory.cpp.
|
virtual |
Implements Core::IUAVGadgetFactory.
Definition at line 43 of file opmapgadgetfactory.cpp.
|
virtual |
Reimplemented from Core::IUAVGadgetFactory.
Definition at line 53 of file qmlviewgadgetfactory.cpp.
|
virtual |
Reimplemented from Core::IUAVGadgetFactory.
Definition at line 54 of file opmapgadgetfactory.cpp.
|
virtual |
Implements Core::IOptionsPage.
Definition at line 49 of file opmapgadgetoptionspage.cpp.
|
virtual |
Implements Core::IOptionsPage.
Definition at line 45 of file qmlviewgadgetoptionspage.cpp.
void ModelMapProxy::createWayPoint | ( | internals::PointLatLng | coord | ) |
When a waypoint is created graphically, insert into the end of the model.
ModelMapProxy::createWayPoint When a waypoint is created graphically, insert into the end of the model.
coord | The coordinate the waypoint was created |
Definition at line 346 of file modelmapproxy.cpp.
void ModelMapProxy::deleteAll | ( | ) |
When all the waypoints are deleted graphically, update the model.
ModelMapProxy::deleteAll When all the waypoints are deleted graphically, update the model.
Definition at line 359 of file modelmapproxy.cpp.
void ModelMapProxy::deleteWayPoint | ( | int | number | ) |
When a waypoint is deleted graphically, delete from the model.
ModelMapProxy::deleteWayPoint When a waypoint is deleted graphically, delete from the model.
number | The waypoint which was deleted |
Definition at line 336 of file modelmapproxy.cpp.
|
inline |
Definition at line 45 of file qmlviewgadgetconfiguration.h.
|
inline |
Definition at line 51 of file qmlviewgadgetwidget.h.
WayPointItem * ModelMapProxy::findWayPointNumber | ( | int | number | ) |
Get the handle to a waypoint graphical item.
ModelMapProxy::findWayPointNumber Return the graphial icon for the requested waypoint.
number | The waypoint number |
Definition at line 220 of file modelmapproxy.cpp.
|
virtual |
Implements Core::IOptionsPage.
Definition at line 185 of file opmapgadgetoptionspage.cpp.
|
virtual |
Implements Core::IOptionsPage.
Definition at line 75 of file qmlviewgadgetoptionspage.cpp.
|
inline |
Definition at line 60 of file opmapgadgetconfiguration.h.
bool OPMapGadgetWidget::getGPSPosition | ( | double & | latitude, |
double & | longitude, | ||
double & | altitude | ||
) |
|
inline |
Definition at line 75 of file opmapgadgetconfiguration.h.
|
inline |
Definition at line 74 of file opmapgadgetconfiguration.h.
|
inline |
Definition at line 76 of file opmapgadgetconfiguration.h.
void OPMapGadgetWidget::goHome | ( | ) |
Centers the map over the home position
Definition at line 998 of file opmapgadgetwidget.cpp.
|
explicit |
Definition at line 30 of file homeeditor.cpp.
|
inline |
Definition at line 63 of file opmapgadgetconfiguration.h.
|
virtual |
Reimplemented from Core::IUAVGadget.
Definition at line 60 of file opmapgadget.cpp.
|
virtual |
Reimplemented from Core::IUAVGadget.
Definition at line 51 of file qmlviewgadget.cpp.
|
inline |
Definition at line 64 of file opmapgadgetconfiguration.h.
|
inline |
Definition at line 61 of file opmapgadgetconfiguration.h.
|
inline |
Definition at line 70 of file opmapgadgetconfiguration.h.
|
explicit |
Definition at line 31 of file modelmapproxy.cpp.
|
explicit |
Initialize the model uavo proxy.
Definition at line 38 of file modeluavoproxy.cpp.
|
protected |
Definition at line 337 of file opmapgadgetwidget.cpp.
|
protected |
Definition at line 84 of file qmlviewgadgetwidget.cpp.
|
inline |
Definition at line 71 of file opmapgadgetconfiguration.h.
|
explicit |
Definition at line 31 of file opmap_statusbar_widget.cpp.
|
explicit |
Definition at line 32 of file opmap_zoom_slider_widget.cpp.
OPMapGadget::OPMapGadget | ( | QString | classId, |
OPMapGadgetWidget * | widget, | ||
QWidget * | parent = nullptr |
||
) |
Definition at line 30 of file opmapgadget.cpp.
|
explicit |
Definition at line 32 of file opmapgadgetconfiguration.cpp.
OPMapGadgetFactory::OPMapGadgetFactory | ( | QObject * | parent = nullptr | ) |
Definition at line 34 of file opmapgadgetfactory.cpp.
|
explicit |
Definition at line 43 of file opmapgadgetoptionspage.cpp.
OPMapGadgetWidget::OPMapGadgetWidget | ( | QWidget * | parent = nullptr | ) |
Definition at line 91 of file opmapgadgetwidget.cpp.
QmlViewGadget::QmlViewGadget | ( | QString | classId, |
QmlViewGadgetWidget * | widget, | ||
QWidget * | parent = nullptr |
||
) |
Definition at line 32 of file qmlviewgadget.cpp.
|
explicit |
Loads a saved configuration or defaults if non exist.
Definition at line 34 of file qmlviewgadgetconfiguration.cpp.
QmlViewGadgetFactory::QmlViewGadgetFactory | ( | QObject * | parent = nullptr | ) |
Definition at line 33 of file qmlviewgadgetfactory.cpp.
|
explicit |
Definition at line 37 of file qmlviewgadgetoptionspage.cpp.
QmlViewGadgetWidget::QmlViewGadgetWidget | ( | QWindow * | parent = nullptr | ) |
Definition at line 42 of file qmlviewgadgetwidget.cpp.
QImage SvgImageProvider::requestImage | ( | const QString & | id, |
QSize * | size, | ||
const QSize & | requestedSize | ||
) |
Supported id format: fileName[!elementName[?parameters]] where parameters may be: vslice=1:2;hslice=2:4 - use the 3rd horizontal slice of total 4 slices, slice numbering starts from 0 borders=1 - 1 pixel wide transparent border
requestedSize is related to the whole element size, even if slice is requested.
usage:
Image { source: "image://svg/pfd.svg!world" }
Definition at line 90 of file svgimageprovider.cpp.
|
protected |
Definition at line 332 of file opmapgadgetwidget.cpp.
|
virtual |
Saves a configuration.
Reimplemented from Core::IUAVGadgetConfiguration.
Definition at line 61 of file qmlviewgadgetconfiguration.cpp.
|
virtual |
Reimplemented from Core::IUAVGadgetConfiguration.
Definition at line 142 of file opmapgadgetconfiguration.cpp.
|
virtual |
Reimplemented from Core::IUAVGadgetConfiguration.
Definition at line 122 of file opmapgadgetconfiguration.cpp.
QRectF SvgImageProvider::scaledElementBounds | ( | const QString & | svgFile, |
const QString & | element | ||
) |
Returns the bound of element in logical coordinates, scalled to the default size of svg document (so the bounds of whole doc would be (0,0,1,1) ).
Definition at line 228 of file svgimageprovider.cpp.
void OPMapGadgetWidget::setAccessMode | ( | QString | accessMode | ) |
Definition at line 1148 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setCacheLocation | ( | QString | cacheLocation | ) |
Definition at line 1172 of file opmapgadgetwidget.cpp.
|
inline |
Definition at line 42 of file qmlviewgadgetconfiguration.h.
void OPMapGadgetWidget::setGeoCodingLanguage | ( | QString | language | ) |
Definition at line 1134 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setHome | ( | QPointF | pos | ) |
public functions
Sets | the home position on the map widget |
Definition at line 930 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setHome | ( | internals::PointLatLng | pos_lat_lon, |
double | altitude | ||
) |
Sets the home position on the map widget
Definition at line 956 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setHomePosition | ( | QPointF | pos | ) |
Definition at line 1087 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setMapMode | ( | opMapModeType | mode | ) |
Definition at line 1192 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setMapProvider | ( | QString | provider | ) |
Definition at line 1141 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setMaxUpdateRate | ( | int | update_rate | ) |
Definition at line 1039 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setOverlayOpacity | ( | qreal | value | ) |
Definition at line 1079 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setPosition | ( | QPointF | pos | ) |
Definition at line 1111 of file opmapgadgetwidget.cpp.
void QmlViewGadgetWidget::setQmlFile | ( | QString | fn | ) |
Definition at line 62 of file qmlviewgadgetwidget.cpp.
void OPMapGadgetWidget::setShowTileGridLines | ( | bool | showTileGridLines | ) |
Definition at line 1156 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::SetUavPic | ( | QString | UAVPic | ) |
Definition at line 2245 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setUseMemoryCache | ( | bool | useMemoryCache | ) |
Definition at line 1164 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setUserImageHorizontalScale | ( | double | userImageHorizontalScale | ) |
Definition at line 1249 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setUserImageLocation | ( | QString | userImageLocation | ) |
Definition at line 1245 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setUserImageVerticalScale | ( | double | userImageVerticalScale | ) |
Definition at line 1253 of file opmapgadgetwidget.cpp.
void OPMapGadgetWidget::setZoom | ( | int | zoom | ) |
Definition at line 1062 of file opmapgadgetwidget.cpp.
|
inline |
Definition at line 65 of file opmapgadgetconfiguration.h.
|
inline |
Definition at line 69 of file opmapgadgetconfiguration.h.
|
inline |
Definition at line 67 of file opmapgadgetconfiguration.h.
|
inlinevirtual |
Implements Core::IUAVGadget.
Definition at line 47 of file qmlviewgadget.h.
|
inlinevirtual |
Implements Core::IUAVGadget.
Definition at line 49 of file opmapgadget.h.
|
inline |
Definition at line 62 of file opmapgadgetconfiguration.h.
homeEditor::~homeEditor | ( | ) |
Definition at line 47 of file homeeditor.cpp.
opmap_statusbar_widget::~opmap_statusbar_widget | ( | ) |
Definition at line 38 of file opmap_statusbar_widget.cpp.
opmap_zoom_slider_widget::~opmap_zoom_slider_widget | ( | ) |
Definition at line 39 of file opmap_zoom_slider_widget.cpp.
OPMapGadget::~OPMapGadget | ( | ) |
Definition at line 40 of file opmapgadget.cpp.
OPMapGadgetFactory::~OPMapGadgetFactory | ( | ) |
Definition at line 39 of file opmapgadgetfactory.cpp.
OPMapGadgetWidget::~OPMapGadgetWidget | ( | ) |
Definition at line 312 of file opmapgadgetwidget.cpp.
QmlViewGadget::~QmlViewGadget | ( | ) |
Definition at line 40 of file qmlviewgadget.cpp.
QmlViewGadgetFactory::~QmlViewGadgetFactory | ( | ) |
Definition at line 38 of file qmlviewgadgetfactory.cpp.
QmlViewGadgetWidget::~QmlViewGadgetWidget | ( | ) |
Definition at line 58 of file qmlviewgadgetwidget.cpp.
double t_home::altitude |
Definition at line 79 of file opmapgadgetwidget.h.
internals::PointLatLng t_home::coord |
Definition at line 78 of file opmapgadgetwidget.h.
bool t_home::locked |
Definition at line 80 of file opmapgadgetwidget.h.
const int max_update_rate_list[] = { 100, 200, 500, 1000, 2000, 5000 } |
Definition at line 82 of file opmapgadgetwidget.cpp.
const int safe_area_radius_list[] = { 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000 } |
Definition at line 76 of file opmapgadgetwidget.cpp.
const int uav_trail_distance_list[] = { 1, 2, 5, 10, 20, 50, 100, 200, 500 } |
Definition at line 80 of file opmapgadgetwidget.cpp.
const int uav_trail_time_list[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 } |
Definition at line 78 of file opmapgadgetwidget.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
Definition at line 912 of file opmapgadgetwidget.cpp.
|
slot |
Cast from the UAVOs to the internal representation.
ModelUavoProxy::objectsToModel Take the existing UAV objects and update the GCS model accordingly.
Definition at line 217 of file modeluavoproxy.cpp.
|
slot |
Definition at line 881 of file opmapgadgetwidget.cpp.
|
slot |
Definition at line 906 of file opmapgadgetwidget.cpp.
|
inlineslot |
Definition at line 85 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 87 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 102 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 81 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 83 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 79 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 89 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 82 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 84 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 88 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 86 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 94 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 90 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 98 of file opmapgadgetconfiguration.h.
|
inlineslot |
Definition at line 80 of file opmapgadgetconfiguration.h.
Whenever a waypoint transaction is completed.
waypointTransactionCompleted Map from the transaction complete to whether it did or not
Definition at line 200 of file modeluavoproxy.cpp.
|
readwrite |
Definition at line 46 of file opmapgadgetconfiguration.h.
|
readwrite |
Definition at line 48 of file opmapgadgetconfiguration.h.
|
readwrite |
Definition at line 41 of file opmapgadgetconfiguration.h.
|
readwrite |
Definition at line 43 of file opmapgadgetconfiguration.h.
|
readwrite |
Definition at line 44 of file opmapgadgetconfiguration.h.
|
readwrite |
Definition at line 40 of file opmapgadgetconfiguration.h.
|
readwrite |
Definition at line 50 of file opmapgadgetconfiguration.h.
|
readwrite |
Definition at line 51 of file opmapgadgetconfiguration.h.
|
readwrite |
Definition at line 45 of file opmapgadgetconfiguration.h.
|
readwrite |
Definition at line 49 of file opmapgadgetconfiguration.h.
|
readwrite |
Definition at line 47 of file opmapgadgetconfiguration.h.
|
readwrite |
Definition at line 42 of file opmapgadgetconfiguration.h.