2001-06-13 14:33:31 +00:00
|
|
|
// -*- C++ -*-
|
2001-03-16 15:15:32 +00:00
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
2001-03-27 16:03:28 +00:00
|
|
|
* Copyright 2001 The LyX Team.
|
2001-03-16 15:15:32 +00:00
|
|
|
*
|
2001-03-27 16:03:28 +00:00
|
|
|
*======================================================
|
|
|
|
*
|
|
|
|
* \file FormMinipage.h
|
|
|
|
* \author Juergen 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;
|
2001-03-16 15:15:32 +00:00
|
|
|
struct FD_form_minipage;
|
|
|
|
|
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-03-27 16:03:28 +00:00
|
|
|
class ControlMinipage;
|
|
|
|
struct FD_form_minipage;
|
|
|
|
|
|
|
|
class FormMinipage : public FormCB<ControlMinipage, FormDB<FD_form_minipage> > {
|
2001-03-16 15:15:32 +00:00
|
|
|
public:
|
2001-03-27 16:03:28 +00:00
|
|
|
///
|
|
|
|
FormMinipage(ControlMinipage &);
|
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();
|
2001-03-16 15:15:32 +00:00
|
|
|
|
2001-03-27 16:03:28 +00:00
|
|
|
/// Fdesign generated method
|
2001-03-16 15:15:32 +00:00
|
|
|
FD_form_minipage * build_minipage();
|
|
|
|
};
|
|
|
|
|
2001-03-27 16:03:28 +00:00
|
|
|
#endif // FORMMINIPAGE_H
|