2001-08-27 01:19:32 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QExternal.h
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-08-27 01:19:32 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-08-27 01:19:32 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QEXTERNAL_H
|
|
|
|
#define QEXTERNAL_H
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
|
2003-03-05 11:30:35 +00:00
|
|
|
#include "QDialogView.h"
|
|
|
|
|
2001-08-27 01:19:32 +00:00
|
|
|
|
|
|
|
class ControlExternal;
|
|
|
|
class QExternalDialog;
|
|
|
|
|
2003-03-05 11:30:35 +00:00
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QExternal
|
2003-03-05 11:30:35 +00:00
|
|
|
: public QController<ControlExternal, QView<QExternalDialog> >
|
2001-08-27 01:19:32 +00:00
|
|
|
{
|
2002-10-20 01:48:28 +00:00
|
|
|
public:
|
2001-08-27 01:19:32 +00:00
|
|
|
friend class QExternalDialog;
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2003-03-05 11:30:35 +00:00
|
|
|
QExternal(Dialog &);
|
2002-12-01 22:59:25 +00:00
|
|
|
|
2002-03-21 21:21:28 +00:00
|
|
|
private:
|
2001-08-27 01:19:32 +00:00
|
|
|
/// Apply changes
|
|
|
|
virtual void apply();
|
|
|
|
/// update
|
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-27 01:19:32 +00:00
|
|
|
/// get the right helptext
|
2003-03-05 11:30:35 +00:00
|
|
|
string const helpText() const;
|
2001-08-27 01:19:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QEXTERNAL_H
|