Qt示例[Mandelbrot Example]

来源:互联网 发布:软件系统安全策略 编辑:程序博客网 时间:2024/05/21 17:37
  • 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

0 0
原创粉丝点击