]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiFloat.h
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiFloat.h
1 // -*- C++ -*-
2 /**
3  * \file GuiFloat.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Edwin Leuven
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GUIFLOAT_H
13 #define GUIFLOAT_H
14
15 #include "GuiDialog.h"
16 #include "ui_FloatUi.h"
17 #include "insets/InsetFloat.h"
18
19
20 namespace lyx {
21 namespace frontend {
22
23 class GuiFloat : public GuiDialog, public Ui::FloatUi
24 {
25         Q_OBJECT
26
27 public:
28         GuiFloat(GuiView & lv);
29
30 private Q_SLOTS:
31         void change_adaptor();
32
33 private:
34         /// Apply changes
35         void applyView();
36         /// update
37         void updateContents();
38         ///
39         bool initialiseParams(std::string const & data);
40         /// clean-up on hide.
41         void clearParams();
42         /// clean-up on hide.
43         void dispatchParams();
44         ///
45         bool isBufferDependent() const { return true; }
46
47 private:
48         ///
49         InsetFloatParams params_;
50 };
51
52 } // namespace frontend
53 } // namespace lyx
54
55 #endif // GUIFLOAT_H