Please comment: ComboBoxWidget change

Germain Garand germain at ebooksfrance.org
Sun Oct 5 19:53:36 BST 2008


Le dimanche 5 octobre 2008, Harri Porten a écrit :
> 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?
>

that's what we do with KCompetionBox's popup menu.

unfortunately, QComboBox doesn't seem to offer the necessary hooks to the 
actual popup widget, so we cannot set the position we want.

Greetings,
Germain




More information about the kfm-devel mailing list