In reply to underdark. Yeah I debug my code.It works fine when I loaded a layer.And if I r...
https://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/#comment-11360
In reply to farook. You need to add error handling.
https://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/#comment-11359
Hi. I tried similar plugin in qgis2.6.It works fine when there is a layer and throws an error when there is no layer.The error is QMessageBox.information(self.iface.mainWindow(),"feature count","...
https://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/#comment-11355
In reply to underdark. Yes, it's that. And you need to write "QMessageBox" after "from PyQ...
https://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/#comment-10404
In reply to Kathy. I think you need to import it from qgis.core
https://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/#comment-10394
In reply to underdark. Hi :-) Thank you for your answer. I think they gonna kill me becaus...
https://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/#comment-10391
In reply to Kathy. Hi Kathy, Please ask this question on the QGIS developer mailing list. ...
https://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/#comment-10343
Hello, I tried to follow your article and met a problem when I "reloaded" my plugin "plop" in Qgis : "Une erreur est apparue lors de l'exécution du code Python : Traceback (most recent call last...
https://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/#comment-10340
In case anyone has trouble finding "Plugin Reloader", make sure to have "Show also experiment plugins" checked in Plugin Settings. Reload QGIS if necessary after changing the setting.
https://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/#comment-8639
found it...(Import Directive in the.py file was not amended). "wer lesen kann ist klar im Vorteil" ;-)
https://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/#comment-8468