2002-09-10 10:18:58 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2002-09-26 08:57:43 +00:00
|
|
|
* \file FormWrap.h
|
2002-09-10 10:18:58 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Dekel Tsur
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMWRAP_H
|
|
|
|
#define FORMWRAP_H
|
|
|
|
|
|
|
|
|
2003-03-05 23:19:45 +00:00
|
|
|
#include "FormDialogView.h"
|
2002-10-25 09:16:22 +00:00
|
|
|
#include "RadioButtonGroup.h"
|
2002-09-10 10:18:58 +00:00
|
|
|
|
|
|
|
class ControlWrap;
|
|
|
|
struct FD_wrap;
|
|
|
|
|
|
|
|
/** This class provides an XForms implementation of the Wrap
|
|
|
|
Dialog.
|
|
|
|
*/
|
|
|
|
class FormWrap
|
2003-03-05 23:19:45 +00:00
|
|
|
: public FormController<ControlWrap, FormView<FD_wrap> > {
|
2002-09-10 10:18:58 +00:00
|
|
|
public:
|
|
|
|
///
|
2003-03-05 23:19:45 +00:00
|
|
|
FormWrap(Dialog &);
|
2002-09-10 10:18:58 +00:00
|
|
|
private:
|
|
|
|
/// Set the Params variable for the Controller.
|
|
|
|
virtual void apply();
|
|
|
|
/// Build the dialog.
|
|
|
|
virtual void build();
|
|
|
|
/// Update dialog before/whilst showing it.
|
|
|
|
virtual void update();
|
2002-10-25 09:16:22 +00:00
|
|
|
|
|
|
|
/// placement
|
|
|
|
RadioButtonGroup placement_;
|
2002-09-10 10:18:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMWRAP_H
|