That's exactly the same what Jpn suggested.
That's exactly the same what Jpn suggested.
The method from the book that Jpn suggested uses QActions and signals.what is the difference? between these 2 ways?
I find it also better, so use it.
The other method is using an event, which probably is what happens with the signal method behind the scenes.
Bookmarks