1 /********************************************************************************
2 *                                                                               *
3 *                       T e x t   S e a r c h   D i a l o g                     *
4 *                                                                               *
5 *********************************************************************************
6 * Copyright (C) 2000,2021 by Jeroen van der Zijp.   All Rights Reserved.        *
7 *********************************************************************************
8 * This library is free software; you can redistribute it and/or modify          *
9 * it under the terms of the GNU Lesser General Public License as published by   *
10 * the Free Software Foundation; either version 3 of the License, or             *
11 * (at your option) any later version.                                           *
12 *                                                                               *
13 * This library is distributed in the hope that it will be useful,               *
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of                *
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                 *
16 * GNU Lesser General Public License for more details.                           *
17 *                                                                               *
18 * You should have received a copy of the GNU Lesser General Public License      *
19 * along with this program.  If not, see <http://www.gnu.org/licenses/>          *
20 ********************************************************************************/
21 #ifndef FXSEARCHDIALOG_H
22 #define FXSEARCHDIALOG_H
23 
24 #ifndef FXREPLACEDIALOG_H
25 #include "FXReplaceDialog.h"
26 #endif
27 
28 namespace FX {
29 
30 
31 /**
32 * Search Dialog.
33 * This dialog allows the user to enter a search string or pattern to
34 * search for; also, some common options such as case-sentitivity, search
35 * direction, and whether or not to perform a regular expression match may
36 * be entered.  The most recent couple of search paraneters are remembered
37 * for quick recall for convenience.
38 * Note that this dialog does not actually perform a search, it just provides
39 * an entry box for the search parameters.
40 */
41 class FXAPI FXSearchDialog : public FXReplaceDialog {
FXDECLARE(FXSearchDialog)42   FXDECLARE(FXSearchDialog)
43 protected:
44   FXSearchDialog(){}
45 private:
46   FXSearchDialog(const FXSearchDialog&);
47   FXSearchDialog &operator=(const FXSearchDialog&);
48 public:
49 
50   /// Construct search dialog box
51   FXSearchDialog(FXWindow* owner,const FXString& caption,FXIcon* ic=NULL,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0);
52 
53   /// Destructor
54   virtual ~FXSearchDialog();
55   };
56 
57 }
58 
59 #endif
60