Get notification of QGraphicsView resizing
Apologies if this is a really trivial problem, but I have been unable to figure out how to detect when a QGraphicsView is resized. I need to pass this information to a QGraphicsWidget contained in the QGraphicsScene displayed by the QGraphicsView.
Any pointers appreciated!
QAbstractScrollArea is ancestor of QGraphicsView, so you can reimplement "QAbstractScrollArea::resizeEvent":http://qt-project.org/doc/qt-4.8/qabstractscrollarea.html#resizeEvent
Arggh! Of course. Thank you!