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

Dialog which allows user to set or calculate the magnetic declination. https://en.wikipedia.org/wiki/Magnetic_declination. More...

#include <MagneticDeclinationDialog.h>

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

Signals

void onFinishedSignal (PopupInfo info)
 

Public Member Functions

 MagneticDeclinationDialog (DesignObjectLookup *lookup, QWidget *parent=nullptr)
 
void showMagnetometerOptionsPopup (PopupInfo info)
 

Static Public Member Functions

static void RegisterDialog (DesignObjectLookup *lookup)
 
static void SetSensor (OrientationSensor *sensor)
 

Protected Slots

void updateMagneticReference (const Angle< fltp08 > &angle)
 
void updateCalculation ()
 
void updateMagnetReadingButton ()
 

Protected Attributes

Buttonm_web_lookup
 
Buttonm_finish_button
 
Buttonm_measure_button
 
Buttonm_magnetometer_button
 
QCustomLineEditm_line_edit
 
QCustomLineEditm_magnetic_angle
 
MagnetometerWidgetm_magnetometer_widget = nullptr
 
OrientationOperationsWidgetm_ops_widget
 
QGroupBox * m_magnetic_reading_group
 
QGroupBox * m_magnetic_value_group
 
Angle< fltp08m_reference_angle = Constant<Angle<fltp08>>::NaN
 

Static Protected Attributes

static QPointer< OrientationSensors_magnetic_reading_callback = nullptr
 

Detailed Description

Dialog which allows user to set or calculate the magnetic declination. https://en.wikipedia.org/wiki/Magnetic_declination.


Class: MagneticDeclinationDialog

\ingroup Hardware Magnetometer Widget Dialog

Constructor & Destructor Documentation

◆ MagneticDeclinationDialog()

MagneticDeclinationDialog ( DesignObjectLookup * lookup,
QWidget * parent = nullptr )

Member Function Documentation

◆ onFinishedSignal

void onFinishedSignal ( PopupInfo info)
signal

◆ RegisterDialog()

void RegisterDialog ( DesignObjectLookup * lookup)
static

◆ SetSensor()

void SetSensor ( OrientationSensor * sensor)
static

◆ showMagnetometerOptionsPopup()

void showMagnetometerOptionsPopup ( PopupInfo info)

◆ updateCalculation

void updateCalculation ( )
protectedslot

◆ updateMagneticReference

void updateMagneticReference ( const Angle< fltp08 > & angle)
protectedslot

◆ updateMagnetReadingButton

void updateMagnetReadingButton ( )
protectedslot

Member Data Documentation

◆ m_finish_button

Button* m_finish_button
protected

◆ m_line_edit

QCustomLineEdit* m_line_edit
protected

◆ m_magnetic_angle

QCustomLineEdit* m_magnetic_angle
protected

◆ m_magnetic_reading_group

QGroupBox* m_magnetic_reading_group
protected

◆ m_magnetic_value_group

QGroupBox* m_magnetic_value_group
protected

◆ m_magnetometer_button

Button* m_magnetometer_button
protected

◆ m_magnetometer_widget

MagnetometerWidget* m_magnetometer_widget = nullptr
protected

◆ m_measure_button

Button* m_measure_button
protected

◆ m_ops_widget

OrientationOperationsWidget* m_ops_widget
protected

◆ m_reference_angle

Angle<fltp08> m_reference_angle = Constant<Angle<fltp08>>::NaN
protected

◆ m_web_lookup

Button* m_web_lookup
protected

◆ s_magnetic_reading_callback

QPointer< OrientationSensor > s_magnetic_reading_callback = nullptr
staticprotected

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