50f91b63e8ee82bb8abf3c431c3eeaad0d8f5824
[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 finding 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          * Checks if search should be case sensitive
32          * 
33          * @return true if search should be case sensitive, false otherwise
34          */
35         bool isCaseSensitive();
36
37         /**
38          * Gets text to search for
39          * 
40          * @return text to search for
41          */
42         QString getSearchText();
43 };
44
45 }
46 }
47 }
48
49 #endif /* _VLP_EDITOR_FINDEDIALOG_H */