summaryrefslogtreecommitdiff
path: root/container.py
diff options
context:
space:
mode:
authorlucaszhao192020-02-05 17:58:00 +0530
committerlucaszhao192020-02-05 17:58:00 +0530
commit38dbff48f57c403abdc575a9cd9d0bbf512bfef6 (patch)
tree7aed3e55ee894115fb29d823a69cdd626fd5c9f7 /container.py
parent7ecaa6f103b2755dc3bb3fae10a0d7ab28162596 (diff)
downloadChemical-Simulator-GUI-38dbff48f57c403abdc575a9cd9d0bbf512bfef6.tar.gz
Chemical-Simulator-GUI-38dbff48f57c403abdc575a9cd9d0bbf512bfef6.tar.bz2
Chemical-Simulator-GUI-38dbff48f57c403abdc575a9cd9d0bbf512bfef6.zip
Input/Results DockWidgets, Newly implemented variables for MaterialStream and four UnitOps
Diffstat (limited to 'container.py')
-rw-r--r--container.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/container.py b/container.py
index 6cfc689..cc10c38 100644
--- a/container.py
+++ b/container.py
@@ -73,7 +73,7 @@ class Container():
box = None
self.obj = obj
self.scene = self.graphics.getScene()
- box = self.graphics.createNodeItem(self.obj)
+ box = self.graphics.createNodeItem(self.obj, self)
self.scene.addItem(box)
box.setPos(2500-30, 2500-30)
@@ -131,6 +131,8 @@ class Container():
self.result=self.flowsheet.resdata
print("under Eqn mode simulation")
+ DockWidget.showResult(NodeItem.getDockWidget())
+
def flatlist(lst):
flat_list=[]
for sublist in lst: