lyx_mirror/src/frontends/qt2/QMathDialog.h

52 lines
971 B
C
Raw Normal View History

/**
* \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