2002-03-11 17:00:41 +00:00
|
|
|
/**
|
|
|
|
* \file FormBrowser.C
|
|
|
|
* Copyright 2001 The LyX Team.
|
|
|
|
* See the file COPYING.
|
|
|
|
*
|
|
|
|
* \author John Levon, moz@compsoc.man.ac.uk
|
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
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#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
|
|
|
|
2002-07-02 19:23:10 +00:00
|
|
|
FormBrowser::FormBrowser(ControlButtons & c, Dialogs & d,
|
|
|
|
string const & t, bool allowResize)
|
|
|
|
: FormDB<FD_browser>(c, d, t, 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
|
2001-03-15 13:37:04 +00:00
|
|
|
bc().setCancel(dialog_->button_close);
|
2001-02-06 17:41:42 +00:00
|
|
|
}
|