Modified welcome text file so it shows proper names in the reporsitory
[confmgr] / addprofile.h
1 #ifndef ADDPROFILE_H
2 #define ADDPROFILE_H
3
4 #include <QWidget>
5 #include <QList>
6 #include "addstep.h"
7 #include "profile.h"
8
9 namespace Ui {
10     class AddProfile;
11 }
12
13 class AddProfile : public QWidget
14 {
15     Q_OBJECT
16
17 public:
18     explicit AddProfile(QWidget *parent = 0);
19     ~AddProfile();
20
21     void clear();
22
23 public slots:
24     void updateStepList(Steps step);
25     void showProfile(Profile &p);
26
27 private:
28     Ui::AddProfile *ui;
29     QList<Steps> mSteps;
30     AddStep mFrmAddStep;
31     bool bIsStepEdited;
32     int iStepEditPosition;
33
34 signals:
35     void ProfileAddedSuccessfully(Profile profile);
36
37 private slots:
38     void on_addProModifyStep_clicked();
39     void on_addProRemoveStep_clicked();
40     void on_addProSave_clicked();
41     void on_addProCancel_clicked();
42     void showStepsUI();
43 };
44
45 #endif // ADDPROFILE_H