00001 /* 00002 =. This file is part of the Opie Project 00003 .=l. Copyright (C) 2004 Opie Developer Team <opie-devel@handhelds.org> 00004 .>+-= 00005 _;:, .> :=|. This program is free software; you can 00006 .> <`_, > . <= redistribute it and/or modify it under 00007 :`=1 )Y*s>-.-- : the terms of the GNU General Public 00008 .="- .-=="i, .._ License as published by the Free Software 00009 - . .-<_> .<> Foundation; either version 2 of the License, 00010 ._= =} : or (at your option) any later version. 00011 .%`+i> _;_. 00012 .i_,=:_. -<s. This program is distributed in the hope that 00013 + . -:. = it will be useful, but WITHOUT ANY WARRANTY; 00014 : .. .:, . . . without even the implied warranty of 00015 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A 00016 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU 00017 ..}^=.= = ; Library General Public License for more 00018 ++= -. .` .: details. 00019 : = ...= . :.=- 00020 -. .:....=;==+<; You should have received a copy of the GNU 00021 -_. . . )=. = Library General Public License along with 00022 -- :-=` this library; see the file COPYING.LIB. 00023 If not, write to the Free Software Foundation, 00024 Inc., 59 Temple Place - Suite 330, 00025 Boston, MA 02111-1307, USA. 00026 00027 */ 00028 00029 /* 00030 * Opie Sheet (formerly Sheet/Qt) 00031 * by Serdar Ozler <sozler@sitebest.com> 00032 */ 00033 00034 #ifndef FINDDLG_H 00035 #define FINDDLG_H 00036 00037 #include "sheet.h" 00038 00039 /* QT */ 00040 #include <qdialog.h> 00041 #include <qtabwidget.h> 00042 #include <qlayout.h> 00043 #include <qlineedit.h> 00044 #include <qcheckbox.h> 00045 #include <qpushbutton.h> 00046 #include <qvbuttongroup.h> 00047 00048 class FindDialog: public QDialog 00049 { 00050 Q_OBJECT 00051 00052 // QT objects 00053 QBoxLayout *box; 00054 QTabWidget *tabs; 00055 QWidget *widgetFind, *widgetOptions; 00056 QCheckBox *checkCase, *checkSelection, *checkEntire; 00057 QLineEdit *editFind, *editReplace; 00058 QVButtonGroup *groupType; 00059 00060 private slots: 00061 void typeChanged(int id); 00062 00063 public: 00064 FindDialog(QWidget *parent=0); 00065 ~FindDialog(); 00066 00067 int exec(Sheet *s); 00068 }; 00069 00070 #endif
1.4.2