Qt6 topics merged with General

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