]> git.lyx.org Git - features.git/blob - src/frontends/qt4/GuiFloat.h
* Migrate InsetFloat to InsetDialog
[features.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 "InsetDialog.h"
16
17 #include "ui_FloatUi.h"
18
19
20 namespace lyx {
21 namespace frontend {
22
23 class GuiFloat : public InsetDialog, public Ui::FloatUi
24 {
25         Q_OBJECT
26
27 public:
28         GuiFloat(GuiView & lv);
29
30 private:
31         /// \name Dialog inerited methods
32         //@{
33         void enableView(bool enable);
34         //@}
35
36         /// \name InsetDialog inherited methods
37         //@{
38         void paramsToDialog(Inset const *);
39         docstring dialogToParams() const;
40         //@}
41 };
42
43 } // namespace frontend
44 } // namespace lyx
45
46 #endif // GUIFLOAT_H