2003-07-08 14:19:25 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file FormNote.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
2003-07-18 12:22:19 +00:00
|
|
|
* \author Martin Vermeer
|
2003-07-08 14:19:25 +00:00
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-07-08 14:19:25 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMNOTE_H
|
|
|
|
#define FORMNOTE_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "FormDialogView.h"
|
|
|
|
|
|
|
|
|
|
|
|
class ControlNote;
|
|
|
|
struct FD_note;
|
|
|
|
|
|
|
|
/** This class provides an XForms implementation of the Note Dialog.
|
|
|
|
*/
|
|
|
|
class FormNote : public FormController<ControlNote, FormView<FD_note> > {
|
|
|
|
public:
|
|
|
|
/// Constructor
|
|
|
|
FormNote(Dialog &);
|
|
|
|
private:
|
2003-09-09 18:27:24 +00:00
|
|
|
///
|
2003-07-08 14:19:25 +00:00
|
|
|
virtual void apply();
|
|
|
|
/// Build the dialog
|
|
|
|
virtual void build();
|
|
|
|
/// Update dialog before showing it
|
|
|
|
virtual void update();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMNOTE_H
|