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!![]()
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