개정판 846b3598
issue #563: spec break
Change-Id: I9ac5e9f2e0b942f9cc6b805124610071367ab249
DTI_PID/DTI_PID/Commands/SelectAttributeBatchCommand.py | ||
---|---|---|
19 | 19 |
QtImageViewer Select Attribute batch Command |
20 | 20 |
''' |
21 | 21 |
class SelectAttributeBatchCommand(AbstractCommand.AbstractCommand): |
22 |
onSuccess = pyqtSignal() |
|
22 |
onSuccess = pyqtSignal(QGraphicsItem)
|
|
23 | 23 |
|
24 | 24 |
def __init__(self, item, imageViewer): |
25 | 25 |
super(SelectAttributeBatchCommand, self).__init__(imageViewer) |
... | ... | |
161 | 161 |
key.Freeze = True |
162 | 162 |
break |
163 | 163 |
|
164 |
self.onSuccess.emit() |
|
164 |
|
|
165 |
self.onSuccess.emit(item) |
|
165 | 166 |
|
166 | 167 |
except Exception as ex: |
167 | 168 |
from App import App |
DTI_PID/DTI_PID/ItemPropertyTableWidget.py | ||
---|---|---|
1062 | 1062 |
''' |
1063 | 1063 |
def onSuccessSelectAttribute(self, connItem=None): |
1064 | 1064 |
""" update item's properties after selecting """ |
1065 |
if connItem: |
|
1066 |
self._item = connItem |
|
1065 | 1067 |
self.show_item_property(self._item) |
내보내기 Unified diff