Hi,
I've opened an issue http://hub.qgis.org/issues/14272
And proposed code https://github.com/qgis/QGIS/pull/2780
Thanks for review.
René-Luc
Le 10/02/2016 00:32, Nyall Dawson a écrit :
On 10 Feb 2016 7:57 AM, "Nathan Woodrow" <[email protected]
<mailto:[email protected]>> wrote:
>
> Hi,
>
> No it would not be the correct place. No gui stuff like that should
live in core.
>
> Consider it a bug for 2.14 and should be fixed
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.
Nyall
>
> - Nathan
>
>
> On Wed, 10 Feb 2016 1:43 am René-Luc Dhont <[email protected]
<mailto:[email protected]>> wrote:
>>
>> Hi Dev,
>>
>> A new QGIS Server feature : showFeatureCount, uses the method
>> QgsVectorLayer::countSymbolFeatures to display feature count in legend.
>> But this feature doesn't work if a fake X server is not used.
>>
>> I discovered that the method QgsVectorLayer::countSymbolFeatures
>> initialized a QDialogProgress. I wondered if this was the right
place to
>> initialize a dialog ?
>>
>> Regards,
>> René-Luc D'Hont
>> _______________________________________________
>> Qgis-developer mailing list
>> [email protected] <mailto:[email protected]>
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> _______________________________________________
> Qgis-developer mailing list
> [email protected] <mailto:[email protected]>
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer