2001-06-13 14:33:31 +00:00
|
|
|
// -*- C++ -*-
|
2002-03-11 17:00:41 +00:00
|
|
|
/**
|
2003-02-27 15:57:11 +00:00
|
|
|
* \file FormUrl.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
|
|
|
*
|
2002-12-01 22:59:25 +00:00
|
|
|
* \author Angus Leeming
|
2002-09-05 14:10:50 +00:00
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2000-07-27 08:55:59 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMURL_H
|
|
|
|
#define FORMURL_H
|
|
|
|
|
2003-02-25 14:51:38 +00:00
|
|
|
#include "FormDialogView.h"
|
2001-03-15 13:37:04 +00:00
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
2003-03-07 14:08:10 +00:00
|
|
|
class ControlCommand;
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_url;
|
2000-08-01 17:33:32 +00:00
|
|
|
|
2001-03-23 18:46:11 +00:00
|
|
|
/** This class provides an XForms implementation of the Url Dialog.
|
2000-07-27 08:55:59 +00:00
|
|
|
*/
|
2003-03-07 14:08:10 +00:00
|
|
|
class FormUrl : public FormController<ControlCommand, FormView<FD_url> > {
|
2000-07-27 08:55:59 +00:00
|
|
|
public:
|
|
|
|
///
|
2003-02-25 14:51:38 +00:00
|
|
|
FormUrl(Dialog &);
|
2000-07-27 08:55:59 +00:00
|
|
|
private:
|
2001-03-23 18:46:11 +00:00
|
|
|
/// Apply from dialog (modify or create inset)
|
|
|
|
virtual void apply();
|
2000-07-27 08:55:59 +00:00
|
|
|
/// Build the dialog
|
2000-08-03 12:56:25 +00:00
|
|
|
virtual void build();
|
|
|
|
/// Update dialog before showing it
|
2000-10-24 13:13:59 +00:00
|
|
|
virtual void update();
|
2000-07-27 08:55:59 +00:00
|
|
|
};
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
2001-03-23 18:46:11 +00:00
|
|
|
#endif // FORMURL_H
|