Move find dialog layout code into separate ui file
[vlp.git] / src / edit / FindDialog.cpp
1 #include "FindDialog.h"
2
3 namespace loglan {
4 namespace vlp {
5 namespace dialog {
6
7
8 FindDialog::FindDialog(QWidget * parent)
9         : QDialog(parent)
10 {
11         setupUi(this);
12         
13         connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
14         connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
15 }
16
17 FindDialog::~FindDialog()
18 {
19 }
20
21 bool FindDialog::isCaseSensitive()
22 {
23         return caseSensitive->isChecked();
24 }
25
26 QString FindDialog::getSearchText()
27 {
28         return lineEdit->text();
29 }
30
31 }
32 }
33 }