mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
7070d9305c
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7678 a592a061-630c-0410-9148-cb99ea01b6c8
61 lines
1.1 KiB
C
61 lines
1.1 KiB
C
/**
|
|
* \file QMath.C
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author John Levon
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
|
|
#include "gettext.h"
|
|
#include "QMathDialog.h"
|
|
#include "QMathMatrixDialog.h"
|
|
#include "QDelimiterDialog.h"
|
|
#include "QMath.h"
|
|
|
|
|
|
typedef QController<ControlMath, QView<QMathDialog> > math_base;
|
|
|
|
|
|
QMath::QMath(Dialog & parent)
|
|
: math_base(parent, _("LyX: Math Panel"))
|
|
{}
|
|
|
|
|
|
void QMath::build_dialog()
|
|
{
|
|
dialog_.reset(new QMathDialog(this));
|
|
}
|
|
|
|
|
|
typedef QController<ControlMath, QView<QMathMatrixDialog> > matrix_base;
|
|
|
|
|
|
QMathMatrix::QMathMatrix(Dialog & parent)
|
|
: matrix_base(parent, _("LyX: Insert Matrix"))
|
|
{}
|
|
|
|
|
|
void QMathMatrix::build_dialog()
|
|
{
|
|
dialog_.reset(new QMathMatrixDialog(this));
|
|
}
|
|
|
|
|
|
typedef QController<ControlMath, QView<QDelimiterDialog> > delimiter_base;
|
|
|
|
|
|
QMathDelimiter::QMathDelimiter(Dialog & parent)
|
|
: delimiter_base(parent, _("LyX: Insert Delimiter"))
|
|
{}
|
|
|
|
|
|
void QMathDelimiter::build_dialog()
|
|
{
|
|
dialog_.reset(new QDelimiterDialog(this));
|
|
}
|