#include "EmptyTable.h"
#include "qt_helpers.h"
+#include "FuncRequest.h"
+
#include <QLineEdit>
#include <QPushButton>
#include <QSpinBox>
namespace frontend {
GuiMathMatrix::GuiMathMatrix(GuiView & lv)
- : GuiMath(lv, "mathmatrix", qt_("Math Matrix"))
+ : GuiDialog(lv, "mathmatrix", qt_("Math Matrix"))
{
setupUi(this);
QString const sh = halignED->text();
int const nx = columnsSB->value();
int const ny = rowsSB->value();
- dispatchMatrix(fromqstr(
- QString("%1 %2 %3 %4").arg(nx).arg(ny).arg(c).arg(sh)));
+ string const str = fromqstr(
+ QString("%1 %2 %3 %4").arg(nx).arg(ny).arg(c).arg(sh));
+ dispatch(FuncRequest(LFUN_MATH_MATRIX, str));
close();
}