프로젝트

일반

사용자정보

개정판 cf2c92c3

IDcf2c92c3f2f4694c6cacc00d493b51c088f5eefd
상위 7169de6d
하위 a20d350f

gaqhf 이(가) 6년 이상 전에 추가함

edit zoom mode

차이점 보기:

DTI_PID/DTI_PID/MainWindow.py
302 302
    '''
303 303
    def onAreaZoom(self, action):
304 304
        if self.actionZoom.isChecked():
305
            for item in self.graphicsView.items():
306
                item.setFlags(QGraphicsItem.ItemIsFocusable)
305 307
            cmd = AreaZoomCommand.AreaZoomCommand(self.graphicsView)
306 308
            cmd.onRejected.connect(self.onCommandRejected)
307 309
            self.graphicsView.command = cmd
310
        else:
311
            for item in self.graphicsView.items():
312
                item.setFlags(QGraphicsItem.ItemIsSelectable|QGraphicsItem.ItemIsFocusable)
308 313

  
309 314
    '''
310 315
        @brief      Fit Window

내보내기 Unified diff

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