<p dir="ltr"><br>
On 10 Feb 2016 7:57 AM, "Nathan Woodrow" <<a href="mailto:madmanwoo@gmail.com">madmanwoo@gmail.com</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 href="mailto:rldhont@gmail.com">rldhont@gmail.com</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 href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
>> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
>> Unsubscribe: <a 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 href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</p>