]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiPrintNomencl.h
930cf7ce3640158e9ce3d0f9b463d8aebc0e67de
[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 "GuiDialog.h"
17 #include "ui_PrintNomenclUi.h"
18
19 #include "insets/InsetCommandParams.h"
20
21
22 namespace lyx {
23 namespace frontend {
24
25 class GuiPrintNomencl : public GuiDialog, public Ui::PrintNomenclUi
26 {
27         Q_OBJECT
28
29 public:
30         GuiPrintNomencl(GuiView & lv);
31
32 private Q_SLOTS:
33         void change_adaptor();
34         void on_setWidthCO_activated(int);
35
36 private:
37         /// Apply changes
38         void applyView();
39         /// Update dialog before showing it
40         void updateContents();
41         ///
42         bool initialiseParams(std::string const & data);
43         ///
44         void paramsToDialog(InsetCommandParams const & icp);
45         ///
46         void clearParams() { params_.clear(); }
47         ///
48         void dispatchParams();
49         ///
50         bool isBufferDependent() const { return true; }
51
52         ///
53         InsetCommandParams params_;
54 };
55
56 } // namespace frontend
57 } // namespace lyx
58
59 #endif // GUIPRINTNOMENCL_H