2001-03-15 13:37:04 +00:00
|
|
|
// -*- C++ -*-
|
2001-02-12 14:09:09 +00:00
|
|
|
/**
|
|
|
|
* \file FormBibtex.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author Angus Leeming
|
|
|
|
* \author John Levon
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMBIBTEX_H
|
|
|
|
#define FORMBIBTEX_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-03-19 16:37:01 +00:00
|
|
|
#include "FormBase.h"
|
|
|
|
|
|
|
|
class ControlBibtex;
|
2001-03-20 10:14:03 +00:00
|
|
|
struct FD_form_bibtex;
|
2001-02-12 14:09:09 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* For bibtex database setting
|
|
|
|
*/
|
2001-03-20 10:14:03 +00:00
|
|
|
class FormBibtex : public FormCB<ControlBibtex, FormDB<FD_form_bibtex> > {
|
2001-02-12 14:09:09 +00:00
|
|
|
public:
|
|
|
|
///
|
2001-03-19 16:37:01 +00:00
|
|
|
FormBibtex(ControlBibtex &);
|
|
|
|
|
2001-03-23 17:09:34 +00:00
|
|
|
private:
|
2001-03-19 16:37:01 +00:00
|
|
|
/// Set the Params variable for the Controller.
|
|
|
|
virtual void apply();
|
|
|
|
/// Build the dialog.
|
2001-02-12 14:09:09 +00:00
|
|
|
virtual void build();
|
2001-03-19 16:37:01 +00:00
|
|
|
/// Update dialog before/whilst showing it.
|
2001-02-12 14:09:09 +00:00
|
|
|
virtual void update();
|
2001-03-19 16:37:01 +00:00
|
|
|
/// Filter the inputs on callback from xforms
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
2002-02-05 20:36:12 +00:00
|
|
|
/// tooltips
|
|
|
|
void feedback(FL_OBJECT *);
|
|
|
|
///
|
|
|
|
void clear_feedback();
|
2001-03-27 10:44:14 +00:00
|
|
|
|
|
|
|
/// Fdesign generated method
|
2001-02-12 14:09:09 +00:00
|
|
|
FD_form_bibtex * build_bibtex();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMBIBTEX_H
|