mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 02:52:03 +08:00
更新
This commit is contained in:
@@ -45,9 +45,6 @@ def OpenGiteeIssues():
|
||||
def OpenGithubIssues():
|
||||
webbrowser.open_new_tab("https://github.com/gfdgd-xi/deep-wine-runner/issues")
|
||||
|
||||
def OpenGitlinkIssues():
|
||||
webbrowser.open_new_tab("https://www.gitlink.org.cn/gfdgd_xi/deep-wine-runner/issues")
|
||||
|
||||
# 获取用户主目录
|
||||
def get_home()->"获取用户主目录":
|
||||
return os.path.expanduser('~')
|
||||
@@ -75,11 +72,9 @@ updateButton = QtWidgets.QPushButton("提交")
|
||||
otherUpload = QtWidgets.QHBoxLayout()
|
||||
giteeButton = QtWidgets.QPushButton("Gitee Issues")
|
||||
githubButton = QtWidgets.QPushButton("Github Issues")
|
||||
gitlinkButton = QtWidgets.QPushButton("Gitlink Issues")
|
||||
otherUpload.addWidget(QtWidgets.QLabel("如果无法正常反馈,可以用其他方式反馈:"))
|
||||
otherUpload.addWidget(giteeButton)
|
||||
otherUpload.addWidget(githubButton)
|
||||
otherUpload.addWidget(gitlinkButton)
|
||||
otherUpload.addSpacerItem(QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum))
|
||||
starMenu.addItems(["5分", "4分", "3分", "2分", "1分"])
|
||||
widgetLayout.addWidget(QtWidgets.QLabel("你的昵称:"), 0, 0, 1, 1)
|
||||
@@ -94,7 +89,6 @@ widgetLayout.addLayout(otherUpload, 3, 0, 1, 5)
|
||||
widgetLayout.addWidget(updateButton, 3, 5, 1, 1)
|
||||
giteeButton.clicked.connect(OpenGiteeIssues)
|
||||
githubButton.clicked.connect(OpenGithubIssues)
|
||||
gitlinkButton.clicked.connect(OpenGitlinkIssues)
|
||||
updateButton.clicked.connect(UpdateButtonClick)
|
||||
widget.setLayout(widgetLayout)
|
||||
window.setCentralWidget(widget)
|
||||
|
||||
Reference in New Issue
Block a user