diff options
| author | saturneric <[email protected]> | 2025-06-10 23:18:10 +0000 |
|---|---|---|
| committer | saturneric <[email protected]> | 2025-06-10 23:18:10 +0000 |
| commit | 52bcd981ba6a888d8d86dd3e0932d9edfdd849b6 (patch) | |
| tree | 2d9d53470494e97c00cfd4158809ce385afaaef1 /src/m_ver_check/UpdateTab.h | |
| parent | refactor(github version check): restructure version check task and add commit... (diff) | |
| download | modules-52bcd981ba6a888d8d86dd3e0932d9edfdd849b6.tar.gz modules-52bcd981ba6a888d8d86dd3e0932d9edfdd849b6.zip | |
feat(version_checking): add update checking api selection and caching
- add bktus api support for version checking
- implement version info caching with timestamp
- add manual check button in update tab
- support api selection from settings
- add json serialization for version info
Diffstat (limited to 'src/m_ver_check/UpdateTab.h')
| -rw-r--r-- | src/m_ver_check/UpdateTab.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/m_ver_check/UpdateTab.h b/src/m_ver_check/UpdateTab.h index fef54e6..9c969de 100644 --- a/src/m_ver_check/UpdateTab.h +++ b/src/m_ver_check/UpdateTab.h @@ -46,6 +46,7 @@ class UpdateTab : public QWidget { QGroupBox* release_note_box_; QGroupBox* upgrade_info_box_; QGroupBox* current_version_box_; + QPushButton* check_update_btn_; public: /** @@ -56,6 +57,11 @@ class UpdateTab : public QWidget { explicit UpdateTab(QWidget* parent = nullptr); protected: + /** + * @brief + * + * @param event + */ void showEvent(QShowEvent* event) override; private slots: @@ -66,6 +72,12 @@ class UpdateTab : public QWidget { */ void slot_show_version_status(); + /** + * @brief + * + */ + void slot_check_version_update(); + signals: /** * @brief |
