From d880f0de2e57d78cab36de04918d35ab33c3e0da Mon Sep 17 00:00:00 2001
From: 8taby <97948617+8taby@users.noreply.github.com>
Date: Wed, 4 May 2022 16:02:09 +0900
Subject: [PATCH 1/6] =?UTF-8?q?py=20=ED=8C=8C=EC=9D=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sinchon.py | 24 +++
songdo.py | 523 +++++++++++++++++++++++++++++++++++++++++++++++++++++
test.py | 19 +-
3 files changed, 552 insertions(+), 14 deletions(-)
create mode 100644 sinchon.py
create mode 100644 songdo.py
diff --git a/sinchon.py b/sinchon.py
new file mode 100644
index 0000000..44b0a2a
--- /dev/null
+++ b/sinchon.py
@@ -0,0 +1,24 @@
+# Node 배열 구조 || {'노드 이름':[장소명,시간,[[이웃 노드1],[이웃 노드2],[이웃 노드3]]]}
+# 이웃 노드 값 구조 || ['이웃 노드 이름',거리(m),고도차(m)]
+NodeSinchon = {
+ '': [
+ '',
+ 10000,
+ [
+ [
+ ['',0,0],
+ ['',1,0]
+ ]
+ ]
+ ],
+ '': [
+ '',
+ 10000,
+ [
+ [
+ ['',0,0],
+ ['',1,0]
+ ]
+ ]
+ ]
+}
\ No newline at end of file
diff --git a/songdo.py b/songdo.py
new file mode 100644
index 0000000..6c80336
--- /dev/null
+++ b/songdo.py
@@ -0,0 +1,523 @@
+# Node 배열 구조 || {'노드 이름':[장소명,시간,[[이웃 노드1],[이웃 노드2],[이웃 노드3]]]}
+# 이웃 노드 값 구조 || ['이웃 노드 이름',거리(m),고도차(m)]
+NodeSongdo = {
+ 'gatea': [
+ '연돌(임시정문)',
+ 10000,
+ [
+ [
+ ['nodea',116,2]
+ ]
+ ]
+ ],
+ 'gateb':[
+ '서문(트스 방향)',
+ 10000,
+ [
+ [
+ ['DormC',38,0],
+ ['IMCH',44,0],
+ ['nodej',68,0]
+ ]
+ ]
+ ],
+ 'UML':[
+ '언더우드기념도서관(1층 출입구)',
+ 10000,
+ [
+ [
+ ['nodee',18,0]
+ ]
+ ]
+ ],
+ 'Yplaza':[
+ '언더우드기념도서관(지하1층), Y-plaza',
+ 10000,
+ [
+ [
+ ['nodem',57,0],
+ ['noden',56,0],
+ ['nodes',19,0]
+ ]
+ ]
+ ],
+ 'YICfield':[
+ '운동장',
+ 10000,
+ [
+ [
+ ['nodea',237,2],
+ ['nodeb',99,0]
+ ]
+ ]
+ ],
+ 'LiberA':[
+ '자유관A',
+ 10000,
+ [
+ [
+ ['nodel',48,0],
+ ['noder',40,0]
+ ]
+ ]
+ ],
+ 'LiberB':[
+ '자유관B',
+ 10000,
+ [
+ [
+ ['nodea',77,0],
+ ['nodel',29,0]
+ ]
+ ]
+ ],
+ 'Futsal':[
+ '풋살장',
+ 10000,
+ [
+ [
+ ['DormB',49,0],
+ ['nodek',31,0],
+ ['nodep',76,0]
+ ]
+ ]
+ ],
+ 'WisA':[
+ '지혜관A',
+ 10000,
+ [
+ [
+ ['Woori',36,0],
+ ['nodek',39,0]
+ ]
+ ]
+ ],
+ 'WisB':[
+ '지혜관B',
+ 10000,
+ [
+ [
+ ['nodeg',28,0]
+ ]
+ ]
+ ],
+ 'WisC':[
+ '지혜관C',
+ 10000,
+ [
+ [
+ ['DormD',160,0]
+ ]
+ ]
+ ],
+ 'Woori':[
+ '우리은행',
+ 10000,
+ [
+ [
+ ['WisA',36,0],
+ ['DormA',53,0],
+ ['DormB',34,0]
+ ]
+ ]
+ ],
+ 'DormA':[
+ '송도학사A',
+ 10000,
+ [
+ [
+ ['Woori',53,0],
+ ['nodea',243,2]
+ ]
+ ]
+ ],
+ 'DormB':[
+ '송도학사B',
+ 10000,
+ [
+ [
+ ['Futsal',49,0],
+ ['Woori',34,0],
+ ['DormC',65,0],
+ ['nodej',67,0]
+ ]
+ ]
+ ],
+ 'DormC':[
+ '송도학사C',
+ 10000,
+ [
+ [
+ ['gateb',38,0],
+ ['DormB',65,0],
+ ['nodej',78,0]
+ ]
+ ]
+ ],
+ 'DormD':[
+ '송도학사D',
+ 10000,
+ [
+ [
+ ['WisC',160,0],
+ ['DormG',90,0],
+ ['nodec',100,0],
+ ['noded',70,2]
+ ]
+ ]
+ ],
+ 'DormE':[
+ '송도학사E',
+ 10000,
+ [
+ [
+ ['DormF',43,0],
+ ['nodec',33,0]
+ ]
+ ]
+ ],
+ 'DormF':[
+ '송도학사F',
+ 10000,
+ [
+ [
+ ['DormE',43,0]
+ ]
+ ]
+ ],
+ 'DormG':[
+ '송도학사G',
+ 10000,
+ [
+ [
+ ['DormF',90,0]
+ ]
+ ]
+ ],
+ 'VeriA':[
+ '진리관A',
+ 10000,
+ [
+ [
+ ['nodem',19,0],
+ ['nodes',58,0]
+ ]
+ ]
+ ],
+ 'VeriB':[
+ '진리관B',
+ 10000,
+ [
+ [
+ ['noded',50,0],
+ ['nodem',50,0]
+ ]
+ ]
+ ],
+ 'VeriC':[
+ '진리관C',
+ 10000,
+ [
+ [
+ ['nodef',27,0],
+ ['noden',70,0]
+ ]
+ ]
+ ],
+ 'VeriD':[
+ '진리관D',
+ 10000,
+ [
+ [
+ ['SLBigen',45,0],
+ ['nodef',45,0]
+ ]
+ ]
+ ],
+ 'SLBigen':[
+ '에스엘바이젠의학연구소',
+ 10000,
+ [
+ [
+ ['VeriD',45,0]
+ ]
+ ]
+ ],
+ 'Vision':[
+ '종합관',
+ 10000,
+ [
+ [
+ ['noden',17,0],
+ ['nodes',54,0]
+ ]
+ ]
+ ],
+ 'Chapl':[
+ '크리스틴채플',
+ 10000,
+ [
+ [
+ ['nodei',31,0],
+ ['nodeo',27,0]
+ ]
+ ]
+ ],
+ 'IMCH':[
+ '국제캠퍼스기념관',
+ 10000,
+ [
+ [
+ ['gateb',44,0]
+ ]
+ ]
+ ],
+ 'Mntnc':[
+ '파워플랜트',
+ 10000,
+ [
+ [
+ ['nodei',36,0]
+ ]
+ ]
+ ],
+ 'Ghome':[
+ '저에너지친환경실험주택',
+ 10000,
+ [
+ [
+ ['nodeh',78,0]
+ ]
+ ]
+ ],
+ 'posco':[
+ '포스코그린빌딩',
+ 10000,
+ [
+ [
+ ['nodeg',284,0]
+ ]
+ ]
+ ],
+ 'nodea':[
+ 'a',
+ 10000,
+ [
+ [
+ ['gatea',116,-2],
+ ['YICfield',237,-2],
+ ['LiberB',77,0],
+ ['DormA',243,-2]
+ ]
+ ]
+ ],
+ 'nodeb':[
+ 'b',
+ 10000,
+ [
+ [
+ ['YICfield',99,0],
+ ['nodec',67,0],
+ ['noder',150,2]
+ ]
+ ]
+ ],
+ 'nodec':[
+ 'c',
+ 10000,
+ [
+ [
+ ['nodeb',67,0],
+ ['DormE',33,0],
+ ['DormD',100,0],
+ ['nodem',68,2]
+ ]
+ ]
+ ],
+ 'noded':[
+ 'd',
+ 10000,
+ [
+ [
+ ['VeriB',50,0],
+ ['nodee',65,0]
+ ]
+ ]
+ ],
+ 'nodee':[
+ 'e',
+ 10000,
+ [
+ [
+ ['UML',18,0],
+ ['noded',65,0],
+ ['nodef',52,0]
+ ]
+ ]
+ ],
+ 'nodef':[
+ 'f',
+ 10000,
+ [
+ [
+ ['VeriC',27,0],
+ ['nodee',52,0],
+ ['VeriD',45,0],
+ ['nodeg',76,-2]
+ ]
+ ]
+ ],
+ 'nodeg':[
+ 'g',
+ 10000,
+ [
+ [
+ ['nodeo',35,0],
+ ['nodef',76,2],
+ ['posco',284,0],
+ ['WisB',28,0],
+ ['nodeh',59,0]
+ ]
+ ]
+ ],
+ 'nodeh':[
+ 'h',
+ 10000,
+ [
+ [
+ ['nodei',26,0],
+ ['nodeg',59,0],
+ ['Ghome',78,0]
+ ]
+ ]
+ ],
+ 'nodei':[
+ 'i',
+ 10000,
+ [
+ [
+ ['nodej',153,0],
+ ['Chapl',31,0],
+ ['nodeh',26,0],
+ ['Mntnc',36,0]
+ ]
+ ]
+ ],
+ 'nodej':[
+ 'j',
+ 10000,
+ [
+ [
+ ['DormB',67,0],
+ ['nodep',63,0],
+ ['nodei',153,0],
+ ['gateb',68,0],
+ ['DormC',78,0]
+ ]
+ ]
+ ],
+ 'nodek':[
+ 'k',
+ 10000,
+ [
+ [
+ ['nodel',119,2],
+ ['Futsal',31,0],
+ ['WisA',39,0]
+ ]
+ ]
+ ],
+ 'nodel':[
+ 'l',
+ 10000,
+ [
+ [
+ ['LiberB',29,0],
+ ['LiberA',48,0],
+ ['nodek',119,-2]
+ ]
+ ]
+ ],
+ 'nodem':[
+ 'm',
+ 10000,
+ [
+ [
+ ['VeriA',19,0],
+ ['nodec',68,-2],
+ ['VeriB',50,0],
+ ['Yplaza',57,0]
+ ]
+ ]
+ ],
+ 'noden':[
+ 'n',
+ 10000,
+ [
+ [
+ ['Vision',17,0],
+ ['Yplaza',56,0],
+ ['VeriC',70,0],
+ ['nodeq',123,-2]
+ ]
+ ]
+ ],
+ 'nodeo':[
+ 'o',
+ 10000,
+ [
+ [
+ ['nodep',137,0],
+ ['nodeg',35,0],
+ ['Chapl',27,0]
+ ]
+ ]
+ ],
+ 'nodep':[
+ 'p',
+ 10000,
+ [
+ [
+ ['Futsal',76,0],
+ ['nodeq',32,0],
+ ['nodeo',137,0],
+ ['nodej',65,0]
+ ]
+ ]
+ ],
+ 'nodeq':[
+ 'q',
+ 10000,
+ [
+ [
+ ['noder',88,2],
+ ['noden',123,2],
+ ['nodep',32,0]
+ ]
+ ]
+ ],
+ 'noder':[
+ 'r',
+ 10000,
+ [
+ [
+ ['LiberA',40,0],
+ ['nodeb',150,-2],
+ ['nodes',58,0],
+ ['nodeq',88,-2]
+ ]
+ ]
+ ],
+ 'nodes':[
+ 's',
+ 10000,
+ [
+ [
+ ['noder',58,0],
+ ['VeriA',58,0],
+ ['Yplaza',19,0],
+ ['Vision',54,0]
+ ]
+ ]
+ ]
+}
\ No newline at end of file
diff --git a/test.py b/test.py
index a68c09e..93e72dd 100644
--- a/test.py
+++ b/test.py
@@ -1,15 +1,6 @@
-import json
+import songdo
+import sinchon
-with open("Asterisk\songdo.json", "r", encoding="utf8") as f:
- data = f.read()
- jsdt = json.loads(data)
-
-source = input("출발지: ")
-# 출발지를 입력받은 뒤
-for i in range(len(jsdt["Building"])):
- if jsdt["Building"][i]["name"] == source:
- source_id = jsdt["Building"][i]["id"]
- print(source_id)
- for j in range(len(jsdt["Building"][i]["neighbor"])):
- neighbor_node = jsdt["Building"][i]["neighbor"][j]
- print(neighbor_node)
\ No newline at end of file
+print(songdo.NodeSongdo)
+type = type(songdo.NodeSongdo)
+print(type)
\ No newline at end of file
From 9aa28405bad4ab7cfcd21c6c19c71f6a0303e7b4 Mon Sep 17 00:00:00 2001
From: 8taby <97948617+8taby@users.noreply.github.com>
Date: Wed, 4 May 2022 16:21:50 +0900
Subject: [PATCH 2/6] Update LICENSE
---
LICENSE | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/LICENSE b/LICENSE
index 0c26fa7..05cd1e7 100644
--- a/LICENSE
+++ b/LICENSE
@@ -19,3 +19,51 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+
+==============================================================================
+sookcha
+/
+every2cal
+==============================================================================
+Copyright (c) 2018 Hoseong Son
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+===============================================================================
+everyparser.py
+===============================================================================
+Copyright (c) 2022 8taby
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
From 3dd4ffd2e82a384760047a2297e62c1c93a0aacf Mon Sep 17 00:00:00 2001
From: 8taby <97948617+8taby@users.noreply.github.com>
Date: Fri, 13 May 2022 23:33:20 +0900
Subject: [PATCH 3/6] Add files via upload
---
xlstodict.py | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 xlstodict.py
diff --git a/xlstodict.py b/xlstodict.py
new file mode 100644
index 0000000..f2a99bb
--- /dev/null
+++ b/xlstodict.py
@@ -0,0 +1,31 @@
+import openpyxl as o
+
+wb = o.load_workbook("D:\Asterisk\신촌캠 노드.xlsx")
+ws = wb['Sheet1']
+
+node = {}
+for i in range(2, 167):
+ nodename = ws.cell(row = i, column = 1).value
+ tmplt = [nodename, 10000]
+ guide = []
+ for j in range(4, 20, 2):
+ list = []
+ nodecode = ws.cell(row = i, column = j).value
+ cloud = str(ws.cell(row = i, column = j + 1).value)
+ cloud = cloud.replace(" ", "")
+ cloud = cloud.split(',')
+ if nodecode == None or cloud == None:
+ pass
+ else:
+ list.append(nodecode)
+ list.append(int(cloud[0]))
+ list.append(int(cloud[1]))
+ guide.append(list)
+ tmplt.append(guide)
+ node[nodename] = tmplt
+
+print(node)
+get = str(node)
+file = open("D:\Asterisk\campus\sinchon.py",'w')
+file.write(get)
+file.close()
\ No newline at end of file
From e8dedb3c329f1f186b69f3d0477fcabc8ef8bdfc Mon Sep 17 00:00:00 2001
From: 8taby <97948617+8taby@users.noreply.github.com>
Date: Fri, 20 May 2022 23:27:09 +0900
Subject: [PATCH 4/6] Delete installreq.bat
---
installreq.bat | 1 -
1 file changed, 1 deletion(-)
delete mode 100644 installreq.bat
diff --git a/installreq.bat b/installreq.bat
deleted file mode 100644
index 39a9971..0000000
--- a/installreq.bat
+++ /dev/null
@@ -1 +0,0 @@
-pip install -r requirements.txt
\ No newline at end of file
From 817609572e1acb3169175efbc61ae61add74e531 Mon Sep 17 00:00:00 2001
From: 8taby <97948617+8taby@users.noreply.github.com>
Date: Tue, 31 May 2022 02:08:50 +0900
Subject: [PATCH 5/6] Add files via upload
---
Helpclose.ui | 75 ++++
Helphelp.ui | 75 ++++
Helpignore.ui | 75 ++++
SPY.py | 606 ++++++++++++++++++++++++++++++
SPY.ui | 926 +++++++++++++++++++++++++++++++++++++++++++++
SPY_pretendard.ui | 932 ++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 2689 insertions(+)
create mode 100644 Helpclose.ui
create mode 100644 Helphelp.ui
create mode 100644 Helpignore.ui
create mode 100644 SPY.py
create mode 100644 SPY.ui
create mode 100644 SPY_pretendard.ui
diff --git a/Helpclose.ui b/Helpclose.ui
new file mode 100644
index 0000000..0ecacb0
--- /dev/null
+++ b/Helpclose.ui
@@ -0,0 +1,75 @@
+
+
+ MainWindow
+
+
+
+ 0
+ 0
+ 320
+ 240
+
+
+
+
+ 320
+ 240
+
+
+
+
+ 320
+ 240
+
+
+
+ MainWindow
+
+
+
+
+
+ 10
+ 10
+ 301
+ 221
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ AppleSDGothicNeoB00
+
+
+
+ 이제 도움 없이도 잘 쓸 수 있겠나요?
+
+
+ false
+
+
+ Qt::AlignCenter
+
+
+ false
+
+
+ true
+
+
+
+
+
+
+
+
+
+
diff --git a/Helphelp.ui b/Helphelp.ui
new file mode 100644
index 0000000..346ea51
--- /dev/null
+++ b/Helphelp.ui
@@ -0,0 +1,75 @@
+
+
+ MainWindow
+
+
+
+ 0
+ 0
+ 320
+ 240
+
+
+
+
+ 320
+ 240
+
+
+
+
+ 320
+ 240
+
+
+
+ MainWindow
+
+
+
+
+
+ 10
+ 10
+ 301
+ 221
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ AppleSDGothicNeoB00
+
+
+
+ 도대체 얼마나 더 도움이 필요한가요?
+
+
+ false
+
+
+ Qt::AlignCenter
+
+
+ false
+
+
+ true
+
+
+
+
+
+
+
+
+
+
diff --git a/Helpignore.ui b/Helpignore.ui
new file mode 100644
index 0000000..aea5d38
--- /dev/null
+++ b/Helpignore.ui
@@ -0,0 +1,75 @@
+
+
+ MainWindow
+
+
+
+ 0
+ 0
+ 320
+ 240
+
+
+
+
+ 320
+ 240
+
+
+
+
+ 320
+ 240
+
+
+
+ MainWindow
+
+
+
+
+
+ 10
+ 10
+ 301
+ 221
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ AppleSDGothicNeoB00
+
+
+
+ 제 호의를 무시하다니, 정말 못됐군요.
+
+
+ false
+
+
+ Qt::AlignCenter
+
+
+ false
+
+
+ true
+
+
+
+
+
+
+
+
+
+
diff --git a/SPY.py b/SPY.py
new file mode 100644
index 0000000..6c5823e
--- /dev/null
+++ b/SPY.py
@@ -0,0 +1,606 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'SPY_pretendard.ui'
+#
+# Created by: PyQt5 UI code generator 5.15.6
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic5 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt5 import QtCore, QtGui, QtWidgets
+
+
+class Ui_SPY(object):
+ def setupUi(self, SPY):
+ SPY.setObjectName("SPY")
+ SPY.resize(800, 600)
+ SPY.setMinimumSize(QtCore.QSize(800, 600))
+ SPY.setMaximumSize(QtCore.QSize(800, 600))
+ fontDB = QtGui.QFontDatabase()
+ fontDB.addApplicationFont('src/fonts/Pretendard/Pretendard-Black.ttf')
+ fontDB.addApplicationFont('src/fonts/Pretendard/Pretendard-Semibold.ttf')
+ fontDB.addApplicationFont('src/fonts/Pretendard/Pretendard-Light.ttf')
+ fontDB.addApplicationFont('src/fonts/Pretendard/Pretendard-Medium.ttf')
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ SPY.setFont(font)
+ self.centralwidget = QtWidgets.QWidget(SPY)
+ self.centralwidget.setObjectName("centralwidget")
+ self.gridWidget_2 = QtWidgets.QWidget(self.centralwidget)
+ self.gridWidget_2.setGeometry(QtCore.QRect(420, 210, 370, 380))
+ self.gridWidget_2.setObjectName("gridWidget_2")
+ self.ToU_Copyrightgrid = QtWidgets.QGridLayout(self.gridWidget_2)
+ self.ToU_Copyrightgrid.setContentsMargins(0, 0, 0, 0)
+ self.ToU_Copyrightgrid.setObjectName("ToU_Copyrightgrid")
+ spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
+ self.ToU_Copyrightgrid.addItem(spacerItem, 3, 0, 1, 1)
+ self.ToUMaintext = QtWidgets.QTextEdit(self.gridWidget_2)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.ToUMaintext.setFont(font)
+ self.ToUMaintext.setReadOnly(True)
+ self.ToUMaintext.setObjectName("ToUMaintext")
+ self.ToU_Copyrightgrid.addWidget(self.ToUMaintext, 2, 0, 1, 2)
+ self.closeButton = QtWidgets.QDialogButtonBox(self.gridWidget_2)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Medium")
+ font.setPointSize(10)
+ self.closeButton.setFont(font)
+ self.closeButton.setStandardButtons(QtWidgets.QDialogButtonBox.Close)
+ self.closeButton.setObjectName("closeButton")
+ self.ToU_Copyrightgrid.addWidget(self.closeButton, 3, 1, 1, 1)
+ self.line_7 = QtWidgets.QFrame(self.gridWidget_2)
+ self.line_7.setFrameShape(QtWidgets.QFrame.HLine)
+ self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line_7.setObjectName("line_7")
+ self.ToU_Copyrightgrid.addWidget(self.line_7, 1, 0, 1, 2)
+ self.ToU_copyriightlabel = QtWidgets.QLabel(self.gridWidget_2)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ToU_copyriightlabel.sizePolicy().hasHeightForWidth())
+ self.ToU_copyriightlabel.setSizePolicy(sizePolicy)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard SemiBold")
+ font.setPointSize(10)
+ self.ToU_copyriightlabel.setFont(font)
+ self.ToU_copyriightlabel.setObjectName("ToU_copyriightlabel")
+ self.ToU_Copyrightgrid.addWidget(self.ToU_copyriightlabel, 0, 0, 1, 2)
+ self.gridWidget_4 = QtWidgets.QWidget(self.centralwidget)
+ self.gridWidget_4.setGeometry(QtCore.QRect(10, 120, 400, 160))
+ self.gridWidget_4.setObjectName("gridWidget_4")
+ self.positionchoose = QtWidgets.QGridLayout(self.gridWidget_4)
+ self.positionchoose.setContentsMargins(0, 0, 0, 0)
+ self.positionchoose.setObjectName("positionchoose")
+ self.SongdoCampus = QtWidgets.QRadioButton(self.gridWidget_4)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.SongdoCampus.setFont(font)
+ self.SongdoCampus.setObjectName("SongdoCampus")
+ self.positionchoose.addWidget(self.SongdoCampus, 3, 2, 1, 2)
+ self.DestinationInput = QtWidgets.QLineEdit(self.gridWidget_4)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.DestinationInput.setFont(font)
+ self.DestinationInput.setObjectName("DestinationInput")
+ self.positionchoose.addWidget(self.DestinationInput, 6, 2, 1, 2)
+ self.pushButton = QtWidgets.QPushButton(self.gridWidget_4)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Medium")
+ font.setPointSize(10)
+ self.pushButton.setFont(font)
+ self.pushButton.setObjectName("pushButton")
+ self.positionchoose.addWidget(self.pushButton, 2, 4, 1, 1)
+ self.SinchonCampus = QtWidgets.QRadioButton(self.gridWidget_4)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.SinchonCampus.setFont(font)
+ self.SinchonCampus.setObjectName("SinchonCampus")
+ self.positionchoose.addWidget(self.SinchonCampus, 2, 2, 1, 2)
+ self.line = QtWidgets.QFrame(self.gridWidget_4)
+ self.line.setFrameShape(QtWidgets.QFrame.VLine)
+ self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line.setObjectName("line")
+ self.positionchoose.addWidget(self.line, 2, 1, 2, 1)
+ self.OriginInput = QtWidgets.QLineEdit(self.gridWidget_4)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.OriginInput.setFont(font)
+ self.OriginInput.setObjectName("OriginInput")
+ self.positionchoose.addWidget(self.OriginInput, 5, 2, 1, 2)
+ self.Designator = QtWidgets.QLabel(self.gridWidget_4)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.Designator.sizePolicy().hasHeightForWidth())
+ self.Designator.setSizePolicy(sizePolicy)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard SemiBold")
+ font.setPointSize(10)
+ self.Designator.setFont(font)
+ self.Designator.setObjectName("Designator")
+ self.positionchoose.addWidget(self.Designator, 0, 0, 1, 5)
+ self.pushButton_2 = QtWidgets.QPushButton(self.gridWidget_4)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Medium")
+ font.setPointSize(10)
+ self.pushButton_2.setFont(font)
+ self.pushButton_2.setObjectName("pushButton_2")
+ self.positionchoose.addWidget(self.pushButton_2, 3, 4, 1, 1)
+ self.line_5 = QtWidgets.QFrame(self.gridWidget_4)
+ self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
+ self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line_5.setObjectName("line_5")
+ self.positionchoose.addWidget(self.line_5, 1, 0, 1, 5)
+ self.Destination = QtWidgets.QLabel(self.gridWidget_4)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Medium")
+ font.setPointSize(10)
+ self.Destination.setFont(font)
+ self.Destination.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.Destination.setObjectName("Destination")
+ self.positionchoose.addWidget(self.Destination, 6, 0, 1, 2)
+ self.Campus = QtWidgets.QLabel(self.gridWidget_4)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Medium")
+ font.setPointSize(10)
+ self.Campus.setFont(font)
+ self.Campus.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.Campus.setObjectName("Campus")
+ self.positionchoose.addWidget(self.Campus, 2, 0, 2, 1)
+ self.line_2 = QtWidgets.QFrame(self.gridWidget_4)
+ self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
+ self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line_2.setObjectName("line_2")
+ self.positionchoose.addWidget(self.line_2, 4, 0, 1, 5)
+ self.ConfirmButton = QtWidgets.QPushButton(self.gridWidget_4)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.ConfirmButton.sizePolicy().hasHeightForWidth())
+ self.ConfirmButton.setSizePolicy(sizePolicy)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Medium")
+ font.setPointSize(10)
+ self.ConfirmButton.setFont(font)
+ self.ConfirmButton.setObjectName("ConfirmButton")
+ self.positionchoose.addWidget(self.ConfirmButton, 5, 4, 2, 1)
+ self.Origin = QtWidgets.QLabel(self.gridWidget_4)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Medium")
+ font.setPointSize(10)
+ self.Origin.setFont(font)
+ self.Origin.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.Origin.setObjectName("Origin")
+ self.positionchoose.addWidget(self.Origin, 5, 0, 1, 2)
+ self.line_3 = QtWidgets.QFrame(self.gridWidget_4)
+ self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
+ self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line_3.setObjectName("line_3")
+ self.positionchoose.addWidget(self.line_3, 7, 0, 1, 5)
+ self.gridWidget_5 = QtWidgets.QWidget(self.centralwidget)
+ self.gridWidget_5.setGeometry(QtCore.QRect(420, 120, 370, 80))
+ self.gridWidget_5.setObjectName("gridWidget_5")
+ self.gridLayout = QtWidgets.QGridLayout(self.gridWidget_5)
+ self.gridLayout.setContentsMargins(0, 0, 0, 0)
+ self.gridLayout.setObjectName("gridLayout")
+ self.label_11 = QtWidgets.QLabel(self.gridWidget_5)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.label_11.setFont(font)
+ self.label_11.setAlignment(QtCore.Qt.AlignCenter)
+ self.label_11.setObjectName("label_11")
+ self.gridLayout.addWidget(self.label_11, 3, 2, 1, 1)
+ self.label_10 = QtWidgets.QLabel(self.gridWidget_5)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.label_10.setFont(font)
+ self.label_10.setAlignment(QtCore.Qt.AlignCenter)
+ self.label_10.setObjectName("label_10")
+ self.gridLayout.addWidget(self.label_10, 3, 0, 1, 1)
+ self.label_9 = QtWidgets.QLabel(self.gridWidget_5)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.label_9.setFont(font)
+ self.label_9.setAlignment(QtCore.Qt.AlignCenter)
+ self.label_9.setObjectName("label_9")
+ self.gridLayout.addWidget(self.label_9, 2, 2, 1, 1)
+ self.ShowMetre = QtWidgets.QLineEdit(self.gridWidget_5)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.ShowMetre.setFont(font)
+ self.ShowMetre.setAutoFillBackground(False)
+ self.ShowMetre.setReadOnly(True)
+ self.ShowMetre.setObjectName("ShowMetre")
+ self.gridLayout.addWidget(self.ShowMetre, 2, 1, 1, 1)
+ self.ShowMinute = QtWidgets.QLineEdit(self.gridWidget_5)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.ShowMinute.setFont(font)
+ self.ShowMinute.setReadOnly(True)
+ self.ShowMinute.setObjectName("ShowMinute")
+ self.gridLayout.addWidget(self.ShowMinute, 3, 1, 1, 1)
+ self.label_8 = QtWidgets.QLabel(self.gridWidget_5)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.label_8.setFont(font)
+ self.label_8.setAlignment(QtCore.Qt.AlignCenter)
+ self.label_8.setObjectName("label_8")
+ self.gridLayout.addWidget(self.label_8, 2, 0, 1, 1)
+ self.line_11 = QtWidgets.QFrame(self.gridWidget_5)
+ self.line_11.setFrameShape(QtWidgets.QFrame.HLine)
+ self.line_11.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line_11.setObjectName("line_11")
+ self.gridLayout.addWidget(self.line_11, 1, 0, 1, 3)
+ self.label_6 = QtWidgets.QLabel(self.gridWidget_5)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
+ self.label_6.setSizePolicy(sizePolicy)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard SemiBold")
+ font.setPointSize(10)
+ self.label_6.setFont(font)
+ self.label_6.setObjectName("label_6")
+ self.gridLayout.addWidget(self.label_6, 0, 0, 1, 3)
+ self.gridWidget_6 = QtWidgets.QWidget(self.centralwidget)
+ self.gridWidget_6.setGeometry(QtCore.QRect(10, 380, 400, 210))
+ self.gridWidget_6.setObjectName("gridWidget_6")
+ self.Processgrid = QtWidgets.QGridLayout(self.gridWidget_6)
+ self.Processgrid.setContentsMargins(0, 0, 0, 0)
+ self.Processgrid.setObjectName("Processgrid")
+ self.progressBar = QtWidgets.QProgressBar(self.gridWidget_6)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Medium")
+ font.setPointSize(10)
+ self.progressBar.setFont(font)
+ self.progressBar.setProperty("value", 0)
+ self.progressBar.setInvertedAppearance(False)
+ self.progressBar.setObjectName("progressBar")
+ self.Processgrid.addWidget(self.progressBar, 2, 0, 1, 1)
+ self.line_8 = QtWidgets.QFrame(self.gridWidget_6)
+ self.line_8.setFrameShape(QtWidgets.QFrame.HLine)
+ self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line_8.setObjectName("line_8")
+ self.Processgrid.addWidget(self.line_8, 1, 0, 1, 1)
+ self.Processlabel = QtWidgets.QLabel(self.gridWidget_6)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.Processlabel.sizePolicy().hasHeightForWidth())
+ self.Processlabel.setSizePolicy(sizePolicy)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard SemiBold")
+ font.setPointSize(10)
+ self.Processlabel.setFont(font)
+ self.Processlabel.setObjectName("Processlabel")
+ self.Processgrid.addWidget(self.Processlabel, 0, 0, 1, 1)
+ self.ProcessViewer = QtWidgets.QPlainTextEdit(self.gridWidget_6)
+ self.ProcessViewer.setReadOnly(True)
+ self.ProcessViewer.setObjectName("ProcessViewer")
+ self.Processgrid.addWidget(self.ProcessViewer, 3, 0, 1, 1)
+ self.gridWidget = QtWidgets.QWidget(self.centralwidget)
+ self.gridWidget.setGeometry(QtCore.QRect(10, 290, 400, 80))
+ self.gridWidget.setObjectName("gridWidget")
+ self.speedgrid = QtWidgets.QGridLayout(self.gridWidget)
+ self.speedgrid.setContentsMargins(0, 0, 0, 0)
+ self.speedgrid.setObjectName("speedgrid")
+ self.Speed = QtWidgets.QSlider(self.gridWidget)
+ self.Speed.setCursor(QtGui.QCursor(QtCore.Qt.SizeHorCursor))
+ self.Speed.setAcceptDrops(False)
+ self.Speed.setAutoFillBackground(False)
+ self.Speed.setMaximum(10)
+ self.Speed.setPageStep(5)
+ self.Speed.setOrientation(QtCore.Qt.Horizontal)
+ self.Speed.setInvertedAppearance(False)
+ self.Speed.setInvertedControls(False)
+ self.Speed.setTickPosition(QtWidgets.QSlider.TicksBelow)
+ self.Speed.setObjectName("Speed")
+ self.speedgrid.addWidget(self.Speed, 2, 0, 1, 2)
+ self.Runninglabel = QtWidgets.QLabel(self.gridWidget)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.Runninglabel.setFont(font)
+ self.Runninglabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.Runninglabel.setObjectName("Runninglabel")
+ self.speedgrid.addWidget(self.Runninglabel, 3, 1, 1, 1)
+ self.Walkinglabel = QtWidgets.QLabel(self.gridWidget)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.Walkinglabel.setFont(font)
+ self.Walkinglabel.setObjectName("Walkinglabel")
+ self.speedgrid.addWidget(self.Walkinglabel, 3, 0, 1, 1)
+ self.line_6 = QtWidgets.QFrame(self.gridWidget)
+ self.line_6.setFrameShape(QtWidgets.QFrame.HLine)
+ self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line_6.setObjectName("line_6")
+ self.speedgrid.addWidget(self.line_6, 1, 0, 1, 2)
+ self.Speedlabel = QtWidgets.QLabel(self.gridWidget)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard SemiBold")
+ font.setPointSize(10)
+ self.Speedlabel.setFont(font)
+ self.Speedlabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
+ self.Speedlabel.setObjectName("Speedlabel")
+ self.speedgrid.addWidget(self.Speedlabel, 0, 0, 1, 2)
+ self.gridWidget_3 = QtWidgets.QWidget(self.centralwidget)
+ self.gridWidget_3.setGeometry(QtCore.QRect(10, 10, 780, 100))
+ self.gridWidget_3.setObjectName("gridWidget_3")
+ self.TopGrid = QtWidgets.QGridLayout(self.gridWidget_3)
+ self.TopGrid.setContentsMargins(0, 0, 0, 0)
+ self.TopGrid.setObjectName("TopGrid")
+ self.GetTimeTableButton = QtWidgets.QPushButton(self.gridWidget_3)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Medium")
+ font.setPointSize(10)
+ self.GetTimeTableButton.setFont(font)
+ self.GetTimeTableButton.setObjectName("GetTimeTableButton")
+ self.TopGrid.addWidget(self.GetTimeTableButton, 3, 6, 1, 1)
+ self.SPYlabel = QtWidgets.QLabel(self.gridWidget_3)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Black")
+ font.setPointSize(10)
+ self.SPYlabel.setFont(font)
+ self.SPYlabel.setAlignment(QtCore.Qt.AlignCenter)
+ self.SPYlabel.setObjectName("SPYlabel")
+ self.TopGrid.addWidget(self.SPYlabel, 0, 0, 1, 1)
+ self.IDinput = QtWidgets.QLineEdit(self.gridWidget_3)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.IDinput.sizePolicy().hasHeightForWidth())
+ self.IDinput.setSizePolicy(sizePolicy)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.IDinput.setFont(font)
+ self.IDinput.setClearButtonEnabled(True)
+ self.IDinput.setReadOnly(True)
+ self.IDinput.setObjectName("IDinput")
+ self.IDinput.setStyleSheet('background-color: #d0d0d0')
+ self.TopGrid.addWidget(self.IDinput, 0, 4, 1, 1)
+ self.Passwordlabel = QtWidgets.QLabel(self.gridWidget_3)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard SemiBold")
+ font.setPointSize(10)
+ self.Passwordlabel.setFont(font)
+ self.Passwordlabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.Passwordlabel.setObjectName("Passwordlabel")
+ self.TopGrid.addWidget(self.Passwordlabel, 1, 3, 1, 1)
+ self.line_9 = QtWidgets.QFrame(self.gridWidget_3)
+ self.line_9.setFrameShape(QtWidgets.QFrame.VLine)
+ self.line_9.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line_9.setObjectName("line_9")
+ self.TopGrid.addWidget(self.line_9, 0, 1, 4, 1)
+ self.UseUrlButton = QtWidgets.QRadioButton(self.gridWidget_3)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.UseUrlButton.setFont(font)
+ self.UseUrlButton.setObjectName("UseUrlButton")
+ self.TopGrid.addWidget(self.UseUrlButton, 3, 2, 1, 1)
+ self.byUslabel = QtWidgets.QLabel(self.gridWidget_3)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Medium")
+ font.setPointSize(10)
+ self.byUslabel.setFont(font)
+ self.byUslabel.setObjectName("byUslabel")
+ self.TopGrid.addWidget(self.byUslabel, 1, 0, 1, 1)
+ self.ShowPassword = QtWidgets.QCheckBox(self.gridWidget_3)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard")
+ font.setPointSize(10)
+ self.ShowPassword.setFont(font)
+ self.ShowPassword.setCheckable(False)
+ self.ShowPassword.setObjectName("ShowPassword")
+ self.ShowPassword.stateChanged.connect(self.PasswordVisible)
+ self.TopGrid.addWidget(self.ShowPassword, 1, 5, 1, 1)
+ self.httpslabel = QtWidgets.QLabel(self.gridWidget_3)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard")
+ font.setPointSize(10)
+ self.httpslabel.setFont(font)
+ self.httpslabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.httpslabel.setObjectName("httpslabel")
+ self.TopGrid.addWidget(self.httpslabel, 3, 4, 1, 1)
+ self.URLlabel = QtWidgets.QLabel(self.gridWidget_3)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard SemiBold")
+ font.setPointSize(10)
+ self.URLlabel.setFont(font)
+ self.URLlabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.URLlabel.setObjectName("URLlabel")
+ self.TopGrid.addWidget(self.URLlabel, 3, 3, 1, 1)
+ self.URLinput = QtWidgets.QLineEdit(self.gridWidget_3)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.URLinput.sizePolicy().hasHeightForWidth())
+ self.URLinput.setSizePolicy(sizePolicy)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.URLinput.setFont(font)
+ self.URLinput.setClearButtonEnabled(True)
+ self.URLinput.setReadOnly(True)
+ self.URLinput.setStyleSheet('background-color: #d0d0d0')
+ self.URLinput.setObjectName("URLinput")
+ self.TopGrid.addWidget(self.URLinput, 3, 5, 1, 1)
+ self.SigninButton = QtWidgets.QPushButton(self.gridWidget_3)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.SigninButton.sizePolicy().hasHeightForWidth())
+ self.SigninButton.setSizePolicy(sizePolicy)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Medium")
+ font.setPointSize(10)
+ self.SigninButton.setFont(font)
+ self.SigninButton.setObjectName("SigninButton")
+ self.TopGrid.addWidget(self.SigninButton, 0, 6, 2, 1)
+ self.PWinput = QtWidgets.QLineEdit(self.gridWidget_3)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Fixed)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.PWinput.sizePolicy().hasHeightForWidth())
+ self.PWinput.setSizePolicy(sizePolicy)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.PWinput.setFont(font)
+ self.PWinput.setEchoMode(QtWidgets.QLineEdit.Password)
+ self.PWinput.setClearButtonEnabled(True)
+ self.PWinput.setReadOnly(True)
+ self.PWinput.setStyleSheet('background-color: #d0d0d0')
+ self.PWinput.setObjectName("PWinput")
+ self.TopGrid.addWidget(self.PWinput, 1, 4, 1, 1)
+ self.line_10 = QtWidgets.QFrame(self.gridWidget_3)
+ self.line_10.setFrameShape(QtWidgets.QFrame.HLine)
+ self.line_10.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line_10.setObjectName("line_10")
+ self.TopGrid.addWidget(self.line_10, 2, 2, 1, 5)
+ self.line_12 = QtWidgets.QFrame(self.gridWidget_3)
+ self.line_12.setFrameShape(QtWidgets.QFrame.HLine)
+ self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line_12.setObjectName("line_12")
+ self.TopGrid.addWidget(self.line_12, 2, 0, 1, 1)
+ self.HelpButton = QtWidgets.QPushButton(self.gridWidget_3)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Medium")
+ font.setPointSize(10)
+ self.HelpButton.setFont(font)
+ self.HelpButton.setObjectName("HelpButton")
+ self.TopGrid.addWidget(self.HelpButton, 3, 0, 1, 1)
+ self.UseEverytimeButton = QtWidgets.QRadioButton(self.gridWidget_3)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard Light")
+ font.setPointSize(10)
+ self.UseEverytimeButton.setFont(font)
+ self.UseEverytimeButton.setObjectName("UseEverytimeButton")
+ self.TopGrid.addWidget(self.UseEverytimeButton, 0, 2, 2, 1)
+ self.UseEverytimeButton.toggled.connect(self.EverytimeIDEnabler)
+ spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
+ self.TopGrid.addItem(spacerItem1, 0, 5, 1, 1)
+ self.IDlabel = QtWidgets.QLabel(self.gridWidget_3)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard SemiBold")
+ font.setPointSize(10)
+ self.IDlabel.setFont(font)
+ self.IDlabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.IDlabel.setObjectName("IDlabel")
+ self.TopGrid.addWidget(self.IDlabel, 0, 3, 1, 1)
+ SPY.setCentralWidget(self.centralwidget)
+ self.actionchodjlf = QtWidgets.QAction(SPY)
+ self.actionchodjlf.setObjectName("actionchodjlf")
+
+ self.retranslateUi(SPY)
+ QtCore.QMetaObject.connectSlotsByName(SPY)
+ SPY.setTabOrder(self.SinchonCampus, self.SongdoCampus)
+ SPY.setTabOrder(self.SongdoCampus, self.OriginInput)
+ SPY.setTabOrder(self.OriginInput, self.DestinationInput)
+ SPY.setTabOrder(self.DestinationInput, self.ConfirmButton)
+ SPY.setTabOrder(self.ConfirmButton, self.ProcessViewer)
+ SPY.setTabOrder(self.ProcessViewer, self.ShowMetre)
+ SPY.setTabOrder(self.ShowMetre, self.ShowMinute)
+ SPY.setTabOrder(self.ShowMinute, self.ToUMaintext)
+
+ def retranslateUi(self, SPY):
+ _translate = QtCore.QCoreApplication.translate
+ SPY.setWindowTitle(_translate("SPY", "MainWindow"))
+ self.ToUMaintext.setHtml(_translate("SPY", "\n"
+"
\n"
+"====================================================
\n"
+"Shortest Path for Yonsei(SPY)
\n"
+"====================================================
\n"
+"Copyright (c) 2022 APTP2022-1
\n"
+"
\n"
+"Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
\n"
+"
\n"
+"The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
\n"
+"
\n"
+"THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\n"
+"
"))
+ self.ToU_copyriightlabel.setText(_translate("SPY", "Copyright"))
+ self.SongdoCampus.setText(_translate("SPY", "국제캠퍼스"))
+ self.DestinationInput.setPlaceholderText(_translate("SPY", "도착지"))
+ self.pushButton.setText(_translate("SPY", "Sinchon"))
+ self.SinchonCampus.setText(_translate("SPY", "신촌캠퍼스"))
+ self.OriginInput.setPlaceholderText(_translate("SPY", "출발지"))
+ self.Designator.setText(_translate("SPY", "Designator"))
+ self.pushButton_2.setText(_translate("SPY", "Songdo"))
+ self.Destination.setText(_translate("SPY", "Destination"))
+ self.Campus.setText(_translate("SPY", "Campus"))
+ self.ConfirmButton.setText(_translate("SPY", "Confirm"))
+ self.Origin.setText(_translate("SPY", "Origin"))
+ self.label_11.setText(_translate("SPY", "분 걸립니다."))
+ self.label_10.setText(_translate("SPY", "선택된 속도로 걸어가면"))
+ self.label_9.setText(_translate("SPY", "m 이고, "))
+ self.label_8.setText(_translate("SPY", " 두 지점 사이의 최단거리는"))
+ self.label_6.setText(_translate("SPY", "Output"))
+ self.Processlabel.setText(_translate("SPY", "Process"))
+ self.Runninglabel.setText(_translate("SPY", "Running"))
+ self.Walkinglabel.setText(_translate("SPY", "Walking"))
+ self.Speedlabel.setText(_translate("SPY", "Speed Selector"))
+ self.GetTimeTableButton.setText(_translate("SPY", "Get"))
+ self.SPYlabel.setText(_translate("SPY", "SPY - Shortest Path for Yonsei"))
+ self.IDinput.setPlaceholderText(_translate("SPY", "Everytime ID"))
+ self.Passwordlabel.setText(_translate("SPY", "Password"))
+ self.UseUrlButton.setText(_translate("SPY", "Use url"))
+ self.byUslabel.setText(_translate("SPY", "by APTP2022-1"))
+ self.ShowPassword.setText(_translate("SPY", "Show Password"))
+ self.httpslabel.setText(_translate("SPY", "https://everytime.kr/"))
+ self.URLlabel.setText(_translate("SPY", "URL"))
+ self.URLinput.setPlaceholderText(_translate("SPY", "대소문자 구분"))
+ self.SigninButton.setText(_translate("SPY", "Sign in"))
+ self.PWinput.setPlaceholderText(_translate("SPY", "Everytime PW"))
+ self.HelpButton.setText(_translate("SPY", "Help / Precautions"))
+ self.UseEverytimeButton.setText(_translate("SPY", "Use Everytime"))
+ self.IDlabel.setText(_translate("SPY", "ID"))
+ self.actionchodjlf.setText(_translate("SPY", "chodjlf"))
+
+ def EverytimeIDEnabler(self):
+ if self.UseEverytimeButton.isChecked() == True:
+ self.IDinput.setStyleSheet('background-color: white')
+ self.IDinput.setReadOnly(False)
+ self.PWinput.setStyleSheet('background-color: white')
+ self.PWinput.setReadOnly(False)
+ self.ShowPassword.setCheckable(True)
+ else:
+ self.IDinput.setStyleSheet('background-color: #d0d0d0')
+ self.IDinput.setReadOnly(True)
+ self.PWinput.setStyleSheet('background-color: #d0d0d0')
+ self.PWinput.setReadOnly(True)
+ self.ShowPassword.setCheckable(False)
+
+ def PasswordVisible(self):
+ if self.ShowPassword.isChecked() == True:
+ self.PWinput.setEchoMode(QtWidgets.QLineEdit.Normal)
+ else:
+ self.PWinput.setEchoMode(QtWidgets.QLineEdit.Password)
+
+if __name__ == "__main__":
+ import sys
+ app = QtWidgets.QApplication(sys.argv)
+ SPY = QtWidgets.QMainWindow()
+ ui = Ui_SPY()
+ ui.setupUi(SPY)
+ SPY.show()
+ sys.exit(app.exec_())
diff --git a/SPY.ui b/SPY.ui
new file mode 100644
index 0000000..396baaa
--- /dev/null
+++ b/SPY.ui
@@ -0,0 +1,926 @@
+
+
+ SPY
+
+
+
+ 0
+ 0
+ 800
+ 600
+
+
+
+
+ 800
+ 600
+
+
+
+
+ 800
+ 600
+
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ MainWindow
+
+
+
+
+
+ 440
+ 220
+ 351
+ 370
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoL00
+ 10
+
+
+
+ true
+
+
+ <!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:'AppleSDGothicNeoL00','Pretendard Variable','AppleSDGothicNeoR00'; font-size:10pt; font-weight:400; font-style:normal;">
+<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'AppleSDGothicNeoR00'; font-size:9pt;">====================================================</span></p>
+<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:'AppleSDGothicNeoL00','AppleSDGothicNeoR00'; font-size:9pt;">Shortest Path for Yonsei(SPY)</span></p>
+<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:'AppleSDGothicNeoR00'; font-size:9pt;">====================================================</span></p>
+<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:'AppleSDGothicNeoR00'; font-size:9pt;">Copyright (c) 2022 APTP2022-1</span></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'AppleSDGothicNeoR00'; font-size:9pt;"><br /></p>
+<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:'AppleSDGothicNeoR00'; font-size:9pt;">Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</span></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'AppleSDGothicNeoR00'; font-size:9pt;"><br /></p>
+<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:'AppleSDGothicNeoR00'; font-size:9pt;">The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. </span></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'AppleSDGothicNeoR00'; font-size:9pt;"><br /></p>
+<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:'AppleSDGothicNeoR00'; font-size:9pt;">THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'AppleSDGothicNeoR00'; font-size:9pt;"><br /></p></body></html>
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ QDialogButtonBox::Close
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ AppleSDGothicNeoB00
+ 10
+
+
+
+ Copyright
+
+
+
+
+
+
+
+
+ 10
+ 120
+ 421
+ 170
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ 국제캠퍼스
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ 도착지
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ Sinchon
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ 신촌캠퍼스
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ 출발지
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ AppleSDGothicNeoEB00
+ 10
+
+
+
+ Designator
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ Songdo
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ Destination
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ DestinationInput
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ Campus
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ Confirm
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ Origin
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ OriginInput
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+
+
+
+
+
+ 440
+ 120
+ 350
+ 90
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ 분 걸립니다.
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ 선택된 속도로 걸어가면
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ m 이고,
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+ false
+
+
+ true
+
+
+
+ -
+
+
+ true
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ 두 지점 사이의 최단거리는
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ AppleSDGothicNeoB00
+ 10
+
+
+
+ Output
+
+
+
+
+
+
+
+
+ 10
+ 390
+ 421
+ 200
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ 0
+
+
+ false
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ AppleSDGothicNeoEB00
+ 10
+
+
+
+ Process
+
+
+
+ -
+
+
+ true
+
+
+
+
+
+
+
+
+ 10
+ 10
+ 780
+ 100
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ Get
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoH00
+ 10
+
+
+
+ SPY - Shortest Path for Yonsei
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Everytime ID
+
+
+ true
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ Password
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ PWinput
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ Use url
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ by APTP2022-1
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ Show Password
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ https://everytime.kr/
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ URL
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ URLinput
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ 대소문자 구분
+
+
+ true
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ Sign in
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ QLineEdit::Password
+
+
+ Everytime PW
+
+
+ true
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ Help / Precautions
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoR00
+ 10
+
+
+
+ Use Everytime
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ ID
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ IDinput
+
+
+
+
+
+
+
+
+ 10
+ 300
+ 421
+ 80
+
+
+
+ -
+
+
+ SizeHorCursor
+
+
+ false
+
+
+ false
+
+
+ 10
+
+
+ 3
+
+
+ Qt::Horizontal
+
+
+ false
+
+
+ false
+
+
+ QSlider::TicksBelow
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoL00
+ 10
+
+
+
+ Running
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoL00
+ 10
+
+
+
+ Walking
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoB00
+ 10
+
+
+
+ Speed Selector
+
+
+ Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
+
+
+
+
+
+
+
+
+ chodjlf
+
+
+
+
+ UseEverytimeButton
+ IDinput
+ PWinput
+ SigninButton
+ UseUrlButton
+ URLinput
+ GetTimeTableButton
+ SinchonCampus
+ SongdoCampus
+ OriginInput
+ DestinationInput
+ ConfirmButton
+ ProcessViewer
+ ShowMetre
+ ShowMinute
+ ToUMaintext
+ HelpButton
+ ShowPassword
+
+
+
+
diff --git a/SPY_pretendard.ui b/SPY_pretendard.ui
new file mode 100644
index 0000000..28ecf49
--- /dev/null
+++ b/SPY_pretendard.ui
@@ -0,0 +1,932 @@
+
+
+ SPY
+
+
+
+ 0
+ 0
+ 800
+ 600
+
+
+
+
+ 800
+ 600
+
+
+
+
+ 800
+ 600
+
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ MainWindow
+
+
+
+
+
+ 420
+ 210
+ 370
+ 380
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoL00
+ 10
+
+
+
+ true
+
+
+ <!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:'AppleSDGothicNeoL00','Pretendard Light'; font-size:10pt; font-weight:400; font-style:normal;">
+<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'AppleSDGothicNeoR00'; font-size:9pt;">====================================================</span></p>
+<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:'AppleSDGothicNeoL00','AppleSDGothicNeoR00'; font-size:9pt;">Shortest Path for Yonsei(SPY)</span></p>
+<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:'AppleSDGothicNeoR00'; font-size:9pt;">====================================================</span></p>
+<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:'AppleSDGothicNeoR00'; font-size:9pt;">Copyright (c) 2022 APTP2022-1</span></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'AppleSDGothicNeoR00'; font-size:9pt;"><br /></p>
+<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:'AppleSDGothicNeoR00'; font-size:9pt;">Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</span></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'AppleSDGothicNeoR00'; font-size:9pt;"><br /></p>
+<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:'AppleSDGothicNeoR00'; font-size:9pt;">The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. </span></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'AppleSDGothicNeoR00'; font-size:9pt;"><br /></p>
+<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:'AppleSDGothicNeoR00'; font-size:9pt;">THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'AppleSDGothicNeoR00'; font-size:9pt;"><br /></p></body></html>
+
+
+
+ -
+
+
+
+ Pretendard Medium
+ 10
+
+
+
+ QDialogButtonBox::Close
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ Pretendard SemiBold
+ 10
+
+
+
+ Copyright
+
+
+
+
+
+
+
+
+ 10
+ 120
+ 400
+ 160
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ 국제캠퍼스
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ 도착지
+
+
+
+ -
+
+
+
+ Pretendard Medium
+ 10
+
+
+
+ Sinchon
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ 신촌캠퍼스
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ 출발지
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ Pretendard SemiBold
+ 10
+
+
+
+ Designator
+
+
+
+ -
+
+
+
+ Pretendard Medium
+ 10
+
+
+
+ Songdo
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ Pretendard Medium
+ 10
+
+
+
+ Destination
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ Pretendard Medium
+ 10
+
+
+
+ Campus
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ Pretendard Medium
+ 10
+
+
+
+ Confirm
+
+
+
+ -
+
+
+
+ Pretendard Medium
+ 10
+
+
+
+ Origin
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+
+
+
+
+
+ 420
+ 120
+ 370
+ 80
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ 분 걸립니다.
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ 선택된 속도로 걸어가면
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ m 이고,
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ false
+
+
+ true
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ true
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ 두 지점 사이의 최단거리는
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ Pretendard SemiBold
+ 10
+
+
+
+ Output
+
+
+
+
+
+
+
+
+ 10
+ 380
+ 400
+ 210
+
+
+
+ -
+
+
+
+ Pretendard Medium
+ 10
+
+
+
+ 0
+
+
+ false
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ Pretendard SemiBold
+ 10
+
+
+
+ Process
+
+
+
+ -
+
+
+ true
+
+
+
+
+
+
+
+
+ 10
+ 290
+ 400
+ 80
+
+
+
+ -
+
+
+ SizeHorCursor
+
+
+ false
+
+
+ false
+
+
+ 10
+
+
+ 5
+
+
+ Qt::Horizontal
+
+
+ false
+
+
+ false
+
+
+ QSlider::TicksBelow
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ Running
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ Walking
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ Pretendard SemiBold
+ 10
+
+
+
+ Speed Selector
+
+
+ Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
+
+
+
+
+
+
+
+
+ 10
+ 10
+ 780
+ 100
+
+
+
+ -
+
+
+
+ Pretendard Medium
+ 10
+
+
+
+ Get
+
+
+
+ -
+
+
+
+ Pretendard Black
+ 10
+
+
+
+ SPY - Shortest Path for Yonsei
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ Everytime ID
+
+
+ true
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ Password
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ Use url
+
+
+
+ -
+
+
+
+ Pretendard Medium
+ 10
+
+
+
+ by APTP2022-1
+
+
+
+ -
+
+
+
+ Pretendard
+ 10
+
+
+
+ Show Password
+
+
+
+ -
+
+
+
+ Pretendard
+ 10
+
+
+
+ https://everytime.kr/
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ URL
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ 대소문자 구분
+
+
+ true
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ Pretendard Medium
+ 10
+
+
+
+ Sign in
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ QLineEdit::Password
+
+
+ Everytime PW
+
+
+ true
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ Pretendard Medium
+ 10
+
+
+
+ Help / Precautions
+
+
+
+ -
+
+
+
+ Pretendard Light
+ 10
+
+
+
+ Use Everytime
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+
+ AppleSDGothicNeoSB00
+ 10
+
+
+
+ ID
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+
+
+
+
+
+ chodjlf
+
+
+
+
+ SinchonCampus
+ SongdoCampus
+ OriginInput
+ DestinationInput
+ ConfirmButton
+ ProcessViewer
+ ShowMetre
+ ShowMinute
+ ToUMaintext
+
+
+
+
From 19f17e87244386d9a7b1737102dc5bea3dccb5da Mon Sep 17 00:00:00 2001
From: 8taby <97948617+8taby@users.noreply.github.com>
Date: Thu, 2 Jun 2022 14:00:57 +0900
Subject: [PATCH 6/6] Add files via upload
---
Dijkstra.py | 74 ++
Helpclose.py | 61 +
Helpclose.ui | 20 +-
Helphelp.ui | 20 +-
Helpignore.ui | 20 +-
SPY.py | 399 +++---
SPYHelp.ui | 69 +
SPY_main.py | 1180 +++++++++++++++++
SPY_new.ui | 1022 ++++++++++++++
SPY_pretendard.ui | 23 +-
SPY_temp.py | 1180 +++++++++++++++++
everytime.py | 80 ++
import.py | 6 +
main.py | 25 +
maine.py | 12 +
sccn.ui | 41 +
sdcn.ui | 41 +
.../__pycache__/sinchon.cpython-310.pyc | Bin 0 -> 17516 bytes
src/campus/__pycache__/songdo.cpython-310.pyc | Bin 0 -> 5501 bytes
src/campus/sinchon.py | 3 +
src/campus/songdo.py | 453 +++++++
...354\272\240 \353\205\270\353\223\234.xlsx" | Bin 0 -> 25180 bytes
src/fonts/Pretendard/LICENSE.txt | 94 ++
src/fonts/Pretendard/Pretendard-Black.ttf | Bin 0 -> 2677244 bytes
src/fonts/Pretendard/Pretendard-Light.ttf | Bin 0 -> 2817428 bytes
src/fonts/Pretendard/Pretendard-Medium.ttf | Bin 0 -> 2712356 bytes
src/fonts/Pretendard/Pretendard-SemiBold.ttf | Bin 0 -> 2682940 bytes
src/fonts/TitilliumWeb/OFL.txt | 93 ++
.../TitilliumWeb/TitilliumWeb-SemiBold.ttf | Bin 0 -> 56752 bytes
src/icons/SPYIcon.png | Bin 0 -> 13703 bytes
src/icons/sinchonIcon.png | Bin 0 -> 12818 bytes
src/icons/songdoIcon.png | Bin 0 -> 11111 bytes
src/pythoncode/RequirementsInstall.py | 10 +
.../__pycache__/sccn.cpython-310.pyc | Bin 0 -> 10213 bytes
.../__pycache__/sdcn.cpython-310.pyc | Bin 0 -> 4202 bytes
src/pythoncode/requirements.txt | 68 +
src/pythoncode/sccn.py | 279 ++++
src/pythoncode/sdcn.py | 105 ++
src/pythoncode/webdriverinstaller.py | 17 +
src/test.txt | 0
40 files changed, 5112 insertions(+), 283 deletions(-)
create mode 100644 Dijkstra.py
create mode 100644 Helpclose.py
create mode 100644 SPYHelp.ui
create mode 100644 SPY_main.py
create mode 100644 SPY_new.ui
create mode 100644 SPY_temp.py
create mode 100644 everytime.py
create mode 100644 import.py
create mode 100644 main.py
create mode 100644 maine.py
create mode 100644 sccn.ui
create mode 100644 sdcn.ui
create mode 100644 src/campus/__pycache__/sinchon.cpython-310.pyc
create mode 100644 src/campus/__pycache__/songdo.cpython-310.pyc
create mode 100644 src/campus/sinchon.py
create mode 100644 src/campus/songdo.py
create mode 100644 "src/campus/\354\213\240\354\264\214\354\272\240 \353\205\270\353\223\234.xlsx"
create mode 100644 src/fonts/Pretendard/LICENSE.txt
create mode 100644 src/fonts/Pretendard/Pretendard-Black.ttf
create mode 100644 src/fonts/Pretendard/Pretendard-Light.ttf
create mode 100644 src/fonts/Pretendard/Pretendard-Medium.ttf
create mode 100644 src/fonts/Pretendard/Pretendard-SemiBold.ttf
create mode 100644 src/fonts/TitilliumWeb/OFL.txt
create mode 100644 src/fonts/TitilliumWeb/TitilliumWeb-SemiBold.ttf
create mode 100644 src/icons/SPYIcon.png
create mode 100644 src/icons/sinchonIcon.png
create mode 100644 src/icons/songdoIcon.png
create mode 100644 src/pythoncode/RequirementsInstall.py
create mode 100644 src/pythoncode/__pycache__/sccn.cpython-310.pyc
create mode 100644 src/pythoncode/__pycache__/sdcn.cpython-310.pyc
create mode 100644 src/pythoncode/requirements.txt
create mode 100644 src/pythoncode/sccn.py
create mode 100644 src/pythoncode/sdcn.py
create mode 100644 src/pythoncode/webdriverinstaller.py
create mode 100644 src/test.txt
diff --git a/Dijkstra.py b/Dijkstra.py
new file mode 100644
index 0000000..f5a534a
--- /dev/null
+++ b/Dijkstra.py
@@ -0,0 +1,74 @@
+# campus 폴더의 하위 항목인 songdo.py 파일과 sinchon.py 파일을 모듈로 임포트합니다.
+from src.campus.songdo import NodeSongdo as Song_
+from src.campus.sinchon import NodeSinchon as Sin_
+
+#print(Song_)
+#print(Sin_)
+print("사용할 위치를 고르세요.")
+print("1 : 신촌캠퍼스 2 : 국제캠퍼스")
+place = input("숫자를 입력하세요 : ")
+
+load = []
+t = []
+
+#신촌캠퍼스
+if place == 1:
+ def search(dir, stops, end, time=0):
+ if Sin_[stops][1] > time:
+ Sin_[stops][1] = time
+ dir.append(stops)
+ else:
+ return '취소'
+ if stops == end:
+ load.append(dir)
+ t.append(time)
+ load[t.index(min(t))]
+ print(f'지나온 길 : {load[t.index(min(t))]}')
+ print(f'걸린 시간 : {round(min(t), 1)} 분')
+ return '도착'
+
+ for i in Sin_[stops][2]: # Song_[stops][2] = [['nodem', 57, 0], ['noden', 56, 0], ['nodes', 19, 0]] 요느낌
+ if i[2] > 0: # 오르막길->시간 더 걸림. 가중치 (i[2]*1.1)로 해봄. 상대높이가 24까지 있다해서
+ search(list(dir), i[0], end, (i[1] * 0.015) * i[2] * 1.1 + time) # i[0]은 'nodem', i[1] = 57(거리), i[2] = 0(높이) 의미
+ elif i[2] < 0: # 내리막길->시간 덜 걸림. 가중치 (-i[2]*0.9)로 해봄. 상대높이가 24까지 있다해서
+ search(list(dir), i[0], end, (i[1] * 0.015) * (-i[2]) * 0.9 + time)
+ else: # 평지. 가중치 없음
+ search(list(dir), i[0], end, (i[1] * 0.015) + time)
+
+
+ # 사람 속도 = 1000m 15분 적용.-> 1m 0.015분
+ # 여기에 상대 고도 고려해야함.
+
+#송도캠퍼스
+else:
+ def search(dir, stops, end, time=0):
+ if Song_[stops][1] > time:
+ Song_[stops][1] = time
+ dir.append(stops)
+ else:
+ return '취소'
+ if stops == end:
+ load.append(dir)
+ t.append(time)
+ load[t.index(min(t))]
+ print(f'지나온 길 : {load[t.index(min(t))]}')
+ print(f'걸린 시간 : {round(min(t), 1)} 분')
+ print(t, load)
+ return '도착'
+
+ for i in Song_[stops][2]: # Song_[stops][2] = [['nodem', 57, 0], ['noden', 56, 0], ['nodes', 19, 0]] 요느낌
+ if i[2] > 0: # 오르막길->시간 더 걸림. 가중치 (i[2]*1.1)로 해봄. 상대높이가 24까지 있다해서
+ search(list(dir), i[0], end,
+ (i[1] * 0.015) * i[2] * 1.1 + time) # i[0]은 'nodem', i[1] = 57(거리), i[2] = 0(높이) 의미
+ elif i[2] < 0: # 내리막길->시간 덜 걸림. 가중치 (-i[2]*0.9)로 해봄. 상대높이가 24까지 있다해서
+ search(list(dir), i[0], end, (i[1] * 0.015) * (-i[2]) * 0.9 + time)
+ else: # 평지. 가중치 없음
+ search(list(dir), i[0], end, (i[1] * 0.015) + time)
+
+
+ # 사람 속도 = 1000m 15분 적용.-> 1m 0.015분
+ # 여기에 상대 고도 고려해야함.
+
+search([], 'Yplaza', 'YICfield')
+search([], 'Yplaza', 'gatea')
+search([], 'Futsal', 'gatea')
\ No newline at end of file
diff --git a/Helpclose.py b/Helpclose.py
new file mode 100644
index 0000000..dd7e293
--- /dev/null
+++ b/Helpclose.py
@@ -0,0 +1,61 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'Helpclose.ui'
+#
+# Created by: PyQt5 UI code generator 5.15.6
+#
+# WARNING: Any manual changes made to this file will be lost when pyuic5 is
+# run again. Do not edit this file unless you know what you are doing.
+
+
+from PyQt5 import QtCore, QtGui, QtWidgets
+
+
+class Ui_MainWindow(object):
+ def setupUi(self, MainWindow):
+ MainWindow.setObjectName("MainWindow")
+ MainWindow.resize(320, 240)
+ MainWindow.setMinimumSize(QtCore.QSize(320, 240))
+ MainWindow.setMaximumSize(QtCore.QSize(320, 240))
+ self.centralwidget = QtWidgets.QWidget(MainWindow)
+ self.centralwidget.setObjectName("centralwidget")
+ self.gridLayoutWidget = QtWidgets.QWidget(self.centralwidget)
+ self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 10, 301, 221))
+ self.gridLayoutWidget.setObjectName("gridLayoutWidget")
+ self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget)
+ self.gridLayout.setContentsMargins(0, 0, 0, 0)
+ self.gridLayout.setObjectName("gridLayout")
+ self.lineEdit = QtWidgets.QLineEdit(self.gridLayoutWidget)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.lineEdit.sizePolicy().hasHeightForWidth())
+ self.lineEdit.setSizePolicy(sizePolicy)
+ font = QtGui.QFont()
+ font.setFamily("Pretendard SemiBold")
+ self.lineEdit.setFont(font)
+ self.lineEdit.setFrame(False)
+ self.lineEdit.setAlignment(QtCore.Qt.AlignCenter)
+ self.lineEdit.setDragEnabled(False)
+ self.lineEdit.setReadOnly(True)
+ self.lineEdit.setObjectName("lineEdit")
+ self.gridLayout.addWidget(self.lineEdit, 0, 0, 1, 1)
+ MainWindow.setCentralWidget(self.centralwidget)
+
+ self.retranslateUi(MainWindow)
+ QtCore.QMetaObject.connectSlotsByName(MainWindow)
+
+ def retranslateUi(self, MainWindow):
+ _translate = QtCore.QCoreApplication.translate
+ MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
+ self.lineEdit.setText(_translate("MainWindow", "이제 도움 없이도 잘 쓸 수 있겠나요?"))
+
+
+if __name__ == "__main__":
+ import sys
+ app = QtWidgets.QApplication(sys.argv)
+ MainWindow = QtWidgets.QMainWindow()
+ ui = Ui_MainWindow()
+ ui.setupUi(MainWindow)
+ MainWindow.show()
+ sys.exit(app.exec_())
diff --git a/Helpclose.ui b/Helpclose.ui
index 0ecacb0..1e6bc63 100644
--- a/Helpclose.ui
+++ b/Helpclose.ui
@@ -37,33 +37,19 @@
-
-
-
-
- 0
- 0
-
-
+
- AppleSDGothicNeoB00
+ Pretendard SemiBold
+ 15
이제 도움 없이도 잘 쓸 수 있겠나요?
-
- false
-
Qt::AlignCenter
-
- false
-
-
- true
-
diff --git a/Helphelp.ui b/Helphelp.ui
index 346ea51..7cdd348 100644
--- a/Helphelp.ui
+++ b/Helphelp.ui
@@ -37,33 +37,19 @@
-
-
-
-
- 0
- 0
-
-
+
- AppleSDGothicNeoB00
+ Pretendard SemiBold
+ 15
도대체 얼마나 더 도움이 필요한가요?
-
- false
-
Qt::AlignCenter
-
- false
-
-
- true
-
diff --git a/Helpignore.ui b/Helpignore.ui
index aea5d38..3211954 100644
--- a/Helpignore.ui
+++ b/Helpignore.ui
@@ -37,33 +37,19 @@
-
-
-
-
- 0
- 0
-
-
+
- AppleSDGothicNeoB00
+ Pretendard SemiBold
+ 15
제 호의를 무시하다니, 정말 못됐군요.
-
- false
-
Qt::AlignCenter
-
- false
-
-
- true
-
diff --git a/SPY.py b/SPY.py
index 6c5823e..8cda2b0 100644
--- a/SPY.py
+++ b/SPY.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Form implementation generated from reading ui file 'SPY_pretendard.ui'
+# Form implementation generated from reading ui file 'SPy.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
@@ -17,500 +17,478 @@ def setupUi(self, SPY):
SPY.resize(800, 600)
SPY.setMinimumSize(QtCore.QSize(800, 600))
SPY.setMaximumSize(QtCore.QSize(800, 600))
- fontDB = QtGui.QFontDatabase()
- fontDB.addApplicationFont('src/fonts/Pretendard/Pretendard-Black.ttf')
- fontDB.addApplicationFont('src/fonts/Pretendard/Pretendard-Semibold.ttf')
- fontDB.addApplicationFont('src/fonts/Pretendard/Pretendard-Light.ttf')
- fontDB.addApplicationFont('src/fonts/Pretendard/Pretendard-Medium.ttf')
font = QtGui.QFont()
- font.setFamily("Pretendard Light")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
SPY.setFont(font)
self.centralwidget = QtWidgets.QWidget(SPY)
self.centralwidget.setObjectName("centralwidget")
- self.gridWidget_2 = QtWidgets.QWidget(self.centralwidget)
- self.gridWidget_2.setGeometry(QtCore.QRect(420, 210, 370, 380))
- self.gridWidget_2.setObjectName("gridWidget_2")
- self.ToU_Copyrightgrid = QtWidgets.QGridLayout(self.gridWidget_2)
+ self.gridLayoutWidget_2 = QtWidgets.QWidget(self.centralwidget)
+ self.gridLayoutWidget_2.setGeometry(QtCore.QRect(440, 220, 351, 370))
+ self.gridLayoutWidget_2.setObjectName("gridLayoutWidget_2")
+ self.ToU_Copyrightgrid = QtWidgets.QGridLayout(self.gridLayoutWidget_2)
self.ToU_Copyrightgrid.setContentsMargins(0, 0, 0, 0)
self.ToU_Copyrightgrid.setObjectName("ToU_Copyrightgrid")
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.ToU_Copyrightgrid.addItem(spacerItem, 3, 0, 1, 1)
- self.ToUMaintext = QtWidgets.QTextEdit(self.gridWidget_2)
+ self.ToUMaintext = QtWidgets.QTextEdit(self.gridLayoutWidget_2)
font = QtGui.QFont()
- font.setFamily("Pretendard Light")
+ font.setFamily("AppleSDGothicNeoL00")
font.setPointSize(10)
self.ToUMaintext.setFont(font)
self.ToUMaintext.setReadOnly(True)
self.ToUMaintext.setObjectName("ToUMaintext")
self.ToU_Copyrightgrid.addWidget(self.ToUMaintext, 2, 0, 1, 2)
- self.closeButton = QtWidgets.QDialogButtonBox(self.gridWidget_2)
+ self.closeButton = QtWidgets.QDialogButtonBox(self.gridLayoutWidget_2)
font = QtGui.QFont()
- font.setFamily("Pretendard Medium")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.closeButton.setFont(font)
self.closeButton.setStandardButtons(QtWidgets.QDialogButtonBox.Close)
self.closeButton.setObjectName("closeButton")
self.ToU_Copyrightgrid.addWidget(self.closeButton, 3, 1, 1, 1)
- self.line_7 = QtWidgets.QFrame(self.gridWidget_2)
+ self.line_7 = QtWidgets.QFrame(self.gridLayoutWidget_2)
self.line_7.setFrameShape(QtWidgets.QFrame.HLine)
self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_7.setObjectName("line_7")
self.ToU_Copyrightgrid.addWidget(self.line_7, 1, 0, 1, 2)
- self.ToU_copyriightlabel = QtWidgets.QLabel(self.gridWidget_2)
+ self.ToU_copyriightlabel = QtWidgets.QLabel(self.gridLayoutWidget_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.ToU_copyriightlabel.sizePolicy().hasHeightForWidth())
self.ToU_copyriightlabel.setSizePolicy(sizePolicy)
font = QtGui.QFont()
- font.setFamily("Pretendard SemiBold")
+ font.setFamily("AppleSDGothicNeoB00")
font.setPointSize(10)
self.ToU_copyriightlabel.setFont(font)
self.ToU_copyriightlabel.setObjectName("ToU_copyriightlabel")
self.ToU_Copyrightgrid.addWidget(self.ToU_copyriightlabel, 0, 0, 1, 2)
- self.gridWidget_4 = QtWidgets.QWidget(self.centralwidget)
- self.gridWidget_4.setGeometry(QtCore.QRect(10, 120, 400, 160))
- self.gridWidget_4.setObjectName("gridWidget_4")
- self.positionchoose = QtWidgets.QGridLayout(self.gridWidget_4)
+ self.gridLayoutWidget_4 = QtWidgets.QWidget(self.centralwidget)
+ self.gridLayoutWidget_4.setGeometry(QtCore.QRect(10, 120, 421, 170))
+ self.gridLayoutWidget_4.setObjectName("gridLayoutWidget_4")
+ self.positionchoose = QtWidgets.QGridLayout(self.gridLayoutWidget_4)
self.positionchoose.setContentsMargins(0, 0, 0, 0)
self.positionchoose.setObjectName("positionchoose")
- self.SongdoCampus = QtWidgets.QRadioButton(self.gridWidget_4)
+ self.SongdoCampus = QtWidgets.QRadioButton(self.gridLayoutWidget_4)
font = QtGui.QFont()
- font.setFamily("Pretendard Light")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.SongdoCampus.setFont(font)
self.SongdoCampus.setObjectName("SongdoCampus")
self.positionchoose.addWidget(self.SongdoCampus, 3, 2, 1, 2)
- self.DestinationInput = QtWidgets.QLineEdit(self.gridWidget_4)
+ self.DestinationInput = QtWidgets.QLineEdit(self.gridLayoutWidget_4)
font = QtGui.QFont()
- font.setFamily("Pretendard Light")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.DestinationInput.setFont(font)
self.DestinationInput.setObjectName("DestinationInput")
self.positionchoose.addWidget(self.DestinationInput, 6, 2, 1, 2)
- self.pushButton = QtWidgets.QPushButton(self.gridWidget_4)
+ self.pushButton = QtWidgets.QPushButton(self.gridLayoutWidget_4)
font = QtGui.QFont()
- font.setFamily("Pretendard Medium")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.pushButton.setFont(font)
self.pushButton.setObjectName("pushButton")
self.positionchoose.addWidget(self.pushButton, 2, 4, 1, 1)
- self.SinchonCampus = QtWidgets.QRadioButton(self.gridWidget_4)
+ self.SinchonCampus = QtWidgets.QRadioButton(self.gridLayoutWidget_4)
font = QtGui.QFont()
- font.setFamily("Pretendard Light")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.SinchonCampus.setFont(font)
self.SinchonCampus.setObjectName("SinchonCampus")
self.positionchoose.addWidget(self.SinchonCampus, 2, 2, 1, 2)
- self.line = QtWidgets.QFrame(self.gridWidget_4)
+ self.line = QtWidgets.QFrame(self.gridLayoutWidget_4)
self.line.setFrameShape(QtWidgets.QFrame.VLine)
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line")
self.positionchoose.addWidget(self.line, 2, 1, 2, 1)
- self.OriginInput = QtWidgets.QLineEdit(self.gridWidget_4)
+ self.OriginInput = QtWidgets.QLineEdit(self.gridLayoutWidget_4)
font = QtGui.QFont()
- font.setFamily("Pretendard Light")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.OriginInput.setFont(font)
self.OriginInput.setObjectName("OriginInput")
self.positionchoose.addWidget(self.OriginInput, 5, 2, 1, 2)
- self.Designator = QtWidgets.QLabel(self.gridWidget_4)
+ self.Designator = QtWidgets.QLabel(self.gridLayoutWidget_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Designator.sizePolicy().hasHeightForWidth())
self.Designator.setSizePolicy(sizePolicy)
font = QtGui.QFont()
- font.setFamily("Pretendard SemiBold")
+ font.setFamily("AppleSDGothicNeoEB00")
font.setPointSize(10)
self.Designator.setFont(font)
self.Designator.setObjectName("Designator")
self.positionchoose.addWidget(self.Designator, 0, 0, 1, 5)
- self.pushButton_2 = QtWidgets.QPushButton(self.gridWidget_4)
+ self.pushButton_2 = QtWidgets.QPushButton(self.gridLayoutWidget_4)
font = QtGui.QFont()
- font.setFamily("Pretendard Medium")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.pushButton_2.setFont(font)
self.pushButton_2.setObjectName("pushButton_2")
self.positionchoose.addWidget(self.pushButton_2, 3, 4, 1, 1)
- self.line_5 = QtWidgets.QFrame(self.gridWidget_4)
+ self.line_5 = QtWidgets.QFrame(self.gridLayoutWidget_4)
self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_5.setObjectName("line_5")
self.positionchoose.addWidget(self.line_5, 1, 0, 1, 5)
- self.Destination = QtWidgets.QLabel(self.gridWidget_4)
+ self.Destination = QtWidgets.QLabel(self.gridLayoutWidget_4)
font = QtGui.QFont()
- font.setFamily("Pretendard Medium")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.Destination.setFont(font)
self.Destination.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Destination.setObjectName("Destination")
self.positionchoose.addWidget(self.Destination, 6, 0, 1, 2)
- self.Campus = QtWidgets.QLabel(self.gridWidget_4)
+ self.Campus = QtWidgets.QLabel(self.gridLayoutWidget_4)
font = QtGui.QFont()
- font.setFamily("Pretendard Medium")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.Campus.setFont(font)
self.Campus.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Campus.setObjectName("Campus")
self.positionchoose.addWidget(self.Campus, 2, 0, 2, 1)
- self.line_2 = QtWidgets.QFrame(self.gridWidget_4)
+ self.line_2 = QtWidgets.QFrame(self.gridLayoutWidget_4)
self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_2.setObjectName("line_2")
self.positionchoose.addWidget(self.line_2, 4, 0, 1, 5)
- self.ConfirmButton = QtWidgets.QPushButton(self.gridWidget_4)
+ self.ConfirmButton = QtWidgets.QPushButton(self.gridLayoutWidget_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.ConfirmButton.sizePolicy().hasHeightForWidth())
self.ConfirmButton.setSizePolicy(sizePolicy)
font = QtGui.QFont()
- font.setFamily("Pretendard Medium")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.ConfirmButton.setFont(font)
self.ConfirmButton.setObjectName("ConfirmButton")
self.positionchoose.addWidget(self.ConfirmButton, 5, 4, 2, 1)
- self.Origin = QtWidgets.QLabel(self.gridWidget_4)
+ self.Origin = QtWidgets.QLabel(self.gridLayoutWidget_4)
font = QtGui.QFont()
- font.setFamily("Pretendard Medium")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.Origin.setFont(font)
self.Origin.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Origin.setObjectName("Origin")
self.positionchoose.addWidget(self.Origin, 5, 0, 1, 2)
- self.line_3 = QtWidgets.QFrame(self.gridWidget_4)
+ self.line_3 = QtWidgets.QFrame(self.gridLayoutWidget_4)
self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_3.setObjectName("line_3")
self.positionchoose.addWidget(self.line_3, 7, 0, 1, 5)
- self.gridWidget_5 = QtWidgets.QWidget(self.centralwidget)
- self.gridWidget_5.setGeometry(QtCore.QRect(420, 120, 370, 80))
- self.gridWidget_5.setObjectName("gridWidget_5")
- self.gridLayout = QtWidgets.QGridLayout(self.gridWidget_5)
+ self.gridLayoutWidget_5 = QtWidgets.QWidget(self.centralwidget)
+ self.gridLayoutWidget_5.setGeometry(QtCore.QRect(440, 120, 350, 90))
+ self.gridLayoutWidget_5.setObjectName("gridLayoutWidget_5")
+ self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget_5)
self.gridLayout.setContentsMargins(0, 0, 0, 0)
self.gridLayout.setObjectName("gridLayout")
- self.label_11 = QtWidgets.QLabel(self.gridWidget_5)
+ self.label_11 = QtWidgets.QLabel(self.gridLayoutWidget_5)
font = QtGui.QFont()
- font.setFamily("Pretendard Light")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.label_11.setFont(font)
self.label_11.setAlignment(QtCore.Qt.AlignCenter)
self.label_11.setObjectName("label_11")
self.gridLayout.addWidget(self.label_11, 3, 2, 1, 1)
- self.label_10 = QtWidgets.QLabel(self.gridWidget_5)
+ self.label_10 = QtWidgets.QLabel(self.gridLayoutWidget_5)
font = QtGui.QFont()
- font.setFamily("Pretendard Light")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.label_10.setFont(font)
self.label_10.setAlignment(QtCore.Qt.AlignCenter)
self.label_10.setObjectName("label_10")
self.gridLayout.addWidget(self.label_10, 3, 0, 1, 1)
- self.label_9 = QtWidgets.QLabel(self.gridWidget_5)
+ self.label_9 = QtWidgets.QLabel(self.gridLayoutWidget_5)
font = QtGui.QFont()
- font.setFamily("Pretendard Light")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.label_9.setFont(font)
self.label_9.setAlignment(QtCore.Qt.AlignCenter)
self.label_9.setObjectName("label_9")
self.gridLayout.addWidget(self.label_9, 2, 2, 1, 1)
- self.ShowMetre = QtWidgets.QLineEdit(self.gridWidget_5)
- font = QtGui.QFont()
- font.setFamily("Pretendard Light")
- font.setPointSize(10)
- self.ShowMetre.setFont(font)
+ self.ShowMetre = QtWidgets.QLineEdit(self.gridLayoutWidget_5)
self.ShowMetre.setAutoFillBackground(False)
self.ShowMetre.setReadOnly(True)
self.ShowMetre.setObjectName("ShowMetre")
self.gridLayout.addWidget(self.ShowMetre, 2, 1, 1, 1)
- self.ShowMinute = QtWidgets.QLineEdit(self.gridWidget_5)
- font = QtGui.QFont()
- font.setFamily("Pretendard Light")
- font.setPointSize(10)
- self.ShowMinute.setFont(font)
+ self.ShowMinute = QtWidgets.QLineEdit(self.gridLayoutWidget_5)
self.ShowMinute.setReadOnly(True)
self.ShowMinute.setObjectName("ShowMinute")
self.gridLayout.addWidget(self.ShowMinute, 3, 1, 1, 1)
- self.label_8 = QtWidgets.QLabel(self.gridWidget_5)
+ self.label_8 = QtWidgets.QLabel(self.gridLayoutWidget_5)
font = QtGui.QFont()
- font.setFamily("Pretendard Light")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.label_8.setFont(font)
self.label_8.setAlignment(QtCore.Qt.AlignCenter)
self.label_8.setObjectName("label_8")
self.gridLayout.addWidget(self.label_8, 2, 0, 1, 1)
- self.line_11 = QtWidgets.QFrame(self.gridWidget_5)
+ self.line_11 = QtWidgets.QFrame(self.gridLayoutWidget_5)
self.line_11.setFrameShape(QtWidgets.QFrame.HLine)
self.line_11.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_11.setObjectName("line_11")
self.gridLayout.addWidget(self.line_11, 1, 0, 1, 3)
- self.label_6 = QtWidgets.QLabel(self.gridWidget_5)
+ self.label_6 = QtWidgets.QLabel(self.gridLayoutWidget_5)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
self.label_6.setSizePolicy(sizePolicy)
font = QtGui.QFont()
- font.setFamily("Pretendard SemiBold")
+ font.setFamily("AppleSDGothicNeoB00")
font.setPointSize(10)
self.label_6.setFont(font)
self.label_6.setObjectName("label_6")
self.gridLayout.addWidget(self.label_6, 0, 0, 1, 3)
- self.gridWidget_6 = QtWidgets.QWidget(self.centralwidget)
- self.gridWidget_6.setGeometry(QtCore.QRect(10, 380, 400, 210))
- self.gridWidget_6.setObjectName("gridWidget_6")
- self.Processgrid = QtWidgets.QGridLayout(self.gridWidget_6)
+ self.gridLayoutWidget_6 = QtWidgets.QWidget(self.centralwidget)
+ self.gridLayoutWidget_6.setGeometry(QtCore.QRect(10, 390, 421, 200))
+ self.gridLayoutWidget_6.setObjectName("gridLayoutWidget_6")
+ self.Processgrid = QtWidgets.QGridLayout(self.gridLayoutWidget_6)
self.Processgrid.setContentsMargins(0, 0, 0, 0)
self.Processgrid.setObjectName("Processgrid")
- self.progressBar = QtWidgets.QProgressBar(self.gridWidget_6)
+ self.progressBar = QtWidgets.QProgressBar(self.gridLayoutWidget_6)
font = QtGui.QFont()
- font.setFamily("Pretendard Medium")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.progressBar.setFont(font)
self.progressBar.setProperty("value", 0)
self.progressBar.setInvertedAppearance(False)
self.progressBar.setObjectName("progressBar")
self.Processgrid.addWidget(self.progressBar, 2, 0, 1, 1)
- self.line_8 = QtWidgets.QFrame(self.gridWidget_6)
+ self.line_8 = QtWidgets.QFrame(self.gridLayoutWidget_6)
self.line_8.setFrameShape(QtWidgets.QFrame.HLine)
self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_8.setObjectName("line_8")
self.Processgrid.addWidget(self.line_8, 1, 0, 1, 1)
- self.Processlabel = QtWidgets.QLabel(self.gridWidget_6)
+ self.Processlabel = QtWidgets.QLabel(self.gridLayoutWidget_6)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Processlabel.sizePolicy().hasHeightForWidth())
self.Processlabel.setSizePolicy(sizePolicy)
font = QtGui.QFont()
- font.setFamily("Pretendard SemiBold")
+ font.setFamily("AppleSDGothicNeoEB00")
font.setPointSize(10)
self.Processlabel.setFont(font)
self.Processlabel.setObjectName("Processlabel")
self.Processgrid.addWidget(self.Processlabel, 0, 0, 1, 1)
- self.ProcessViewer = QtWidgets.QPlainTextEdit(self.gridWidget_6)
+ self.ProcessViewer = QtWidgets.QPlainTextEdit(self.gridLayoutWidget_6)
self.ProcessViewer.setReadOnly(True)
self.ProcessViewer.setObjectName("ProcessViewer")
self.Processgrid.addWidget(self.ProcessViewer, 3, 0, 1, 1)
- self.gridWidget = QtWidgets.QWidget(self.centralwidget)
- self.gridWidget.setGeometry(QtCore.QRect(10, 290, 400, 80))
- self.gridWidget.setObjectName("gridWidget")
- self.speedgrid = QtWidgets.QGridLayout(self.gridWidget)
- self.speedgrid.setContentsMargins(0, 0, 0, 0)
- self.speedgrid.setObjectName("speedgrid")
- self.Speed = QtWidgets.QSlider(self.gridWidget)
- self.Speed.setCursor(QtGui.QCursor(QtCore.Qt.SizeHorCursor))
- self.Speed.setAcceptDrops(False)
- self.Speed.setAutoFillBackground(False)
- self.Speed.setMaximum(10)
- self.Speed.setPageStep(5)
- self.Speed.setOrientation(QtCore.Qt.Horizontal)
- self.Speed.setInvertedAppearance(False)
- self.Speed.setInvertedControls(False)
- self.Speed.setTickPosition(QtWidgets.QSlider.TicksBelow)
- self.Speed.setObjectName("Speed")
- self.speedgrid.addWidget(self.Speed, 2, 0, 1, 2)
- self.Runninglabel = QtWidgets.QLabel(self.gridWidget)
- font = QtGui.QFont()
- font.setFamily("Pretendard Light")
- font.setPointSize(10)
- self.Runninglabel.setFont(font)
- self.Runninglabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
- self.Runninglabel.setObjectName("Runninglabel")
- self.speedgrid.addWidget(self.Runninglabel, 3, 1, 1, 1)
- self.Walkinglabel = QtWidgets.QLabel(self.gridWidget)
- font = QtGui.QFont()
- font.setFamily("Pretendard Light")
- font.setPointSize(10)
- self.Walkinglabel.setFont(font)
- self.Walkinglabel.setObjectName("Walkinglabel")
- self.speedgrid.addWidget(self.Walkinglabel, 3, 0, 1, 1)
- self.line_6 = QtWidgets.QFrame(self.gridWidget)
- self.line_6.setFrameShape(QtWidgets.QFrame.HLine)
- self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
- self.line_6.setObjectName("line_6")
- self.speedgrid.addWidget(self.line_6, 1, 0, 1, 2)
- self.Speedlabel = QtWidgets.QLabel(self.gridWidget)
- font = QtGui.QFont()
- font.setFamily("Pretendard SemiBold")
- font.setPointSize(10)
- self.Speedlabel.setFont(font)
- self.Speedlabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
- self.Speedlabel.setObjectName("Speedlabel")
- self.speedgrid.addWidget(self.Speedlabel, 0, 0, 1, 2)
- self.gridWidget_3 = QtWidgets.QWidget(self.centralwidget)
- self.gridWidget_3.setGeometry(QtCore.QRect(10, 10, 780, 100))
- self.gridWidget_3.setObjectName("gridWidget_3")
- self.TopGrid = QtWidgets.QGridLayout(self.gridWidget_3)
+ self.gridLayoutWidget_3 = QtWidgets.QWidget(self.centralwidget)
+ self.gridLayoutWidget_3.setGeometry(QtCore.QRect(10, 10, 780, 100))
+ self.gridLayoutWidget_3.setObjectName("gridLayoutWidget_3")
+ self.TopGrid = QtWidgets.QGridLayout(self.gridLayoutWidget_3)
self.TopGrid.setContentsMargins(0, 0, 0, 0)
self.TopGrid.setObjectName("TopGrid")
- self.GetTimeTableButton = QtWidgets.QPushButton(self.gridWidget_3)
+ self.GetTimeTableButton = QtWidgets.QPushButton(self.gridLayoutWidget_3)
font = QtGui.QFont()
- font.setFamily("Pretendard Medium")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.GetTimeTableButton.setFont(font)
self.GetTimeTableButton.setObjectName("GetTimeTableButton")
self.TopGrid.addWidget(self.GetTimeTableButton, 3, 6, 1, 1)
- self.SPYlabel = QtWidgets.QLabel(self.gridWidget_3)
+ self.SPYlabel = QtWidgets.QLabel(self.gridLayoutWidget_3)
font = QtGui.QFont()
- font.setFamily("Pretendard Black")
+ font.setFamily("AppleSDGothicNeoH00")
font.setPointSize(10)
self.SPYlabel.setFont(font)
self.SPYlabel.setAlignment(QtCore.Qt.AlignCenter)
self.SPYlabel.setObjectName("SPYlabel")
self.TopGrid.addWidget(self.SPYlabel, 0, 0, 1, 1)
- self.IDinput = QtWidgets.QLineEdit(self.gridWidget_3)
+ self.IDinput = QtWidgets.QLineEdit(self.gridLayoutWidget_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.IDinput.sizePolicy().hasHeightForWidth())
self.IDinput.setSizePolicy(sizePolicy)
- font = QtGui.QFont()
- font.setFamily("Pretendard Light")
- font.setPointSize(10)
- self.IDinput.setFont(font)
self.IDinput.setClearButtonEnabled(True)
- self.IDinput.setReadOnly(True)
self.IDinput.setObjectName("IDinput")
- self.IDinput.setStyleSheet('background-color: #d0d0d0')
self.TopGrid.addWidget(self.IDinput, 0, 4, 1, 1)
- self.Passwordlabel = QtWidgets.QLabel(self.gridWidget_3)
+ self.Passwordlabel = QtWidgets.QLabel(self.gridLayoutWidget_3)
font = QtGui.QFont()
- font.setFamily("Pretendard SemiBold")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.Passwordlabel.setFont(font)
self.Passwordlabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Passwordlabel.setObjectName("Passwordlabel")
self.TopGrid.addWidget(self.Passwordlabel, 1, 3, 1, 1)
- self.line_9 = QtWidgets.QFrame(self.gridWidget_3)
+ self.line_9 = QtWidgets.QFrame(self.gridLayoutWidget_3)
self.line_9.setFrameShape(QtWidgets.QFrame.VLine)
self.line_9.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_9.setObjectName("line_9")
self.TopGrid.addWidget(self.line_9, 0, 1, 4, 1)
- self.UseUrlButton = QtWidgets.QRadioButton(self.gridWidget_3)
+ self.UseUrlButton = QtWidgets.QRadioButton(self.gridLayoutWidget_3)
font = QtGui.QFont()
- font.setFamily("Pretendard Light")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.UseUrlButton.setFont(font)
self.UseUrlButton.setObjectName("UseUrlButton")
self.TopGrid.addWidget(self.UseUrlButton, 3, 2, 1, 1)
- self.byUslabel = QtWidgets.QLabel(self.gridWidget_3)
+ self.byUslabel = QtWidgets.QLabel(self.gridLayoutWidget_3)
font = QtGui.QFont()
- font.setFamily("Pretendard Medium")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.byUslabel.setFont(font)
self.byUslabel.setObjectName("byUslabel")
self.TopGrid.addWidget(self.byUslabel, 1, 0, 1, 1)
- self.ShowPassword = QtWidgets.QCheckBox(self.gridWidget_3)
+ self.ShowPassword = QtWidgets.QCheckBox(self.gridLayoutWidget_3)
font = QtGui.QFont()
- font.setFamily("Pretendard")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.ShowPassword.setFont(font)
- self.ShowPassword.setCheckable(False)
self.ShowPassword.setObjectName("ShowPassword")
- self.ShowPassword.stateChanged.connect(self.PasswordVisible)
self.TopGrid.addWidget(self.ShowPassword, 1, 5, 1, 1)
- self.httpslabel = QtWidgets.QLabel(self.gridWidget_3)
+ self.httpslabel = QtWidgets.QLabel(self.gridLayoutWidget_3)
font = QtGui.QFont()
- font.setFamily("Pretendard")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.httpslabel.setFont(font)
self.httpslabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.httpslabel.setObjectName("httpslabel")
self.TopGrid.addWidget(self.httpslabel, 3, 4, 1, 1)
- self.URLlabel = QtWidgets.QLabel(self.gridWidget_3)
+ self.URLlabel = QtWidgets.QLabel(self.gridLayoutWidget_3)
font = QtGui.QFont()
- font.setFamily("Pretendard SemiBold")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.URLlabel.setFont(font)
self.URLlabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.URLlabel.setObjectName("URLlabel")
self.TopGrid.addWidget(self.URLlabel, 3, 3, 1, 1)
- self.URLinput = QtWidgets.QLineEdit(self.gridWidget_3)
+ self.URLinput = QtWidgets.QLineEdit(self.gridLayoutWidget_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.URLinput.sizePolicy().hasHeightForWidth())
self.URLinput.setSizePolicy(sizePolicy)
- font = QtGui.QFont()
- font.setFamily("Pretendard Light")
- font.setPointSize(10)
- self.URLinput.setFont(font)
self.URLinput.setClearButtonEnabled(True)
- self.URLinput.setReadOnly(True)
- self.URLinput.setStyleSheet('background-color: #d0d0d0')
self.URLinput.setObjectName("URLinput")
self.TopGrid.addWidget(self.URLinput, 3, 5, 1, 1)
- self.SigninButton = QtWidgets.QPushButton(self.gridWidget_3)
+ self.SigninButton = QtWidgets.QPushButton(self.gridLayoutWidget_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.SigninButton.sizePolicy().hasHeightForWidth())
self.SigninButton.setSizePolicy(sizePolicy)
font = QtGui.QFont()
- font.setFamily("Pretendard Medium")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.SigninButton.setFont(font)
self.SigninButton.setObjectName("SigninButton")
self.TopGrid.addWidget(self.SigninButton, 0, 6, 2, 1)
- self.PWinput = QtWidgets.QLineEdit(self.gridWidget_3)
+ self.PWinput = QtWidgets.QLineEdit(self.gridLayoutWidget_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.PWinput.sizePolicy().hasHeightForWidth())
self.PWinput.setSizePolicy(sizePolicy)
- font = QtGui.QFont()
- font.setFamily("Pretendard Light")
- font.setPointSize(10)
- self.PWinput.setFont(font)
self.PWinput.setEchoMode(QtWidgets.QLineEdit.Password)
self.PWinput.setClearButtonEnabled(True)
- self.PWinput.setReadOnly(True)
- self.PWinput.setStyleSheet('background-color: #d0d0d0')
self.PWinput.setObjectName("PWinput")
self.TopGrid.addWidget(self.PWinput, 1, 4, 1, 1)
- self.line_10 = QtWidgets.QFrame(self.gridWidget_3)
+ self.line_10 = QtWidgets.QFrame(self.gridLayoutWidget_3)
self.line_10.setFrameShape(QtWidgets.QFrame.HLine)
self.line_10.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_10.setObjectName("line_10")
self.TopGrid.addWidget(self.line_10, 2, 2, 1, 5)
- self.line_12 = QtWidgets.QFrame(self.gridWidget_3)
+ self.line_12 = QtWidgets.QFrame(self.gridLayoutWidget_3)
self.line_12.setFrameShape(QtWidgets.QFrame.HLine)
self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_12.setObjectName("line_12")
self.TopGrid.addWidget(self.line_12, 2, 0, 1, 1)
- self.HelpButton = QtWidgets.QPushButton(self.gridWidget_3)
+ self.HelpButton = QtWidgets.QPushButton(self.gridLayoutWidget_3)
font = QtGui.QFont()
- font.setFamily("Pretendard Medium")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.HelpButton.setFont(font)
self.HelpButton.setObjectName("HelpButton")
self.TopGrid.addWidget(self.HelpButton, 3, 0, 1, 1)
- self.UseEverytimeButton = QtWidgets.QRadioButton(self.gridWidget_3)
+ self.UseEverytimeButton = QtWidgets.QRadioButton(self.gridLayoutWidget_3)
font = QtGui.QFont()
- font.setFamily("Pretendard Light")
+ font.setFamily("AppleSDGothicNeoR00")
font.setPointSize(10)
self.UseEverytimeButton.setFont(font)
self.UseEverytimeButton.setObjectName("UseEverytimeButton")
self.TopGrid.addWidget(self.UseEverytimeButton, 0, 2, 2, 1)
- self.UseEverytimeButton.toggled.connect(self.EverytimeIDEnabler)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.TopGrid.addItem(spacerItem1, 0, 5, 1, 1)
- self.IDlabel = QtWidgets.QLabel(self.gridWidget_3)
+ self.IDlabel = QtWidgets.QLabel(self.gridLayoutWidget_3)
font = QtGui.QFont()
- font.setFamily("Pretendard SemiBold")
+ font.setFamily("AppleSDGothicNeoSB00")
font.setPointSize(10)
self.IDlabel.setFont(font)
self.IDlabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.IDlabel.setObjectName("IDlabel")
self.TopGrid.addWidget(self.IDlabel, 0, 3, 1, 1)
+ self.gridLayoutWidget = QtWidgets.QWidget(self.centralwidget)
+ self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 300, 421, 80))
+ self.gridLayoutWidget.setObjectName("gridLayoutWidget")
+ self.speedgrid = QtWidgets.QGridLayout(self.gridLayoutWidget)
+ self.speedgrid.setContentsMargins(0, 0, 0, 0)
+ self.speedgrid.setObjectName("speedgrid")
+ self.Speed = QtWidgets.QSlider(self.gridLayoutWidget)
+ self.Speed.setCursor(QtGui.QCursor(QtCore.Qt.SizeHorCursor))
+ self.Speed.setAcceptDrops(False)
+ self.Speed.setAutoFillBackground(False)
+ self.Speed.setMaximum(10)
+ self.Speed.setPageStep(3)
+ self.Speed.setOrientation(QtCore.Qt.Horizontal)
+ self.Speed.setInvertedAppearance(False)
+ self.Speed.setInvertedControls(False)
+ self.Speed.setTickPosition(QtWidgets.QSlider.TicksBelow)
+ self.Speed.setObjectName("Speed")
+ self.speedgrid.addWidget(self.Speed, 2, 0, 1, 2)
+ self.Runninglabel = QtWidgets.QLabel(self.gridLayoutWidget)
+ font = QtGui.QFont()
+ font.setFamily("AppleSDGothicNeoL00")
+ font.setPointSize(10)
+ self.Runninglabel.setFont(font)
+ self.Runninglabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
+ self.Runninglabel.setObjectName("Runninglabel")
+ self.speedgrid.addWidget(self.Runninglabel, 3, 1, 1, 1)
+ self.Walkinglabel = QtWidgets.QLabel(self.gridLayoutWidget)
+ font = QtGui.QFont()
+ font.setFamily("AppleSDGothicNeoL00")
+ font.setPointSize(10)
+ self.Walkinglabel.setFont(font)
+ self.Walkinglabel.setObjectName("Walkinglabel")
+ self.speedgrid.addWidget(self.Walkinglabel, 3, 0, 1, 1)
+ self.line_6 = QtWidgets.QFrame(self.gridLayoutWidget)
+ self.line_6.setFrameShape(QtWidgets.QFrame.HLine)
+ self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
+ self.line_6.setObjectName("line_6")
+ self.speedgrid.addWidget(self.line_6, 1, 0, 1, 2)
+ self.Speedlabel = QtWidgets.QLabel(self.gridLayoutWidget)
+ font = QtGui.QFont()
+ font.setFamily("AppleSDGothicNeoB00")
+ font.setPointSize(10)
+ self.Speedlabel.setFont(font)
+ self.Speedlabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
+ self.Speedlabel.setObjectName("Speedlabel")
+ self.speedgrid.addWidget(self.Speedlabel, 0, 0, 1, 2)
SPY.setCentralWidget(self.centralwidget)
self.actionchodjlf = QtWidgets.QAction(SPY)
self.actionchodjlf.setObjectName("actionchodjlf")
+ self.Destination.setBuddy(self.DestinationInput)
+ self.Origin.setBuddy(self.OriginInput)
+ self.Passwordlabel.setBuddy(self.PWinput)
+ self.URLlabel.setBuddy(self.URLinput)
+ self.IDlabel.setBuddy(self.IDinput)
self.retranslateUi(SPY)
QtCore.QMetaObject.connectSlotsByName(SPY)
+ SPY.setTabOrder(self.UseEverytimeButton, self.IDinput)
+ SPY.setTabOrder(self.IDinput, self.PWinput)
+ SPY.setTabOrder(self.PWinput, self.SigninButton)
+ SPY.setTabOrder(self.SigninButton, self.UseUrlButton)
+ SPY.setTabOrder(self.UseUrlButton, self.URLinput)
+ SPY.setTabOrder(self.URLinput, self.GetTimeTableButton)
+ SPY.setTabOrder(self.GetTimeTableButton, self.SinchonCampus)
SPY.setTabOrder(self.SinchonCampus, self.SongdoCampus)
SPY.setTabOrder(self.SongdoCampus, self.OriginInput)
SPY.setTabOrder(self.OriginInput, self.DestinationInput)
@@ -519,6 +497,8 @@ def setupUi(self, SPY):
SPY.setTabOrder(self.ProcessViewer, self.ShowMetre)
SPY.setTabOrder(self.ShowMetre, self.ShowMinute)
SPY.setTabOrder(self.ShowMinute, self.ToUMaintext)
+ SPY.setTabOrder(self.ToUMaintext, self.HelpButton)
+ SPY.setTabOrder(self.HelpButton, self.ShowPassword)
def retranslateUi(self, SPY):
_translate = QtCore.QCoreApplication.translate
@@ -526,18 +506,18 @@ def retranslateUi(self, SPY):
self.ToUMaintext.setHtml(_translate("SPY", "\n"
"\n"
-"====================================================
\n"
-"Shortest Path for Yonsei(SPY)
\n"
-"====================================================
\n"
-"Copyright (c) 2022 APTP2022-1
\n"
-"
\n"
-"Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
\n"
-"
\n"
-"The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
\n"
-"
\n"
-"THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\n"
-"
"))
+"\n"
+"====================================================
\n"
+"Shortest Path for Yonsei(SPY)
\n"
+"====================================================
\n"
+"Copyright (c) 2022 APTP2022-1
\n"
+"
\n"
+"Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
\n"
+"
\n"
+"The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
\n"
+"
\n"
+"THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\n"
+"