Skip to content
Snippets Groups Projects

Add scheduler GUI

Merged Oscar Gustafsson requested to merge scheduler-gui into master
3 files
+ 24
9
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -22,10 +22,9 @@ class GraphicsComponentItem(QGraphicsItemGroup):
@@ -22,10 +22,9 @@ class GraphicsComponentItem(QGraphicsItemGroup):
"""A class to represent an component in a graph."""
"""A class to represent an component in a graph."""
_scale: float = 1.0
_scale: float = 1.0
"""Static, changed from MainWindow."""
"""Static, changed from MainWindow."""
_op_id: str
_operation: GraphComponent
_height: float
_height: float
_ports: Dict[str, Dict[str, Union[float, QPointF]]] # ['port-id']['latency/pos']
_ports: Dict[str, Dict[str, Union[float, QPointF]]] # ['port-id']['latency/pos']
_execution_time: Union[int, None]
_end_time: int
_end_time: int
_component_item: QGraphicsPathItem
_component_item: QGraphicsPathItem
_execution_time_item: QGraphicsRectItem
_execution_time_item: QGraphicsRectItem
Loading