]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiURL.h
GuiWrap.cpp: disconnect the widgets that are by default disabled from readonly
[lyx.git] / src / frontends / qt4 / GuiURL.h
1 // -*- C++ -*-
2 /**
3  * \file GuiURLDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GUIURLDIALOG_H
13 #define GUIURLDIALOG_H
14
15 #include "GuiDialog.h"
16 #include "ControlCommand.h"
17 #include "ui_URLUi.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class GuiURLDialog : public GuiDialog, public Ui::URLUi
23 {
24         Q_OBJECT
25
26 public:
27         GuiURLDialog(LyXView & lv);
28
29 public Q_SLOTS:
30         void changed_adaptor();
31
32 private:
33         void closeEvent(QCloseEvent *);
34         /// parent controller
35         ControlCommand & controller();
36         ///
37         bool isValid();
38         /// apply dialog
39         void applyView();
40         /// update dialog
41         void updateContents();
42 };
43
44 } // namespace frontend
45 } // namespace lyx
46
47 #endif // GUIURLDIALOG_H