User Settings

Involved development of the OpenMW construction set.
User avatar
Zini
Posts: 5134
Joined: 06 Aug 2011, 15:16

Re: User Settings

Post by Zini » 20 Apr 2013, 17:25

Looks all good. Except for this:
Unfortunately, there is no way to place tabs on the side of the tab widget while maintaining horizontal text in Qt. If there is, it'll take extensive work to pull it off, I think.
Not sure what would be so difficult about that. Have a panel on the right with the content of what is currently a tab. Then add a suitably styled panel on the left with a list view or something similar. Switch out the right panel as the user changes the selection in the left panel.


Also, not so sure about the done button. I guess people will call me a bloody minimalist again, but we already have multiple ways of closing this window (3 on most desktop, I think). Do we really need an additional button?

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

Re: User Settings

Post by sirherrbatka » 20 Apr 2013, 17:48

Looks like a good job to me!

graffy
Posts: 142
Joined: 06 Feb 2013, 19:30

Re: User Settings

Post by graffy » 20 Apr 2013, 18:08

Zini wrote: Not sure what would be so difficult about that. Have a panel on the right with the content of what is currently a tab. Then add a suitably styled panel on the left with a list view or something similar. Switch out the right panel as the user changes the selection in the left panel.
Ok. I'll make it a punchlist item.
Also, not so sure about the done button. I guess people will call me a bloody minimalist again, but we already have multiple ways of closing this window (3 on most desktop, I think). Do we really need an additional button?
I wondered the same thing. It was part of the initial suggestion and I don't recall being told to do otherwise. I couldn't be happier to get rid of it, though. Consider it gone.

Something else I should mention:

I managed the modular construction using a series of "def" structs (e.g., ItemBlockDef, GroupBlockDef, etc.) with typed members corresponding to the various properties for each of the UI elements. it's rather unweildy. In the future, I have a mind to go to more of a stylesheet definition, so a scripted layout can simply be concatenated into a string and passed to the UI elements for parsing... or perhaps use QMap<QString> structures. Either way, what I've used initially (it was convenient for documenting the available properties) has to go... Another punchlist item, maybe.

User avatar
pvdk
Posts: 517
Joined: 12 Aug 2011, 16:34

Re: User Settings

Post by pvdk » 21 Apr 2013, 02:49

Why not use a QListView with icons and text underneath them? Then you can use a QStackedWidget to switch between pages. Just like the launcher only now vertically. See the Config Dialog Example. I don't know what icon a plugin settings tab would have, maybe they could define their own icons?

graffy
Posts: 142
Joined: 06 Feb 2013, 19:30

Re: User Settings

Post by graffy » 21 Apr 2013, 13:16

Did we want icons on the page tabs? I do like the config dialog example, though...

User avatar
Zini
Posts: 5134
Joined: 06 Aug 2011, 15:16

Re: User Settings

Post by Zini » 21 Apr 2013, 14:21

Icons are problematic here. First our icon making capacity is already stretched with the record state/record type icons. And second, it will be a lot harder to find good icons for the categories.

graffy
Posts: 142
Joined: 06 Feb 2013, 19:30

Re: User Settings

Post by graffy » 21 Apr 2013, 21:02

I'd say that snwers the question...

User avatar
pvdk
Posts: 517
Joined: 12 Aug 2011, 16:34

Re: User Settings

Post by pvdk » 21 Apr 2013, 23:28

Harder maybe, but I'm sure we can figure out some good icons for each catagory. There are plenty of other applications to get inspiration from. Also, we currently have a very talented icon maker. I'm sure he is willing to make a couple of additional icons for the settings. Keep in mind that these icons only need to be one size. Added benefit is that I could re-use them in the launcher instead of the Tango icons I currently use. That would result in a more unified appearance.

User avatar
Zini
Posts: 5134
Joined: 06 Aug 2011, 15:16

Re: User Settings

Post by Zini » 22 Apr 2013, 09:08

I rephrase that: Not "harder", but "a lot harder". Considering the complexity of the CS, we will probably have more (and more abstract) categories than most application. I don't know of any existing application with this kind of complexity, that uses icons for its settings groups.

Then there is also the point of editor plugins. If we use icons, then we force 3rd party authors to provide an icon too, if they need settings for their plugin. For most single developer (i.e. not a team with a large comunity like us) that would be a significant burden, since most people that do programming suck at making graphics.

User avatar
pvdk
Posts: 517
Joined: 12 Aug 2011, 16:34

Re: User Settings

Post by pvdk » 22 Apr 2013, 12:08

I see, I'd opt for a normal QListView then, like this:
Spoiler: Show

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests