if main application is maximized/minimized are their any signals emitting?
if main application is maximized/minimized are their any signals emitting?
Yes. These things are unrelated.
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.
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
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
Bookmarks