Hi Gino,

Thanks for your interest, I got a reply on stackoverflow.
One told me to use setFocusProxy(mCombo); and this works well!

Anyway, I thought first of using mouse press event filtering, but I wasn't sure how to deal with it.

Cheers,

Denis

On 08.05.2014 08:19, Gino Pirelli wrote:
do you mind to use hover events to enable or filter click event?


On 7 May 2014 08:38, Denis Rouzaud <[email protected] <mailto:[email protected]>> wrote:

    Hi all,

    Nyall is using the new QgsFieldExpressionWidget as an item
    delegate and there's a problem with clicking on the button.

    Indeed, pressing on the button (to open the expression dialog)
    works only and only if the combo box has the focus.

    For a demo, see http://youtu.be/o5AgjC4cCqY

    Do you have any idea how to handle this?

    Thanks a lot,

    Denis

    PS: I posted the same question on stackoverflow:
    
http://stackoverflow.com/questions/23510297/qt-itemdelegate-with-a-tool-button-cant-click
    _______________________________________________
    Qgis-developer mailing list
    [email protected] <mailto:[email protected]>
    http://lists.osgeo.org/mailman/listinfo/qgis-developer



_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to