-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmainwindow.h
More file actions
52 lines (37 loc) · 850 Bytes
/
mainwindow.h
File metadata and controls
52 lines (37 loc) · 850 Bytes
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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QLabel>
#include <QLCDNumber>
#include <QDialog>
#include <QString>
#include "adcthread.h"
#include "datamanagement.h"
#include <QSemaphore>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private:
Ui::MainWindow *ui;
AdcThread *mThread;
DataManagement *mData;
QLabel *statusLabel;
QLCDNumber *lcdNumber_2;
QLCDNumber *lcdNumber_1;
public slots:
void onValueChanged(QVector<unsigned int> valeurs);
void onmessageLabel(QString);
void onBufferlevel(int);
private slots:
// for Start button
void on_pushButton_clicked();
// for Stop button
void on_pushButton_2_clicked();
};
#endif // MAINWINDOW_H