개정판 96136949
fix
Change-Id: Ic96716a0ec5fa3e49743a9f8252b88d53bc4327f
DTI_PID/DTI_PID/ImportTextFromPDFDialog.py | ||
---|---|---|
170 | 170 |
id2_xml.write(id2_xml_path, encoding="utf-8", xml_declaration=True) |
171 | 171 |
"""up to here""" |
172 | 172 |
|
173 |
QMessageBox.information(self, self.tr('Information'), self.tr('Importing Success!'), |
|
174 |
QMessageBox.Close) |
|
175 | 173 |
except Exception as ex: |
176 | 174 |
from App import App |
177 | 175 |
from AppDocData import MessageType |
... | ... | |
179 | 177 |
message = f"error occurred({repr(ex)}) in {sys.exc_info()[-1].tb_frame.f_code.co_filename}:" \ |
180 | 178 |
f"{sys.exc_info()[-1].tb_lineno}" |
181 | 179 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
180 |
|
|
181 |
QMessageBox.information(self, self.tr('Information'), self.tr('Importing finished!'), |
|
182 |
QMessageBox.Close) |
|
182 | 183 |
|
183 | 184 |
def make_text_box(self, text_node, position, height): |
184 | 185 |
import math |
내보내기 Unified diff