]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiNote.h
* fix spelling in comments to please John.
[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 "insets/InsetNote.h"
17 #include "ui_NoteUi.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class GuiNote : public GuiDialog, public Ui::NoteUi
23 {
24         Q_OBJECT
25 public:
26         GuiNote(GuiView & lv);
27 private Q_SLOTS:
28         void change_adaptor();
29 private:
30         /// Apply changes
31         void applyView();
32         /// Update dialog before showing it
33         void updateContents();
34         ///
35         bool initialiseParams(std::string const & data);
36         ///
37         void clearParams();
38         ///
39         void dispatchParams();
40         ///
41         bool isBufferDependent() const { return true; }
42 private:
43         ///
44         InsetNoteParams params_;
45 };
46
47 } // namespace frontend
48 } // namespace lyx
49
50 #endif // GUINOTE_H