]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QIncludeDialog.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QIncludeDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QIncludeDialog.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 QINCLUDEDIALOG_H
13 #define QINCLUDEDIALOG_H
14
15 #include "ui/QIncludeUi.h"
16
17 #include <QDialog>
18 #include <QCloseEvent>
19
20 namespace lyx {
21 namespace frontend {
22
23 class QInclude;
24
25 class QIncludeDialog : public QDialog, public Ui::QIncludeUi {
26         Q_OBJECT
27 public:
28         QIncludeDialog(QInclude * form);
29
30         void updateLists();
31
32         virtual void show();
33 protected Q_SLOTS:
34         virtual void change_adaptor();
35         virtual void loadClicked();
36         virtual void browseClicked();
37         virtual void typeChanged(int v);
38 protected:
39         virtual void closeEvent(QCloseEvent * e);
40 private:
41         QInclude * form_;
42 };
43
44 } // namespace frontend
45 } // namespace lyx
46
47 #endif // QINCLUDEDIALOG_H