mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-23 08:39:07 +00:00
48 lines
683 B
C
48 lines
683 B
C
|
// -*- C++ -*-
|
||
|
/**
|
||
|
* \file QMath.h
|
||
|
* Copyright 2001 the LyX Team
|
||
|
* Read the file COPYING
|
||
|
*
|
||
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
||
|
*/
|
||
|
|
||
|
#ifndef QMATH_H
|
||
|
#define QMATH_H
|
||
|
|
||
|
#include <config.h>
|
||
|
|
||
|
#include "LString.h"
|
||
|
|
||
|
#ifdef __GNUG__
|
||
|
#pragma interface
|
||
|
#endif
|
||
|
|
||
|
class QMath
|
||
|
{
|
||
|
public:
|
||
|
friend class QMathDialog;
|
||
|
|
||
|
QMath();
|
||
|
|
||
|
/// temporary
|
||
|
void do_show();
|
||
|
|
||
|
/// build the dialog (should be private)
|
||
|
virtual void build_dialog();
|
||
|
|
||
|
/// insert a math symbol into the doc
|
||
|
void insert_symbol(string const & name);
|
||
|
|
||
|
private:
|
||
|
/// Apply changes
|
||
|
virtual void apply() {};
|
||
|
/// update
|
||
|
virtual void update_contents() {};
|
||
|
|
||
|
// FIXME: temp
|
||
|
QMathDialog * dialog_;
|
||
|
};
|
||
|
|
||
|
#endif // QMATH_H
|