API Documentation
Loading...
Searching...
No Matches
DesignPointWidget Class Reference

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>

Inheritance diagram for DesignPointWidget:
[legend]
Collaboration diagram for DesignPointWidget:
[legend]

Public Member Functions

 DesignPointWidget (QWidget *parent)
 
bool isLatLonValid () const
 
void requestGNSSSupport (UUID gps_name)
 
void setupAsLatLon ()
 
- Public Member Functions inherited from PointWidget
Vertex< 3, fltp08calculatePoint () const
 
Vertex< 3, fltp08getPoint () const
 
bool isDefault () const
 
Vertex< 3, fltp08placeholderPoint () 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 GNSSCallbackGNSSWidgetCallback ()
 
static void SetGNSSWidgetCallback (GNSSCallback *callback)
 

Protected Attributes

bool m_is_lat_lon = false
 
- Protected Attributes inherited from PointWidget
Vector< 4, TranslatedStringm_custom_labels
 
Vertex< 3, fltp08m_default_point
 
QTResourceListenerm_default_units_listener
 
uint01 m_dimension_count
 
Vector< 4, DimensionWidgets * > m_dimension_widgets
 
QGridLayout * m_layout
 
uint04 m_layout_line_count
 
Matrix< fltp08m_matrix
 
Vertex< 3, fltp08m_point
 
PreTransformm_pre_transform = nullptr
 
QPointer< QWidget > m_survey_settings = nullptr
 
ConstPointer< Unitm_unit
 
bool m_use_label_abv
 
fltp08 m_w_point
 

Static Protected Attributes

static GNSSCallbacks_gps_widget_callback
 

Additional Inherited Members

- Signals inherited from PointWidget
void edited2 ()
 
void editingFinished ()
 
void surveySettingsRequested ()
 
- Protected Slots inherited from PointWidget
void onFinishedSlot ()
 
void onUpdatedSlot ()
 
- Protected Member Functions inherited from PointWidget
void setRawUnit (const ConstPointer< Unit > &unit)
 

Detailed Description

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.


Constructor & Destructor Documentation

◆ DesignPointWidget()

DesignPointWidget ( QWidget * parent)

Member Function Documentation

◆ GNSSWidgetCallback()

static GNSSCallback * GNSSWidgetCallback ( )
static

◆ isLatLonValid()

bool isLatLonValid ( ) const

◆ requestGNSSSupport()

void requestGNSSSupport ( UUID gps_name)

◆ SetGNSSWidgetCallback()

static void SetGNSSWidgetCallback ( GNSSCallback * callback)
static

◆ setupAsLatLon()

void setupAsLatLon ( )

Member Data Documentation

◆ m_is_lat_lon

bool m_is_lat_lon = false
protected

◆ s_gps_widget_callback

GNSSCallback* s_gps_widget_callback
staticprotected

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