From 642af75de12192c2e2ff0c462613b841100ab815 Mon Sep 17 00:00:00 2001
From: Marcel Kapfer
Date: Sun, 3 May 2020 18:11:07 +0200
Subject: [PATCH] Added version info
---
ui_about_dialog.py | 7 ++++++-
ui_about_dialog.ui | 10 ++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/ui_about_dialog.py b/ui_about_dialog.py
index b35a856..5f260a2 100644
--- a/ui_about_dialog.py
+++ b/ui_about_dialog.py
@@ -31,6 +31,10 @@ class Ui_About(object):
self.l_description.setWordWrap(True)
self.l_description.setObjectName("l_description")
self.verticalLayout_2.addWidget(self.l_description)
+ self.label = QtWidgets.QLabel(About)
+ self.label.setAlignment(QtCore.Qt.AlignCenter)
+ self.label.setObjectName("label")
+ self.verticalLayout_2.addWidget(self.label)
self.l_basedon = QtWidgets.QLabel(About)
self.l_basedon.setAlignment(QtCore.Qt.AlignCenter)
self.l_basedon.setObjectName("l_basedon")
@@ -66,7 +70,8 @@ class Ui_About(object):
About.setWindowTitle(_translate("About", "About"))
self.l_title.setText(_translate("About", "WikiCookBook"))
self.l_description.setText(_translate("About", "A graphical editor for creating cookbook entries using the MoinMoin wiki syntax"))
+ self.label.setText(_translate("About", "Version 0.1.0"))
self.l_basedon.setText(_translate("About", "
Based on Python and PyQt.
"))
- self.l_copyright.setText(_translate("About", "2020 © Marcel Kapfer (opensource@mmk2410.org)
Licensed under GPL v3
"))
+ self.l_copyright.setText(_translate("About", "2020 © Marcel Kapfer (opensource@mmk2410.org)
Licensed under GPLv3
"))
self.l_sourcecode.setText(_translate("About", "Sourcecode available at
git.mmk2410.org/mmk2410/wikicookbook
"))
self.b_close.setText(_translate("About", "Schließen"))
diff --git a/ui_about_dialog.ui b/ui_about_dialog.ui
index 65d672a..20c5fd4 100644
--- a/ui_about_dialog.ui
+++ b/ui_about_dialog.ui
@@ -56,6 +56,16 @@
+ -
+
+
+ Version 0.1.0
+
+
+ Qt::AlignCenter
+
+
+
-