summaryrefslogtreecommitdiff
path: root/resDockWidget.py
diff options
context:
space:
mode:
authorlucaszhao192020-01-03 17:09:38 +0530
committerlucaszhao192020-01-03 17:09:38 +0530
commit39ecc236c572ae17343b9afb39997233e7eb28f0 (patch)
treed794428f535e670305a2d24091e10b132deb6292 /resDockWidget.py
parente090ba60f611d05d30f5e329536384be0b5f4d6e (diff)
downloadChemical-Simulator-GUI-39ecc236c572ae17343b9afb39997233e7eb28f0.tar.gz
Chemical-Simulator-GUI-39ecc236c572ae17343b9afb39997233e7eb28f0.tar.bz2
Chemical-Simulator-GUI-39ecc236c572ae17343b9afb39997233e7eb28f0.zip
Merged changes, load implemented (WIP)
Diffstat (limited to 'resDockWidget.py')
-rw-r--r--resDockWidget.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/resDockWidget.py b/resDockWidget.py
index 89a173c..69485ea 100644
--- a/resDockWidget.py
+++ b/resDockWidget.py
@@ -6,6 +6,8 @@ import pandas as pd
from functools import partial
from component_selector import *
from collections import defaultdict
+from container import *
+
ui_dialog,_ = loadUiType('resDock.ui')
class resdockWidget(QDockWidget,ui_dialog):
@@ -84,7 +86,7 @@ class resdockWidget(QDockWidget,ui_dialog):
def results(self): # Should be named as selecting object whose result is to be displayed
self.nameType={}
- for i in self.Container.unitOp:
+ for i in unitOp:
#nameslist.append(i.name)
self.nameType[i.name] = i.type
self.comboBox.addItem(str(i.name)) \ No newline at end of file