Changes between Initial Version and Version 1 of Ticket #8783, comment 6
- Timestamp:
- Apr 4, 2023, 1:46:47 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8783, comment 6
initial v1 1 Yeah, signals are weird (https://www.riverbankcomputing.com/static/Docs/PyQt5/signals_slots.html). I mean, they're class variables that become "bound" when an instance references them (sort of like bound methods). So I have the feeling they're never destroyed, so PyQt can figure out that when you call emit() on them it should complain -- it just calls the bound method which goes straight to the dead tool that contained the ColorButton.1 Yeah, signals are weird (https://www.riverbankcomputing.com/static/Docs/PyQt5/signals_slots.html). I mean, they're class variables that become "bound" when an instance references them (sort of like bound methods). So I have the feeling they're never destroyed, so PyQt can figure out that when you call emit() on them it should complain -- it just calls the bound method which goes straight to the dead tool that contained the !ColorButton.