JKQtPlotter/examples/mandelbrot/mandelbrot.cpp

27 lines
612 B
C++
Raw Permalink Normal View History

/** \example mandelbrot.cpp
* Shows how to plot the Mandelbrot set with JKQTPlotter, also providing a zooming feature.
*
* \ref JKQTPlotterMandelbrot
*/
2022-08-27 04:32:48 +08:00
#include "jkqtpexampleapplication.h"
#include <QApplication>
#include <cmath>
#include "mandelbrotmainwindow.h"
int main(int argc, char* argv[])
{
2022-08-27 04:32:48 +08:00
JKQTPAppSettingController highDPIController(argc, argv);
JKQTPExampleApplication app(argc, argv, true);
MandelbrotMainWindow widMain;
widMain.connect(&widMain, SIGNAL(readyForScreenshot()), &app, SLOT(notifyReadyForScreenshot()));
widMain.show();
return app.exec();
}