Diffstat (limited to 'noncore/apps/opie-sheet/finddlg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-sheet/finddlg.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/noncore/apps/opie-sheet/finddlg.h b/noncore/apps/opie-sheet/finddlg.h new file mode 100644 index 0000000..02c9cdd --- a/dev/null +++ b/noncore/apps/opie-sheet/finddlg.h | |||
@@ -0,0 +1,35 @@ | |||
1 | #ifndef FINDDLG_H | ||
2 | #define FINDDLG_H | ||
3 | |||
4 | #include <qdialog.h> | ||
5 | #include <qtabwidget.h> | ||
6 | #include <qlayout.h> | ||
7 | #include <qlineedit.h> | ||
8 | #include <qcheckbox.h> | ||
9 | #include <qpushbutton.h> | ||
10 | #include <qvbuttongroup.h> | ||
11 | #include "sheet.h" | ||
12 | |||
13 | class FindDialog: public QDialog | ||
14 | { | ||
15 | Q_OBJECT | ||
16 | |||
17 | // QT objects | ||
18 | QBoxLayout *box; | ||
19 | QTabWidget *tabs; | ||
20 | QWidget *widgetFind, *widgetOptions; | ||
21 | QCheckBox *checkCase, *checkSelection, *checkEntire; | ||
22 | QLineEdit *editFind, *editReplace; | ||
23 | QVButtonGroup *groupType; | ||
24 | |||
25 | private slots: | ||
26 | void typeChanged(int id); | ||
27 | |||
28 | public: | ||
29 | FindDialog(QWidget *parent=0); | ||
30 | ~FindDialog(); | ||
31 | |||
32 | int exec(Sheet *s); | ||
33 | }; | ||
34 | |||
35 | #endif | ||