4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Kalle Dalheimer
11 * Full author contact details are available in file CREDITS.
17 #include "GuiDialogView.h"
18 #include "ControlCommand.h"
19 #include "ui_NomenclUi.h"
29 class GuiNomenclDialog : public QDialog, public Ui::NomenclUi
33 GuiNomenclDialog(GuiNomencl * form);
36 virtual void change_adaptor();
37 virtual void reject();
39 virtual void closeEvent(QCloseEvent * e);
45 class GuiNomencl : public GuiView<GuiNomenclDialog>
48 friend class GuiNomenclDialog;
50 GuiNomencl(GuiDialog &, docstring const & title);
52 ControlCommand & controller()
53 { return static_cast<ControlCommand &>(this->getController()); }
55 ControlCommand const & controller() const
56 { return static_cast<ControlCommand const &>(this->getController()); }
58 virtual bool isValid();
63 virtual void update_contents();
65 virtual void build_dialog();
68 } // namespace frontend
71 #endif // GUINOMENCL_H