How to catch resize event?



  • Hello!

    I've implemented a subclass of QQuickPaintedItem and I need to catch resize event so I can perform only needed operations in paint method. Is there such a way?

    Thank you for attention.



  • You have onWidthChanged / onHeightChanged slots in QML and widthChanged / heightChanged signals in C++.

    But I'm not sure this is what you're searching for.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.