4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
15 #include "GuiDialogView.h"
16 #include "ControlCommand.h"
17 #include "ui_BibitemUi.h"
27 class GuiBibitemDialog : public QDialog, public Ui::BibitemUi {
31 GuiBibitemDialog(GuiBibitem * form);
33 virtual void change_adaptor();
35 virtual void closeEvent(QCloseEvent * e);
41 class GuiBibitem : public GuiView<GuiBibitemDialog>
45 GuiBibitem(GuiDialog &);
47 ControlCommand & controller()
48 { return static_cast<ControlCommand &>(this->getController()); }
50 ControlCommand const & controller() const
51 { return static_cast<ControlCommand const &>(this->getController()); }
53 virtual bool isValid();
55 friend class GuiBibitemDialog;
57 virtual void applyView();
59 virtual void update_contents();
61 virtual void build_dialog();
64 } // namespace frontend
67 #endif // GUIBIBITEM_H