Please comment: ComboBoxWidget change

Harri Porten porten at froglogic.com
Sun Oct 5 04:31:35 BST 2008


On Sun, 5 Oct 2008, Rafael Fernández López wrote:

> First of all, thanks for your time and investigations. The reason of this
> setParent() calls is to make the dropdown list be correctly positioned when
> you click on the combobox and it is into an iframe. We need to reparent it, so
> we are talking correctly about its coordinates.

But coordinates can be calculated with the appropriate mapTo() and 
mapFrom() calls, too, no?

> I actually think your patch looks good, but I wonder if an update() wouldn't
> work.

Didn't do the job. QWidget::update() is a noop if isVisible() returns 
false.

I noticed the other problems you described, too.

Harri.


More information about the kfm-devel mailing list