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 | 1615 | October 18, 2020 | |
| updateParameterNodeFromGUI not called when ui is updated because connect() don't work | 4 | 262 | June 2, 2023 | |
| Custom Signal/Slots with PythonQt | 8 | 4388 | May 25, 2020 | |
| Custom Python QDialog crash | 4 | 1733 | January 22, 2020 | |
| Add and connect properly GUI components to Slicer module | 2 | 626 | December 31, 2019 |