2002-03-11 17:00:41 +00:00
|
|
|
/**
|
|
|
|
* \file FormBrowser.C
|
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.
|
2002-03-11 17:00:41 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2001-02-06 17:41:42 +00:00
|
|
|
*/
|
|
|
|
|
2002-03-11 17:00:41 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
2001-02-06 17:41:42 +00:00
|
|
|
|
|
|
|
#include "FormBrowser.h"
|
2002-06-13 13:43:51 +00:00
|
|
|
#include "forms/form_browser.h"
|
2001-03-20 10:14:03 +00:00
|
|
|
#include "xformsBC.h"
|
2001-02-06 17:41:42 +00:00
|
|
|
|
2003-03-25 18:13:46 +00:00
|
|
|
FormBrowser::FormBrowser(Dialog & parent,
|
|
|
|
string const & title, bool allowResize)
|
|
|
|
: FormView<FD_browser>(parent, title, allowResize)
|
2001-03-15 13:37:04 +00:00
|
|
|
{}
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-02-06 17:41:42 +00:00
|
|
|
|
|
|
|
void FormBrowser::build()
|
|
|
|
{
|
2002-06-13 13:43:51 +00:00
|
|
|
dialog_.reset(build_browser(this));
|
2001-02-06 17:41:42 +00:00
|
|
|
|
|
|
|
// Manage the close button
|
2003-03-10 03:13:28 +00:00
|
|
|
bcview().setCancel(dialog_->button_close);
|
2001-02-06 17:41:42 +00:00
|
|
|
}
|