summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrenda-br2023-01-19 14:50:28 +0530
committerbrenda-br2023-01-19 14:50:28 +0530
commit970f872b4ad94cc822b008e95093b5ebfc84adb4 (patch)
tree0580f64732468579d37b351da5b26abaabe962b7
parent474b6c930b9983fa36746bd43f54138af6767aaa (diff)
downloadChemical-Simulator-GUI-970f872b4ad94cc822b008e95093b5ebfc84adb4.tar.gz
Chemical-Simulator-GUI-970f872b4ad94cc822b008e95093b5ebfc84adb4.tar.bz2
Chemical-Simulator-GUI-970f872b4ad94cc822b008e95093b5ebfc84adb4.zip
Fix #38 Tooltip Updated when values are submitted
-rw-r--r--DockWidgets/DockWidget.py7
-rw-r--r--DockWidgets/DockWidgetCompressorExpander.py8
-rw-r--r--DockWidgets/DockWidgetMaterialStream.py8
-rw-r--r--DockWidgets/__pycache__/DockWidget.cpython-37.pycbin4730 -> 4849 bytes
-rw-r--r--DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pycbin8986 -> 9094 bytes
-rw-r--r--Undo.datbin1014 -> 4468 bytes
6 files changed, 23 insertions, 0 deletions
diff --git a/DockWidgets/DockWidget.py b/DockWidgets/DockWidget.py
index e7e5b8b..cc222db 100644
--- a/DockWidgets/DockWidget.py
+++ b/DockWidgets/DockWidget.py
@@ -92,6 +92,13 @@ class DockWidget(QDockWidget,ui_dialog):
print("param ", self.dict)
self.obj.param_setter(self.dict)
+ for i in self.container.graphics.graphicsView.items():
+ try:
+ if(i.name == self.name):
+ i.update_tooltip()
+ except:
+ pass
+
self.hide()
except Exception as e:
diff --git a/DockWidgets/DockWidgetCompressorExpander.py b/DockWidgets/DockWidgetCompressorExpander.py
index 5309bba..cd0135c 100644
--- a/DockWidgets/DockWidgetCompressorExpander.py
+++ b/DockWidgets/DockWidgetCompressorExpander.py
@@ -100,6 +100,14 @@ class DockWidgetCompressorExpander(QDockWidget,ui_dialog):
break
self.obj.param_setter(self.dict)
+
+ for i in self.container.graphics.graphicsView.items():
+ try:
+ if(i.name == self.name):
+ i.update_tooltip()
+ except:
+ pass
+
self.hide()
except Exception as e:
diff --git a/DockWidgets/DockWidgetMaterialStream.py b/DockWidgets/DockWidgetMaterialStream.py
index 09cddf4..3c8a90f 100644
--- a/DockWidgets/DockWidgetMaterialStream.py
+++ b/DockWidgets/DockWidgetMaterialStream.py
@@ -166,6 +166,14 @@ class DockWidgetMaterialStream(QDockWidget,ui_dialog):
#print("param ", self.dict)
self.obj.param_setter(self.dict)
+
+ for i in self.container.graphics.graphicsView.items():
+ try:
+ if(i.name == self.name):
+ i.update_tooltip()
+ except:
+ pass
+
self.hide()
except Exception as e:
diff --git a/DockWidgets/__pycache__/DockWidget.cpython-37.pyc b/DockWidgets/__pycache__/DockWidget.cpython-37.pyc
index b0cf5d3..68c70fb 100644
--- a/DockWidgets/__pycache__/DockWidget.cpython-37.pyc
+++ b/DockWidgets/__pycache__/DockWidget.cpython-37.pyc
Binary files differ
diff --git a/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc b/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc
index 29c3683..73f30b6 100644
--- a/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc
+++ b/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc
Binary files differ
diff --git a/Undo.dat b/Undo.dat
index 01eaa36..5a8b294 100644
--- a/Undo.dat
+++ b/Undo.dat
Binary files differ