3#ifdef USE_MAGNET_CHARTS
4#include <NDEVR/QTModelManager.h>
8 class MagnetometerCalibrationUI;
12 class MagnetCalibrationChart;
13 class OrientationSensor;
15 class FileChooserDialog;
20 MagnetometerCalibrationDialog(QWidget* parent =
nullptr);
22 void setModelManager(DesignObjectLookup* manager);
23 void setSensor(OrientationSensor* sensor);
24 void showSaveToPDF(
bool show_save_button);
26 bool event(QEvent* event)
override;
27 bool isFinished()
const;
29 void updateCalibrationObject();
31 FileChooserDialog* fileChooser(
bool is_save);
32 void createFileChooser();
34 Ui::MagnetometerCalibrationUI* ui =
nullptr;
35 OrientationSensor * m_sensor =
nullptr;
36 DesignObjectLookup* m_manager =
nullptr;
37 MagnetCalibrationChart* m_a_view;
38 MagnetCalibrationChart* m_b_view;
39 MagnetCalibrationChart* m_c_view;
40 FileChooserDialog* m_file_chooser =
nullptr;
41 bool m_is_finished =
false;
42 bool m_is_saving =
false;
Definition FontEditor.h:6