[Qgis-user] python macros is working?
ASAHI Kosuke
asahi at hcc.co.jp
Thu Sep 27 22:43:10 PDT 2012
Hi all,
When I use python console, following small code works fine.
def openProject():
view = qgis.gui.QgsMessageViewer()
view.setMessage("test", qgis.core.QgsMessageOutput.MessageText)
view.showMessage(True)
openProject()
I typed following code to Python macros Tab on QGIS Master.
Nothing happen, after Save and Open Porject.
def openProject():
view = qgis.gui.QgsMessageViewer()
view.setMessage("test", qgis.core.QgsMessageOutput.MessageText)
view.showMessage(True)
def saveProject():
pass
def closeProject():
pass
Do I need to change any settings or my code?
Regards,
--
ASAHI Kosuke
More information about the Qgis-user
mailing list