Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
>>> QgsComposerShape
<class 'qgis.core.QgsComposerShape'>
>>> QgsComposerLabel
<class 'qgis.core.QgsComposerLabel'>
>>> QgsComposerLegend
<class 'qgis.core.QgsComposerLegend'>
>>> QgsComposerMap
<class 'qgis.core.QgsComposerMap'>
>>> QgsComposerPicture
<class 'qgis.core.QgsComposerPicture'>
>>> QgsComposerScaleBar
<class 'qgis.core.QgsComposerScaleBar'>
**>>> QgsComposerArrow
Traceback (most recent call last):
  File "<input>", line 1, in <module>
NameError: name 'QgsComposerArrow' is not defined**

I need to create a line in composer window from plugin. But there is no definition.

share|improve this question
It might be that the SIP definition is missing for some reason. You may get a better response on the qgis-dev mailing list. – MerseyViking May 14 '12 at 14:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.