GuiPrintNomencl.{cpp,h}:
[lyx.git] / src / frontends / qt4 / GuiWrap.h
blob2cb1265d8cb49775cedf4518d256948097cba545
1 // -*- C++ -*-
2 /**
3 * \file GuiWrap.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
9 * Full author contact details are available in file CREDITS.
12 #ifndef GUIWRAP_H
13 #define GUIWRAP_H
15 #include "GuiDialog.h"
16 #include "ui_WrapUi.h"
18 #include "insets/InsetWrap.h"
20 namespace lyx {
21 namespace frontend {
23 class GuiWrap : public GuiDialog, public Ui::WrapUi
25 Q_OBJECT
27 public:
28 GuiWrap(GuiView & lv);
30 private Q_SLOTS:
31 void change_adaptor();
33 private:
34 /// Dialog inherited methods
35 //@{
36 void applyView();
37 void updateContents() {}
38 bool initialiseParams(std::string const & data);
39 void clearParams();
40 void dispatchParams();
41 bool isBufferDependent() const { return true; }
42 //@}
44 ///
45 void paramsToDialog(InsetWrapParams const & params);
47 ///
48 InsetWrapParams params_;
51 } // namespace frontend
52 } // namespace lyx
54 #endif // GUIWRAP_H