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

A popup Editor dialog for showing options or information related to the orientation of an Object layer or Calibration. Objects can be set to rotate along a given axis. More...

#include <OrientationOperationsWidget.h>

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

Classes

class  GNSSCallback
 

Public Slots

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

Signals

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

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

Additional Inherited Members

- Protected Slots inherited from Editor
void onDesignObjectUpdateSlot ()
 

Detailed Description

A popup Editor dialog for showing options or information related to the orientation of an Object layer or Calibration. Objects can be set to rotate along a given axis.


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

virtual ~OrientationOperationsWidget ( )
virtual

Member Function Documentation

◆ event()

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

static void SetGNSSCallback ( GNSSCallback * callback)
static

◆ SetGridMagnetCallback()

static 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

GNSSCallback* s_gnss_reading_callback
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 file: