3#include <NDEVR/QTModelManager.h>
4#include <NDEVR/Editor.h>
5#include <NDEVR/ApplicationOptions.h>
9 class MagnetometerCalibrationUI;
13 class OrientationSensor;
16 class FileChooserDialog;
17 class MagneticCalibrationData;
35 bool event(QEvent* event)
override;
53 Ui::MagnetometerCalibrationUI* ui =
nullptr;
57 QTimer* m_countdown_timer =
nullptr;
60 bool m_show_popup =
true;
61 bool m_is_finished =
false;
62 bool m_is_activated =
false;
63 bool m_is_saving =
false;
64 bool m_show_matrix =
true;
The default object to store data of any type that should persist through sessions of the application.
Definition Button.h:57
A core class where all Design Objects including models, materials, and geometries are stored....
Definition DesignObjectLookup.h:65
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:320
A base class for displaying options for editing a single DesignObject, typically a Model.
Definition Editor.h:48
A dialog designed to allow the user to navigate a filesytem and select or create one or more files or...
Definition FileChooserDialog.h:79
Stores magnetic calibration data as a Model including the transformation and calibration points.
Definition MagneticCalibration.h:14
Dialog which allows user to edit or create a MagneticCalibrationData object.
Definition MagnetometerCalibrationDialog.h:24
void requestCloseSignal()
void updateValues() override
DesignObjectLookup * manager()
static ApplicationOption< bool > default_show_matrix
Definition MagnetometerCalibrationDialog.h:50
void showMatrix(bool show_matrix)
bool event(QEvent *event) override
FileChooserDialog * fileChooser(bool is_save)
void setSensor(OrientationSensor *sensor)
void setModelManager(DesignObjectLookup *manager)
MagnetometerCalibrationDialog(QWidget *parent=nullptr)
MagneticCalibrationData calibrationData() const
void showClear(bool show_clear)
static ApplicationOption< bool > default_show_clear
Definition MagnetometerCalibrationDialog.h:51
MagnetometerCalibrationDialog(const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
Used to report the orientation of a Hardware object within 3D space.
Definition OrientationSensor.h:86
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:54
Definition FontEditor.h:6
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...
Definition BaseValues.hpp:233