Various
This board is to host any non skyline related topics.

WorldEngine GUI

WorldEngine GUI

Postby Shando » 19 Mar 2017, 23:49

Hi All,

I have finally(!!!) finished my GUI for the fabulous WorldEngine (http://world-engine.org/) and was wondering if you could provide feedback on which GUI you prefer??

There are two options (unless someone can think of a 3rd of course!!):

The first has the main image displayed at all times and uses a toolbox to move between the options, as shown in the four images below:

Image

Image

Image

Image


The second uses 2 tabs to move between the Maps and the Options as shown in the two images below:

Image

Image

Any help, thoughts, comments would be greatly appreciated.

Thanks in advance.

Shando

PS: Forgot to add that due to the way Qt works, the first option is only really suitable for screens with a Height of 1080+, whereas the second option can be shrunk a little more (though I don't think I can quite get it down to 768 :( )
Ryzen 7 4800H 16GB GTX1650 Win 11 64
Love, Hope, Strength http://www.lovehopestrength.co.uk
User avatar
Shando
Skyline Moderator
Skyline Moderator
 
Posts: 560
Joined: 06 Mar 2013, 22:35
Location: Moffat Beach, Queensland
Skill: Programmer
Skill: Scripter
Skill: Level Designer

Re: WorldEngine GUI

Postby SolarPortal » 20 Mar 2017, 00:08

Hey Shando :)

Sounds interesting! :)

One bit of advice for a Qt Editor is to place your widgets in a ScrollArea and use the Grid placement to keep it all inline. Edit the inner bounds of the scroll area to get a more snug fit. This allows you to shrink the GUI to fit it on other Screen Resolutions :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: WorldEngine GUI

Postby Shando » 20 Mar 2017, 00:13

Hi SP,

I did try to use a Scroll Area, but when I shrunk the UI it didn't generate the scroll bars (i.e. they were still greyed out)??

I'll give it another go on a dummy UI and see if I can get it to work.

Thanks

Shando
Ryzen 7 4800H 16GB GTX1650 Win 11 64
Love, Hope, Strength http://www.lovehopestrength.co.uk
User avatar
Shando
Skyline Moderator
Skyline Moderator
 
Posts: 560
Joined: 06 Mar 2013, 22:35
Location: Moffat Beach, Queensland
Skill: Programmer
Skill: Scripter
Skill: Level Designer

Re: WorldEngine GUI

Postby SolarPortal » 20 Mar 2017, 12:00

If the scroll area is set to be a size in the dock widget even if it scales, then the scroll bar should be generated. Or you can make the vertical scroll bar always visible from the properties.

Here is a skyline editor test file to showcase the scroll area and scroll bar:
ScrollAreaTest.zip
(1.6 KiB) Downloaded 1192 times
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: WorldEngine GUI

Postby planetX » 20 Mar 2017, 14:52

I think you could arrange the panels like Skyline does, which is basically a mix of these ones you've posted. So it would be a fixed sidebar panel with 4 tabs on top. That's the most intuitive option IMO. The idea is to have both the panel and the viewport always visible, at least the panel you're using.

I know that you asked only about the layout, but I'd suggest to avoid using colours in the UI. Colours are distracting and sometimes disturbing. ;)

Good job, I wish I could do something like this.

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer

Re: WorldEngine GUI

Postby Shando » 23 Mar 2017, 06:40

Hey planetX,

Thanks for the thoughts....

I have made some changes to the UI as shown below:

Image

I've also added the option to change the 'skin' of the UI ( just in case someone does like colours ;) )

Thanks again

Shando

PS: It's not so hard once you learn the basics of Qt (oh, and Python as well!) In fact, the Skyline system for plugins uses Qt with Lua, so it's definitely worth learning Qt at some point.
Ryzen 7 4800H 16GB GTX1650 Win 11 64
Love, Hope, Strength http://www.lovehopestrength.co.uk
User avatar
Shando
Skyline Moderator
Skyline Moderator
 
Posts: 560
Joined: 06 Mar 2013, 22:35
Location: Moffat Beach, Queensland
Skill: Programmer
Skill: Scripter
Skill: Level Designer

Re: WorldEngine GUI

Postby SolarPortal » 23 Mar 2017, 12:24

That looks more professional now Shando :D Good job! :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: WorldEngine GUI

Postby planetX » 23 Mar 2017, 14:19

Well, those vertical tabs are a clever solution, didn't expect that. :D

Yeah, now it looks like a program I'd like to use. Keep the good work!

My specs: Windows 10 - Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz - 16 Gb ram DDR4 - NVIDIA GeForce GTX 960M 4 Gb

planetX
Skyline Contributor
Skyline Contributor
 
Posts: 210
Joined: 28 Nov 2016, 18:27
Skill: 3D Modeller
Skill: Level Designer
Skill: Concept artist
Skill: Great creative
Skill: Programmer


Return to Various

Who is online

Users browsing this forum: Bing [Bot] and 0 guests

cron