摘要:
一个QThread对象管理一个线程。QThread的执行从run()函数的执行开始,在Qt自带的QThread类中,run()函数通过调用exec()函数来启动事件循环机制,并且在线程内部处理Qt的事件。 QThread只有run函数是在新线程里的,其他所有函数都在QThread生成的线程里 子线程 阅读全文
摘要:
#ifndef MUITEIMAGEELEGATE_H #define MUITEIMAGEELEGATE_H #include <QStyledItemDelegate> #include <QMetaType> typedef struct { QString strIds; QString s 阅读全文