user settings

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

user settings

Post by sirherrbatka » 22 Mar 2014, 19:00

hey, graffy, what is actualy missing here?

User avatar
sirherrbatka
Posts: 2121
Joined: 07 Aug 2011, 17:21

Re: user settings

Post by sirherrbatka » 26 Mar 2014, 12:24

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: 5134
Joined: 06 Aug 2011, 15:16

Re: user settings

Post by Zini » 26 Mar 2014, 12:33

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: 2121
Joined: 07 Aug 2011, 17:21

Re: user settings

Post by sirherrbatka » 26 Mar 2014, 12:37

not yet. Sending pm right now…

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests