Bug report #14817

composerLegendAdded signal returns QObject instead of QgsComposerLegend

Added by Christophe Damour over 7 years ago. Updated almost 6 years ago.

Category:Map Legend
Affected QGIS version:2.14.2 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:wontfix
Crashes QGIS or corrupts data:No Copied to github as #:22772


I am trying to connect a plugin function to the composerLegendAdded signal, and I can't get the legend position using composerLegend.pagePos().
The error message is 'QObject' object has no attribute 'pagePos'.


#1 Updated by Christophe Damour about 7 years ago

Still there in 2.14.4 ...

#2 Updated by Giovanni Manghi over 6 years ago

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

#3 Updated by Nyall Dawson almost 6 years ago

  • Resolution set to wontfix
  • Status changed from Open to Closed
  • Description updated (diff)

Signal is removed in QGIS 3.0

Also available in: Atom PDF