]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QWrap.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QWrap.h
1 // -*- C++ -*-
2 /**
3  * \file QWrap.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Jürgen Spitzmüller
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef QWRAP_H
13 #define QWRAP_H
14
15 #include "QDialogView.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlWrap;
21 class QWrapDialog;
22
23
24 class QWrap : public QController<ControlWrap, QView<QWrapDialog> > {
25 public:
26         friend class QWrapDialog;
27
28         QWrap(Dialog &);
29 private:
30         /// Apply changes
31         virtual void apply();
32         /// update
33         virtual void update_contents();
34         /// build the dialog
35         virtual void build_dialog();
36 };
37
38 } // namespace frontend
39 } // namespace lyx
40
41 #endif // QWRAP_H