2001-06-13 14:33:31 +00:00
|
|
|
// -*- C++ -*-
|
2001-03-06 10:20:33 +00:00
|
|
|
/**
|
|
|
|
* \file FormSearch.h
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-03-06 10:20:33 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author Edwin Leuven
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-03-06 10:20:33 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMSEARCH_H
|
|
|
|
#define FORMSEARCH_H
|
|
|
|
|
2001-03-15 13:37:04 +00:00
|
|
|
|
2001-03-26 15:25:37 +00:00
|
|
|
#include "FormBase.h"
|
2001-03-06 10:20:33 +00:00
|
|
|
|
2001-03-26 15:25:37 +00:00
|
|
|
class ControlSearch;
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_search;
|
2001-03-06 10:20:33 +00:00
|
|
|
|
|
|
|
/** This class provides an XForms implementation of the FormSearch Dialog.
|
|
|
|
*/
|
2002-06-13 13:43:51 +00:00
|
|
|
class FormSearch : public FormCB<ControlSearch, FormDB<FD_search> > {
|
2001-03-06 10:20:33 +00:00
|
|
|
public:
|
2001-03-15 13:37:04 +00:00
|
|
|
///
|
2002-08-12 14:28:43 +00:00
|
|
|
FormSearch();
|
2001-03-06 10:20:33 +00:00
|
|
|
private:
|
2001-03-26 15:25:37 +00:00
|
|
|
/// not needed.
|
|
|
|
virtual void apply() {}
|
|
|
|
/// Build the dialog
|
2001-03-15 13:37:04 +00:00
|
|
|
virtual void build();
|
2002-06-18 17:31:41 +00:00
|
|
|
/// update the dialog
|
|
|
|
virtual void update();
|
2001-03-15 13:37:04 +00:00
|
|
|
|
2001-03-26 15:25:37 +00:00
|
|
|
/// Filter the inputs
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
2001-03-06 10:20:33 +00:00
|
|
|
};
|
|
|
|
|
2001-03-26 15:25:37 +00:00
|
|
|
#endif // FORMSEARCH_H
|