API Documentation
Loading...
Searching...
No Matches
DesignPointWidget.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/CoordinateOptions.h>
4#include <NDEVR/CoordinateProjectionManager.h>
5#include <NDEVR/PointWidget.h>
6namespace NDEVR
7{
8 /**--------------------------------------------------------------------------------------------------
9 \brief A point widget that can potentially be measured with a GNSS system or with user mouse input.
10 Logic enhanced over typical PointWidget to allow for more functionality using the Design library
11 functions.
12 **/
14 {
15 public:
16 DesignPointWidget(QWidget* parent);
17 void requestGNSSSupport(UUID gps_name);
18 static void SetGNSSWidgetCallback(GNSSCallback* callback);
21 bool isLatLonValid() const;
22 protected:
23 class CoordinatePreTransform;
24 protected:
25 bool m_is_lat_lon = false;
27 };
28}
#define DESIGN_WIDGETS_API
Definition DLLInfo.h:56
A point widget that can potentially be measured with a GNSS system or with user mouse input....
Definition DesignPointWidget.h:14
DesignPointWidget(QWidget *parent)
void requestGNSSSupport(UUID gps_name)
bool isLatLonValid() const
static GNSSCallback * s_gps_widget_callback
Definition DesignPointWidget.h:26
static void SetGNSSWidgetCallback(GNSSCallback *callback)
static GNSSCallback * GNSSWidgetCallback()
Definition PointWidget.h:63
Allows the user to input an N-dimensional point (up to 4 dimensions) with an optinal unit....
Definition PointWidget.h:57
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60
Definition ACIColor.h:37