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

#include <OrientationOperationsWidget.h>

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

Classes

class  GNSSCallback
 

Public Slots

void onCopyFromExistingSlot ()
 
void onSpecifiedAngleUpdatedSlot ()
 
void onCalculatedUpdatedSlot ()
 
void updateOrientationFromDialogSlot ()
 
void updateOrientationCalcOptionsSlot ()
 

Signals

void updateMagneticReferenceSignal (const Angle< fltp08 > &angle)
 
- Signals inherited from Editor
void objectUpdatedSignal ()
 
void isBusyStatusChanged ()
 

Public Member Functions

 OrientationOperationsWidget (uint01 dimension, const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
 
 OrientationOperationsWidget (uint01 dimension, DesignObjectLookup *lookup, QWidget *parent=nullptr)
 
virtual ~OrientationOperationsWidget ()
 
void init ()
 
void updateValues () override
 
QSize sizeHint () const override
 
void updateVisibleWidgets ()
 
void setIsGeoReference (bool is_geo_reference)
 
void setDialToModelIcon ()
 
void setIsMagneticReference (bool is_magnetic_reference, DesignObjectLookup *lookup)
 
DesignObjectLookuplookup ()
 
OrientationOperations operations () const
 
void updateDialImages ()
 
void setAngle (const Angle< fltp08 > &angle)
 
bool fullscreenTouch () const final override
 
virtual bool event (QEvent *event) override
 
- Public Member Functions inherited from Editor
 Editor (QWidget *parent=nullptr)
 
 Editor (const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
 
virtual bool allowDocking () const
 
virtual TranslatedString customDialogTitle () const
 
virtual String customDialogIcon () const
 
virtual InterfaceOrientationControllerorientationController () const
 
virtual Buffer< QWidget * > printableWidgets ()
 
virtual Buffer< QWidget * > printableWidgetOptions ()
 
virtual Buffer< QWidget * > bottomOptions ()
 
virtual void setTarget (const DynamicPointer< QTDesignObject > &object)
 
virtual void setHorizontal (bool horizontal)
 
virtual void requestScrollEnabled (bool enabled)
 
const DynamicPointer< QTDesignObject > & target () const
 
virtual void setup (DesignObjectDialog *, const ShowPropertiesSettings &)
 
virtual bool isBusy () const
 

Static Public Member Functions

static void SetGNSSCallback (GNSSCallback *callback)
 
static void SetGridMagnetCallback (const std::function< void(Button *)> &function)
 

Static Public Attributes

static GNSSCallbacks_gnss_reading_callback = nullptr
 
static std::function< void(Button *)> s_magnetic_callback
 

Protected Member Functions

void updateReletiveCombos ()
 
bool isPrismModel () const
 
void updateComputedPosition ()
 
void updateTitles (OrientationOperations::AzimuthType type)
 
void updateOrientation (const Matrix< fltp08 > &matrix)
 

Protected Attributes

Ui::OrientationOperationsUI * ui
 
const uint01 m_dimension
 
bool m_is_geo_reference = false
 
bool m_is_magnet_reference = false
 
bool m_has_offset = false
 
bool m_use_model_icon = false
 
QWidget * m_orientation_gnss_widget = nullptr
 
DesignObjectLookupm_lookup = nullptr
 
- Protected Attributes inherited from Editor
InterfaceOrientationControllerm_orientation_controller
 
DynamicPointer< QTDesignObjectm_design_object
 

Additional Inherited Members

- Protected Slots inherited from Editor
void onDesignObjectUpdateSlot ()
 

Constructor & Destructor Documentation

◆ OrientationOperationsWidget() [1/2]

OrientationOperationsWidget ( uint01 dimension,
const DynamicPointer< QTDesignObject > & object,
QWidget * parent = nullptr )

◆ OrientationOperationsWidget() [2/2]

OrientationOperationsWidget ( uint01 dimension,
DesignObjectLookup * lookup,
QWidget * parent = nullptr )

◆ ~OrientationOperationsWidget()

Member Function Documentation

◆ event()

bool event ( QEvent * event)
overridevirtual

◆ fullscreenTouch()

bool fullscreenTouch ( ) const
inlinefinaloverridevirtual

Reimplemented from Editor.

◆ init()

void init ( )

◆ isPrismModel()

bool isPrismModel ( ) const
protected

◆ lookup()

DesignObjectLookup * lookup ( )

◆ onCalculatedUpdatedSlot

void onCalculatedUpdatedSlot ( )
slot

◆ onCopyFromExistingSlot

void onCopyFromExistingSlot ( )
slot

◆ onSpecifiedAngleUpdatedSlot

void onSpecifiedAngleUpdatedSlot ( )
slot

◆ operations()

OrientationOperations operations ( ) const

◆ setAngle()

void setAngle ( const Angle< fltp08 > & angle)

◆ setDialToModelIcon()

void setDialToModelIcon ( )

◆ SetGNSSCallback()

void SetGNSSCallback ( GNSSCallback * callback)
static

◆ SetGridMagnetCallback()

void SetGridMagnetCallback ( const std::function< void(Button *)> & function)
static

◆ setIsGeoReference()

void setIsGeoReference ( bool is_geo_reference)

◆ setIsMagneticReference()

void setIsMagneticReference ( bool is_magnetic_reference,
DesignObjectLookup * lookup )

◆ sizeHint()

QSize sizeHint ( ) const
override

◆ updateComputedPosition()

void updateComputedPosition ( )
protected

◆ updateDialImages()

void updateDialImages ( )

◆ updateMagneticReferenceSignal

void updateMagneticReferenceSignal ( const Angle< fltp08 > & angle)
signal

◆ updateOrientation()

void updateOrientation ( const Matrix< fltp08 > & matrix)
protected

◆ updateOrientationCalcOptionsSlot

void updateOrientationCalcOptionsSlot ( )
slot

◆ updateOrientationFromDialogSlot

void updateOrientationFromDialogSlot ( )
slot

◆ updateReletiveCombos()

void updateReletiveCombos ( )
protected

◆ updateTitles()

void updateTitles ( OrientationOperations::AzimuthType type)
protected

◆ updateValues()

void updateValues ( )
overridevirtual

Implements Editor.

◆ updateVisibleWidgets()

void updateVisibleWidgets ( )

Member Data Documentation

◆ m_dimension

const uint01 m_dimension
protected

◆ m_has_offset

bool m_has_offset = false
protected

◆ m_is_geo_reference

bool m_is_geo_reference = false
protected

◆ m_is_magnet_reference

bool m_is_magnet_reference = false
protected

◆ m_lookup

DesignObjectLookup* m_lookup = nullptr
protected

◆ m_orientation_gnss_widget

QWidget* m_orientation_gnss_widget = nullptr
protected

◆ m_use_model_icon

bool m_use_model_icon = false
protected

◆ s_gnss_reading_callback

OrientationOperationsWidget::GNSSCallback * s_gnss_reading_callback = nullptr
static

◆ s_magnetic_callback

std::function< void(Button *)> s_magnetic_callback
static

◆ ui

Ui::OrientationOperationsUI* ui
protected

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