3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
14 #include "QMathDialog.h"
15 #include "QMathMatrixDialog.h"
16 #include "QDelimiterDialog.h"
23 typedef QController<ControlMath, QView<QMathDialog> > math_base;
26 QMath::QMath(Dialog & parent)
27 : math_base(parent, _("Math Panel"))
31 void QMath::build_dialog()
33 dialog_.reset(new QMathDialog(this));
37 typedef QController<ControlMath, QView<QMathMatrixDialog> > matrix_base;
40 QMathMatrix::QMathMatrix(Dialog & parent)
41 : matrix_base(parent, _("Math Matrix"))
45 void QMathMatrix::build_dialog()
47 dialog_.reset(new QMathMatrixDialog(this));
51 typedef QController<ControlMath, QView<QDelimiterDialog> > delimiter_base;
54 QMathDelimiter::QMathDelimiter(Dialog & parent)
55 : delimiter_base(parent, _("Math Delimiter"))
59 void QMathDelimiter::build_dialog()
61 dialog_.reset(new QDelimiterDialog(this));
64 } // namespace frontend