mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
52 lines
971 B
C
52 lines
971 B
C
|
/**
|
||
|
* \file QMathDialog.h
|
||
|
* Copyright 2001 the LyX Team
|
||
|
* Read the file COPYING
|
||
|
*
|
||
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
||
|
*/
|
||
|
|
||
|
#ifndef QMATHDIALOG_H
|
||
|
#define QMATHDIALOG_H
|
||
|
|
||
|
#include <config.h>
|
||
|
|
||
|
#include "LString.h"
|
||
|
|
||
|
#include "ui/QMathDialogBase.h"
|
||
|
|
||
|
class QMath;
|
||
|
|
||
|
class QMathDialog : public QMathDialogBase
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
QMathDialog(QMath * form);
|
||
|
|
||
|
public slots:
|
||
|
virtual void delimiterClicked();
|
||
|
virtual void expandClicked();
|
||
|
virtual void fracClicked();
|
||
|
virtual void functionSelected(const QString &);
|
||
|
virtual void matrixClicked();
|
||
|
virtual void spaceClicked();
|
||
|
virtual void sqrtClicked();
|
||
|
virtual void styleClicked();
|
||
|
virtual void subscriptClicked();
|
||
|
virtual void superscriptClicked();
|
||
|
void symbol_clicked(string str);
|
||
|
|
||
|
protected:
|
||
|
//needed ? virtual void closeEvent(QCloseEvent * e);
|
||
|
|
||
|
private:
|
||
|
/// add a symbol panel
|
||
|
void addPanel(string const & name, char const ** entries);
|
||
|
|
||
|
/// owning form
|
||
|
QMath * form_;
|
||
|
};
|
||
|
|
||
|
#endif // QMATHDIALOG_H
|