4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
10 * Full author contact details are available in file CREDITS.
16 #include "GuiDialog.h"
17 #include "ui_BibitemUi.h"
19 #include "controllers/Dialog.h"
21 #include "insets/InsetCommandParams.h"
26 class GuiBibitem : public GuiDialog, public Ui::BibitemUi, public Controller
31 GuiBibitem(LyXView & lv);
34 void change_adaptor();
38 void closeEvent(QCloseEvent * e);
40 Controller & controller() { return *this; }
48 void updateContents();
50 bool initialiseParams(std::string const & data);
52 void clearParams() { params_.clear(); }
54 void dispatchParams();
56 bool isBufferDependent() const { return true; }
60 InsetCommandParams params_;
63 } // namespace frontend
66 #endif // GUIBIBITEM_H