[Development] QSettings refactor updates
milian.wolff at kdab.com
Sat Oct 11 16:48:49 CEST 2014
On Saturday 11 October 2014 11:39:40 Tomaz Canabrava wrote:
> Em 11/10/2014 11:35, "Thiago Macieira" <thiago.macieira at intel.com> escreveu:
> > On Saturday 11 October 2014 09:01:52 Tomaz Canabrava wrote:
> > > True, I dont need it to make things work, but I need it in case I wanna
> > > show them inside a qtreeview.
> > >
> > > I can split it into a QConfigTrreModel if you think its the way to go.
> > > rationale is just to provide a quick way to have an advanced settings
> > > editor.
> > Please don't overengineer. Displaying all the configuration settings in a
> > or table is not something most applications do. Most will have dialogs for
> > configuration, so a nicer, schema-based config dialog generator would be
> > in the future.
> > Only a "registry editor" application would show all entries in a tree or
> > table.
> I was thinking about something like about:config of the Firefox browser or
> a debug mode to show the developers all the config three, actually.
> Ill redo this part and create a config model outside.
As said already this should not be inside QConfig itself. Also note that a
feature like this is only useful for debugging purposes and targeted at
developers. As such, it would, imo, be a useful addition to a developer/debug
tool such as GammaRay. In a normal application there is no need to ever
display this structure.
Milian Wolff | milian.wolff at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4773 bytes
Desc: not available
More information about the Development