2015-07-11 18:56:02 +08:00
|
|
|
#ifndef TESTFORM_H
|
|
|
|
#define TESTFORM_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include <QStringList>
|
2018-11-26 03:25:44 +08:00
|
|
|
#include "jkqtmathtext/jkqtmathtext.h"
|
|
|
|
#include "jkqtplottertools/jkqtphighrestimer.h"
|
2015-07-11 18:56:02 +08:00
|
|
|
#include <QPainter>
|
|
|
|
#include <QTreeWidget>
|
|
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class TestForm;
|
|
|
|
}
|
|
|
|
|
|
|
|
class TestForm : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit TestForm(QWidget *parent = 0);
|
|
|
|
~TestForm();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void updateMath();
|
|
|
|
private:
|
|
|
|
Ui::TestForm *ui;
|
|
|
|
JKQTPHighResTimer ht;
|
2018-12-06 06:03:21 +08:00
|
|
|
double draw(QPainter& painter, double X, double YY, JKQTmathText& mt, QString name, double &durationSizingMS, double &durationTimingMS);
|
2015-07-11 18:56:02 +08:00
|
|
|
|
|
|
|
QTreeWidgetItem* createTree(JKQTmathText::MTnode* node, QTreeWidgetItem *parent=NULL);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TESTFORM_H
|