Bug report #14817

composerLegendAdded signal returns QObject instead of QgsComposerLegend

Added by Christophe Damour over 8 years ago. Updated about 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
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

Description

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'.

History

#1 Updated by Christophe Damour over 8 years ago

Still there in 2.14.4 ...

#2 Updated by Giovanni Manghi over 7 years ago

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

#3 Updated by Nyall Dawson about 7 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