mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Scenario: Add X, Y position for tree display.
This commit is contained in:
1 parent
b634acec67
commit
b8ed3d8954
3 files changed
+36
-8
No files matched your search
@@ -53,6 +53,8 @@ class ScenarioItem(QGraphicsTextItem):
|
||||
self.graph = graph_widget
|
||||
self.scenario = scenario
|
||||
|
||||
self.setPos(QPointF(self.scenario.x, self.scenario.y))
|
||||
|
||||
self.setPlainText(self.scenario.name)
|
||||
self.setDefaultTextColor(Qt.black)
|
||||
|
||||
|
||||
Reference in new issue
Block a user