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

Allows the user to enter in a minimum and maximum value in N dimensions (up to 3). More...

#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)
 
Bounds< 3, fltp08calculateBounds () const
 
Bounds< 3, fltp08getBounds () const
 
bool isDefault () const
 
Bounds< 3, fltp08placeholderBounds () const
 
void setBounds (const Bounds< 3, fltp08 > &bounds)
 
void setDecimalCount (uint04 count)
 
void setDefaultBounds (const Bounds< 3, fltp08 > &bounds)
 
void setDimensionCount (uint01 dim_count)
 
void setEditable (bool editable)
 
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 setStep (fltp08 step)
 
void setSurveySettings (QWidget *survey_settings)
 
void setTransform (const Matrix< fltp08 > &mat)
 
void setUnit (const ConstPointer< Unit > &unit)
 
void setUnitToApplicationAngleUnit ()
 
void setUnitToApplicationOrientationUnit ()
 
void setUnitToApplicationSpatialUnit ()
 
void setUseLabelAbreviation (bool use_label_abv)
 
const ConstPointer< Unit > & unit () const
 

Protected Slots

void onFinishedSlot ()
 
void onUpdatedSlot ()
 

Protected Attributes

QGridLayout * m_layout
 
PointWidgetm_max
 
PointWidgetm_min
 

Detailed Description

Allows the user to enter in a minimum and maximum value in N dimensions (up to 3).


Constructor & Destructor Documentation

◆ BoundsWidget()

BoundsWidget ( QWidget * parent = nullptr)

Member Function Documentation

◆ 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

◆ 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 file: