-
Notifications
You must be signed in to change notification settings - Fork 0
/
zeopicdata.h
91 lines (64 loc) · 1.63 KB
/
zeopicdata.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#ifndef ZEOPICDATA_H
#define ZEOPICDATA_H
#include <QWidget>
#include <QPushButton>
#include <QLabel>
#include <QString>
#include <QPixmap>
#include <QFileDialog>
#include <QLineEdit>
#include <QLinkedList>
#include <QColor>
#include <QMessageBox>
#include <QRadioButton>
#include <QSlider>
#include <QLCDNumber>
#include <fstream>
#include <ostream>
#include <iostream>
#include <string>
#include <filesystem>
class pixelerkennung : public QWidget
{
QPushButton *buttonBeenden,
*buttonLaden, *buttonDialog,
*buttonLabel, *buttonStats,
*buttonCheck, *buttonFinallabel,
*buttonPicCheck;
QLabel *labelPic, *labelText;
QPixmap *pixmapBild;
QLineEdit *editText, *editDirection,
*editName, *editDay, *editDate, *editSchedule,
*editCoreNumber;
QImage pic;
QRadioButton *radioAdaptedState,
*radioManuell;
QSlider *sliderCheck;
QLCDNumber *lcdCheck;
QVector <QColor> colorList;
QVector <QString> blockList;
unsigned short remCounter;
unsigned short lightCounter;
unsigned short deepCounter;
unsigned short awakeCounter;
unsigned short totalCounter;
double manuellCheck;
const QColor AWAKE {255, 0, 0};
const QColor LIGHT {102, 178, 255};
const QColor DEEP {0, 0, 204};
const QColor REM {0, 153, 0};
const QString stringAwake = "Awake";
const QString stringLight = "Light";
const QString stringDeep = "Deep";
const QString stringRem = "Rem";
Q_OBJECT
public:
pixelerkennung();
public slots:
void showBild();
void showStats();
void chooseBild();
void label();
void labelCheck();
};
#endif // ZEOPICDATA_H