Add Sensor settings dialog
This commit is contained in:
parent
09f7e55b4e
commit
2fbfd1d458
6 changed files with 221 additions and 0 deletions
27
src/ui/sensorsettingsdialog.h
Normal file
27
src/ui/sensorsettingsdialog.h
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#ifndef SENSORSETTINGSDIALOG_H
|
||||
#define SENSORSETTINGSDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include "sensors/sensor.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class SensorSettingsDialog;
|
||||
}
|
||||
|
||||
class SensorSettingsDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SensorSettingsDialog(const Sensor& sensor, QWidget* parent = nullptr);
|
||||
~SensorSettingsDialog();
|
||||
|
||||
QString getName() const;
|
||||
bool getHidden() const;
|
||||
|
||||
private:
|
||||
Ui::SensorSettingsDialog* ui;
|
||||
};
|
||||
|
||||
#endif // SENSORSETTINGSDIALOG_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue