-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInformation.h
More file actions
executable file
·37 lines (33 loc) · 1003 Bytes
/
Information.h
File metadata and controls
executable file
·37 lines (33 loc) · 1003 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
#ifndef INFOMATION_H
#define INFOMATION_H
#include <QWidget>
#include <QLabel>
#include <QTextEdit>
#include <QGroupBox>
class Information:public QWidget{
Q_OBJECT
public:
Information(QWidget *parent =nullptr);
void getInforCPU();
void getClockRAM();
void getInforOperationSystem();
private:
QLabel *label_nameCPU;
QLabel *label_packageCPU;
QLabel *label_tdpCPU;
QLabel *label_coreCPU;
QLabel *label_threadCPU;
QLabel *label_clockRAM;
QLabel *label_nameOperatingSystem;
QLabel *label_versionOperatingSystem;
QTextEdit *textedit_clockRAM;
QTextEdit *textedit_nameCPU;
QTextEdit *textedit_coreCPU;
QTextEdit *textedit_threadCPU;
QTextEdit *textedit_nameOperatingSystem;
QTextEdit *textedit_versionOperatingSystem;
QGroupBox *processorGroup;
QGroupBox *ramGroup;
QGroupBox *operatingSystemGroup;
};
#endif // INFOMATION_H