개정판 596f227d
setup HYTOS environment
Change-Id: I9805b21caba91b08775b4da53427cf2324a9cb86
DTI_PID/DTI_PID/App.py | ||
---|---|---|
11 | 11 |
from PyQt5 import QtWidgets |
12 | 12 |
|
13 | 13 |
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__))) |
14 |
from AppDocData import AppDocData |
|
15 | 14 |
|
16 | 15 |
class App(QApplication): |
17 | 16 |
""" |
18 | 17 |
This is App class inherits from QApplication |
19 | 18 |
""" |
19 |
|
|
20 |
NAME = 'HYTOS' ### program name |
|
21 |
|
|
20 | 22 |
def __init__(self, args): |
21 | 23 |
import locale |
24 |
from AppDocData import AppDocData |
|
22 | 25 |
|
23 | 26 |
super(App, self).__init__(args) |
24 | 27 |
app_doc_data = AppDocData.instance() |
... | ... | |
96 | 99 |
@history 18.04.23 Jeongwoo Change method to execute ProjectDialog(dlg.exec_()→dlg.showDialog()) |
97 | 100 |
''' |
98 | 101 |
if __name__ == '__main__': |
99 |
import cv2 |
|
100 | 102 |
from License import QLicenseDialog |
101 | 103 |
from ProjectDialog import Ui_Dialog |
102 | 104 |
from MainWindow import MainWindow |
내보내기 Unified diff