]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiPrintNomencl.h
Add missing initialization
[lyx.git] / src / frontends / qt4 / GuiPrintNomencl.h
1 // -*- C++ -*-
2 /**
3  * \file GuiPrintNomencl.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Jürgen Spitzmüller
8  * \author Uwe Stöhr
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef GUIPRINTNOMENCL_H
14 #define GUIPRINTNOMENCL_H
15
16 #include "InsetParamsWidget.h"
17 #include "ui_PrintNomenclUi.h"
18
19 namespace lyx {
20
21 class InsetCommandParams;
22
23 namespace frontend {
24
25 class GuiPrintNomencl : public InsetParamsWidget, public Ui::PrintNomenclUi
26 {
27         Q_OBJECT
28
29 public:
30         GuiPrintNomencl(QWidget * parent = 0);
31
32 private Q_SLOTS:
33         void on_setWidthCO_activated(int);
34
35 private:
36         /// \name InsetParamsWidget inherited methods
37         //@{
38         InsetCode insetCode() const { return NOMENCL_PRINT_CODE; }
39         FuncCode creationCode() const { return LFUN_INSET_INSERT; }
40         void paramsToDialog(Inset const *);
41         void paramsToDialog(InsetCommandParams const &);
42         docstring dialogToParams() const;
43         bool checkWidgets(bool readonly) const;
44         //@}
45 };
46
47 } // namespace frontend
48 } // namespace lyx
49
50 #endif // GUIPRINTNOMENCL_H