def mouseMoveEvent(self, event): if self._left_click_down: self.handleMouseEventPos(event.pos()) return QProgressBar.mouseMoveEvent(self, event)
def mouseMoveEvent(self, event): if self.fLeftClickDown: self.handleMouseEventPos(event.pos()) QProgressBar.mouseMoveEvent(self, event)