Hello all, i'm writing a python plugin and use QgsTextAnnotationItem like message = "Hello world" textItem = QgsTextAnnotationItem( iface.mapCanvas() ) textItem.setMapPosition(myPoint) textItem.setFrameSize(QSizeF(350,80)) textItem.setDocument(QTextDocument(message)) textItem.update()
How can I format the text like message = "Hello <b>world</b>" (this will not work ;-) Thanks for any help Siggi _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer