Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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