Skip to content

Commit

Permalink
添加github地址
Browse files Browse the repository at this point in the history
  • Loading branch information
hasban12138 committed Apr 3, 2021
1 parent 9e7e5f0 commit bde7a60
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 28 deletions.
3 changes: 1 addition & 2 deletions res/ui/about.ui
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ p, li { white-space: pre-wrap; }
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:16pt;">关于自动弹奏工具</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;">版本:0.9b</span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;">作者:</span><a href="https://space.bilibili.com/40358750"><span style=" font-size:14pt; text-decoration: underline; color:#0000ff;">此号已封12138</span></a></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
&lt;span style=&quot; font-size:14pt; color:#000000;&quot;&gt;GitHub:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:14pt; color:#000000;&quot;&gt;GitHub:&lt;/span&gt;&lt;a href=&quot;https://github.com/hasban121138/GenshinPiano&quot;&gt;&lt;span style=&quot; font-size:14pt; text-decoration: underline; color:#0000ff;&quot;&gt;GenshinPiano&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</widget>
Expand Down
8 changes: 4 additions & 4 deletions res/ui/use.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>548</width>
<height>286</height>
<width>546</width>
<height>328</height>
</rect>
</property>
<property name="windowTitle">
Expand All @@ -17,9 +17,9 @@
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<y>0</y>
<width>461</width>
<height>261</height>
<height>321</height>
</rect>
</property>
<property name="text">
Expand Down
30 changes: 16 additions & 14 deletions src/Ui_about.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# -*- coding: utf-8 -*-

from PyQt5 import QtCore, QtWidgets
# Form implementation generated from reading ui file 'c:\Users\Administrator\Desktop\hasan\GenshinPiano\res\ui\about.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_About(object):
def setupUi(self, About):
Expand All @@ -10,6 +15,7 @@ def setupUi(self, About):
self.label = QtWidgets.QLabel(About)
self.label.setGeometry(QtCore.QRect(10, 10, 131, 141))
self.label.setText("")
self.label.setPixmap(QtGui.QPixmap("../img/hutao.png"))
self.label.setObjectName("label")
self.label_2 = QtWidgets.QLabel(About)
self.label_2.setGeometry(QtCore.QRect(160, 10, 271, 141))
Expand All @@ -21,16 +27,12 @@ def setupUi(self, About):
def retranslateUi(self, About):
_translate = QtCore.QCoreApplication.translate
About.setWindowTitle(_translate("About", "Dialog"))
self.label_2.setText(
_translate(
"About",
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'SimSun\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:16pt;\">关于自动弹奏工具</span></p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14pt;\">版本:0.9b</span></p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14pt;\">作者:</span><a href=\"https://space.bilibili.com/40358750\"><span style=\" font-size:14pt; text-decoration: underline; color:#0000ff;\">此号已封12138</span></a></p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">\n"
"<span style=\" font-size:14pt; color:#000000;\">GitHub:</span></p></body></html>"
))
self.label_2.setText(_translate("About", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'SimSun\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:16pt;\">关于自动弹奏工具</span></p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14pt;\">版本:0.9b</span></p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14pt;\">作者:</span><a href=\"https://space.bilibili.com/40358750\"><span style=\" font-size:14pt; text-decoration: underline; color:#0000ff;\">此号已封12138</span></a></p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14pt; color:#000000;\">GitHub:</span><a href=\"https://github.com/hasban121138/GenshinPiano\"><span style=\" font-size:14pt; text-decoration: underline; color:#0000ff;\">GenshinPiano</span></a></p></body></html>"))

18 changes: 10 additions & 8 deletions src/Ui_use.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# -*- coding: utf-8 -*-

from PyQt5 import QtCore, QtWidgets
# Form implementation generated from reading ui file 'c:\Users\Administrator\Desktop\hasan\GenshinPiano\res\ui\use.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_Use(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(548, 286)
Dialog.resize(546, 328)
self.label = QtWidgets.QLabel(Dialog)
self.label.setGeometry(QtCore.QRect(10, 10, 461, 261))
self.label.setGeometry(QtCore.QRect(10, 0, 461, 321))
self.label.setObjectName("label")

self.retranslateUi(Dialog)
Expand All @@ -17,8 +22,5 @@ def setupUi(self, Dialog):
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.label.setText(
_translate(
"Dialog",
"<html><head/><body><p><span style=\" font-size:14pt; font-weight:600;\">注意:</span></p><p><span style=\" font-size:14pt; font-weight:600;\">由于是按键模拟器,无法保证完全安全,请谨慎使用</span></p><p><span style=\" font-size:14pt; font-weight:600;\">使用说明:</span></p><p><span style=\" font-size:14pt; font-weight:600;\">使用管理员身份运行</span></p><p><span style=\" font-size:14pt; font-weight:600;\">在输入框中输入字符,点击开始即可弹奏</span></p><p><span style=\" font-size:14pt; font-weight:600;\">使用括号(英文)表示和弦</span></p><p><span style=\" font-size:14pt; font-weight:600;\">例如:(AE)表示同时按下AE</span></p><p><span style=\" font-size:14pt; font-weight:600;\">延迟为每个音符的停顿时长,单位:毫秒</span></p><p><span style=\" font-size:14pt; font-weight:600;\">请尽可能不要输入奇怪的东西防止出现Bug</span></p></body></html>"
))
self.label.setText(_translate("Dialog", "<html><head/><body><p><span style=\" font-size:14pt; font-weight:600;\">注意:</span></p><p><span style=\" font-size:14pt; font-weight:600;\">由于是按键模拟器,无法保证完全安全,请谨慎使用</span></p><p><span style=\" font-size:14pt; font-weight:600;\">使用说明:</span></p><p><span style=\" font-size:14pt; font-weight:600;\">使用管理员身份运行</span></p><p><span style=\" font-size:14pt; font-weight:600;\">在输入框中输入字符,点击开始即可弹奏</span></p><p><span style=\" font-size:14pt; font-weight:600;\">使用括号(英文)表示和弦</span></p><p><span style=\" font-size:14pt; font-weight:600;\">例如:(AE)表示同时按下AE</span></p><p><span style=\" font-size:14pt; font-weight:600;\">延迟为每个音符的停顿时长,单位:毫秒</span></p><p><span style=\" font-size:14pt; font-weight:600;\">请尽可能不要输入奇怪的东西防止出现Bug</span></p></body></html>"))

0 comments on commit bde7a60

Please sign in to comment.