I'm developping a standalone application (Python, Qt, Qgis) and I would like to 
read some settings that I currently use in my Qgis projects : PostGis and 
Spatialite connections.
I suppose I can get this values with QSettings, but I'm not sure.
Is it the right way to do this ?
I'm testing with the code below, with no result :
        settings = QSettings()
        settings.beginGroup("/PostgreSQL/connections")
        keys = settings.childGroups()

        for name in keys:
            QMessageBox.warning(self,"Information",str(name))


Any idea ?

Thanks
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to