JKQtPlotter/test/simpletest_speed/jkqtplotter_simpletest_speed.cpp

19 lines
453 B
C++
Raw Normal View History

2018-12-03 01:30:29 +08:00
#include <QApplication>
#include <array>
#include <random>
#include "jkqtplotter/jkqtplotter.h"
2018-12-28 20:32:20 +08:00
#include "jkqtplotter/jkqtpgraphs.h"
2018-12-03 01:30:29 +08:00
#include "speedtestplot.h"
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
// 1. create a plotter window and get a pointer to the internal datastore (for convenience)
SpeedTestPlot plot;
QTimer::singleShot(500, &plot, SLOT(plotNewData()));
return app.exec();
}