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