mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-16 02:25:50 +08:00
35 lines
745 B
C++
35 lines
745 B
C++
#ifndef TESTFORM_H
|
|
#define TESTFORM_H
|
|
|
|
#include <QWidget>
|
|
#include <QStringList>
|
|
#include "../../jkqtmathtext.h"
|
|
#include "../../jkqtphighrestimer.h"
|
|
#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;
|
|
double draw(QPainter& painter, double X, double YY, JKQTmathText& mt, QString name);
|
|
|
|
QTreeWidgetItem* createTree(JKQTmathText::MTnode* node, QTreeWidgetItem *parent=NULL);
|
|
};
|
|
|
|
#endif // TESTFORM_H
|