What is QgsMapCanvasItem::QgsMapCanvasItem() and setFlag() doing?
What is QgsMapCanvasItem::QgsMapCanvasItem() and setFlag() doing?
Last edited by ChrisW67; 17th January 2012 at 08:12.
"We can't solve problems by using the same kind of thinking we used when we created them." -- Einstein
If you are posting code then please use [code] [/code] tags around it - makes addressing the problem easier.
Hi ChrisW67,
The QgsMapCanvasItem is a class of QGis library. you can see the constructor of QgsMapcanvasItem here:http://qgis.org/api/qgsmapcanvasitem_8cpp-source.html. The setFlag is a member function of QGraphicsItem class: http://developer.qt.nokia.com/doc/qt...m.html#setFlag
Bookmarks