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 "GuiDialogView.h"
16 #include "ControlNote.h"
17 #include "ui_NoteUi.h"
27 class GuiNoteDialog : public QDialog, public Ui::NoteUi {
30 GuiNoteDialog(GuiNote * form);
32 virtual void change_adaptor();
34 virtual void closeEvent(QCloseEvent * e);
40 /** This class provides a QT implementation of the Note Dialog.
42 class GuiNote : public GuiView<GuiNoteDialog>
45 friend class GuiNoteDialog;
50 ControlNote & controller()
51 { return static_cast<ControlNote &>(this->getController()); }
53 ControlNote const & controller() const
54 { return static_cast<ControlNote const &>(this->getController()); }
59 virtual void build_dialog();
60 /// Update dialog before showing it
61 virtual void update_contents();
64 } // namespace frontend