]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QBoxDialog.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QBoxDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QBoxDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Jürgen Spitzmüller
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef QBOXDIALOG_H
13 #define QBOXDIALOG_H
14
15 #include "ui/QBoxUi.h"
16
17 #include <QCloseEvent>
18 #include <QDialog>
19
20 namespace lyx {
21 namespace frontend {
22
23 class QBox;
24
25 class QBoxDialog : public QDialog, public Ui::QBoxUi {
26         Q_OBJECT
27 public:
28         QBoxDialog(QBox * form);
29 protected Q_SLOTS:
30         virtual void change_adaptor();
31         virtual void innerBoxChanged(const QString &);
32         virtual void typeChanged(int);
33         virtual void restoreClicked();
34 protected:
35         virtual void closeEvent(QCloseEvent * e);
36 private:
37         QBox * form_;
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // QBOXDIALOG_H