I wrote some custom layouts (BorderLayout, HVSequenceLayout) for Jambi. The 
layouts work as expected but i have a problem when the layout size changes:

I have a login dialog for my application with username, password and a Login 
Button.
(implemented with a QMainWindow as widget of a SubWindow in an MdiArea)

The same dialog will be used for password change.

The user can change it's password during login, so it's possible to switch the 
pwd-dialog mode. In that case, the invisible fields will be visible/invisible 
and the dialog should resize.
-> And the dynamic resize is the problem!

I tried to call adjustSize but that didn't do anything. 

I found some ?problems? with layouting events:

EVENT Show
EVENT ShowToParent
EVENT LayoutRequest
EVENT Paint
EVENT Paint
EVENT LayoutRequest
EVENT LayoutRequest


The LayoutRequest event came to late, because the dialog is visible and then it 
receives the LayoutRequest. Through this LayoutRequest the layout will 
calculate the preferred size, but "too late", because the dialog doesn't change 
its size.

I tried a lot of things, maybe anyone out there can help me solving my problem 
or can explain the behaviour?
-- 
Nur bis 16.03.! DSL-Komplettanschluss inkl. WLAN-Modem für nur 
17,95 ¿/mtl. + 1 Monat gratis!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to