mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 12:26:59 +00:00
2a31934f38
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8766 a592a061-630c-0410-9148-cb99ea01b6c8
45 lines
829 B
C++
45 lines
829 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file QNote.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 QNOTE_H
|
|
#define QNOTE_H
|
|
|
|
#include "QDialogView.h"
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
class ControlNote;
|
|
class QNoteDialog;
|
|
|
|
/** This class provides a QT implementation of the Note Dialog.
|
|
*/
|
|
class QNote : public QController<ControlNote, QView<QNoteDialog> >
|
|
{
|
|
public:
|
|
friend class QNoteDialog;
|
|
|
|
/// Constructor
|
|
QNote(Dialog &);
|
|
private:
|
|
/// Apply changes
|
|
virtual void apply();
|
|
/// Build the dialog
|
|
virtual void build_dialog();
|
|
/// Update dialog before showing it
|
|
virtual void update_contents();
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // QNOTE_H
|