]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QERT.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QERT.h
1 // -*- C++ -*-
2 /**
3  * \file QERT.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef QERT_H
13 #define QERT_H
14
15 #include "QDialogView.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlERT;
21 class QERTDialog;
22
23
24 class QERT : public QController<ControlERT, QView<QERTDialog> >
25 {
26 public:
27         friend class QERTDialog;
28
29         QERT(Dialog &);
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 } // namespace frontend
40 } // namespace lyx
41
42 #endif // QERT_H