2026-03-02 11:07:51 +08:00
|
|
|
#ifndef NEWMEASUREANALYSISDLG_H
|
|
|
|
|
#define NEWMEASUREANALYSISDLG_H
|
|
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
2026-03-20 16:21:36 +08:00
|
|
|
class QTimer;
|
|
|
|
|
|
2026-03-02 11:07:51 +08:00
|
|
|
namespace Ui {
|
|
|
|
|
class NewMeasureAnalysisDlg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class NewMeasureAnalysisDlg : public QDialog
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit NewMeasureAnalysisDlg(QWidget *parent = nullptr);
|
|
|
|
|
~NewMeasureAnalysisDlg();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
void initialization();
|
2026-03-20 15:45:18 +08:00
|
|
|
void newProject(const QString &particle_data_filename = QString());
|
2026-03-02 11:07:51 +08:00
|
|
|
|
|
|
|
|
private slots:
|
2026-03-20 15:45:18 +08:00
|
|
|
void onNewProjectFromFileFinished(bool ok, const QString& project_name, const QVariant &data);
|
2026-03-02 11:07:51 +08:00
|
|
|
void on_btn_ok_clicked();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Ui::NewMeasureAnalysisDlg *ui;
|
2026-03-20 16:21:36 +08:00
|
|
|
QTimer* _task_wait_timer = nullptr;
|
2026-03-02 11:07:51 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // NEWMEASUREANALYSISDLG_H
|