[Qgis-community-team] An error in Documentation Snapshot of Macro Python

Alexandre Neto senhor.neto at gmail.com
Wed Mar 5 04:38:02 PST 2014


I will take care of that.

Alexandre Neto


On Wed, Mar 5, 2014 at 12:22 PM, jonnyforest <joaofrgaspar at gmail.com> wrote:

> I guys,
>
> in
>
> http://qgis.org/en/docs/user_manual/introduction/qgis_configuration.html#project-properties
> <
> http://qgis.org/en/docs/user_manual/introduction/qgis_configuration.html#project-properties
> >
>
> the snapshot of python code have an error the fix is:
>
> /from qgis.utils import iface
> from qgis.gui import QgsMessageBar
>
> def openProject():
>     msgbar = iface.messageBar()
>     msgbar.*pushMessage*('WARNING', 'project contains sensitive data',
>                        QgsMessageBar.WARNING,10)
>
> def saveProject():
>     pass
>
> def closeProject():
>     pass/
>
> I put the fix in bold.
>
> Regards
>
>
>
> -----
> __________________________________________________________
> "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/An-error-in-Documentation-Snapshot-of-Macro-Python-tp5107659.html
> Sent from the Quantum GIS - Community Team mailing list archive at
> Nabble.com.
> _______________________________________________
> Qgis-community-team mailing list for organizing community resources such
> as documentation, translation etc..
> Qgis-community-team at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-community-team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-community-team/attachments/20140305/5ca87e1b/attachment.html>


More information about the Qgis-community-team mailing list