<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Gino,<br>
<br>
Thanks for your interest, I got a reply on stackoverflow.<br>
One told me to use setFocusProxy(mCombo); and this works well!<br>
<br>
Anyway, I thought first of using mouse press event filtering, but I
wasn't sure how to deal with it.<br>
<br>
Cheers,<br>
<br>
Denis<br>
<br>
<div class="moz-cite-prefix">On 08.05.2014 08:19, Gino Pirelli
wrote:<br>
</div>
<blockquote
cite="mid:CAFO80_pPK1xn0QSZ9psP1U-vUbYTHg87iXGa98U0SUKnhV8oZQ@mail.gmail.com"
type="cite">
<div dir="ltr">do you mind to use hover events to enable or filter
click event?</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 7 May 2014 08:38, Denis Rouzaud <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:denis.rouzaud@gmail.com" target="_blank">denis.rouzaud@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
Nyall is using the new QgsFieldExpressionWidget as an item
delegate and there's a problem with clicking on the button.<br>
<br>
Indeed, pressing on the button (to open the expression
dialog) works only and only if the combo box has the focus.<br>
<br>
For a demo, see <a moz-do-not-send="true"
href="http://youtu.be/o5AgjC4cCqY" target="_blank">http://youtu.be/o5AgjC4cCqY</a><br>
<br>
Do you have any idea how to handle this?<br>
<br>
Thanks a lot,<br>
<br>
Denis<br>
<br>
PS: I posted the same question on stackoverflow: <a
moz-do-not-send="true"
href="http://stackoverflow.com/questions/23510297/qt-itemdelegate-with-a-tool-button-cant-click"
target="_blank">http://stackoverflow.com/questions/23510297/qt-itemdelegate-with-a-tool-button-cant-click</a><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-developer@lists.osgeo.org"
target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-developer"
target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>