I mean kill the timer when item is hidden and start it again when it is shown. The itemChanged() method provides needed data.
I mean kill the timer when item is hidden and start it again when it is shown. The itemChanged() method provides needed data.
How comes startTimer and timerEvent are available in MyTextItem even though it and its ancestors do not inherit from QObject? and it is only QObject that provides these methods.
I am pretty confused about the fact that the code compiles at all!![]()
QGraphicsTextItem inherits QObject.
Look QGraphicsTextItem![]()
The biggest difference between time and space is that you can't reuse time.
-- Merrick Furst
Bookmarks