Skip to content
Snippets Groups Projects

Add scheduler GUI

Merged Oscar Gustafsson requested to merge scheduler-gui into master
5 files
+ 158
78
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -37,7 +37,7 @@ from graphics_graph_event import GraphicsGraphEvent
class GraphicsAxisItem(QGraphicsItemGroup, GraphicsGraphEvent):
class GraphicsAxisItem(QGraphicsItemGroup):
_scale: float = 1.0 # static, changed from MainWindow
_width: float
@@ -55,7 +55,7 @@ class GraphicsAxisItem(QGraphicsItemGroup, GraphicsGraphEvent):
# self.setFlag(QGraphicsItem.ItemIsSelectable)
# self.setAcceptHoverEvents(True)
self.update(width, height, x_indent)
self.update_(width, height, x_indent)
@property
@@ -82,7 +82,7 @@ class GraphicsAxisItem(QGraphicsItemGroup, GraphicsGraphEvent):
# for child in self._axis.values():
# del child
def update(self, width, height, x_indent) -> None:
def update_(self, width, height, x_indent) -> None:
self._width = width
self._height = height
self._x_indent = x_indent
Loading