Mandelbrot Example
example: threads/mandelbrot
title: Mandelbrot Example
ingroup: qtconcurrent-mtexamples
brief: The Mandelbrot example demonstrates multi-thread programming using Qt. It shows how to use a worker thread to perform heavy computations without blocking the main thread’s event loop.分形
Mandelbrot set介绍
在Qt Creator示例中,搜索Mandelbrot即可。
在线程中生成QImage,UI线程(主线程)对QPixmap进行绘制。
QThread,QMutex,QMutexLocker,QWaitCondition,
QImage,QPixmap,QWidget,
paintEvent,resizeEvent,keyPressEvent,wheelEvent,
mousePressEvent,mouseMoveEvent,mouseReleaseEvent
Qt示例[Mandelbrot Example]
最新推荐文章于 2021-10-28 19:03:53 发布