-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettingsdialog.h
68 lines (43 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
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H
#include <QDialog>
#include <QMap>
#include "qhamrotator.h"
typedef QMap<int,QString> TModelList;
namespace Ui {
class SettingsDialog;
}
class SettingsDialog : public QDialog
{
Q_OBJECT
public:
explicit SettingsDialog(const QString &conffile, QWidget *parent = nullptr);
~SettingsDialog();
private slots:
void on_rotator_model_currentIndexChanged(int index);
void on_port_path_editingFinished();
void on_poll_interval_valueChanged(int arg1);
void on_write_delay_valueChanged(const QString &arg1);
void on_post_write_delay_valueChanged(const QString &arg1);
void on_timeout_valueChanged(const QString &arg1);
void on_retry_valueChanged(const QString &arg1);
void on_min_az_valueChanged(const QString &arg1);
void on_max_az_valueChanged(const QString &arg1);
void on_min_el_valueChanged(const QString &arg1);
void on_max_el_valueChanged(const QString &arg1);
void on_serial_speed_currentIndexChanged(int index);
void on_data_bits_valueChanged(const QString &arg1);
void on_stop_bits_valueChanged(const QString &arg1);
void on_parity_currentIndexChanged(int index);
void on_handshake_currentIndexChanged(int index);
void on_buttonBox_accepted();
private:
Ui::SettingsDialog *ui;
QString configfile;
TModelList modellist;
void loadmodellist();
QHamRotator *rotator;
QHamRotator *realrot;
void reloadUI();
};
#endif // SETTINGSDIALOG_H