]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiMathMatrix.h
support for matrix decoration in the MathMatrix dialog;
[lyx.git] / src / frontends / qt4 / GuiMathMatrix.h
1 // -*- C++ -*-
2 /**
3  * \file GuiMathMatrix.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 GUIMATHMATRIX_H
15 #define GUIMATHMATRIX_H
16
17 #include "GuiDialog.h"
18
19 #include "ui_MathMatrixUi.h"
20
21 namespace lyx {
22 namespace frontend {
23
24 class GuiMathMatrix : public GuiDialog, public Ui::MathMatrixUi
25 {
26         Q_OBJECT
27
28 public:
29         GuiMathMatrix(GuiView & lv);
30
31         bool initialiseParams(std::string const &) { return true; }
32         void clearParams() {}
33         void dispatchParams() {}
34         bool isBufferDependent() const { return true; }
35
36 public Q_SLOTS:
37         void slotOK();
38         void slotClose();
39         void columnsChanged(int);
40         void rowsChanged(int);
41         void decorationChanged(int);
42         void change_adaptor();
43 };
44
45 } // namespace frontend
46 } // namespace lyx
47
48 #endif // GUIMATHMATRIXDIALOG_H