]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBrowser.C
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormBrowser.C
1 /**
2  * \file FormBrowser.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author John Levon
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #include <config.h>
12
13
14 #include "FormBrowser.h"
15 #include "forms/form_browser.h"
16 #include "xformsBC.h"
17
18 FormBrowser::FormBrowser(Dialog & parent,
19                          string const & title, bool allowResize)
20         : FormView<FD_browser>(parent, title, allowResize)
21 {}
22
23
24 void FormBrowser::build()
25 {
26         dialog_.reset(build_browser(this));
27
28         // Manage the close button
29         bcview().setCancel(dialog_->button_close);
30 }