On Freitag, 24. Oktober 2008, Duncan Mac-Vicar Prett wrote:
> Stefan Hundhammer wrote:
> > There is some code that was #ifdef'ed out during the Qt4 migration
> > because it use a different approach for some things. Calculating the main
> > dialog default size was among that.
>
> Can you point me to that code so we can port it?

http://svn.opensuse.org/svn/yast/trunk/qt/src/YQUI.cc

Everything with _main_win plus calcDefaultSize(). What we had done in old 
versions (that code goes a long way back) was let Qt assign any -geometry 
parameters to that _main_win and retrieve the size of that window for the 
UI's default size. That was never the best approach to begin with.


CU
-- 
Stefan Hundhammer <[EMAIL PROTECTED]>                Penguin by conviction.
YaST2 Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Nürnberg, Germany
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to