2001-06-13 14:33:31 +00:00
|
|
|
// -*- C++ -*-
|
2002-03-11 17:00:41 +00:00
|
|
|
/**
|
2002-03-11 22:47:41 +00:00
|
|
|
* \file xforms/FormIndex.h
|
2002-03-11 17:00:41 +00:00
|
|
|
* Copyright 2000-2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
2001-03-28 13:11:08 +00:00
|
|
|
* \author Angus Leeming, a.leeming@ic.ac.uk
|
2000-08-03 12:56:25 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMINDEX_H
|
|
|
|
#define FORMINDEX_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-03-28 13:11:08 +00:00
|
|
|
#include "FormBase.h"
|
2001-03-16 12:08:14 +00:00
|
|
|
|
2001-03-28 13:11:08 +00:00
|
|
|
class ControlIndex;
|
2000-08-03 12:56:25 +00:00
|
|
|
struct FD_form_index;
|
|
|
|
|
2001-03-28 13:11:08 +00:00
|
|
|
/** This class provides an XForms implementation of the Index Dialog.
|
2000-08-03 12:56:25 +00:00
|
|
|
*/
|
2001-03-28 13:11:08 +00:00
|
|
|
class FormIndex : public FormCB<ControlIndex, FormDB<FD_form_index> > {
|
2000-08-03 12:56:25 +00:00
|
|
|
public:
|
|
|
|
///
|
2001-03-28 13:11:08 +00:00
|
|
|
FormIndex(ControlIndex &);
|
|
|
|
|
2000-08-03 12:56:25 +00:00
|
|
|
private:
|
2001-03-28 13:11:08 +00:00
|
|
|
/// Set the Params variable for the Controller.
|
|
|
|
virtual void apply();
|
|
|
|
/// Build the dialog.
|
2000-08-03 12:56:25 +00:00
|
|
|
virtual void build();
|
2001-03-28 13:11:08 +00:00
|
|
|
/// Update dialog before/whilst showing it.
|
2000-10-24 13:13:59 +00:00
|
|
|
virtual void update();
|
2001-03-28 13:11:08 +00:00
|
|
|
|
|
|
|
/// Fdesign generated method
|
2000-08-03 12:56:25 +00:00
|
|
|
FD_form_index * build_index();
|
|
|
|
};
|
|
|
|
|
2001-03-28 13:11:08 +00:00
|
|
|
#endif // FORMINDEX_H
|