개정판 8d2b3c9c
issue #1054 : 스트림 데이타 입력
Change-Id: Ia7791e36a7ad366bddff49cb31bd7d6c96392827
HYTOS/HYTOS/Shapes/EngineeringStreamlineItem.py | ||
---|---|---|
703 | 703 |
|
704 | 704 |
def mouseDoubleClickEvent(self, event): |
705 | 705 |
from StreamDataDialog import QStreamDataDialog |
706 |
|
|
707 |
dialog = QStreamDataDialog() |
|
708 |
res = dialog.showDialog(self) |
|
709 |
if res == True: |
|
710 |
self.load_HMB() |
|
706 |
try: |
|
707 |
|
|
708 |
dialog = QStreamDataDialog() |
|
709 |
res = dialog.showDialog(self) |
|
710 |
if res == True: |
|
711 |
self.load_HMB() |
|
712 |
|
|
713 |
except Exception as ex: |
|
714 |
from App import App |
|
715 |
from AppDocData import MessageType |
|
716 |
|
|
717 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, |
|
718 |
sys.exc_info()[-1].tb_lineno) |
|
719 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
|
711 | 720 |
|
712 | 721 |
def load_HMB(self): |
713 | 722 |
from App import App |
내보내기 Unified diff