[Qgis-developer] Python Macros Example - Project Proprieties

jonnyforest joaofrgaspar at gmail.com
Wed Mar 5 04:09:00 PST 2014


I guys i discover the error.

In screenshot of documentation for python macros is:

/def openProject():
    msgbar = iface.messageBar()
    msgbar.PushMessage('WARNING', 'project contains sensitive data',
                       QgsMessageBar.WARNING,10)
/

but is:

/def openProject():
    msgbar = iface.messageBar()
    msgbar.*pushMessage*('WARNING', 'project contains sensitive data',
                       QgsMessageBar.WARNING,10)
/

I will report in community team.

Regards
João



-----
__________________________________________________________ 
"A palavra impossível é uma expressão infeliz; nada se pode esperar daqueles que a usam frequentemente" [Carlyle, Thomas] 

Linkedin: http://pt.linkedin.com/in/joaofiliperodriguesgaspar 
Transifex: https://www.transifex.com/accounts/profile/jonny_forest/ 
Github: https://github.com/jonnyforestGIS 
Osgeo Wiki: http://wiki.osgeo.org/wiki/Jo%C3%A3o_Gaspar 




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Python-Macros-Example-Project-Proprieties-tp5107558p5107658.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list