JKQtPlotter/examples/jkqtmathtext_test/testform.h
jkriege2 356cc34349 new: Statistics library with functions to calculate histograms, regression, kernel density estimates, ... including a new example
new: iterator interface and improved documentation for JKQTPDatastore
reorganization of library (better separation of common code in jkqtpcommon and other code e.g. in jkqtplotter or jkqtmathtext)
2019-05-29 22:40:02 +02:00

35 lines
775 B
C++

#ifndef TESTFORM_H
#define TESTFORM_H
#include <QWidget>
#include <QStringList>
#include "jkqtmathtext/jkqtmathtext.h"
#include "jkqtcommon/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, double &durationSizingMS, double &durationTimingMS);
QTreeWidgetItem* createTree(JKQTMathText::MTnode* node, QTreeWidgetItem *parent=NULL);
};
#endif // TESTFORM_H