[Qt-interest] A Question about using QSettings

Tiago Correia tiago at cnotinfor.pt
Thu Jan 14 02:16:39 CET 2010


Hi,

QSettings is enough I think. And you can even use just 1 file.

QSeetings supports groups, and a groups can have a sub group, so you can
play a little with this.

Also I recommend that you use the default locations, the make sure the
application works even if it is a user without admin privileges.

On Thu, Jan 14, 2010 at 12:23 AM, Dan White <ygor at comcast.net> wrote:

> I have an application with an increasingly complex set of GUI controls.
> I want to try and save the control settings so that the user can
> return to the application to the same state without having to
> reconfigure each control.
>
> QSettings seems to be made for the task.
>
> But what if I want to save multiple configurations ?
>
> Can I have multiple QSettings output files to reload into the
> application or should I use another class ?
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Tiago Correia
chief technology officer

cnoti inovação & desenvolvimento – Aprendizagem enRiquecida pela Tecnologia
www.cnotinfor.pt
Telefone: +351 239 499 231

Subscreva gratuitamente a nossa Newsletter BICA – Boletim informativo de
Interactividade, Comunicação e Aprendizagem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100114/434baea9/attachment.html 


More information about the Qt-interest-old mailing list