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

#include <PointWidget.h>

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

Classes

class  GNSSCallback
 

Signals

void edited2 ()
 
void editingFinished ()
 
void surveySettingsRequested ()
 

Public Member Functions

 PointWidget (QWidget *parent=nullptr)
 
void setDimensionCount (uint01 dim_count)
 
void setUnitToApplicationSpatialUnit ()
 
void setUnitToApplicationOrientationUnit ()
 
void setUnitToApplicationAngleUnit ()
 
void setUnitToApplicationDistanceUnit ()
 
void setEditable (bool editable)
 
void setMinPoint (const Vertex< 3, fltp08 > &point)
 
void setMaxPoint (const Vertex< 3, fltp08 > &point)
 
void setStep (fltp08 step)
 
void setUseLabelAbreviation (bool use_label_abv)
 
void setFontMultiplier (fltp04 size_mult)
 
void setPoint (Vertex< 2, fltp08 > point)
 
void setPoint (Vertex< 3, fltp08 > point)
 
void setPoint (Vertex< 4, fltp08 > point)
 
void setDefaultPoint (const Vertex< 3, fltp08 > &point)
 
void setUnit (const ConstPointer< Unit > &unit)
 
const ConstPointer< Unit > & unit () const
 
void setTransform (const Matrix< fltp08 > &mat)
 
void setLabel (uint01 dimension, const TranslatedString &label)
 
void setSurveySettings (QWidget *survey_settings)
 
void setDecimalCount (uint04 count)
 
Vertex< 3, fltp08calculatePoint () const
 
Vertex< 3, fltp08getPoint () const
 
Vertex< 3, fltp08placeholderPoint () const
 
void setNumberOfLines (uint04 line_count)
 
bool isDefault () const
 
void setPreTransform (PreTransform *transform)
 
QPointer< QWidget > surveySettings () const
 

Protected Slots

void onUpdatedSlot ()
 
void onFinishedSlot ()
 

Protected Member Functions

void refreshLayout ()
 
void _setUnit (const ConstPointer< Unit > &unit)
 

Protected Attributes

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

Constructor & Destructor Documentation

◆ PointWidget()

PointWidget ( QWidget * parent = nullptr)

Member Function Documentation

◆ _setUnit()

void _setUnit ( const ConstPointer< Unit > & unit)
protected

◆ calculatePoint()

Vertex< 3, fltp08 > calculatePoint ( ) const

◆ edited2

void edited2 ( )
signal

◆ editingFinished

void editingFinished ( )
signal

◆ getPoint()

Vertex< 3, fltp08 > getPoint ( ) const

◆ isDefault()

bool isDefault ( ) const

◆ onFinishedSlot

void onFinishedSlot ( )
protectedslot

◆ onUpdatedSlot

void onUpdatedSlot ( )
protectedslot

◆ placeholderPoint()

Vertex< 3, fltp08 > placeholderPoint ( ) const

◆ refreshLayout()

void refreshLayout ( )
protected

◆ setDecimalCount()

void setDecimalCount ( uint04 count)

◆ setDefaultPoint()

void setDefaultPoint ( const Vertex< 3, fltp08 > & point)

◆ setDimensionCount()

void setDimensionCount ( uint01 dim_count)

◆ setEditable()

void setEditable ( bool editable)

◆ setFontMultiplier()

void setFontMultiplier ( fltp04 size_mult)

◆ setLabel()

void setLabel ( uint01 dimension,
const TranslatedString & label )

◆ setMaxPoint()

void setMaxPoint ( const Vertex< 3, fltp08 > & point)

◆ setMinPoint()

void setMinPoint ( const Vertex< 3, fltp08 > & point)

◆ setNumberOfLines()

void setNumberOfLines ( uint04 line_count)

◆ setPoint() [1/3]

void setPoint ( Vertex< 2, fltp08 > point)

◆ setPoint() [2/3]

void setPoint ( Vertex< 3, fltp08 > point)

◆ setPoint() [3/3]

void setPoint ( Vertex< 4, fltp08 > point)

◆ setPreTransform()

void setPreTransform ( PreTransform * transform)

◆ setStep()

void setStep ( fltp08 step)

◆ setSurveySettings()

void setSurveySettings ( QWidget * survey_settings)

◆ setTransform()

void setTransform ( const Matrix< fltp08 > & mat)

◆ setUnit()

void setUnit ( const ConstPointer< Unit > & unit)

◆ setUnitToApplicationAngleUnit()

void setUnitToApplicationAngleUnit ( )

◆ setUnitToApplicationDistanceUnit()

void setUnitToApplicationDistanceUnit ( )

◆ setUnitToApplicationOrientationUnit()

void setUnitToApplicationOrientationUnit ( )

◆ setUnitToApplicationSpatialUnit()

void setUnitToApplicationSpatialUnit ( )

◆ setUseLabelAbreviation()

void setUseLabelAbreviation ( bool use_label_abv)

◆ surveySettings()

QPointer< QWidget > surveySettings ( ) const
inline

◆ surveySettingsRequested

void surveySettingsRequested ( )
signal

◆ unit()

const ConstPointer< Unit > & unit ( ) const

Member Data Documentation

◆ m_custom_labels

Vector<4, TranslatedString> m_custom_labels
protected

◆ m_default_point

Vertex<3, fltp08> m_default_point
protected

◆ m_default_units_listener

QTResourceListener* m_default_units_listener
protected

◆ m_dimension_count

uint01 m_dimension_count
protected

◆ m_dimension_widgets

Vector<4, DimensionWidgets*> m_dimension_widgets
protected

◆ m_layout

QGridLayout* m_layout
protected

◆ m_layout_line_count

uint04 m_layout_line_count
protected

◆ m_matrix

Matrix<fltp08> m_matrix
protected

◆ m_point

Vertex<3, fltp08> m_point
protected

◆ m_pre_transform

PreTransform* m_pre_transform = nullptr
protected

◆ m_survey_settings

QPointer<QWidget> m_survey_settings = nullptr
protected

◆ m_unit

ConstPointer<Unit> m_unit
protected

◆ m_use_label_abv

bool m_use_label_abv
protected

◆ m_w_point

fltp08 m_w_point
protected

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