Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
donate from about window
Browse files Browse the repository at this point in the history
  • Loading branch information
ltworf committed Oct 7, 2023
1 parent 160f247 commit db7ae8e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions relational_gui/about.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ def setupUi(self, Dialog):
self.label_4 = QtWidgets.QLabel(self.groupBox_2)
self.label_4.setObjectName("label_4")
self.verticalLayout_6.addWidget(self.label_4)
self.label_donate = QtWidgets.QLabel(self.groupBox_2)
self.verticalLayout_6.addWidget(self.label_donate)
self.verticalLayout_3.addWidget(self.groupBox_2)
self.tabWidget.addTab(self.tab, "")
self.License = QtWidgets.QWidget()
Expand Down Expand Up @@ -118,6 +120,11 @@ def retranslateUi(self, Dialog):
self.label_4.setOpenExternalLinks(True)
self.label_4.setTextInteractionFlags(
QtCore.Qt.LinksAccessibleByMouse | QtCore.Qt.TextSelectableByMouse)
self.label_donate.setText(QtWidgets.QApplication.translate(
"Dialog", "<a href=\"https://liberapay.com/ltworf/donate\">Donate</a>", None))
self.label_donate.setOpenExternalLinks(True)
self.label_donate.setTextInteractionFlags(
QtCore.Qt.LinksAccessibleByMouse | QtCore.Qt.TextSelectableByMouse)
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtWidgets.QApplication.translate(
"Dialog", "About", None))
self.textEdit.setHtml(QtWidgets.QApplication.translate("Dialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
Expand Down

0 comments on commit db7ae8e

Please sign in to comment.