[Interest] Animating a border around a QWidget

Michael Jackson imikejackson at gmail.com
Thu Apr 30 17:41:38 CEST 2015


I would like to animate a border around a QWidget. Currently I set the border using a CSS style sheet programmatically. I would like to animate the border thickness going between 1 and 4 pixels thick at some rate. I have tried this with a QTimer and adjusting the style sheet but this took up a LOT of processor when we had tens of these widgets showing. Is there a more efficient way to be trying this? With the AnimationFramework? This is with Qt5.

Thanks
Mike Jackson



More information about the Interest mailing list