]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QShowFileDialog.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QShowFileDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QShowFileDialog.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 QSHOWFILEDIALOG_H
13 #define QSHOWFILEDIALOG_H
14
15 #include "ui/QShowFileUi.h"
16
17 #include <QDialog>
18 #include <QCloseEvent>
19
20 namespace lyx {
21 namespace frontend {
22
23 class QShowFile;
24
25 class QShowFileDialog : public QDialog, public Ui::QShowFileUi {
26         Q_OBJECT
27 public:
28         QShowFileDialog(QShowFile * form);
29 protected:
30         virtual void closeEvent(QCloseEvent * e);
31 private:
32         QShowFile * form_;
33 };
34
35 } // namespace frontend
36 } // namespace lyx
37
38 #endif // QSHOWFILEDIALOG_H