-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.h
48 lines (37 loc) · 1005 Bytes
/
settings.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
#ifndef SETTINGS_H
#define SETTINGS_H
#include <QWidget>
#include "amper_dev.h"
#include <QProgressBar>
namespace Ui {
class settings;
}
class settings : public QWidget
{
Q_OBJECT
public:
explicit settings(amper_dev *ad, QProgressBar *pb, QWidget *parent = 0);
~settings();
void setAmperDev(amper_dev *ad) {dev = ad;}
void setProgressBar(QProgressBar *pb) {bar = pb;}
public slots:
void ValueChanged();
void logged(bool log);
void update_ports();
private slots:
void on_Password_edit_cursorPositionChanged(int arg1, int arg2);
void on_Password_edit_editingFinished();
void on_Password_edit_textChanged(const QString &arg1);
void on_pushButton_clicked();
void on_pushButton_autoA_clicked();
void on_pushButton_autoB_clicked();
void on_pushButton_autoC_clicked();
void on_pushButton_autoN_clicked();
public:
QByteArray password;
private:
Ui::settings *ui;
amper_dev * dev;
QProgressBar *bar;
};
#endif // SETTINGS_H