2006-03-05 17:24:44 +00:00
|
|
|
// -*- 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"
|
2007-02-13 18:27:46 +00:00
|
|
|
#include "QDelimiterDialog.h"
|
|
|
|
#include "QMathDialog.h"
|
|
|
|
#include "QMathMatrixDialog.h"
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
|
|
|
class ControlMath;
|
|
|
|
|
|
|
|
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
|