2006-03-05 17:24:44 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2006-06-28 12:09:25 +00:00
|
|
|
* \file UrlView.h
|
2006-03-05 17:24:44 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
2006-06-28 12:09:25 +00:00
|
|
|
#ifndef QT4_URL_VIEW_H
|
|
|
|
#define QT4_URL_VIEW_H
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
#include "QDialogView.h"
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
|
|
|
class ControlCommand;
|
|
|
|
class QURLDialog;
|
|
|
|
|
2006-06-28 12:09:25 +00:00
|
|
|
class UrlView :
|
2006-03-05 17:24:44 +00:00
|
|
|
public QController<ControlCommand, QView<QURLDialog> >
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
friend class QURLDialog;
|
2006-06-28 12:09:25 +00:00
|
|
|
UrlView(Dialog &);
|
2006-03-05 17:24:44 +00:00
|
|
|
protected:
|
|
|
|
virtual bool isValid();
|
|
|
|
private:
|
|
|
|
/// apply dialog
|
|
|
|
virtual void apply();
|
|
|
|
/// build dialog
|
|
|
|
virtual void build_dialog();
|
|
|
|
/// update dialog
|
|
|
|
virtual void update_contents();
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
2006-06-28 12:09:25 +00:00
|
|
|
#endif // QT4_URL_VIEW_H
|