Add scheduler GUI
Compare changes
Files
3- Oscar Gustafsson authored
@@ -2,7 +2,8 @@
@@ -2,7 +2,8 @@
@@ -44,10 +45,15 @@ class GraphicsAxesItem(QGraphicsItemGroup):
@@ -44,10 +45,15 @@ class GraphicsAxesItem(QGraphicsItemGroup):
@@ -198,19 +204,23 @@ class GraphicsAxesItem(QGraphicsItemGroup):
@@ -198,19 +204,23 @@ class GraphicsAxesItem(QGraphicsItemGroup):
x_pos -= self.mapRectFromItem(self._x_scale_labels[index], self._x_scale_labels[index].boundingRect()).width()/2
self._x_ledger.insert(index, GraphicsTimelineItem(0, 0, 0, -(self._height_indent + self._height + self._height_padding)))
self._x_ledger.insert(index, QGraphicsLineItem(0, 0, 0, -(self._height_indent + self._height + self._height_padding)))
@@ -238,10 +248,10 @@ class GraphicsAxesItem(QGraphicsItemGroup):
@@ -238,10 +248,10 @@ class GraphicsAxesItem(QGraphicsItemGroup):
@@ -251,9 +261,11 @@ class GraphicsAxesItem(QGraphicsItemGroup):
@@ -251,9 +261,11 @@ class GraphicsAxesItem(QGraphicsItemGroup):
x_pos += self.mapRectFromItem(self._x_arrow, self._x_arrow.boundingRect()).width()/2 # + half arrow width
x_pos -= self.mapRectFromItem(self._x_label, self._x_label.boundingRect()).width()/2 # - center of label
@@ -265,6 +277,8 @@ class GraphicsAxesItem(QGraphicsItemGroup):
@@ -265,6 +277,8 @@ class GraphicsAxesItem(QGraphicsItemGroup):