]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QNote.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QNote.h
1 // -*- C++ -*-
2 /**
3  * \file QNote.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 QNOTE_H
13 #define QNOTE_H
14
15 #include "QDialogView.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlNote;
21 class QNoteDialog;
22
23 /** This class provides a QT implementation of the Note Dialog.
24  */
25 class QNote : public QController<ControlNote, QView<QNoteDialog> >
26 {
27 public:
28         friend class QNoteDialog;
29
30         /// Constructor
31         QNote(Dialog &);
32 private:
33         ///  Apply changes
34         virtual void apply();
35         /// Build the dialog
36         virtual void build_dialog();
37         /// Update dialog before showing it
38         virtual void update_contents();
39 };
40
41 } // namespace frontend
42 } // namespace lyx
43
44 #endif // QNOTE_H