]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiNomencl.h
4a4dfcb2bc9f3889df3c80c5176602f23e8699ae
[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 showView();
38         ///
39         void closeEvent(QCloseEvent * e);
40         /// parent controller
41         ControlCommand & controller() const;
42         ///
43         bool isValid();
44         /// Apply changes
45         void applyView();
46         /// update
47         void update_contents();
48 };
49
50 } // namespace frontend
51 } // namespace lyx
52
53 #endif // GUINOMENCL_H