API Documentation
|
Dialog which allows user to edit or create a MagneticCalibrationData object. More...
#include <MagnetometerCalibrationDialog.h>
Signals | |
void | requestCloseSignal () |
Signals inherited from Editor | |
void | objectUpdatedSignal () |
void | isBusyStatusChanged () |
Public Member Functions | |
MagnetometerCalibrationDialog (const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr) | |
MagnetometerCalibrationDialog (QWidget *parent=nullptr) | |
void | init () |
void | setModelManager (DesignObjectLookup *manager) |
void | setSensor (OrientationSensor *sensor) |
bool | event (QEvent *event) override |
bool | isFinished () const |
DesignObjectLookup * | manager () |
void | cancel () |
void | startRecording () |
void | showMatrix (bool show_matrix) |
void | showClear (bool show_clear) |
MagneticCalibrationData | calibrationData () const |
void | updateValues () override |
Public Member Functions inherited from Editor | |
Editor (QWidget *parent=nullptr) | |
Editor (const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr) | |
virtual bool | fullscreenTouch () const |
virtual bool | allowDocking () const |
virtual TranslatedString | customDialogTitle () const |
virtual String | customDialogIcon () const |
virtual InterfaceOrientationController * | orientationController () 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 Attributes | |
static ApplicationOption< bool > | default_show_matrix |
static ApplicationOption< bool > | default_show_clear |
Protected Member Functions | |
FileChooserDialog * | fileChooser (bool is_save) |
void | createFileChooser () |
Protected Attributes | |
Ui::MagnetometerCalibrationUI * | ui = nullptr |
OrientationSensor * | m_sensor = nullptr |
DesignObjectLookup * | m_manager = nullptr |
FileChooserDialog * | m_file_chooser = nullptr |
QTimer * | m_countdown_timer = nullptr |
Button * | m_clear_button = nullptr |
Time | m_start_time = Constant<Time>::NaN |
bool | m_show_popup = true |
bool | m_is_finished = false |
bool | m_is_activated = false |
bool | m_is_saving = false |
bool | m_show_matrix = true |
Protected Attributes inherited from Editor | |
InterfaceOrientationController * | m_orientation_controller |
DynamicPointer< QTDesignObject > | m_design_object |
Additional Inherited Members | |
Protected Slots inherited from Editor | |
void | onDesignObjectUpdateSlot () |
Dialog which allows user to edit or create a MagneticCalibrationData object.
Class: MagneticDeclinationDialog
MagnetometerCalibrationDialog | ( | const DynamicPointer< QTDesignObject > & | object, |
QWidget * | parent = nullptr ) |
MagnetometerCalibrationDialog | ( | QWidget * | parent = nullptr | ) |
MagneticCalibrationData calibrationData | ( | ) | const |
void cancel | ( | ) |
|
protected |
|
override |
|
protected |
void init | ( | ) |
bool isFinished | ( | ) | const |
DesignObjectLookup * manager | ( | ) |
|
signal |
void setModelManager | ( | DesignObjectLookup * | manager | ) |
void setSensor | ( | OrientationSensor * | sensor | ) |
void showClear | ( | bool | show_clear | ) |
void showMatrix | ( | bool | show_matrix | ) |
void startRecording | ( | ) |
|
overridevirtual |
Implements Editor.
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |