lyx_mirror/src/frontends/qt2/QNote.h

40 lines
750 B
C
Raw Normal View History

// -*- C++ -*-
/**
* \file QNote.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Juergen Spitzmueller
*
* Full author contact details are available in file CREDITS.
*/
#ifndef QNOTE_H
#define QNOTE_H
#include "QDialogView.h"
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();
};
#endif // QNOTE_H