]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiWrap.h
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / GuiWrap.h
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.
6  *
7  * \author Jürgen Spitzmüller
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GUIWRAP_H
13 #define GUIWRAP_H
14
15 #include "GuiDialog.h"
16 #include "ui_WrapUi.h"
17 #include "insets/InsetWrap.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class GuiWrap : public GuiDialog, public Ui::WrapUi
23 {
24         Q_OBJECT
25
26 public:
27         GuiWrap(GuiView & lv);
28
29 private Q_SLOTS:
30         void change_adaptor();
31
32 private:
33         /// Apply changes
34         void applyView();
35         /// update
36         void updateContents();
37         ///
38         bool initialiseParams(std::string const & data);
39         /// clean-up on hide.
40         void clearParams();
41         /// clean-up on hide.
42         void dispatchParams();
43         ///
44         bool isBufferDependent() const { return true; }
45
46         ///
47         InsetWrapParams params_;
48 };
49
50 } // namespace frontend
51 } // namespace lyx
52
53 #endif // GUIWRAP_H