On Saturday 11 October 2014 11:39:40 Tomaz Canabrava wrote: > Em 11/10/2014 11:35, "Thiago Macieira" <[email protected]> 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. > > The > > > > 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 > > tree > > > or table is not something most applications do. Most will have dialogs for > > configuration, so a nicer, schema-based config dialog generator would be > > welcome > > > 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. Bye -- Milian Wolff | [email protected] | 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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
