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 updateCalculation ()
 
void updateMagneticReference (const Angle< fltp08 > &angle)
 
void updateMagnetReadingButton ()
 

Protected Attributes

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

Static Protected Attributes

static QPointer< OrientationSensors_magnetic_reading_callback
 

Detailed Description

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


Constructor & Destructor Documentation

◆ MagneticDeclinationDialog()

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

Member Function Documentation

◆ onFinishedSignal

void onFinishedSignal ( PopupInfo info)
signal

◆ RegisterDialog()

static void RegisterDialog ( DesignObjectLookup * lookup)
static

◆ SetSensor()

static 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>>::Invalid
protected

◆ m_web_lookup

Button* m_web_lookup
protected

◆ s_magnetic_reading_callback

QPointer<OrientationSensor> s_magnetic_reading_callback
staticprotected

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