Thanks for your advice. I adapted the code according to your remarks, but I still need the call inside the timerEvent() method, otherwise the widget won't get updated.
EDIT: i finally got it. Thie problem was not the update() call but the way I called the setValue()-method.
I tried to call setValue() with ++_value or --_value. This of course manipulates _value directly before calling the method with the same new _value.
But my setValue() method begins with a check if the given integer parameter is different to the actual _value (because I want to emit a valueChanged() signal from that method). Of course, this will never be true, because of the direct manipulation of _value with ++ and --.
Anyway, thanks for you help!
Bookmarks