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> > {
34 friend class FormCitationDialogImpl;
38 FormCitation(ControlCitation &);
49 /// Set the Params variable for the Controller.
55 /// Update dialog before/whilst showing it.
56 virtual void update();
57 // /// Filter the inputs on callback from xforms
58 // virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
60 void updateBrowser(QListBox*, std::vector<string> const &) const;
62 void setBibButtons(State) const;
64 void setCiteButtons(State) const;
67 std::vector<string> citekeys;
69 std::vector<string> bibkeys;
72 #endif // FORMCITATION_H