Bug report #14272

Feature request #6237: Show feature count in composer legend

QDialogProgress used in QgsVectorLayer::countSymbolFeatures

Added by René-Luc ReLuc about 8 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Vectors
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:22266

Description

Folliwing the vector feature counts moved to vector layer commit 038acbc76083dae3fd29795b9e73d97cd92c3d3a fixes #6237, QDialogProcess is used in QgsVectorLayer::countSymbolFeatures. But no GUI tools has to be hardcoded in core.

QgsVectorLayer::countSymbolFeatures has a parameter showProgress with defaut value to True.

The method countSymbolFeatures is used in QgsLegendModel and QgsMapLayerLegend without parameter.

History

#1 Updated by René-Luc ReLuc about 8 years ago

To fix it, it's probably possible to simply remove the use of QDialogProgress. Any thoughts ?

#2 Updated by René-Luc ReLuc about 8 years ago

  • Pull Request or Patch supplied changed from No to Yes

#3 Updated by Giovanni Manghi almost 8 years ago

  • Priority changed from High to Normal

#4 Updated by Giovanni Manghi almost 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#5 Updated by Nyall Dawson over 5 years ago

  • Resolution set to fixed/implemented
  • Description updated (diff)
  • Status changed from Open to Closed

Not an issue in 3.x

Also available in: Atom PDF