]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QFloat.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QFloat.h
1 // -*- C++ -*-
2 /**
3  * \file QFloat.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 QFLOAT_H
13 #define QFLOAT_H
14
15 #include "QDialogView.h"
16
17 namespace lyx {
18 namespace frontend {
19
20
21 class ControlFloat;
22 class QFloatDialog;
23
24 ///
25 class QFloat : public QController<ControlFloat, QView<QFloatDialog> > {
26 public:
27         ///
28         friend class QFloatDialog;
29         ///
30         QFloat(Dialog &);
31 private:
32         /// Apply changes
33         virtual void apply();
34         /// update
35         virtual void update_contents();
36         /// build the dialog
37         virtual void build_dialog();
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // QFLOAT_H