Event called upon window resize
Qt Creator and other tools
4
Posts
3
Posters
11.5k
Views
1
Watching
-
Hello,
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 ?
Thanks,
Zvika. -
An event is not a slot. The event you are looking for is "QResizeEvent":http://doc.qt.nokia.com/latest/qresizeevent.html.