]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBibtex.h
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / xforms / FormBibtex.h
1 /**
2  * \file FormBibtex.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 FORMBIBTEX_H
11 #define FORMBIBTEX_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "FormInset.h"
18 struct FD_form_bibtex;
19
20 /**
21  * For bibtex database setting
22  */
23 class FormBibtex : public FormCommand {
24 public:
25         ///
26         FormBibtex(LyXView *, Dialogs *);
27         ///
28         ~FormBibtex();
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_bibtex * build_bibtex();
44         /// Real GUI implementation.
45         FD_form_bibtex * dialog_;
46 };
47
48 #endif // FORMBIBTEX_H