]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiFloat.h
cosmetics
[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 "ControlFloat.h"
17 #include "ui_FloatUi.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class GuiFloatDialog : public GuiDialog, public Ui::FloatUi
23 {
24         Q_OBJECT
25
26 public:
27         GuiFloatDialog(LyXView & lv);
28
29 private Q_SLOTS:
30         void change_adaptor();
31
32 private:
33         void closeEvent(QCloseEvent * e);
34         /// parent controller
35         ControlFloat & controller();
36         /// Apply changes
37         void applyView();
38         /// update
39         void updateContents();
40 };
41
42 } // namespace frontend
43 } // namespace lyx
44
45 #endif // GUIFLOAT_H