4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef GUIURLDIALOG_H
13 #define GUIURLDIALOG_H
15 #include "GuiDialogView.h"
16 #include "ControlCommand.h"
26 class GuiURLDialog : public QDialog, public Ui::URLUi
30 GuiURLDialog(UrlView * form);
32 void changed_adaptor();
34 void closeEvent(QCloseEvent *);
40 class UrlView : public GuiView<GuiURLDialog>
43 friend class QURLDialog;
46 ControlCommand & controller()
47 { return static_cast<ControlCommand &>(this->getController()); }
49 ControlCommand const & controller() const
50 { return static_cast<ControlCommand const &>(this->getController()); }
52 virtual bool isValid();
57 virtual void build_dialog();
59 virtual void update_contents();
62 } // namespace frontend
65 #endif // GUIURLDIALOG_H