My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
searchdialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  searchdialog.h
3  ----------------
4  begin : Sat Apr 01 2006
5  copyright : (C) 2006 by Michael Margraf
6  email : michael.margraf@alumni.tu-berlin.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef SEARCHDIALOG_H
19 #define SEARCHDIALOG_H
20 
21 #include <qdialog.h>
22 
23 class QucsApp;
24 class QLineEdit;
25 class QCheckBox;
26 class QVGroupBox;
27 class QPushButton;
28 
29 
30 class SearchDialog : public QDialog {
31 Q_OBJECT
32 public:
34  ~SearchDialog();
35 
36  void initSearch(bool replace=false);
37  void searchText(bool, int);
38 
39 private slots:
40  void slotSearch();
41 
42 private:
43  QucsApp *App;
44  QLineEdit *SearchEdit, *ReplaceEdit;
45  QCheckBox *PositionBox, *CaseBox, *WordBox, *BackwardBox, *AskBox;
46  QVGroupBox *ReplaceGroup;
47 };
48 
49 #endif