Refactor: typing cleanup, 경로 하드코딩 제거, GPS 데이터 Lon/Lat 분리, 불필요 모듈 삭제
This commit is contained in:
4
UI.py
4
UI.py
@@ -1,6 +1,7 @@
|
||||
import os
|
||||
import sys
|
||||
import UtilPack as util
|
||||
from pathlib import Path
|
||||
import VWorldAPIs as vw
|
||||
import ExtEXIFData as exif
|
||||
|
||||
@@ -141,7 +142,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"))
|
||||
html_path = Path(__file__).resolve().parent / "sample_Event.html"
|
||||
self.webview_map.setUrl(QUrl.fromLocalFile(str(html_path)))
|
||||
|
||||
# 레이아웃 설정
|
||||
layout = QHBoxLayout()
|
||||
|
||||
Reference in New Issue
Block a user