2003-07-15 12:48:24 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
|
|
|
|
* \file QNote.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
2003-09-07 01:45:40 +00:00
|
|
|
|
* \author J<EFBFBD>rgen Spitzm<EFBFBD>ller
|
2003-07-15 12:48:24 +00:00
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-07-15 12:48:24 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef QNOTE_H
|
|
|
|
|
#define QNOTE_H
|
|
|
|
|
|
|
|
|
|
#include "QDialogView.h"
|
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
|
namespace lyx {
|
|
|
|
|
namespace frontend {
|
2003-07-15 12:48:24 +00:00
|
|
|
|
|
|
|
|
|
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();
|
|
|
|
|
};
|
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
|
} // namespace frontend
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
2003-07-15 12:48:24 +00:00
|
|
|
|
#endif // QNOTE_H
|