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 {
32 GuiNomenclDialog(GuiNomencl * form);
35 virtual void change_adaptor();
36 virtual void reject();
38 virtual void closeEvent(QCloseEvent * e);
44 class GuiNomencl : public GuiView<GuiNomenclDialog>
47 friend class GuiNomenclDialog;
49 GuiNomencl(Dialog &, docstring const & title);
51 ControlCommand & controller()
52 { return static_cast<ControlCommand &>(this->getController()); }
54 ControlCommand const & controller() const
55 { return static_cast<ControlCommand const &>(this->getController()); }
57 virtual bool isValid();
62 virtual void update_contents();
64 virtual void build_dialog();
67 } // namespace frontend
70 #endif // GUINOMENCL_H