mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
12e5a52b92
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13294 a592a061-630c-0410-9148-cb99ea01b6c8
70 lines
1.3 KiB
C++
70 lines
1.3 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file QMath.h
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef QMATH_H
|
|
#define QMATH_H
|
|
|
|
#include "QDialogView.h"
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
class ControlMath;
|
|
class QMathDialog;
|
|
class QMathMatrixDialog;
|
|
class QDelimiterDialog;
|
|
|
|
class QMath : public QController<ControlMath, QView<QMathDialog> > {
|
|
public:
|
|
friend class QMathDialog;
|
|
|
|
QMath(Dialog &);
|
|
|
|
private:
|
|
virtual void apply() {}
|
|
virtual void update_contents() {}
|
|
/// Build the dialog.
|
|
virtual void build_dialog();
|
|
};
|
|
|
|
|
|
class QMathMatrix : public QController<ControlMath, QView<QMathMatrixDialog> > {
|
|
public:
|
|
friend class QMathMatrixDialog;
|
|
|
|
QMathMatrix(Dialog &);
|
|
|
|
private:
|
|
virtual void apply() {}
|
|
virtual void update_contents() {}
|
|
/// Build the dialog.
|
|
virtual void build_dialog();
|
|
};
|
|
|
|
|
|
class QMathDelimiter : public QController<ControlMath, QView<QDelimiterDialog> > {
|
|
public:
|
|
friend class QDelimiterDialog;
|
|
|
|
QMathDelimiter(Dialog &);
|
|
|
|
private:
|
|
virtual void apply() {}
|
|
virtual void update_contents() {}
|
|
/// Build the dialog.
|
|
virtual void build_dialog();
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // QMATH_H
|