]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormExternal.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormExternal.h
1 // -*- C++ -*-
2 /**
3  * \file FormExternal.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Asger Alstrup Nielsen
8  * \author John Levon
9  * \author Angus Leeming
10  *
11  * Full author contact details are available in file CREDITS
12  */
13
14 #ifndef FORMEXTERNAL_H
15 #define FORMEXTERNAL_H
16
17
18 #include "FormDialogView.h"
19
20
21 class ControlExternal;
22 struct FD_external;
23
24 /// The class for editing External insets via a dialog
25 class FormExternal
26         : public FormController<ControlExternal, FormView<FD_external> > {
27 public:
28         ///
29         FormExternal(Dialog &);
30 private:
31         /// apply changes
32         virtual void apply();
33
34         /// build the dialog
35         virtual void build();
36
37         /// update the dialog
38         virtual void update();
39
40         /// Filter the inputs on callback from xforms
41         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
42
43         ///
44         void updateComboChange();
45 };
46
47 #endif // FORMEXTERNAL_H