From d1b3b819728ab32b9a1b78893fcafbafea764632 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Fri, 11 Apr 2025 12:27:35 +0200 Subject: [PATCH] define file for update log --- UpdatePTUDevCtrl/mainwindow.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UpdatePTUDevCtrl/mainwindow.h b/UpdatePTUDevCtrl/mainwindow.h index 4a01c27..b07003a 100644 --- a/UpdatePTUDevCtrl/mainwindow.h +++ b/UpdatePTUDevCtrl/mainwindow.h @@ -6,6 +6,7 @@ #include #include #include +#include QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } @@ -39,6 +40,7 @@ public: void setUpdateStep(UpdateDcEvent::UpdateStep updateStep) { m_updateStep = updateStep; } QString targetDcVersion() {return m_targetDcVersion; } + QProgressBar *progressBar(); public slots: void onAppendText(QString, QString suffix = ""); @@ -69,6 +71,7 @@ public slots: void onSetDcDownloadProgress(int); void onShowSummary(QString); void onSummary(); + void onFileChanged(QString const&); #if EMERGENCY_LEAVE_BL==1 void emergencyLeaveBL(); #endif @@ -103,5 +106,6 @@ private: QVector m_updateSteps{}; + QFile m_updateLog; }; #endif // MAINWINDOW_H