2001-06-13 14:33:31 +00:00
|
|
|
|
// -*- C++ -*-
|
2002-03-11 17:00:41 +00:00
|
|
|
|
/**
|
2001-03-27 16:03:28 +00:00
|
|
|
|
* \file FormMinipage.h
|
2002-03-11 17:00:41 +00:00
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
|
* Read the file COPYING
|
|
|
|
|
*
|
|
|
|
|
* \author J<EFBFBD>rgen Vigna, jug@sad.it
|
2001-03-16 15:15:32 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef FORMMINIPAGE_H
|
|
|
|
|
#define FORMMINIPAGE_H
|
|
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
|
#pragma interface
|
|
|
|
|
#endif
|
|
|
|
|
|
2001-03-27 16:03:28 +00:00
|
|
|
|
#include "FormBase.h"
|
2001-03-16 15:15:32 +00:00
|
|
|
|
|
2001-03-28 13:11:08 +00:00
|
|
|
|
class ControlMinipage;
|
2002-06-13 13:43:51 +00:00
|
|
|
|
struct FD_minipage;
|
2001-03-16 15:15:32 +00:00
|
|
|
|
|
2001-03-27 16:03:28 +00:00
|
|
|
|
/** This class provides an XForms implementation of the Minipage
|
2001-03-16 15:15:32 +00:00
|
|
|
|
Dialog.
|
|
|
|
|
*/
|
2001-07-30 11:56:00 +00:00
|
|
|
|
class FormMinipage
|
2002-06-13 13:43:51 +00:00
|
|
|
|
: public FormCB<ControlMinipage, FormDB<FD_minipage> > {
|
2001-03-16 15:15:32 +00:00
|
|
|
|
public:
|
2001-03-27 16:03:28 +00:00
|
|
|
|
///
|
2002-07-02 19:23:10 +00:00
|
|
|
|
FormMinipage(ControlMinipage &, Dialogs &);
|
2001-03-16 15:15:32 +00:00
|
|
|
|
private:
|
2001-03-27 16:03:28 +00:00
|
|
|
|
/// Set the Params variable for the Controller.
|
2001-03-16 15:15:32 +00:00
|
|
|
|
virtual void apply();
|
2001-03-27 16:03:28 +00:00
|
|
|
|
/// Build the dialog.
|
2001-03-16 15:15:32 +00:00
|
|
|
|
virtual void build();
|
2001-03-27 16:03:28 +00:00
|
|
|
|
/// Update dialog before/whilst showing it.
|
|
|
|
|
virtual void update();
|
2002-01-29 09:38:09 +00:00
|
|
|
|
/// Filter the inputs on callback from xforms
|
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
2001-03-16 15:15:32 +00:00
|
|
|
|
};
|
|
|
|
|
|
2001-03-27 16:03:28 +00:00
|
|
|
|
#endif // FORMMINIPAGE_H
|