API Documentation
Loading...
Searching...
No Matches
CalibratorWidget.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <QWidget>
4namespace NDEVR
5{
6 class ProgressWidget;
7 class Button;
8 class IMUCalibrator;
9 class FileChooserDialog;
10 class FileFormat;
11 /**--------------------------------------------------------------------------------------------------
12 \brief A widget that allows the user to interact with an IMUCalibrator object and perform an IMU
13 calibration.
14 **/
16 {
17 public:
18 CalibratorWidget(QWidget* parent = nullptr);
19 CalibratorWidget(IMUCalibrator* calibrator, QWidget* parent = nullptr);
21 void setCalibrator(IMUCalibrator* calibrator);
26 protected:
27 void init();
28 protected slots:
30 protected:
32 Button* m_start_button = nullptr;
33 Button* m_save_button = nullptr;
34 Button* m_save_as_button = nullptr;
36 FileChooserDialog* m_file_dialog = nullptr;
37 bool m_is_calibrating = false;
38 };
39}
#define HARDWARE_WIDGETS_API
Definition DLLInfo.h:56
A core widget that allows the user to click one of many button types.
Definition Button.h:66
A widget that allows the user to interact with an IMUCalibrator object and perform an IMU calibration...
Definition CalibratorWidget.h:16
CalibratorWidget(IMUCalibrator *calibrator, QWidget *parent=nullptr)
IMUCalibrator * m_calibrator
Definition CalibratorWidget.h:35
ProgressWidget * m_progress_widget
Definition CalibratorWidget.h:31
CalibratorWidget(QWidget *parent=nullptr)
void setCalibrator(IMUCalibrator *calibrator)
static FileFormat CalibrationTemplateFormat()
A dialog designed to allow the user to navigate a filesytem and select or create one or more files or...
Definition FileChooserDialog.h:79
Data that describes a particular file format and how to use the format with the program....
Definition FileFormat.h:43
Logic and storage for IMU calibration. An IMU calibration works by moving the sensor into a series of...
Definition IMUCalibrator.h:35
Displays the progress, either horizontally as a bar or as a roand spin dial. Contains various options...
Definition ProgressWidget.h:47
Definition ACIColor.h:37