2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2000 The LyX Team.
9 * ======================================================
11 * \author Angus Leeming <a.leeming@ic.ac.uk>
12 * \author Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se>
15 #ifndef FORMCITATION_H
16 #define FORMCITATION_H
27 /** This class provides a Qt2 implementation of the Citation Dialog.
28 @author Kalle Dalheimer
30 class ControlCitation;
31 class FormCitationDialogImpl;
33 class FormCitation : public Qt2CB<ControlCitation, Qt2DB<FormCitationDialogImpl> > {
36 FormCitation(ControlCitation &);
47 /// Set the Params variable for the Controller.
53 /// Update dialog before/whilst showing it.
54 virtual void update();
55 // /// Filter the inputs on callback from xforms
56 // virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
58 void updateBrowser(QListBox*, std::vector<string> const &) const;
60 void setBibButtons(State) const;
62 void setCiteButtons(State) const;
65 std::vector<string> citekeys;
67 std::vector<string> bibkeys;
70 #endif // FORMCITATION_H