GuiPrintNomencl.{cpp,h}:
[lyx.git] / src / frontends / qt4 / GuiNomencl.h
blob0b83d2e0e28d0e12a97f1c048ab7fec6c5809508
1 // -*- C++ -*-
2 /**
3 * \file GuiNomenclature.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author John Levon
8 * \author Kalle Dalheimer
9 * \author O. U. Baran
11 * Full author contact details are available in file CREDITS.
14 #ifndef GUINOMENCLATURE_H
15 #define GUINOMENCLATURE_H
17 #include "GuiDialog.h"
18 #include "ui_NomenclUi.h"
20 #include "insets/InsetCommandParams.h"
22 namespace lyx {
23 namespace frontend {
25 class GuiNomenclature : public GuiDialog, public Ui::NomenclUi
27 Q_OBJECT
29 public:
30 GuiNomenclature(GuiView & lv);
32 private Q_SLOTS:
33 void change_adaptor();
34 void reject();
36 private:
37 ///
38 bool isValid();
39 /// Apply changes
40 void applyView();
41 /// update
42 void updateContents() {}
43 ///
44 bool initialiseParams(std::string const & data);
45 ///
46 void paramsToDialog(InsetCommandParams const & icp);
47 /// clean-up on hide.
48 void clearParams() { params_.clear(); }
49 /// clean-up on hide.
50 void dispatchParams();
51 ///
52 bool isBufferDependent() const { return true; }
54 private:
55 ///
56 InsetCommandParams params_;
59 } // namespace frontend
60 } // namespace lyx
62 #endif // GUINOMENCLATURE_H