]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiNomencl.h
5c0405553eec1bc70ae38b8eaf3a5f6c68adb4e0
[lyx.git] / src / frontends / qt4 / GuiNomencl.h
1 // -*- C++ -*-
2 /**
3  * \file GuiNomencl.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  * \author Kalle Dalheimer
9  * \author O. U. Baran
10  *
11  * Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef GUINOMENCL_H
15 #define GUINOMENCL_H
16
17 #include "GuiDialog.h"
18 #include "ControlCommand.h"
19 #include "ui_NomenclUi.h"
20
21 namespace lyx {
22 namespace frontend {
23
24 class GuiNomenclDialog : public GuiDialog, public Ui::NomenclUi
25 {
26         Q_OBJECT
27
28 public:
29         GuiNomenclDialog(LyXView & lv);
30
31 private Q_SLOTS:
32         void change_adaptor();
33         void reject();
34
35 private:
36         ///
37         void closeEvent(QCloseEvent * e);
38         /// parent controller
39         ControlCommand & controller() const;
40         ///
41         bool isValid();
42         /// Apply changes
43         void applyView();
44         /// update
45         void update_contents();
46 };
47
48 } // namespace frontend
49 } // namespace lyx
50
51 #endif // GUINOMENCL_H