2003-10-28 16:45:09 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file GUrl.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Huang Ying
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GURL_H
|
|
|
|
#define GURL_H
|
|
|
|
|
|
|
|
#include "GViewBase.h"
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
2003-10-28 16:45:09 +00:00
|
|
|
class ControlCommand;
|
|
|
|
|
|
|
|
class GUrl : public GViewCB<ControlCommand, GViewGladeB>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
GUrl(Dialog & parent);
|
|
|
|
private:
|
|
|
|
virtual void apply();
|
|
|
|
virtual void doBuild();
|
|
|
|
virtual void update();
|
|
|
|
void onEntryChanged();
|
|
|
|
Gtk::Entry * url_;
|
|
|
|
Gtk::Entry * name_;
|
|
|
|
Gtk::CheckButton * htmlType_;
|
|
|
|
};
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
2003-10-28 16:45:09 +00:00
|
|
|
#endif
|