[Qgis-developer] ItemDelegate with a tool button: can't click
denis.rouzaud at gmail.com
Wed May 7 23:43:18 PDT 2014
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.
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 <denis.rouzaud at gmail.com
> <mailto:denis.rouzaud at gmail.com>> 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,
> PS: I posted the same question on stackoverflow:
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org <mailto:Qgis-developer at lists.osgeo.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer