Added version info

This commit is contained in:
Marcel Kapfer 2020-05-03 18:11:07 +02:00
parent 23dd15c757
commit 642af75de1
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
2 changed files with 16 additions and 1 deletions

View File

@ -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", "<html><head/><body><p>Based on <a href=\"https://www.python.org/\"><span style=\" text-decoration: underline; color:#4c6b8a;\">Python</span></a> and <a href=\"https://www.riverbankcomputing.com/software/pyqt/intro\"><span style=\" text-decoration: underline; color:#4c6b8a;\">PyQt</span></a>.</p></body></html>"))
self.l_copyright.setText(_translate("About", "<html><head/><body><p>2020 © Marcel Kapfer (opensource@mmk2410.org)<br/>Licensed under GPL v3</p></body></html>"))
self.l_copyright.setText(_translate("About", "<html><head/><body><p>2020 © Marcel Kapfer (opensource@mmk2410.org)<br/>Licensed under GPLv3</p></body></html>"))
self.l_sourcecode.setText(_translate("About", "<html><head/><body><p>Sourcecode available at<br/><a href=\"https://git.mmk2410.org/mmk2410/wikicookbook\"><span style=\" text-decoration: underline; color:#4c6b8a;\">git.mmk2410.org/mmk2410/wikicookbook</span></a></p></body></html>"))
self.b_close.setText(_translate("About", "Schließen"))

View File

@ -56,6 +56,16 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Version 0.1.0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="l_basedon">
<property name="text">