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

#include <BoundsWidget.h>

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

Signals

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

Public Member Functions

 BoundsWidget (QWidget *parent=nullptr)
 
void setDimensionCount (uint01 dim_count)
 
void setUnitToApplicationSpatialUnit ()
 
void setUnitToApplicationOrientationUnit ()
 
void setUnitToApplicationAngleUnit ()
 
void setEditable (bool editable)
 
void setBounds (const Bounds< 3, fltp08 > &bounds)
 
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 setDefaultBounds (const Bounds< 3, fltp08 > &bounds)
 
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)
 
Bounds< 3, fltp08calculateBounds () const
 
Bounds< 3, fltp08getBounds () const
 
Bounds< 3, fltp08placeholderBounds () const
 
void setNumberOfLines (uint04 line_count)
 
bool isDefault () const
 

Protected Slots

void onUpdatedSlot ()
 
void onFinishedSlot ()
 

Protected Member Functions

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

Protected Attributes

PointWidgetm_min
 
PointWidgetm_max
 
QGridLayout * m_layout
 

Constructor & Destructor Documentation

◆ BoundsWidget()

BoundsWidget ( QWidget * parent = nullptr)

Member Function Documentation

◆ _setUnit()

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

◆ calculateBounds()

Bounds< 3, fltp08 > calculateBounds ( ) const

◆ edited2

void edited2 ( )
signal

◆ editingFinished

void editingFinished ( )
signal

◆ getBounds()

Bounds< 3, fltp08 > getBounds ( ) const

◆ isDefault()

bool isDefault ( ) const

◆ onFinishedSlot

void onFinishedSlot ( )
protectedslot

◆ onUpdatedSlot

void onUpdatedSlot ( )
protectedslot

◆ placeholderBounds()

Bounds< 3, fltp08 > placeholderBounds ( ) const

◆ refreshLayout()

void refreshLayout ( )
protected

◆ setBounds()

void setBounds ( const Bounds< 3, fltp08 > & bounds)

◆ setDecimalCount()

void setDecimalCount ( uint04 count)

◆ setDefaultBounds()

void setDefaultBounds ( const Bounds< 3, fltp08 > & bounds)

◆ setDimensionCount()

void setDimensionCount ( uint01 dim_count)

◆ setEditable()

void setEditable ( bool editable)

◆ 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)

◆ 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 ( )

◆ setUnitToApplicationOrientationUnit()

void setUnitToApplicationOrientationUnit ( )

◆ setUnitToApplicationSpatialUnit()

void setUnitToApplicationSpatialUnit ( )

◆ setUseLabelAbreviation()

void setUseLabelAbreviation ( bool use_label_abv)

◆ surveySettingsRequested

void surveySettingsRequested ( )
signal

◆ unit()

const ConstPointer< Unit > & unit ( ) const

Member Data Documentation

◆ m_layout

QGridLayout* m_layout
protected

◆ m_max

PointWidget* m_max
protected

◆ m_min

PointWidget* m_min
protected

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