Move find dialog layout code into separate ui file
[vlp.git] / src / edit / FindDialog.h
1 #ifndef _VLP_EDITOR_FINDEDIALOG_H
2 #define _VLP_EDITOR_FINDEDIALOG_H
3
4 #include <QtGui/QDialog>
5 #include <QtCore/QString>
6
7
8 #include "ui/dialogs/FindDialog.h"
9
10 namespace loglan {
11 namespace vlp {
12 namespace dialog {
13
14 /**
15  * Find Dialog class
16  * Displays dialog for findinf text in source code
17  */
18 class FindDialog : public QDialog, private Ui::FindDialog {
19 public:
20         /**
21          * Class constructor
22          */
23         FindDialog(QWidget * parent = 0);
24
25         /**
26          * Class destuctor
27          */
28         ~FindDialog();
29
30         /**
31          * Gets user-passed program name
32          * 
33          * @return program name entered in dialog
34          */
35         bool isCaseSensitive();
36
37         /**
38          * Gets program code template
39          * 
40          * @return program code template with program name
41          */
42         QString getSearchText();
43 };
44
45 }
46 }
47 }
48
49 #endif /* _VLP_EDITOR_FINDEDIALOG_H */