// -*- C++ -*- /** * \file QMath.h * Copyright 2001 the LyX Team * Read the file COPYING * * \author John Levon */ #ifndef QMATH_H #define QMATH_H #include #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); /// insert a cube root void insertCubeRoot(); /// add a subscript void subscript(); /// add a superscript void superscript(); /// switch between display and inline void toggleDisplay(); private: /// Apply changes virtual void apply() {}; /// update virtual void update_contents() {}; // FIXME: temp QMathDialog * dialog_; }; #endif // QMATH_H