]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiNote.h
the fun begins....
[lyx.git] / src / frontends / qt4 / GuiNote.h
1 // -*- C++ -*-
2 /**
3  * \file GuiNote.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 GUINOTE_H
13 #define GUINOTE_H
14
15 #include "GuiDialog.h"
16 #include "ControlNote.h"
17 #include "ui_NoteUi.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class GuiNoteDialog : public GuiDialog, public Ui::NoteUi
23 {
24         Q_OBJECT
25 public:
26         GuiNoteDialog(LyXView & lv);
27 private Q_SLOTS:
28         void change_adaptor();
29 private:
30         void closeEvent(QCloseEvent * e);
31         /// parent controller
32         ControlNote & controller() const;
33         /// Apply changes
34         void applyView();
35         /// Update dialog before showing it
36         void update_contents();
37 };
38
39 } // namespace frontend
40 } // namespace lyx
41
42 #endif // GUINOTE_H