00001 /*************************************************************************** 00002 File : FindDialog.h 00003 Project : QtiPlot 00004 -------------------------------------------------------------------- 00005 Copyright : (C) 2006 by Ion Vasilief, Tilman Hoener zu Siederdissen 00006 Email (use @ for *) : ion_vasilief*yahoo.fr, thzs*gmx.net 00007 Description : Find dialog 00008 00009 ***************************************************************************/ 00010 00011 /*************************************************************************** 00012 * * 00013 * This program is free software; you can redistribute it and/or modify * 00014 * it under the terms of the GNU General Public License as published by * 00015 * the Free Software Foundation; either version 2 of the License, or * 00016 * (at your option) any later version. * 00017 * * 00018 * This program is distributed in the hope that it will be useful, * 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00021 * GNU General Public License for more details. * 00022 * * 00023 * You should have received a copy of the GNU General Public License * 00024 * along with this program; if not, write to the Free Software * 00025 * Foundation, Inc., 51 Franklin Street, Fifth Floor, * 00026 * Boston, MA 02110-1301 USA * 00027 * * 00028 ***************************************************************************/ 00029 #ifndef FINDDIALOG_H 00030 #define FINDDIALOG_H 00031 00032 #include <QDialog> 00033 #include <QLabel> 00034 00035 class QPushButton; 00036 class QCheckBox; 00037 class QComboBox; 00038 class QLabel; 00039 00041 class FindDialog : public QDialog 00042 { 00043 Q_OBJECT 00044 00045 public: 00046 FindDialog( QWidget* parent = 0, Qt::WFlags fl = 0 ); 00047 ~FindDialog(); 00048 00049 private: 00050 QPushButton* buttonFind; 00051 QPushButton* buttonCancel; 00052 QPushButton* buttonReset; 00053 00054 QLabel *labelStart; 00055 QComboBox* boxFind; 00056 00057 QCheckBox* boxWindowNames; 00058 QCheckBox* boxWindowLabels; 00059 QCheckBox* boxFolderNames; 00060 00061 QCheckBox* boxCaseSensitive; 00062 QCheckBox* boxPartialMatch; 00063 QCheckBox* boxSubfolders; 00064 00065 public slots: 00066 00068 void setStartPath(); 00069 00070 protected slots: 00071 00072 void accept(); 00073 }; 00074 00075 #endif // exportDialog_H