From 9d599f49dc7bc38e9f3204844a656d3a4b0cb44c Mon Sep 17 00:00:00 2001
From: abc15379 <1938729173@qq.com>
Date: Sun, 15 Oct 2023 21:29:36 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/.idea/dbnavigator.xml | 525 ++++++++++++++++++
.../operateselect_window.cpython-311.pyc | Bin 962 -> 4066 bytes
.../selectRuleOrder.cpython-311.pyc | Bin 3025 -> 3017 bytes
.../settingrule_window.cpython-311.pyc | Bin 1979 -> 5434 bytes
.../control/contrltools/setShotArea.py | 76 +++
.../control/database/databaseconnact.py | 23 +
src/windows/main_window.py | 32 +-
src/windows/operateselect_window.py | 44 +-
...˜Žæ—¥æ–¹èˆŸè‡ªåŠ¨æ¸…体力.cpython-311.pyc | Bin 13609 -> 14447 bytes
.../res/rules/明日方舟自动清体力.py | 36 +-
src/windows/res/tools/test.py | 7 -
src/windows/res/tools/translate.py | 47 ++
src/windows/res/ui/main_window.ui | 14 +-
src/windows/res/ui/operationSelect_window.ui | 332 ++++++-----
src/windows/res/ui/setRule_window.ui | 34 +-
src/windows/selectRuleOrder.py | 3 +-
src/windows/settingrule_window.py | 56 +-
17 files changed, 1013 insertions(+), 216 deletions(-)
create mode 100644 src/.idea/dbnavigator.xml
create mode 100644 src/windows/control/contrltools/setShotArea.py
create mode 100644 src/windows/control/database/databaseconnact.py
delete mode 100644 src/windows/res/tools/test.py
create mode 100644 src/windows/res/tools/translate.py
diff --git a/src/.idea/dbnavigator.xml b/src/.idea/dbnavigator.xml
new file mode 100644
index 0000000..7391c15
--- /dev/null
+++ b/src/.idea/dbnavigator.xml
@@ -0,0 +1,525 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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aQ$kzx&Cb`OELC=71d
z`b(6Nm(WMhg913H5-D(Ndy68JO9@}fLGo^AJ%dSivNF^X?ii^l6Qqz@l=2RbDHSS9
zT8g?pd(M%efz(>*B}#+Hmy%Mc@+|J3KYDoA+vKtLgoS=XbhnVc^d2O;JmS9SH6p*~
zNfCH?D(TJCsQ|Fu6RHjNuFphk1(XuT|FA_h>BN>F$o)8SeD5BIM
z!dA)EyWAI7P>XV*RDI+MDnwO$BTYB&jo|;3m@lqcb4uxaqt}d=Yt1-sNh#FJ3e`NR
znT4_k$K)K>2K%#-+0}I>a
z*X$0AHx}z~FfnpW*5$J0=U_GZzyK%2CRcLhvZw-8PyWO;#rpw+-33(iflY}~^aBGX
QF+utxNc0O9sUnaQ0Q~zae*gdg
delta 180
zcmX>peo>rvIWI340}yPzp_Cf8k=Kodkz;cROB^Gk$mY$gT12K%#-+0}K1)
z*X$0A4;JfiFfp=E*5$J0=VUedzyK#CCRcLh^5_CpmuKds+XYng
ZflZlF^aBGXF+utxNc0O9sUm5hxd6~dF8u%i
diff --git a/src/windows/__pycache__/settingrule_window.cpython-311.pyc b/src/windows/__pycache__/settingrule_window.cpython-311.pyc
index be28162b5d8875c5ae23a1ff04b84020925203cb..f8503b33c122605bff8b571470c1b07443795d5d 100644
GIT binary patch
literal 5434
zcmeGfTWs6b^-|9(iMI2Q8%ItRImyxpL8T?mV~Gc+w&N`AGACI#6wnM1s>sB2B~iPi
z>Ia;_12W9%JhWKXWe8ft?Y1mN5Fnq$hW+o8G6+~B5G=r&6#3KO4j8hZokNMVWXY}y
z^lKAxXD{)rv?@zxq^Z$jf15sAoUNeaKNESGbo
zTse2jo%5tTId96#;kY~N%lT7&tIcI;io%#D8^{GyL5{e{_lW4dK}4VAy6Yz7KK!ds
zDkO5RleqsGcE{o#Gj#a}X*vIfoEMcTGjMrC$-SuzE7LH3si;m27d1`E!}yP+X>C-L
zwK!+Gi*g1&9ZErBX-!h4td!9*HU8GeRqL#shsG~J9*Lwlk)&J;P4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;wSQp_8-0Xk%k_%=nWbY170itea%JJ$FE&uh$SWeGjc3SKnd=Bc0JBvt?cOBr~6c
zmPRJ2VqC1G2Z^VP_t*IYNtWbqo2{|9xE`>vcypbvOj@BU9e+`uGryY
z-8~#}zxn0X9+GV
z=^EAHJx5=l({$d5TxA8{d-AU_KAH9_v|pnAs@>h+InX&6m+V1eDi@TwYK5!LluKL#
zF_jO=e7(ZgXL=;QiJ0oGmA!R}w=NTxyiuvo8&%yEg9op$SJ^>!#)y2Og|s(HTteOA
z62#?NvA9j%iWqy^+25SnG(#cQv+z!N8nKRa)tUBGyGrx@Edwp77BY1qn#q^UvomIB
zi>ziX;@jvZ@Uta(K
delta 661
zcmaD~uriBxIWI340}vd&p_Hn;k#~~-h2
zVPf$C$g#X@>v6?4>IR4Mg1{BbKxsQ&ptPOt4FeOPw4Lc>7V&6%VFqq73e4C%U0j@<
zapC0ka%UM=O|F$c!?<~}m%?|(J(Hajk1-yd%&D}S@!aI2N}Y_eH~TB^WoNuInOFNX
zfqljj;3
zOqOKho$M>eIeCYqz~o#uewa944MP?SC_q7A0qbOYV@*bu$(hC)npFaNdioGlo|%`D
zUtX-qc8e*$_!et&MoMPUEw=R3lH~G~BHKwOBJxbPSc+3~(ryVRmlhSJ=9R<)Riq}D
z4Cut
0
0
- 352
- 803
+ 350
+ 809
@@ -114,7 +114,7 @@
è¯è¨€é€‰æ‹©ï¼š
-
+
50
@@ -123,11 +123,19 @@
25
+
+ æ—¥è¯
+
-
æ—¥è¯
+ -
+
+ 法è¯
+
+
-
英è¯
diff --git a/src/windows/res/ui/operationSelect_window.ui b/src/windows/res/ui/operationSelect_window.ui
index 931bd74..2ff8df1 100644
--- a/src/windows/res/ui/operationSelect_window.ui
+++ b/src/windows/res/ui/operationSelect_window.ui
@@ -6,212 +6,210 @@
0
0
- 693
- 431
+ 663
+ 465
Form
-
+
0
0
- 691
- 341
+ 671
+ 471
-
+
- 0
- 0
- 101
- 101
+ 10
+ 10
+ 641
+ 321
-
-
-
-
-
- -
-
-
- 点击æ“作
-
+
+
-
+
+
+
-
+
+
+ <html><head/><body><p><br/></p></body></html>
+
+
+ <html><head/><body><p>12</p></body></html>
+
+
+
+ -
+
+
+ 点击æ“作
+
+
+ Qt::AutoText
+
+
+ Qt::AlignCenter
+
+
+
+
-
-
-
-
-
- 130
- 0
- 101
- 101
-
-
-
- -
-
-
- -
-
-
- 长按æ“作
-
+
-
+
+
+
-
+
+
+ -
+
+
+ 长按æ“作
+
+
+ Qt::AlignCenter
+
+
+
+
-
-
-
-
-
- 260
- 0
- 101
- 101
-
-
-
- -
-
-
- -
-
-
- 左划æ“作
-
+
-
+
+
+
-
+
+
+ -
+
+
+ 左滑æ“作
+
+
+ Qt::AlignCenter
+
+
+
+
-
-
-
-
-
- 390
- 0
- 101
- 101
-
-
-
- -
-
-
- -
-
-
- å³åˆ’æ“作
-
+
-
+
+
+
-
+
+
+ -
+
+
+ å³æ»‘æ“作
+
+
+ Qt::AlignCenter
+
+
+
+
-
-
-
-
-
- 520
- 0
- 101
- 101
-
-
-
- -
-
-
- -
-
-
- 键盘点击æ“作
-
+
-
+
+
+
-
+
+
+ -
+
+
+ ä¼‘çœ æ“作
+
+
+ Qt::AlignCenter
+
+
+
+
-
-
-
-
-
- 0
- 130
- 101
- 101
-
-
-
- -
-
-
- -
-
-
- ä¼‘çœ æ“作
-
+
-
+
+
+
-
+
+
+ -
+
+
+ 上滑æ“作
+
+
+ Qt::AlignCenter
+
+
+
+
-
-
-
-
-
- 130
- 130
- 101
- 101
-
-
-
- -
-
+
-
+
+
+
-
+
+
+ -
+
+
+ 键盘点击æ“作
+
+
+ Qt::AlignCenter
+
+
+
+
+
- -
-
-
- 上划æ“作
-
+
-
+
+
+
-
+
+
+ -
+
+
+ 下滑æ“作
+
+
+ Qt::AlignCenter
+
+
+
+
-
+
270
- 130
- 101
- 101
+ 370
+ 119
+ 71
-
- -
-
-
- -
-
-
- 下划æ“作
-
-
-
-
+
+ 确认
+
-
-
-
- 300
- 350
- 91
- 71
-
-
-
- 确认
-
-
diff --git a/src/windows/res/ui/setRule_window.ui b/src/windows/res/ui/setRule_window.ui
index 506ee5e..f286870 100644
--- a/src/windows/res/ui/setRule_window.ui
+++ b/src/windows/res/ui/setRule_window.ui
@@ -44,11 +44,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">图片地å€</p></body></html>
+</style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:11pt;">图片地å€</span></p></body></html>
-
+
220
@@ -100,7 +100,7 @@ p, li { white-space: pre-wrap; }
æ“作åæ ‡ï¼š
-
+
220
@@ -126,8 +126,8 @@ p, li { white-space: pre-wrap; }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">0</p></body></html>
+</style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:11pt;">0</span></p></body></html>
@@ -169,8 +169,8 @@ p, li { white-space: pre-wrap; }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">0</p></body></html>
+</style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:11pt;">0</span></p></body></html>
@@ -245,11 +245,11 @@ p, li { white-space: pre-wrap; }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">图片地å€</p></body></html>
+</style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:11pt;">图片地å€</span></p></body></html>
-
+
220
@@ -275,12 +275,12 @@ p, li { white-space: pre-wrap; }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">图片地å€</p></body></html>
+</style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:11pt;">图片地å€</span></p></body></html>
-
+
230
@@ -293,7 +293,7 @@ p, li { white-space: pre-wrap; }
next
-
+
160
@@ -306,7 +306,7 @@ p, li { white-space: pre-wrap; }
previous
-
+
160
@@ -319,7 +319,7 @@ p, li { white-space: pre-wrap; }
ä¿å˜
-
+
30
diff --git a/src/windows/selectRuleOrder.py b/src/windows/selectRuleOrder.py
index 109fc51..a97d0df 100644
--- a/src/windows/selectRuleOrder.py
+++ b/src/windows/selectRuleOrder.py
@@ -1,7 +1,8 @@
import os
from PyQt5.QtWidgets import QMainWindow, QListWidget, QPushButton
from PyQt5 import uic
-from windows.res.rules.明日方舟自动清体力 import WorkerThread
+
+from res.rules.明日方舟自动清体力 import WorkerThread
class orderselet(QMainWindow):
diff --git a/src/windows/settingrule_window.py b/src/windows/settingrule_window.py
index 1aa9c49..4e81493 100644
--- a/src/windows/settingrule_window.py
+++ b/src/windows/settingrule_window.py
@@ -1,5 +1,8 @@
-from PyQt5.QtWidgets import QMainWindow, QComboBox
+import os
+
+from PyQt5.QtWidgets import QMainWindow, QComboBox, QPushButton, QTextEdit
from PyQt5 import uic
+import shutil
from operateselect_window import operateselect
@@ -10,9 +13,21 @@ class settingrule(QMainWindow):
uic.loadUi('res/ui/setRule_window.ui', self)
- self.operateChoseBox = self.findChild(QComboBox, 'operateChose')
+ # 图片地å€
+
+ self.operateChoseBox = self.findChild(QComboBox, 'operateChose') # æ“作选择
+ self.cancelBtn = self.findChild(QPushButton, 'cancelBtn')#å–消选择按钮
+ self.preserveBtn = self.findChild(QPushButton, 'preserveBtn') # ä¿å˜é€‰æ‹©æŒ‰é’®
+ self.uploadBtn = self.findChild(QPushButton, 'uploadBtn') # "ä¸Šä¼ "按钮
+ self.uploadBtn_2 = self.findChild(QPushButton, 'uploadBtn_2')
+ self.uploadBtn_3 = self.findChild(QPushButton, 'uploadBtn_3')
self.operateChoseBox.activated.connect(self.handleComboBoxActivated)
+ self.cancelBtn.clicked.connect(self.cancel_clicked)
+ self.preserveBtn.clicked.connect(self.preserve_clicked)
+ self.uploadBtn.clicked.connect(self.write_image_to_folder)
+ self.uploadBtn_2.clicked.connect(self.write_image_to_folder_2)
+ self.uploadBtn_3.clicked.connect(self.write_image_to_folder_3)
self.operateselect_window = operateselect()
@@ -24,3 +39,40 @@ class settingrule(QMainWindow):
def createæ–°ç•Œé¢(self):
# 显示新界é¢
self.operateselect_window.show()
+
+ def cancel_clicked(self):
+ self.close()
+
+ def preserve_clicked(self):
+ self.close()
+
+ def write_image_to_folder(self): # å°†å›¾ç‰‡å†™å…¥ç›®æ ‡æ–‡ä»¶
+ text_edit = self.findChild(QTextEdit, "textEdit")
+ self.image_path = text_edit.toPlainText()
+ print(self.image_path)
+ destination_path = "D:/代ç /pythoncode/src/windows/res/pictures"
+ if not os.path.exists(self.image_path):
+ print("image address is not existing!")
+ return
+ shutil.copy(self.image_path, destination_path)
+
+ def write_image_to_folder_2(self): # å°†å›¾ç‰‡å†™å…¥ç›®æ ‡æ–‡ä»¶
+ text_edit = self.findChild(QTextEdit, "textEdit_2")
+ self.image_path = text_edit.toPlainText()
+ print(self.image_path)
+ destination_path = "D:/代ç /pythoncode/src/windows/res/pictures"
+ if not os.path.exists(self.image_path):
+ print("image address is not existing!")
+ return
+ shutil.copy(self.image_path, destination_path)
+
+ def write_image_to_folder_3(self): # å°†å›¾ç‰‡å†™å…¥ç›®æ ‡æ–‡ä»¶
+ text_edit = self.findChild(QTextEdit, "textEdit_3")
+ self.image_path = text_edit.toPlainText()
+ print(self.image_path)
+ destination_path = "D:/代ç /pythoncode/src/windows/res/pictures"
+ if not os.path.exists(self.image_path):
+ print("image address is not existing!")
+ return
+ shutil.copy(self.image_path, destination_path)
+