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