<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I've opened an issue <a class="moz-txt-link-freetext" href="http://hub.qgis.org/issues/14272">http://hub.qgis.org/issues/14272</a><br>
And proposed code <a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/pull/2780">https://github.com/qgis/QGIS/pull/2780</a><br>
<br>
Thanks for review.<br>
René-Luc<br>
<br>
<div class="moz-cite-prefix">Le 10/02/2016 00:32, Nyall Dawson a
écrit :<br>
</div>
<blockquote
cite="mid:CAB28Asjwaq--_ug-e8U_cY-nViHHqteSQrBkPm80wiL-hWxz6w@mail.gmail.com"
type="cite">
<p dir="ltr"><br>
On 10 Feb 2016 7:57 AM, "Nathan Woodrow" <<a
moz-do-not-send="true" href="mailto:madmanwoo@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:madmanwoo@gmail.com">madmanwoo@gmail.com</a></a>>
wrote:<br>
><br>
> Hi,<br>
><br>
> No it would not be the correct place. No gui stuff like
that should live in core.<br>
><br>
> Consider it a bug for 2.14 and should be fixed</p>
<p dir="ltr">Haven't we also talked about moving this to the data
provider, so that we can take advantage of calculating the count
using compiled expressions, etc? That'd be another (good)
alternative to this method.</p>
<p dir="ltr">Nyall</p>
<p dir="ltr">><br>
> - Nathan<br>
><br>
><br>
> On Wed, 10 Feb 2016 1:43 am René-Luc Dhont <<a
moz-do-not-send="true" href="mailto:rldhont@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:rldhont@gmail.com">rldhont@gmail.com</a></a>>
wrote:<br>
>><br>
>> Hi Dev,<br>
>><br>
>> A new QGIS Server feature : showFeatureCount, uses the
method<br>
>> QgsVectorLayer::countSymbolFeatures to display feature
count in legend.<br>
>> But this feature doesn't work if a fake X server is not
used.<br>
>><br>
>> I discovered that the method
QgsVectorLayer::countSymbolFeatures<br>
>> initialized a QDialogProgress. I wondered if this was
the right place to<br>
>> initialize a dialog ?<br>
>><br>
>> Regards,<br>
>> René-Luc D'Hont<br>
>> _______________________________________________<br>
>> Qgis-developer mailing list<br>
>> <a moz-do-not-send="true"
href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
>> List info: <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
>> Unsubscribe: <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
><br>
><br>
> _______________________________________________<br>
> Qgis-developer mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
> List info: <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</p>
</blockquote>
<br>
</body>
</html>