3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
15 // to connect apply() and hide()
22 #include <qcheckbox.h>
23 #include <qlineedit.h>
24 #include <qpushbutton.h>
26 class UrlDialog : public QDialog {
29 UrlDialog(FormUrl * form, QWidget * parent=0, char const * name=0,
30 bool modal=false, WFlags f=0);
36 QLabel * labelurlname;
40 QPushButton * buttonOk;
41 QPushButton * buttonCancel;
44 void closeEvent(QCloseEvent * e);
51 QHBoxLayout * topLayout;
53 QHBoxLayout * urlLayout;
54 QBoxLayout * urlnameLayout;
55 QBoxLayout * htmlurlLayout;
56 QHBoxLayout * buttonLayout;
59 /// adaptor to FormUrl::apply
60 void apply_adaptor(void) {
64 /// adaptor to FormUrl::close
65 void close_adaptor(void) {
66 form_->CancelButton();