]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QVSpaceDialog.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QVSpaceDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QVSpaceDialog.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  * \author Jürgen Spitzmüller
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef QVSPACEDIALOG_H
14 #define QVSPACEDIALOG_H
15
16 #include "ui/QVSpaceUi.h"
17
18 #include <QDialog>
19 #include <QCloseEvent>
20
21 namespace lyx {
22 namespace frontend {
23
24 class QVSpace;
25
26 class QVSpaceDialog : public QDialog, public Ui::QVSpaceUi {
27         Q_OBJECT
28
29 public:
30         QVSpaceDialog(QVSpace * form);
31
32 public Q_SLOTS:
33         void change_adaptor();
34
35 protected Q_SLOTS:
36         void closeEvent(QCloseEvent *);
37         void enableCustom(int);
38
39 private:
40         QVSpace * form_;
41 };
42
43 } // namespace frontend
44 } // namespace lyx
45
46 #endif // QVSPACEDIALOG_H