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