]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBibitem.h
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / xforms / FormBibitem.h
1 /**
2  * \file FormBibitem.h
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author Angus Leeming
7  * \author John Levon
8  */
9
10 #ifndef FORMBIBITEM_H
11 #define FORMBIBITEM_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormInset.h"
18 struct FD_form_bibitem;
19
20 /**
21  * For bibliography entry editing
22  */
23 class FormBibitem : public FormCommand {
24 public:
25         ///
26         FormBibitem(LyXView *, Dialogs *);
27         ///
28         ~FormBibitem();
29 private:
30         /// Connect signals etc. Set form's max size.
31         virtual void connect();
32         /// Build the dialog
33         virtual void build();
34         /// Update dialog before showing it
35         virtual void update();
36         /// input handler
37         virtual bool input(FL_OBJECT *,long);
38         /// Apply from dialog (modify or create inset)
39         virtual void apply();
40         /// Pointer to the actual instantiation of the xform's form
41         virtual FL_FORM * form() const;
42         ///
43         FD_form_bibitem * build_bibitem();
44         /// Real GUI implementation.
45         FD_form_bibitem * dialog_;
46 };
47
48 #endif // FORMBIBITEM_H