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