]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QURLDialog.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QURLDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QURLDialog.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 QURLDIALOG_H
13 #define QURLDIALOG_H
14
15 #include "ui/QURLUi.h"
16
17 #include <QDialog>
18 #include <QCloseEvent>
19
20 namespace lyx {
21 namespace frontend {
22
23 class UrlView;
24
25 class QURLDialog : public QDialog, public Ui::QURLUi {
26         Q_OBJECT
27 public:
28         QURLDialog(UrlView * form);
29         ~QURLDialog();
30
31         virtual void show();
32 public Q_SLOTS:
33         void changed_adaptor();
34 protected:
35         void closeEvent(QCloseEvent *);
36 private:
37         UrlView * form_;
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // QURLDIALOG_H