Move dialogs layout code into separate ui file
[vlp.git] / src / edit / ProgramStructureDialog.h
1 #ifndef _VLP_EDITOR_PROGRAMSTRUCTUREDIALOG_H
2 #define _VLP_EDITOR_PROGRAMSTRUCTUREDIALOG_H
3
4 #include <QtGui/QDialog>
5 #include <QtCore/QString>
6
7
8 #include "ui/dialogs/ProgramStructureDialog.h"
9
10 /**
11  * Program Structure Dialog class
12  * Displays dialog for generating code template for program structure
13  */
14 class ProgramStructureDialog : public QDialog, private Ui::ProgramStructureDialog {
15 public:
16         /**
17          * Class constructor
18          */
19         ProgramStructureDialog(QWidget * parent = 0);
20
21         /**
22          * Class destuctor
23          */
24         ~ProgramStructureDialog();
25
26         /**
27          * Gets user-passed program name
28          * 
29          * @return program name entered in dialog
30          */
31         QString getProgramName();
32
33         /**
34          * Gets program code template
35          * 
36          * @return program code template with program name
37          */
38         QString getCode();
39 };
40
41 #endif /* _VLP_EDITOR_PROGRAMSTRUCTUREDIALOG_H */