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