Skip to content

Commit

Permalink
update 210418
Browse files Browse the repository at this point in the history
  • Loading branch information
kdrkdrkdr committed Apr 17, 2021
1 parent 5035786 commit 310dcd1
Show file tree
Hide file tree
Showing 11 changed files with 178 additions and 59 deletions.
Binary file removed 89/chromedriver.exe
Binary file not shown.
44 changes: 30 additions & 14 deletions UI_MAIN.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def setupUi(self, MainWindow):
if not MainWindow.objectName():
MainWindow.setObjectName(u"MainWindow")
MainWindow.setEnabled(True)
MainWindow.resize(639, 193)
MainWindow.resize(649, 198)
MainWindow.setMinimumSize(QSize(268, 167))
MainWindow.setMaximumSize(QSize(16777215, 16777215))
self.centralwidget = QWidget(MainWindow)
Expand All @@ -31,6 +31,9 @@ def setupUi(self, MainWindow):
self.reloadBtn = QPushButton(self.wholeFrame)
self.reloadBtn.setObjectName(u"reloadBtn")
self.reloadBtn.setGeometry(QRect(520, 110, 91, 28))
font = QFont()
font.setPointSize(11)
self.reloadBtn.setFont(font)
self.window_list = QComboBox(self.wholeFrame)
self.window_list.setObjectName(u"window_list")
self.window_list.setGeometry(QRect(9, 112, 501, 21))
Expand All @@ -41,7 +44,7 @@ def setupUi(self, MainWindow):
self.timeFrame.setFrameShadow(QFrame.Raised)
self.sec = QLabel(self.timeFrame)
self.sec.setObjectName(u"sec")
self.sec.setGeometry(QRect(80, 1, 61, 31))
self.sec.setGeometry(QRect(86, 1, 61, 31))
self.trans_time = QLabel(self.timeFrame)
self.trans_time.setObjectName(u"trans_time")
self.trans_time.setGeometry(QRect(13, 1, 81, 31))
Expand All @@ -52,7 +55,7 @@ def setupUi(self, MainWindow):
self.frame.setFrameShadow(QFrame.Raised)
self.show_status = QLabel(self.frame)
self.show_status.setObjectName(u"show_status")
self.show_status.setGeometry(QRect(50, 8, 101, 20))
self.show_status.setGeometry(QRect(50, 6, 101, 20))
self.status_lbl = QLabel(self.frame)
self.status_lbl.setObjectName(u"status_lbl")
self.status_lbl.setGeometry(QRect(13, 8, 51, 16))
Expand All @@ -63,20 +66,31 @@ def setupUi(self, MainWindow):
self.btnFrame.setFrameShadow(QFrame.Raised)
self.show_ori_btn = QPushButton(self.btnFrame)
self.show_ori_btn.setObjectName(u"show_ori_btn")
self.show_ori_btn.setGeometry(QRect(10, 55, 131, 31))
font = QFont()
font.setFamily(u"Consolas")
font.setPointSize(11)
font.setBold(False)
font.setWeight(50)
self.show_ori_btn.setFont(font)
self.show_ori_btn.setGeometry(QRect(90, 5, 71, 31))
font1 = QFont()
font1.setFamily(u"Consolas")
font1.setPointSize(10)
font1.setBold(False)
font1.setWeight(50)
self.show_ori_btn.setFont(font1)
self.show_trans_btn = QPushButton(self.btnFrame)
self.show_trans_btn.setObjectName(u"show_trans_btn")
self.show_trans_btn.setGeometry(QRect(10, 5, 131, 31))
self.show_trans_btn.setFont(font)
self.show_trans_btn.setGeometry(QRect(7, 5, 81, 31))
self.show_trans_btn.setFont(font1)
self.stop_trans_btn = QPushButton(self.btnFrame)
self.stop_trans_btn.setObjectName(u"stop_trans_btn")
self.stop_trans_btn.setGeometry(QRect(147, 5, 75, 81))
self.stop_trans_btn.setGeometry(QRect(163, 5, 61, 31))
font2 = QFont()
font2.setPointSize(10)
self.stop_trans_btn.setFont(font2)
self.isPrintBoth = QCheckBox(self.btnFrame)
self.isPrintBoth.setObjectName(u"isPrintBoth")
self.isPrintBoth.setGeometry(QRect(10, 36, 151, 19))
self.isPrintBoth.setFont(font2)
self.isAutoTrans = QCheckBox(self.btnFrame)
self.isAutoTrans.setObjectName(u"isAutoTrans")
self.isAutoTrans.setGeometry(QRect(10, 52, 211, 19))
self.isAutoTrans.setFont(font2)
self.authorFrame = QFrame(self.wholeFrame)
self.authorFrame.setObjectName(u"authorFrame")
self.authorFrame.setGeometry(QRect(410, 10, 201, 91))
Expand Down Expand Up @@ -109,8 +123,10 @@ def retranslateUi(self, MainWindow):
self.show_ori_btn.setText(QCoreApplication.translate("MainWindow", u"\uc6d0\ubcf8 \ubcf4\uae30", None))
self.show_trans_btn.setText(QCoreApplication.translate("MainWindow", u"\ubc88\uc5ed\ubcf8 \ubcf4\uae30", None))
self.stop_trans_btn.setText(QCoreApplication.translate("MainWindow", u"\ubc88\uc5ed \uc911\uc9c0", None))
self.isPrintBoth.setText(QCoreApplication.translate("MainWindow", u"\uc6d0\ubb38/\ubc88\uc5ed\ubb38 \ub3d9\uc2dc \ucd9c\ub825", None))
self.isAutoTrans.setText(QCoreApplication.translate("MainWindow", u"\ud398\uc774\uc9c0 \ubc14\ub014 \ub54c\ub9c8\ub2e4 \uc790\ub3d9 \ubc88\uc5ed", None))
self.dev_info.setText(QCoreApplication.translate("MainWindow", u"\uc81c\uc791\uc790: kdr \n"
" V.210416", None))
" V.210418", None))
self.go_dev_page.setText(QCoreApplication.translate("MainWindow", u"\uc81c\uc791\uc790\n"
"\ud648\ud398\uc774\uc9c0", None))
# retranslateUi
Expand Down
74 changes: 60 additions & 14 deletions UI_MAIN.ui
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>639</width>
<height>193</height>
<width>649</width>
<height>198</height>
</rect>
</property>
<property name="minimumSize">
Expand Down Expand Up @@ -53,6 +53,11 @@
<height>28</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>리로드</string>
</property>
Expand Down Expand Up @@ -128,7 +133,7 @@
<property name="geometry">
<rect>
<x>50</x>
<y>8</y>
<y>6</y>
<width>101</width>
<height>20</height>
</rect>
Expand Down Expand Up @@ -169,16 +174,16 @@
<widget class="QPushButton" name="show_ori_btn">
<property name="geometry">
<rect>
<x>10</x>
<y>55</y>
<width>131</width>
<x>90</x>
<y>5</y>
<width>71</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Consolas</family>
<pointsize>11</pointsize>
<pointsize>10</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
Expand All @@ -190,16 +195,16 @@
<widget class="QPushButton" name="show_trans_btn">
<property name="geometry">
<rect>
<x>10</x>
<x>7</x>
<y>5</y>
<width>131</width>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Consolas</family>
<pointsize>11</pointsize>
<pointsize>10</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
Expand All @@ -211,16 +216,57 @@
<widget class="QPushButton" name="stop_trans_btn">
<property name="geometry">
<rect>
<x>147</x>
<x>163</x>
<y>5</y>
<width>75</width>
<height>81</height>
<width>61</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>번역 중지</string>
</property>
</widget>
<widget class="QCheckBox" name="isPrintBoth">
<property name="geometry">
<rect>
<x>10</x>
<y>36</y>
<width>151</width>
<height>19</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>원문/번역문 동시 출력</string>
</property>
</widget>
<widget class="QCheckBox" name="isAutoTrans">
<property name="geometry">
<rect>
<x>10</x>
<y>52</y>
<width>211</width>
<height>19</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>페이지 바뀔 때마다 자동 번역</string>
</property>
</widget>
</widget>
<widget class="QFrame" name="authorFrame">
<property name="geometry">
Expand Down Expand Up @@ -251,7 +297,7 @@
</property>
<property name="text">
<string>제작자: kdr
V.210415</string>
V.210418</string>
</property>
</widget>
<widget class="QPushButton" name="go_dev_page">
Expand Down
Binary file modified __pycache__/UI_MAIN.cpython-37.pyc
Binary file not shown.
Binary file added __pycache__/ehnd_web_translate.cpython-37.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion comp.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"command_data":{"onefile":true,"console":true,"additional_files":{}},"id_injectable":{"file":"C:/Users/power/Desktop/Project/Dev/EhndWebTranslate/main.py","icon":"C:/Users/power/Desktop/Project/Dev/EhndWebTranslate/»ç¿ä.ico","output_location":"","VALUE--upx-dir":"","VALUE--log-level":"","VALUE-n":"","VALUE--add-binary":"","VALUE-p":"","COMMASPLIT--hidden-import":"","VALUE--additional-hooks-dir":"","VALUE--runtime-hook":"","COMMASPLIT--exclude-module":"","VALUE--key":"","VALUE--debug":"","VALUE--version-file":"","VALUE-m":"","VALUE-r":"","VALUE--osx-bundle-identifier":"","VALUE--runtime-tmpdir":"","extra_command_data":""},"switches":{"disable_recursion_limit":false,"OPTION-a":false,"OPTION--clean":false,"OPTION-s":false,"OPTION--noupx":false,"OPTION--uac-admin":false,"OPTION--uac-uiaccess":false,"OPTION--win-private-assemblies":false,"OPTION--win-no-prefer-redirects":false,"OPTION--bootloader-ignore-signals":false}}
{"command_data":{"onefile":true,"console":true,"additional_files":{}},"id_injectable":{"file":"C:/Users/power/Desktop/Project/Dev/EhndWebTranslate/ehnd_web_translate.py","icon":"C:/Users/power/Desktop/Project/Dev/EhndWebTranslate/»ç¿ä.ico","output_location":"","VALUE--upx-dir":"","VALUE--log-level":"","VALUE-n":"","VALUE--add-binary":"","VALUE-p":"","COMMASPLIT--hidden-import":"","VALUE--additional-hooks-dir":"","VALUE--runtime-hook":"","COMMASPLIT--exclude-module":"","VALUE--key":"","VALUE--debug":"","VALUE--version-file":"","VALUE-m":"","VALUE-r":"","VALUE--osx-bundle-identifier":"","VALUE--runtime-tmpdir":"","extra_command_data":""},"switches":{"disable_recursion_limit":false,"OPTION-a":false,"OPTION--clean":false,"OPTION-s":false,"OPTION--noupx":false,"OPTION--uac-admin":false,"OPTION--uac-uiaccess":false,"OPTION--win-private-assemblies":false,"OPTION--win-no-prefer-redirects":false,"OPTION--bootloader-ignore-signals":false}}
Loading

0 comments on commit 310dcd1

Please sign in to comment.