3 * Copyright 2001 the LyX Team
6 * \author Alejandro Aguilar Sierra
17 #include "insets/insetinclude.h"
21 struct FD_form_include;
23 /** This class provides an XForms implementation of the FormInclude Dialog.
25 class FormInclude : public FormBaseBD {
28 FormInclude(LyXView *, Dialogs *);
36 /// the load file button
38 /// the verbatim radio choice
40 /// the input and include radio choices
44 /// Slot launching dialog to an existing inset
45 void showInclude(InsetInclude *);
47 /// Connect signals. Also perform any necessary initialisation.
48 virtual void connect();
49 /// Disconnect signals. Also perform any necessary housekeeping.
50 virtual void disconnect();
55 virtual bool input( FL_OBJECT *, long );
56 /// Update dialog before showing it
57 virtual void update();
58 /// Apply from dialog (modify or create inset)
60 /// Pointer to the actual instantiation of the xforms form
61 virtual FL_FORM * form() const;
62 /// bool indicates if a buffer switch took place
63 virtual void updateSlot(bool);
66 /// Type definition from the fdesign produced header file.
67 FD_form_include * build_include();
69 /// Real GUI implementation.
70 FD_form_include * dialog_;
72 /// inset::hide connection.
75 /// pointer to the inset passed through showInset
76 InsetInclude * inset_;
77 /// the nitty-gritty. What is modified and passed back
78 InsetInclude::InsetIncludeParams params;