enhance DevDiskImagesWidget with error handling and device selection updates

This commit is contained in:
uncor3
2025-08-24 01:48:16 +00:00
parent c84276eabc
commit f2d2870df9
2 changed files with 247 additions and 38 deletions
+4 -1
View File
@@ -37,7 +37,8 @@ private:
void parseAndDisplayImages(const QByteArray &jsonData);
void startDownload(const QString &version);
void mountImage(const QString &version);
void onDeviceSelectionChanged(int index);
void closeEvent(QCloseEvent *event) override;
struct DownloadItem {
QNetworkReply *dmgReply = nullptr;
QNetworkReply *sigReply = nullptr;
@@ -53,6 +54,8 @@ private:
QStackedWidget *m_stackedWidget;
QListWidget *m_imageListWidget;
QLabel *m_statusLabel;
QLabel *m_initialStatusLabel;
QWidget *m_errorWidget;
QLineEdit *m_downloadPathEdit;
QComboBox *m_deviceComboBox;
QPushButton *m_mountButton;