2018-12-29 00:46:47 +08:00
|
|
|
#include <QApplication>
|
|
|
|
#include <array>
|
|
|
|
#include <random>
|
|
|
|
#include "jkqtplotter/jkqtplotter.h"
|
2019-06-20 22:06:31 +08:00
|
|
|
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
2018-12-29 00:46:47 +08:00
|
|
|
#include "speedtestplot.h"
|
2022-08-27 04:32:48 +08:00
|
|
|
#include "jkqtpexampleapplication.h"
|
2018-12-29 00:46:47 +08:00
|
|
|
|
|
|
|
int main(int argc, char* argv[])
|
|
|
|
{
|
2022-04-16 05:01:09 +08:00
|
|
|
|
2022-08-27 04:32:48 +08:00
|
|
|
JKQTPAppSettingController highDPIController(argc, argv);
|
|
|
|
JKQTPExampleApplication app(argc, argv);
|
2018-12-29 00:46:47 +08:00
|
|
|
|
2022-04-16 05:01:09 +08:00
|
|
|
|
2018-12-29 00:46:47 +08:00
|
|
|
// 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();
|
|
|
|
}
|