lyx_mirror/src/frontends/qt4/GuiNote.h

43 lines
813 B
C
Raw Normal View History

// -*- C++ -*-
/**
* \file GuiNote.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author J<EFBFBD>rgen Spitzm<EFBFBD>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