Event called upon window resize
I created a “Qt Gui Application” project with Qt creator 2.3.1
The project creates: main.cpp, mainwindow (cpp+h).
I want to add an event that will be called whenever the window is resized (with mouse).
But when I clicked 'Go To slot ...' I did not find such an event.
Can you help ?
An event is not a slot. The event you are looking for is "QResizeEvent":http://doc.qt.nokia.com/latest/qresizeevent.html.
And it will be send to QWidget::resizeEvent() which you can reimplement in your widget.