lyx_mirror/src/frontends/qt4/GuiNote.h
André Pönitz 470aba2a0e cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 18:33:42 +00:00

43 lines
806 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();
/// Apply changes
void applyView();
/// Update dialog before showing it
void updateContents();
};
} // namespace frontend
} // namespace lyx
#endif // GUINOTE_H