You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
540 B
C++
25 lines
540 B
C++
#ifndef NMCALCULATIONPEBIGRIDTASK_H
|
|
#define NMCALCULATIONPEBIGRIDTASK_H
|
|
|
|
#include <QThread>
|
|
|
|
#include "nmCalculation_global.h"
|
|
|
|
class NMCALCULATION_EXPORT nmCalculationPebiGridTask : public QThread
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit nmCalculationPebiGridTask(QObject *parent = 0);
|
|
|
|
signals:
|
|
// PEBI生成完成后通知主线程刷新网格窗口.
|
|
void pebiGridGenerated(bool success);
|
|
|
|
protected:
|
|
// 线程入口: 后台生成PEBI网格, 避免阻塞界面.
|
|
void run() override;
|
|
};
|
|
|
|
#endif // NMCALCULATIONPEBIGRIDTASK_H
|