-
Notifications
You must be signed in to change notification settings - Fork 1
/
settingsdialog.h
71 lines (41 loc) · 1.48 KB
/
settingsdialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H
#include "mainwindow.h"
#include <QDialog>
namespace Ui {
class SettingsDialog;
}
class SettingsDialog : public QDialog
{
Q_OBJECT
public:
explicit SettingsDialog(QWidget *parent = 0);
~SettingsDialog();
static AnalyzerStruct analyzer[N_HW];
private slots:
void on_buttonBox_accepted();
void on_DeviceSpinBox_valueChanged(int arg1);
void SetInitialValues(int n);
void on_TypeComboBox_currentIndexChanged(int index);
void on_PortComboBox_currentIndexChanged(int index);
void on_SerialComboBox_currentIndexChanged(int index);
void on_TransmitanceCheckBox_clicked();
void on_DRCheckBox_clicked();
void on_DDSclockDoubleSpinBox_editingFinished();
void on_MaxFrequencyDoubleSpinBox_editingFinished();
void on_MinFrequencyDoubleSpinBox_editingFinished();
void on_ReflectanceOffsetDoubleSpinBox_editingFinished();
void on_TransmitanceOffsetDoubleSpinBox_editingFinished();
void on_DetectorsSpinBox_valueChanged(int arg1);
void on_Det1GainDoubleSpinBox_editingFinished();
void on_Det2GainDoubleSpinBox_editingFinished();
void on_Det3GainDoubleSpinBox_editingFinished();
void on_Det1OffsetDoubleSpinBox_editingFinished();
void on_Det2OffsetDoubleSpinBox_editingFinished();
void on_Det3OffsetDoubleSpinBox_editingFinished();
private:
Ui::SettingsDialog *ui;
int fillPortsInfo();
void UpdateWindow();
};
#endif // SETTINGSDIALOG_H