2001-02-06 17:41:42 +00:00
|
|
|
/* FormBrowser.C
|
|
|
|
* (C) 2001 LyX Team
|
|
|
|
* John Levon, moz@compsoc.man.ac.uk
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
|
|
|
|
2001-03-20 10:14:03 +00:00
|
|
|
#include <config.h>
|
2001-02-06 17:41:42 +00:00
|
|
|
#include "FormBrowser.h"
|
|
|
|
#include "form_browser.h"
|
2001-03-20 10:14:03 +00:00
|
|
|
#include "xformsBC.h"
|
2001-02-06 17:41:42 +00:00
|
|
|
|
2001-04-03 14:30:58 +00:00
|
|
|
FormBrowser::FormBrowser(ControlButtons & c, string const & t)
|
2001-03-20 10:14:03 +00:00
|
|
|
: FormDB<FD_form_browser>(c, t)
|
2001-03-15 13:37:04 +00:00
|
|
|
{}
|
2001-03-20 10:14:03 +00:00
|
|
|
|
2001-02-06 17:41:42 +00:00
|
|
|
|
|
|
|
void FormBrowser::build()
|
|
|
|
{
|
2001-03-15 13:37:04 +00:00
|
|
|
dialog_.reset(build_browser());
|
2001-02-06 17:41:42 +00:00
|
|
|
|
|
|
|
// Manage the close button
|
2001-03-15 13:37:04 +00:00
|
|
|
bc().setCancel(dialog_->button_close);
|
2001-02-06 17:41:42 +00:00
|
|
|
}
|