[Interest] How to detect moment when window/widget fully resized at startup?

Igor Mironchik igor.mironchik at gmail.com
Mon Jan 19 09:48:22 CET 2015


Hi. I have one not very simple question. I need to know the size of the  
window when it launched and all Qt/OS preparations done.

For example, in main() I launch QWidget::showMaximized(). On my Windows 7  
this leads to resizeEvent( 640, 480 ) -> resizeEvent( 640, 480 ) when  
actual size of the window is( 1366, 706 ). And I don't know when to get  
the size() property of my widget to be sure that it is resized.

How to detect this moment in Qt?

Thank you.

-- 
Best Regards,
Igor Mironchik.



More information about the Interest mailing list