Are there any signals emitting while minimize/maximize the application
if main application is maximized/minimized are their any signals emitting?
Re: Are there any signals emitting while minimize/maximize the application
Yes. These things are unrelated.
Re: Are there any signals emitting while minimize/maximize the application
then how to known when the app. is maximized/minimized , my problem is, if i known when app. is maximized/minimized then i can resize widget in that app.
Re: Are there any signals emitting while minimize/maximize the application
One way you can re-implement void QWidget::changeEvent ( QEvent * event );
and look for QEvent::WindowStateChange
or install an event filter to catch QEvent::WindowStateChange
I somehow have a feeling that this will not solve your propblem:(
Re: Are there any signals emitting while minimize/maximize the application
Quote:
Originally Posted by
narlapavan
then how to known when the app. is maximized/minimized , my problem is, if i known when app. is maximized/minimized then i can resize widget in that app.
resizing should be done with layouts otherwise you are asking for trouble (unless you really know what you are doing.)
Re: Are there any signals emitting while minimize/maximize the application
Quote:
Originally Posted by
narlapavan
then how to known when the app. is maximized/minimized , my problem is, if i known when app. is maximized/minimized then i can resize widget in that app.
Why do you want to resize a widget if it is minimized to the taskbar (i.e. its window is not visible)?