Have a read of this old post of mine seen below. I generally prefer the new style Qt signal/slot method of {object}.{signal_name}.connect({slot_name})
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to use signals and slots in Slicer 3d? | 5 | 1543 | October 18, 2020 | |
updateParameterNodeFromGUI not called when ui is updated because connect() don't work | 4 | 228 | June 2, 2023 | |
Custom Signal/Slots with PythonQt | 8 | 4159 | May 25, 2020 | |
Custom Python QDialog crash | 4 | 1663 | January 22, 2020 | |
Add and connect properly GUI components to Slicer module | 2 | 601 | December 31, 2019 |