lyx_mirror/src/frontends/qt4/GuiNote.h
André Pönitz c9ea6e6eef the fun begins....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20077 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 20:33:29 +00:00

43 lines
813 B
C++

// -*- C++ -*-
/**
* \file GuiNote.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
#ifndef GUINOTE_H
#define GUINOTE_H
#include "GuiDialog.h"
#include "ControlNote.h"
#include "ui_NoteUi.h"
namespace lyx {
namespace frontend {
class GuiNoteDialog : public GuiDialog, public Ui::NoteUi
{
Q_OBJECT
public:
GuiNoteDialog(LyXView & lv);
private Q_SLOTS:
void change_adaptor();
private:
void closeEvent(QCloseEvent * e);
/// parent controller
ControlNote & controller() const;
/// Apply changes
void applyView();
/// Update dialog before showing it
void update_contents();
};
} // namespace frontend
} // namespace lyx
#endif // GUINOTE_H