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