JKQtPlotter/test/jkqtplotter_simpletest_speed/jkqtplotter_simpletest_speed.cpp
2018-12-02 18:30:29 +01:00

18 lines
415 B
C++

#include <QApplication>
#include <array>
#include <random>
#include "jkqtplotter/jkqtplotter.h"
#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();
}