aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui/help/AboutDialog.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-07-20 16:42:50 +0000
committerSaturneric <[email protected]>2021-07-20 16:42:50 +0000
commitc57feb6a678e27140bb9ae7d132b641947514c31 (patch)
tree5ed7a7728c084214ce858323a4eccdcba98200b6 /include/ui/help/AboutDialog.h
parentUpdate Workflow (diff)
parentFix problem that macos cannot use multi-languages. (diff)
downloadGpgFrontend-c57feb6a678e27140bb9ae7d132b641947514c31.tar.gz
GpgFrontend-c57feb6a678e27140bb9ae7d132b641947514c31.zip
Merge branch 'develop' into develop-ci
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__