-
Notifications
You must be signed in to change notification settings - Fork 1
/
projectwizard.h
executable file
·65 lines (50 loc) · 1.17 KB
/
projectwizard.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 PROJECTWIZARD_H
#define PROJECTWIZARD_H
#include <QWidget>
#include <QPushButton>
#include "base/app_context.h"
#include "newproject.h"
#include "openproject.h"
#include "projectfromimage.h"
namespace Ui {
class ProjectWizard;
}
/**
* @brief The ProjectWizard class
*/
class ProjectWizard : public QWidget
{
Q_OBJECT
public:
explicit ProjectWizard(AppContext *context, QWidget *parent = nullptr);
~ProjectWizard();
private slots:
/**
* @brief on_pushButtonCreate_clicked
*/
void on_pushButtonCreate_clicked();
/**
* @brief on_pushButtonOpen_clicked
*/
void on_pushButtonOpen_clicked();
/**
* @brief on_pushButtonFromImage_clicked
*/
void on_pushButtonFromImage_clicked();
/**
* @brief Pokud je vytvoren projekt
*/
void projectCreated();
private:
Ui::ProjectWizard *ui;
// kontext aplikace
AppContext *context;
// windows
NewProject *window_newProject;
OpenProject *window_openProject;
ProjectFromImage *window_projectFromImage;
protected:
void hightLightButton(QPushButton *button);
void selectWidget(QWidget *widget);
};
#endif // PROJECTWIZARD_H