]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSearch.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormSearch.h
1 // -*- C++ -*-
2 /**
3  * \file FormSearch.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Edwin Leuven
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef FORMSEARCH_H
13 #define FORMSEARCH_H
14
15
16 #include "FormBase.h"
17
18 class ControlSearch;
19 struct FD_search;
20
21 /** This class provides an XForms implementation of the FormSearch Dialog.
22  */
23 class FormSearch : public FormCB<ControlSearch, FormDB<FD_search> > {
24 public:
25         ///
26         FormSearch();
27 private:
28         /// not needed.
29         virtual void apply() {}
30         /// Build the dialog
31         virtual void build();
32         /// update the dialog
33         virtual void update();
34
35         /// Filter the inputs
36         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
37 };
38
39 #endif // FORMSEARCH_H