A point widget that can potentially be measured with a GNSS system or with user mouse input. Logic enhanced over typical PointWidget to allow for more functionality using the Design library functions. More...
#include <DesignPointWidget.h>
Public Member Functions | |
DesignPointWidget (QWidget *parent) | |
bool | isLatLonValid () const |
void | requestGNSSSupport (UUID gps_name) |
void | setupAsLatLon () |
![]() | |
Vertex< 3, fltp08 > | calculatePoint () const |
Vertex< 3, fltp08 > | getPoint () const |
bool | isDefault () const |
Vertex< 3, fltp08 > | placeholderPoint () const |
PointWidget (QWidget *parent=nullptr) | |
void | setDecimalCount (uint04 count) |
void | setDefaultPoint (const Vertex< 3, fltp08 > &point) |
void | setDimensionCount (uint01 dim_count) |
void | setEditable (bool editable) |
void | setFontMultiplier (fltp04 size_mult) |
void | setLabel (uint01 dimension, const TranslatedString &label) |
void | setMaxPoint (const Vertex< 3, fltp08 > &point) |
void | setMinPoint (const Vertex< 3, fltp08 > &point) |
void | setNumberOfLines (uint04 line_count) |
void | setPoint (Vertex< 2, fltp08 > point) |
void | setPoint (Vertex< 3, fltp08 > point) |
void | setPoint (Vertex< 4, fltp08 > point) |
void | setPreTransform (PreTransform *transform) |
void | setStep (fltp08 step) |
void | setSurveySettings (QWidget *survey_settings) |
void | setTransform (const Matrix< fltp08 > &mat) |
void | setUnit (const ConstPointer< Unit > &unit) |
void | setUnitToApplicationAngleUnit () |
void | setUnitToApplicationDistanceUnit () |
void | setUnitToApplicationOrientationUnit () |
void | setUnitToApplicationSpatialUnit () |
void | setUseLabelAbreviation (bool use_label_abv) |
QPointer< QWidget > | surveySettings () const |
const ConstPointer< Unit > & | unit () const |
Static Public Member Functions | |
static GNSSCallback * | GNSSWidgetCallback () |
static void | SetGNSSWidgetCallback (GNSSCallback *callback) |
Protected Attributes | |
bool | m_is_lat_lon = false |
![]() | |
Vector< 4, TranslatedString > | m_custom_labels |
Vertex< 3, fltp08 > | m_default_point |
QTResourceListener * | m_default_units_listener |
uint01 | m_dimension_count |
Vector< 4, DimensionWidgets * > | m_dimension_widgets |
QGridLayout * | m_layout |
uint04 | m_layout_line_count |
Matrix< fltp08 > | m_matrix |
Vertex< 3, fltp08 > | m_point |
PreTransform * | m_pre_transform = nullptr |
QPointer< QWidget > | m_survey_settings = nullptr |
ConstPointer< Unit > | m_unit |
bool | m_use_label_abv |
fltp08 | m_w_point |
Static Protected Attributes | |
static GNSSCallback * | s_gps_widget_callback |
Additional Inherited Members | |
![]() | |
void | edited2 () |
void | editingFinished () |
void | surveySettingsRequested () |
![]() | |
void | onFinishedSlot () |
void | onUpdatedSlot () |
![]() | |
void | setRawUnit (const ConstPointer< Unit > &unit) |
A point widget that can potentially be measured with a GNSS system or with user mouse input. Logic enhanced over typical PointWidget to allow for more functionality using the Design library functions.
DesignPointWidget | ( | QWidget * | parent | ) |
|
static |
bool isLatLonValid | ( | ) | const |
void requestGNSSSupport | ( | UUID | gps_name | ) |
|
static |
void setupAsLatLon | ( | ) |
|
protected |
|
staticprotected |