Skip to content

Commit

Permalink
Merge pull request #300 from sjswerdloff/fix_transect_line_display
Browse files Browse the repository at this point in the history
fix transect line display and bump version to 0.6.0-dev1
  • Loading branch information
didymo authored Oct 23, 2023
2 parents 6e539c1 + 27873e3 commit e09b761
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "onkodicom"
version = "0.5.2"
version = "0.6.0-dev1"
description = "OnkoDICOM is an extensible open source radiation therapy research platform based on the DICOM standard"
authors = ["Ashley Maher <ashley.maher@didymodesigns.com.au>"]
license = "LGPL"
Expand Down
2 changes: 1 addition & 1 deletion src/View/mainpage/DicomView.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
5 changes: 3 additions & 2 deletions src/View/mainpage/WindowingSlider.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, dicom_view, width=50):
:param width: the fixed width of the widget
"""

super().__init__()
super(WindowingSlider,self).__init__()
self.action_handler = None
if WindowingSlider.SINGLETON is None:
WindowingSlider.SINGLETON = self
Expand Down Expand Up @@ -359,8 +359,9 @@ class HistogramChart(QChartView):
WindowingSlider class.
"""

def __int__(self, parent):
def __init__(self, parent):
self.windowing_slider = parent
super().__init__()

def mousePressEvent(self, event):
self.windowing_slider.mouse_press(event)
Expand Down
2 changes: 1 addition & 1 deletion src/_version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import re
from typing import cast, Match

__version__: str = '0.5.2'
__version__: str = '0.6.0-dev1'

result = cast(Match[str], re.match(r'(\d+\.\d+\.\d+).*', __version__))
__version_info__ = tuple(result.group(1).split('.'))

0 comments on commit e09b761

Please sign in to comment.