Move preferences dialog layout code into separate ui file
[vlp.git] / src / edit / PreferencesDialog.h
1 #ifndef _VLP_EDITOR_PREFERENCESDIALOG_H
2 #define _VLP_EDITOR_PREFERENCESDIALOG_H
3
4 #include <QtGui/QDialog>
5 #include <QtCore/QString>
6
7 #include "ui/dialogs/PreferencesDialog.h"
8
9 /**
10  * Program Unit Dialog class
11  * Displays dialog for generating code template for unit structure
12  */
13 class PreferencesDialog : public QDialog, private Ui::PreferencesDialog {
14 public:
15         /**
16          * Class constructor
17          */
18         PreferencesDialog(QWidget * parent = 0);
19
20         /**
21          * Class destuctor
22          */
23         ~PreferencesDialog();
24
25         /**
26          * Gets compiler path
27          *
28          * @return path to compiler
29          */
30         QString getCompilerPath();
31
32         /**
33          * Sets compiler path
34          *
35          * @param path compiler path
36          */
37         void setCompilerPath(QString path);
38
39         /**
40          * Gets files path
41          *
42          * @return path to files
43          */
44         QString getFilesPath();
45
46         /**
47          * Sets files path
48          *
49          * @param path files path
50          */
51         void setFilesPath(QString path);
52
53         /**
54          * Gets gen path
55          *
56          * @return path to gen
57          */
58         QString getGenPath();
59
60         /**
61          * Sets gen path
62          *
63          * @param path gen path
64          */
65         void setGenPath(QString path);
66 };
67
68 #endif /* _VLP_EDITOR_PREFERENCESDIALOG_H */