user settings

Involved development of the OpenMW construction set.
Post Reply
User avatar
sirherrbatka
Posts: 2159
Joined: 07 Aug 2011, 17:21

user settings

Post by sirherrbatka »

hey, graffy, what is actualy missing here?
User avatar
sirherrbatka
Posts: 2159
Joined: 07 Aug 2011, 17:21

Re: user settings

Post by sirherrbatka »

I'm finally ivenstigating the code, and can't help but think that it is more complicated than it should be!

Why we are not using QSettings? Why we can't simply store our settings in few (for instance one per category) QHash containers using QString as a key and qvariant to store value? We would be able to not only easily add settings without even touching the usersettings code, but also automaticly generate configuration gui – that could help us to deploy 1.0.0 earlier.

I think I miss something in our requirements.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: user settings

Post by Zini »

There are no specific requirements, except that we need to add new settings easily and have them structured in a certain way. Graffy got very enthusiastic about it and produced something at a large scale then I expected. Since it did seem to do the job, I said yes (didn't notice the complications with adding new settings until much later). Have you talked with graffy about it yet?
User avatar
sirherrbatka
Posts: 2159
Joined: 07 Aug 2011, 17:21

Re: user settings

Post by sirherrbatka »

not yet. Sending pm right now…
Post Reply