[SOLVED] window maximize signal
-
Hi there
I want to save my windows geometry every time it changes. Are there any signals I can use for this. I thought best way would be something with a connect like:
@
connect(this->window, SIGNAL(resized()), ..., ...);
@But it wasn't possible to find something useful, therefore I post it quickly!
Thx for any help.
-
How about reacting to a resize event in your main window?
-
If you do that (you can by reimplementing the relevant virtual method), don't forget to call the baseclass implementation for them in your reimplementation. Otherwise, you're going to see some funny results...
-
Maybe you want to check out "QResizeEvent":/doc/qt-4.8/qresizeevent.html class ;)