]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QNote.h
Joao latest bits
[lyx.git] / src / frontends / qt2 / 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
18 class ControlNote;
19 class QNoteDialog;
20
21 /** This class provides a QT implementation of the Note Dialog.
22  */
23 class QNote : public QController<ControlNote, QView<QNoteDialog> >
24 {
25 public:
26         friend class QNoteDialog;
27
28         /// Constructor
29         QNote(Dialog &);
30 private:
31         ///  Apply changes
32         virtual void apply();
33         /// Build the dialog
34         virtual void build_dialog();
35         /// Update dialog before showing it
36         virtual void update_contents();
37 };
38
39 #endif // QNOTE_H