GuiPrintNomencl.{cpp,h}:
[lyx.git] / src / frontends / qt4 / GuiPrintNomencl.h
blobbd4e03107858d19a8c717377207a76f006ca0ff1
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.
7 * \author Jürgen Spitzmüller
8 * \author Uwe Stöhr
10 * Full author contact details are available in file CREDITS.
13 #ifndef GUIPRINTNOMENCL_H
14 #define GUIPRINTNOMENCL_H
16 #include "GuiDialog.h"
17 #include "ui_PrintNomenclUi.h"
19 #include "insets/InsetCommandParams.h"
22 namespace lyx {
23 namespace frontend {
25 class GuiPrintNomencl : public GuiDialog, public Ui::PrintNomenclUi
27 Q_OBJECT
29 public:
30 GuiPrintNomencl(GuiView & lv);
32 private Q_SLOTS:
33 void change_adaptor();
34 void on_setWidthCO_activated(int);
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 bool isValid();
54 ///
55 InsetCommandParams params_;
58 } // namespace frontend
59 } // namespace lyx
61 #endif // GUIPRINTNOMENCL_H