diff options
author | brenda-br | 2023-01-19 14:50:28 +0530 |
---|---|---|
committer | brenda-br | 2023-01-19 14:50:28 +0530 |
commit | 970f872b4ad94cc822b008e95093b5ebfc84adb4 (patch) | |
tree | 0580f64732468579d37b351da5b26abaabe962b7 | |
parent | 474b6c930b9983fa36746bd43f54138af6767aaa (diff) | |
download | Chemical-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.py | 7 | ||||
-rw-r--r-- | DockWidgets/DockWidgetCompressorExpander.py | 8 | ||||
-rw-r--r-- | DockWidgets/DockWidgetMaterialStream.py | 8 | ||||
-rw-r--r-- | DockWidgets/__pycache__/DockWidget.cpython-37.pyc | bin | 4730 -> 4849 bytes | |||
-rw-r--r-- | DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc | bin | 8986 -> 9094 bytes | |||
-rw-r--r-- | Undo.dat | bin | 1014 -> 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 Binary files differindex b0cf5d3..68c70fb 100644 --- a/DockWidgets/__pycache__/DockWidget.cpython-37.pyc +++ b/DockWidgets/__pycache__/DockWidget.cpython-37.pyc diff --git a/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc b/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc Binary files differBinary files differindex 29c3683..73f30b6 100644 --- a/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc +++ b/DockWidgets/__pycache__/DockWidgetMaterialStream.cpython-37.pyc |