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

Dialog which allows user to edit or create a MagneticCalibrationData object. More...

#include <MagnetometerCalibrationDialog.h>

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

Signals

void requestCloseSignal ()
 
- Signals inherited from Editor
void isBusyStatusChanged ()
 
void objectUpdatedSignal ()
 

Public Member Functions

MagneticCalibrationData calibrationData () const
 
void cancel ()
 
bool event (QEvent *event) override
 
void init ()
 
bool isFinished () const
 
 MagnetometerCalibrationDialog (const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
 
 MagnetometerCalibrationDialog (QWidget *parent=nullptr)
 
DesignObjectLookupmanager ()
 
void setModelManager (DesignObjectLookup *manager)
 
void setSensor (OrientationSensor *sensor)
 
void showClear (bool show_clear)
 
void showMatrix (bool show_matrix)
 
void startRecording ()
 
void updateValues () override
 
- 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 fullscreenTouch () const
 
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 Attributes

static ApplicationOption< bool > default_show_clear
 
static ApplicationOption< bool > default_show_matrix
 

Protected Member Functions

void createFileChooser ()
 
FileChooserDialogfileChooser (bool is_save)
 

Protected Attributes

Buttonm_clear_button = nullptr
 
QTimer * m_countdown_timer = nullptr
 
FileChooserDialogm_file_chooser = nullptr
 
bool m_is_activated = false
 
bool m_is_finished = false
 
bool m_is_saving = false
 
DesignObjectLookupm_manager = nullptr
 
OrientationSensorm_sensor = nullptr
 
bool m_show_matrix = true
 
bool m_show_popup = true
 
Time m_start_time = Constant<Time>::Invalid
 
Ui::MagnetometerCalibrationUI * ui = nullptr
 
- Protected Attributes inherited from Editor
DynamicPointer< QTDesignObjectm_design_object
 
InterfaceOrientationControllerm_orientation_controller
 

Additional Inherited Members

- Protected Slots inherited from Editor
void onDesignObjectUpdateSlot ()
 

Detailed Description

Dialog which allows user to edit or create a MagneticCalibrationData object.


Constructor & Destructor Documentation

◆ MagnetometerCalibrationDialog() [1/2]

MagnetometerCalibrationDialog ( const DynamicPointer< QTDesignObject > & object,
QWidget * parent = nullptr )

◆ MagnetometerCalibrationDialog() [2/2]

MagnetometerCalibrationDialog ( QWidget * parent = nullptr)

Member Function Documentation

◆ calibrationData()

MagneticCalibrationData calibrationData ( ) const

◆ cancel()

void cancel ( )

◆ createFileChooser()

void createFileChooser ( )
protected

◆ event()

bool event ( QEvent * event)
override

◆ fileChooser()

FileChooserDialog * fileChooser ( bool is_save)
protected

◆ init()

void init ( )

◆ isFinished()

bool isFinished ( ) const

◆ manager()

DesignObjectLookup * manager ( )

◆ requestCloseSignal

void requestCloseSignal ( )
signal

◆ setModelManager()

void setModelManager ( DesignObjectLookup * manager)

◆ setSensor()

void setSensor ( OrientationSensor * sensor)

◆ showClear()

void showClear ( bool show_clear)

◆ showMatrix()

void showMatrix ( bool show_matrix)

◆ startRecording()

void startRecording ( )

◆ updateValues()

void updateValues ( )
overridevirtual

Implements Editor.

Member Data Documentation

◆ default_show_clear

ApplicationOption<bool> default_show_clear
static

◆ default_show_matrix

ApplicationOption<bool> default_show_matrix
static

◆ m_clear_button

Button* m_clear_button = nullptr
protected

◆ m_countdown_timer

QTimer* m_countdown_timer = nullptr
protected

◆ m_file_chooser

FileChooserDialog* m_file_chooser = nullptr
protected

◆ m_is_activated

bool m_is_activated = false
protected

◆ m_is_finished

bool m_is_finished = false
protected

◆ m_is_saving

bool m_is_saving = false
protected

◆ m_manager

DesignObjectLookup* m_manager = nullptr
protected

◆ m_sensor

OrientationSensor* m_sensor = nullptr
protected

◆ m_show_matrix

bool m_show_matrix = true
protected

◆ m_show_popup

bool m_show_popup = true
protected

◆ m_start_time

Time m_start_time = Constant<Time>::Invalid
protected

◆ ui

Ui::MagnetometerCalibrationUI* ui = nullptr
protected

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