프로젝트

일반

사용자정보

개정판 846b3598

ID846b359862d1df302b87ef8fe60615e9f8c0bb86
상위 db2dcb47
하위 5e12c649

함의성이(가) 약 5년 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)