[Qgis-developer] Plugin Settings

Martin Dobias wonder.sk at gmail.com
Thu Dec 30 04:18:16 EST 2010


On Tue, Dec 28, 2010 at 11:08 AM, jude mwenda <judemwenda at gmail.com> wrote:
> Hi,
> I am building a plugin that takes in details that should be secure. I have
> been able to create the settings dialogue. Not sure how about to save the
> settings people key in. Should settings be stored in a .ini file or using
> Qsettings that have seen but no examples. anyone with a qsettings example
> that i could have a look and which is better of the two, the .ini file
> approach or Qsettings.

Hi Jude

I have put together a small section regarding reading and storing settings:
http://www.qgis.org/pyqgis-cookbook/settings.html

Hope that helps...

Martin


More information about the Qgis-developer mailing list