]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QFloat.h
1045d697002275539aed4f713cdfb10a4238cdb5
[lyx.git] / src / frontends / qt2 / 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
16 #include "Qt2Base.h"
17
18 class ControlFloat;
19 class QFloatDialog;
20
21 ///
22 class QFloat
23         : public Qt2CB<ControlFloat, Qt2DB<QFloatDialog> >
24 {
25 public:
26         ///
27         friend class QFloatDialog;
28         ///
29         QFloat();
30 private:
31         /// Apply changes
32         virtual void apply();
33         /// update
34         virtual void update_contents();
35         /// build the dialog
36         virtual void build_dialog();
37 };
38
39 #endif // QFLOAT_H