-
Notifications
You must be signed in to change notification settings - Fork 0
/
page2.h
65 lines (49 loc) · 1.14 KB
/
page2.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
#ifndef PAGE2_H
#define PAGE2_H
#include <QWidget>
//.h files for each page of stackedwidget
#include "p2landing.h"
#include "p2settings.h"
#include "p2predictions.h"
namespace Ui {
class Page2;
}
class Page2 : public QWidget
{
Q_OBJECT
public:
explicit Page2(QWidget *parent = nullptr);
~Page2();
signals:
void homeClicked();
void wallpaper1Set();
void wallpaper2Set();
void wallpaper3Set();
void updateWallpaper1Settings();
void updateWallpaper2Settings();
void updateWallpaper3Settings();
void reWriteWp1Config();
void reWriteWp2Config();
void reWriteWp3Config();
private slots:
void backHome();
void toPredictions();
void toSettings();
void toLanding();
void setWallpaper1();
void setWallpaper2();
void setWallpaper3();
void initWallpaperConfig1();
void initWallpaperConfig2();
void initWallpaperConfig3();
void writeNewWp1Config();
void writeNewWp2Config();
void writeNewWp3Config();
private:
Ui::Page2 *ui;
p2Landing _p2Landing;
p2Settings _p2Settings;
p2Predictions _p2Predictions;
void setBackground(int);
};
#endif // PAGE2_H