2001-02-06 17:41:42 +00:00
|
|
|
// -*- C++ -*-
|
2002-09-05 14:10:50 +00:00
|
|
|
/**
|
2001-03-20 10:14:03 +00:00
|
|
|
* \file FormBrowser.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-02-06 17:41:42 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author John Levon
|
2002-12-01 22:59:25 +00:00
|
|
|
* \author Angus Leeming
|
2002-09-05 14:10:50 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-02-06 17:41:42 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMBROWSER_H
|
|
|
|
#define FORMBROWSER_H
|
|
|
|
|
|
|
|
|
2003-03-25 18:13:46 +00:00
|
|
|
#include "FormDialogView.h"
|
2001-02-06 17:41:42 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* This class provides an XForms implementation of a read only
|
|
|
|
* text browser.
|
|
|
|
*/
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_browser;
|
2001-03-20 10:14:03 +00:00
|
|
|
|
2003-03-25 18:13:46 +00:00
|
|
|
class FormBrowser : public FormView<FD_browser> {
|
2001-02-06 17:41:42 +00:00
|
|
|
public:
|
2001-03-15 13:37:04 +00:00
|
|
|
///
|
2003-03-25 18:13:46 +00:00
|
|
|
FormBrowser(Dialog &, string const &, bool allowResize = true);
|
2001-02-06 17:41:42 +00:00
|
|
|
private:
|
2001-03-20 10:14:03 +00:00
|
|
|
/// Build the dialog.
|
2001-02-06 17:41:42 +00:00
|
|
|
virtual void build();
|
|
|
|
};
|
|
|
|
|
2001-03-20 10:14:03 +00:00
|
|
|
#endif // FORMBROWSER_H
|