2017-12-24 03:08:27 +00:00
|
|
|
#ifndef DAQFORM_H
|
|
|
|
#define DAQFORM_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class daqForm;
|
|
|
|
}
|
|
|
|
|
|
|
|
class daqForm : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2017-12-27 01:44:49 +00:00
|
|
|
explicit daqForm(QWidget *parent, int initialAverage, qulonglong initialMaxFileSize);
|
2017-12-24 03:08:27 +00:00
|
|
|
~daqForm();
|
2017-12-27 01:44:49 +00:00
|
|
|
signals:
|
|
|
|
void updatedAveraging(int);
|
|
|
|
void updatedMaxFileSize(qulonglong);
|
|
|
|
void saveButtonPressed();
|
2017-12-24 03:08:27 +00:00
|
|
|
private:
|
|
|
|
Ui::daqForm *ui;
|
2017-12-27 01:44:49 +00:00
|
|
|
private slots:
|
|
|
|
void updateLabels();
|
|
|
|
void updateValues();
|
|
|
|
void trigger_saveButtonPressed();
|
2017-12-24 03:08:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DAQFORM_H
|