2001-06-13 14:33:31 +00:00
|
|
|
// -*- C++ -*-
|
2002-03-11 17:00:41 +00:00
|
|
|
/**
|
2001-03-30 09:51:46 +00:00
|
|
|
* \file FormExternal.h
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-03-11 17:00:41 +00:00
|
|
|
*
|
|
|
|
* \author Asger Alstrup Nielsen
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author John Levon
|
|
|
|
* \author Angus Leeming
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-03-12 12:47:07 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMEXTERNAL_H
|
|
|
|
#define FORMEXTERNAL_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-03-30 09:51:46 +00:00
|
|
|
#include "FormBase.h"
|
2001-03-15 13:37:04 +00:00
|
|
|
#include "insets/insetexternal.h"
|
|
|
|
|
2001-03-30 09:51:46 +00:00
|
|
|
class ControlExternal;
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_external;
|
2001-03-15 13:37:04 +00:00
|
|
|
|
2001-03-12 12:47:07 +00:00
|
|
|
/// The class for editing External insets via a dialog
|
2002-06-13 13:43:51 +00:00
|
|
|
class FormExternal : public FormCB<ControlExternal, FormDB<FD_external> > {
|
2001-03-12 12:47:07 +00:00
|
|
|
public:
|
2001-03-15 13:37:04 +00:00
|
|
|
///
|
2002-08-12 14:28:43 +00:00
|
|
|
FormExternal();
|
2001-03-12 12:47:07 +00:00
|
|
|
private:
|
2001-03-30 09:51:46 +00:00
|
|
|
/// apply changes
|
|
|
|
void apply();
|
2001-03-12 12:47:07 +00:00
|
|
|
|
|
|
|
/// build the dialog
|
|
|
|
void build();
|
|
|
|
|
|
|
|
/// update the dialog
|
|
|
|
void update();
|
|
|
|
|
2001-03-30 09:51:46 +00:00
|
|
|
/// Filter the inputs on callback from xforms
|
|
|
|
ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
2001-03-12 12:47:07 +00:00
|
|
|
|
2001-03-30 09:51:46 +00:00
|
|
|
///
|
|
|
|
void updateComboChange();
|
2001-03-12 12:47:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMEXTERNAL_H
|