Hello,
I want to clarify and underand how to set values from Logic to the GUI.
So, I have a python module and I have Widget class where I define all my controls, for example:
class Widget(ScriptedLoadableModuleWidget):
self.textBox = qt.QLineEdit()
But I want from the Logic class to update the self.textBox text with the value.
class Logic(ScriptedLoadableModuleLogic):
value = 8
What is the right way to do that?