프로젝트

일반

사용자정보

개정판 dd83a2f7

IDdd83a2f7080f11fcbb3c6cec82fecc183df0f724
상위 d45e3f90
하위 00227c40

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

fix area settup

Change-Id: Ie45b393193960d7be9bc198e2d90b2c85597eb16

차이점 보기:

DTI_PID/DTI_PID/Shapes/EngineeringConnectorItem.py
300 300

  
301 301
    def mousePressEvent(self, event):
302 302
        from App import App
303
        import DefaultCommand
303
        import DefaultCommand, FenceCommand
304 304

  
305 305
        if self.parentItem() is not None:
306
            if event.buttons() == Qt.LeftButton and type(App.mainWnd().graphicsView.command) is DefaultCommand.DefaultCommand:
306
            if event.buttons() == Qt.LeftButton and type(App.mainWnd().graphicsView.command) is DefaultCommand.DefaultCommand or \
307
                            type(App.mainWnd().graphicsView.command) is FenceCommand.FenceCommand:
307 308
                self._pressed_position = QPointF(self.center()[0], self.center()[1])
308 309
                self._savedConnectedItem = self.connectedItem
309 310

  

내보내기 Unified diff