From 6b37c6b72908cd29c1ea36e8ed61d9db1af10f1c Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Tue, 24 Jan 2023 15:31:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8D=90=E5=8A=A9=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mainwindow.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mainwindow.py b/mainwindow.py index 655345f..d198421 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -2938,6 +2938,12 @@ help.addAction(h2) help.addAction(h3) help.addAction(h4) help.addSeparator() + +zanShang = menu.addMenu("赞赏我们") +zanShangAction = QtWidgets.QAction("赞赏我们") +zanShang.addAction(zanShangAction) +zanShangAction.triggered.connect(lambda: webbrowser.open_new_tab("http://dt.racoongx.cn/")) + wikiHelp = QtWidgets.QAction(QtWidgets.QApplication.style().standardIcon(20), transla.transe("U", "程序 Wiki")) help.addAction(wikiHelp) videoHelp = help.addMenu(QtWidgets.QApplication.style().standardIcon(20), transla.transe("U", "视频教程"))