프로젝트

일반

사용자정보

개정판 d367d959

IDd367d959bfd1c6b687a039eb39a2733c77ccf417
상위 594bbd9c
하위 e80a3aae

김정우 이(가) 6년 이상 전에 추가함

Zoom in 한 후 패닝이 안되는 문제 수정 / Zoom in 한 후 panning 하여 다른 곳을 참조할 때 zoom in 이 가능하도록 수정

차이점 보기:

DTI_PID/DTI_PID/MainWindow.py
157 157
        @brief      Fit Window
158 158
        @author     Jeongwoo
159 159
        @date       2018.06.27
160
        @history    2018.06.27  Jeongwoo    Chnage method to initialize command [Set None → DefaultCommand]
160 161
    '''
161 162
    def fitWindow(self, action):
162
        self.graphicsView.command = None
163
        self.graphicsView.useDefaultCommand()
163 164
        self.graphicsView.zoomImageInit()
164 165

  
165 166
    '''
......
186 187
        @brief      Manage Checkable Action statement
187 188
        @author     Jeongwoo
188 189
        @date       2018.05.10
190
        @history    2018.06.27  Jeongwoo    Chnage method to initialize command [Set None → DefaultCommand]
189 191
    '''
190 192
    def actionGroupTriggered(self, action):
191 193
        if self.graphicsView.command is not None:
192
            self.graphicsView.command = None
194
            self.graphicsView.useDefaultCommand()
193 195
        if self.lastClickedCheckableAction is not None and self.lastClickedCheckableAction == action and action.isChecked():
194 196
            action.setChecked(False)
195 197
            self.lastClickedCheckableAction = None

내보내기 Unified diff