]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QCharacterDialog.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QCharacterDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QCharacterDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Edwin Leuven
8  * \author John Levon
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef QCHARACTERDIALOG_H
14 #define QCHARACTERDIALOG_H
15
16 #include "ui/QCharacterUi.h"
17 #include <QCloseEvent>
18 #include <QDialog>
19 #include "QCharacter.h"
20
21 class LyXFont;
22
23
24
25 namespace lyx {
26 namespace frontend {
27
28 class QCharacterDialog : public QDialog, public Ui::QCharacterUi {
29         Q_OBJECT
30 public:
31         QCharacterDialog(QCharacter * form);
32 protected:
33         void closeEvent(QCloseEvent * e);
34 private:
35         QCharacter * form_;
36 protected Q_SLOTS:
37         void change_adaptor();
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // QCHARACTERDIALOG_H