Diffstat (limited to 'noncore/apps/opie-sheet/finddlg.h') (more/less context) (ignore 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 @@ +#ifndef FINDDLG_H +#define FINDDLG_H + +#include <qdialog.h> +#include <qtabwidget.h> +#include <qlayout.h> +#include <qlineedit.h> +#include <qcheckbox.h> +#include <qpushbutton.h> +#include <qvbuttongroup.h> +#include "sheet.h" + +class FindDialog: public QDialog +{ + Q_OBJECT + + // QT objects + QBoxLayout *box; + QTabWidget *tabs; + QWidget *widgetFind, *widgetOptions; + QCheckBox *checkCase, *checkSelection, *checkEntire; + QLineEdit *editFind, *editReplace; + QVButtonGroup *groupType; + + private slots: + void typeChanged(int id); + + public: + FindDialog(QWidget *parent=0); + ~FindDialog(); + + int exec(Sheet *s); +}; + +#endif |