资源大小: 1.28MB
发布时间: 2009-09-11
文件格式: none
下载次数: 1
分享到:

下载地址:

下载地址1
(本站为飞网专业下载站,域名:down.cfei.net)

资源简介:

基于多线程的机制实现图片缩略图的显示。 QThread* thread = new ThumbnailThread(filename, 10 - waitseconds); waitseconds ++; connect(thread, SIGNAL(thumbnailFinished(QImage)), this, SLOT(addThumbnail(QImage))); connect(thread, SIGNAL(thumbnailFailed(const QString)), this, SLOT(showError(const QString))); connect(thread, SIGNAL(finished()), this, SLOT(deleteThread())); thread->start();


飞网下载站,免费下载共享资料,内容涉及教育资源、专业资料、IT资源、娱乐生活、经济管理、办公文书、游戏资料等。