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