4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Jürgen Spitzmüller
9 * Full author contact details are available in file CREDITS.
15 #include "GuiDialog.h"
16 #include "insets/InsetNote.h"
17 #include "ui_NoteUi.h"
22 class GuiNote : public GuiDialog, public Ui::NoteUi, public Controller
26 GuiNote(LyXView & lv);
28 void change_adaptor();
30 void closeEvent(QCloseEvent * e);
32 Controller & controller() { return *this; }
35 /// Update dialog before showing it
36 void updateContents();
38 bool initialiseParams(std::string const & data);
42 void dispatchParams();
44 bool isBufferDependent() const { return true; }
47 InsetNoteParams params_;
50 } // namespace frontend