diff options
author | Saturneric <[email protected]> | 2021-07-14 17:39:46 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-07-14 17:39:46 +0000 |
commit | a8080780d812d455a2523fdf55f927a7c3f5fb63 (patch) | |
tree | 9dc8d2dcfc87a1d103c34e85f769d08d315ce88e /include/ui/help/AboutDialog.h | |
parent | Update Document. (diff) | |
parent | Merge pull request #12 from saturneric/develop (diff) | |
download | GpgFrontend-a8080780d812d455a2523fdf55f927a7c3f5fb63.tar.gz GpgFrontend-a8080780d812d455a2523fdf55f927a7c3f5fb63.zip |
Merge from github/main.
Diffstat (limited to '')
-rw-r--r-- | include/ui/help/AboutDialog.h (renamed from include/ui/AboutDialog.h) | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/include/ui/AboutDialog.h b/include/ui/help/AboutDialog.h index b7d54544..74391b5a 100644 --- a/include/ui/AboutDialog.h +++ b/include/ui/help/AboutDialog.h @@ -52,6 +52,29 @@ public: }; /** + * @brief Class containing the main tab of about dialog + * + */ +class UpdateTab : public QWidget { +Q_OBJECT + + QLabel *currentVersionLabel; + + QLabel *latestVersionLabel; + + QLabel *upgradeLabel; + + QProgressBar *pb; + + QString currentVersion; + +public: + explicit UpdateTab(QWidget *parent = nullptr); + + void getLatestVersion(); +}; + +/** * @brief Class for handling the about dialog * */ @@ -59,7 +82,7 @@ class AboutDialog : public QDialog { Q_OBJECT public: - explicit AboutDialog(QWidget *parent = nullptr); + explicit AboutDialog(int defaultIndex, QWidget *parent); }; #endif // __ABOUTDIALOG_H__ |