HP Views Designer Assistant  1.0.0
TFG - Alberto Gutierrez Perez - Universidad de Valladolid
beforestart.h
1 #ifndef BEFORESTART_H
2 #define BEFORESTART_H
3 
4 #include <QWidget>
5 
6 namespace Ui {
7 class BeforeStart;
8 }
9 
13 class BeforeStart : public QWidget
14 {
15  Q_OBJECT
16 
17 public:
23  explicit BeforeStart(QWidget *mainWindow, QWidget *parent = 0);
24  ~BeforeStart();
25 
31  void show(QSize size, QPoint pos);
32 
33 signals:
34 
38  void startMainWindow();
39 
40 private slots:
41 
45  void on_nextBtn_clicked();
46 
50  void on_prevBtn_clicked();
51 
55  void on_firstPageRadio_clicked();
56 
60  void on_secondPageRadio_clicked();
61 
65  void on_thirdPageRadio_clicked();
66 
70  void on_startBtn_clicked();
71 
75  void on_fourthPageRadio_clicked();
76 
81  void on_initTipsCheck_clicked(bool checked);
82 
83 private:
84 
88  void setNormalState();
89 
93  void initElements();
94 
102  void setInfo(QString imagePath, QString text, QString leftImage = "", QString rightImage = "");
103 
108  void nextScreenInfo(int index);
109 
110 private:
111 
115  Ui::BeforeStart *ui;
116 
120  QWidget *mainwindow;
121 };
122 
123 #endif // BEFORESTART_H
Ui::BeforeStart * ui
ui
Definition: beforestart.h:115
The BeforeStart class.
Definition: beforestart.h:13
Definition: beforestart.h:6
QWidget * mainwindow
mainwindow
Definition: beforestart.h:120