HITDAQ/hit2023v2/dialogtriggersettings.h

42 lines
843 B
C
Raw Normal View History

2023-09-07 13:31:49 +02:00
#ifndef DIALOGTRIGGERSETTINGS_H
#define DIALOGTRIGGERSETTINGS_H
#include <QDialog>
#include <QSettings>
#include <QShowEvent>
namespace Ui {
class DialogTriggerSettings;
}
class DialogTriggerSettings : public QDialog
{
Q_OBJECT
public:
explicit DialogTriggerSettings(QWidget *parent = 0);
~DialogTriggerSettings();
QSettings* deviceSettings = NULL;
public slots:
void showEvent(QShowEvent *event);
void accept();
protected:
int validateAndSave();
void updateCalculations();
int data_ok = 0;
private slots:
void on_spinPeriodTicks_valueChanged(int arg1);
void on_spinTintTicks_valueChanged(int arg1);
void on_spinPeriodTicks_v2_valueChanged(int arg1);
void on_spinTintTicks_v2_valueChanged(int arg1);
private:
Ui::DialogTriggerSettings *ui;
};
#endif // DIALOGTRIGGERSETTINGS_H