개정판 d70707e7
change psn call func
Change-Id: Ic7d0822e974058c65915954a15213d236a8ea00c
DTI_PID/DTI_PID/AppRibbon.py | ||
---|---|---|
185 | 185 |
# File Section |
186 | 186 |
cSection = tab.addSection(self.tr('Data')) |
187 | 187 |
pane = QDataPane() |
188 |
self._panes['Data'] = pane |
|
188 | 189 |
pane.ui.toolButtonHMBData.clicked.connect(main_wnd.onHMBData) |
189 | 190 |
pane.ui.toolButtonEngInfoList.clicked.connect(main_wnd.showItemDataList) |
190 | 191 |
pane.ui.toolButtonSpecialItemTypes.clicked.connect(main_wnd.on_show_special_item_types) |
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1497 | 1497 |
connection.sendall(bytes("End", encoding = "utf-8")) |
1498 | 1498 |
break |
1499 | 1499 |
|
1500 |
|
|
1501 | 1500 |
else: |
1502 | 1501 |
print('no data from', client_address) |
1503 | 1502 |
finally: |
... | ... | |
1524 | 1523 |
if bFind == False: |
1525 | 1524 |
project = AppDocData.instance().getCurrentProject() |
1526 | 1525 |
import subprocess |
1527 |
args = ['C:\Program Files (x86)\DOFTECH\ID2PSN\ID2PSN.exe', project.path, 'PSN']
|
|
1526 |
args = ['C:\Program Files (x86)\DOFTECH\ID2PSN\ID2PSN.exe', project.path, self.ribbon.get_pane('Data').ui.toolButtonPSN.text().replace('\n', '')]
|
|
1528 | 1527 |
subprocess.Popen(args, stdout = subprocess.PIPE) |
1529 | 1528 |
|
1530 | 1529 |
threadOpenDrawing() |
내보내기 Unified diff