Refactor: typing cleanup, 경로 하드코딩 제거, GPS 데이터 Lon/Lat 분리, 불필요 모듈 삭제

This commit is contained in:
minar
2026-06-24 03:09:16 +09:00
parent f662e4fd1b
commit aa5228a526
12 changed files with 124 additions and 523 deletions

View File

@@ -143,7 +143,8 @@ class MyApp(QMainWindow):
# Show GPS Mapped map in Right Layout
self.webview_map = QWebEngineView()
self.webview_map.setFixedWidth(450)
self.webview_map.setUrl(QUrl("file:///Users/minarinari/Workspace/Python/UtilityPole_Info/sample_Event.html"))
pathHtml = os.path.join(os.path.dirname(os.path.abspath(__file__)), "sample_Event.html")
self.webview_map.setUrl(QUrl.fromLocalFile(pathHtml))
# 레이아웃 설정
layout = QHBoxLayout()
@@ -165,7 +166,7 @@ class MyApp(QMainWindow):
self.btn_ParseImages.setEnabled(False)
pathImage= self.edit_ImgPath.text()
mgrConv.Process(pathImage,"/home/gerd/Workspace/Python/UtilityPole_Info" )
mgrConv.Process(pathImage,"D:\\Workspace\\Python\\UtilityPole_Info" )
self.btn_ParseImages.setEnabled(True)
print("Parse END!")