67 void onRefreshInstalled();
68 void onRefreshAvailable();
69 void onDownloadSelected();
70 void onRemoveSelected();
71 void onInstalledSelectionChanged();
72 void onAvailableSelectionChanged();
77 void setupInstalledTab(QWidget* tab);
78 void setupAvailableTab(QWidget* tab);
79 void setupDownloadsTab(QWidget* tab);
81 void populateInstalledRunners();
82 void fetchAvailableRunners();
83 void parseGitHubReleases(
const QString& jsonData,
const QString& source);
86 void installRunner(
const QString& archivePath,
const QString& runnerName);
87 void appendLog(
const QString& message);
89 QString getInstallPath()
const;
90 QString formatSize(qint64 bytes)
const;
93 QTabWidget* tabWidget_ =
nullptr;
96 QListWidget* installedList_ =
nullptr;
97 QLabel* installedInfoLabel_ =
nullptr;
98 QPushButton* removeBtn_ =
nullptr;
99 QPushButton* refreshInstalledBtn_ =
nullptr;
102 QListWidget* availableList_ =
nullptr;
103 QLabel* availableInfoLabel_ =
nullptr;
104 QTextEdit* releaseNotesText_ =
nullptr;
105 QPushButton* downloadBtn_ =
nullptr;
106 QPushButton* refreshAvailableBtn_ =
nullptr;
107 QComboBox* sourceFilter_ =
nullptr;
110 QListWidget* downloadsList_ =
nullptr;
111 QProgressBar* currentProgress_ =
nullptr;
112 QLabel* downloadStatusLabel_ =
nullptr;
113 QTextEdit* logText_ =
nullptr;
114 QPushButton* cancelDownloadBtn_ =
nullptr;
117 QList<AvailableRunner> availableRunners_;
118 QFutureWatcher<QString>* fetchWatcher_ =
nullptr;
119 bool isDownloading_ =
false;
120 QString currentDownloadPath_;
121 QProcess* downloadProcess_ =
nullptr;