diff --git a/src/View/mainpage/DicomView.py b/src/View/mainpage/DicomView.py index 0c8b3d01..380274ae 100644 --- a/src/View/mainpage/DicomView.py +++ b/src/View/mainpage/DicomView.py @@ -8,7 +8,7 @@ class CustomGraphicsView(QtWidgets.QGraphicsView): def __init__(self, parent=None): super().__init__(parent) - self.setDragMode(QtWidgets.QGraphicsView.ScrollHandDrag) + # self.setDragMode(QtWidgets.QGraphicsView.ScrollHandDrag) def wheelEvent(self, event: QtGui.QWheelEvent): modifiers = event.modifiers() diff --git a/src/View/mainpage/WindowingSlider.py b/src/View/mainpage/WindowingSlider.py index 18fab598..a08c56b2 100644 --- a/src/View/mainpage/WindowingSlider.py +++ b/src/View/mainpage/WindowingSlider.py @@ -61,7 +61,7 @@ def __init__(self, dicom_view, width=50): QtCore.QRectF(0, 0, self.fixed_width-10, self.height())) self.histogram_view.resize(self.fixed_width, self.height()) - #self.histogram_view.setMouseTracking(True) + self.histogram_view.setMouseTracking(True) self.histogram_view.viewport().installEventFilter(self) self.slider_density = int(self.height() / 3)