Celestia UI redesign

Discussion forum for Celestia developers; topics may only be started by members of the developers group, but anyone can post replies.
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #21by ElChristou » 11.01.2008, 20:37

t00fri wrote:...Stars with planets is cute, I think. Also the other two (closest and brightest) are useful. But there will certainly be more ... and then we'll soon run out of display space. Hence a good idea is needed here...

F.


Apart a search via criterions I don't see what can be more flexible... (closest and brightest are easily filtered via criterions)... Only with planets is a good pre filtered feature...
Image

Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 23 years
Location: Seattle, Washington, USA

Post #22by chris » 11.01.2008, 20:48

ElChristou wrote:
t00fri wrote:...Stars with planets is cute, I think. Also the other two (closest and brightest) are useful. But there will certainly be more ... and then we'll soon run out of display space. Hence a good idea is needed here...

F.

Apart a search via criterions I don't see what can be more flexible... (closest and brightest are easily filtered via criterions)... Only with planets is a good pre filtered feature...


I just added a regex filter for spectral type that seems pretty useful. For example, to find all white dwarf stars, you just enter "D*" into a text box. Or "M*V" to find red dwarf stars, etc.

--Chris

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 10 months
Location: Hamburg, Germany

Post #23by t00fri » 11.01.2008, 20:50

chris wrote:
ElChristou wrote:
t00fri wrote:...Stars with planets is cute, I think. Also the other two (closest and brightest) are useful. But there will certainly be more ... and then we'll soon run out of display space. Hence a good idea is needed here...

F.

Apart a search via criterions I don't see what can be more flexible... (closest and brightest are easily filtered via criterions)... Only with planets is a good pre filtered feature...

I just added a regex filter for spectral type that seems pretty useful. For example, to find all white dwarf stars, you just enter "D*" into a text box. Or "M*V" to find red dwarf stars, etc.

--Chris


Unfortunately regex is not unique. Are these PERL regex or GNU regex just to name two?

F.
Image

Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 23 years
Location: Seattle, Washington, USA

Post #24by chris » 11.01.2008, 21:29

t00fri wrote:
chris wrote:
ElChristou wrote:
t00fri wrote:...Stars with planets is cute, I think. Also the other two (closest and brightest) are useful. But there will certainly be more ... and then we'll soon run out of display space. Hence a good idea is needed here...

F.

Apart a search via criterions I don't see what can be more flexible... (closest and brightest are easily filtered via criterions)... Only with planets is a good pre filtered feature...

I just added a regex filter for spectral type that seems pretty useful. For example, to find all white dwarf stars, you just enter "D*" into a text box. Or "M*V" to find red dwarf stars, etc.

--Chris

Unfortunately regex is not unique. Are these PERL regex or GNU regex just to name two?

F.


check out the documentation for QRegExp and you'll see that there are three modes available (four if you count fixed string). I'm using "wildcard" right now because of it's simplicity. Perl regexes are of course more powerful, but are perhaps overkill for this task--not worth the added complexity for users. Easy enough to make it a user prefernce though p

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 10 months
Location: Hamburg, Germany

Post #25by t00fri » 11.01.2008, 21:49

I would always vote for PERL regexes, of course. Doesn't cost much more and doesn't confuse those people whose dreams are in PERL ;-)

F.
Image

MKruer
Posts: 501
Joined: 18.09.2002
With us: 22 years 4 months

Post #26by MKruer » 12.01.2008, 09:10

chris wrote:I don't want to end up with dialog box that looks like this--there are too many options that would never be used, and it mixes together several different types of settings in one place.

There's no need to be able to set shadows and atmospheres separately for different types of bodies. A single setting for atmospheres will satisfy everyone, and is less confusing. Similarly, there's never a need to render planets without asteroids or moons. Those options can all be removed.

The more commonly used options can go in a toolbar that's readily available, while the rarely used settings (cloud shadows, ring shadows, eclipse shadows) can go into the shadows section of a Render Preferences dialog box. I think this is better than mixing everything together in a single panel.

--Chris


OK, not a problem, just trying to give you some ideas.

-Matt-

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 4 months

Post #27by BobHegwood » 12.01.2008, 13:45

MKruer wrote:
OK, not a problem, just trying to give you some ideas.

-Matt-


And someone oughtta say "Thank You" for doing that too. May not
be perfect, but it at least stimulated some serious thought
concerning the interface. So, it was a VALUABLE suggestion to my
mind.

Thanks for trying... :wink:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 5 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #28by cartrite » 13.01.2008, 10:07

Chris,
I like the new deep sky tab. Compact and neat. A solar system browser would be a good choice for another tab in my opinion. Like the internet browsers, maybe a box on the top tool bar that lets the user choose between tabs or new windows might be useful for moons. Just a thought.

Also, maybe another group of tabs just above these to choose between the celestial browser, eclipse browser, etc. As you probably already know, the kde version lists the 2 ui's under the navigation pop down. That wouldn't be a bad idea either. That would leave the space where the word celestial browser is displayed for other yet to be defined tabs.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #29by ElChristou » 13.01.2008, 13:02

Chris, how is generated the actual UI? For now I found the Qt Design tool (for UI design) but I'm unable to find any compatible file in CVS...
Image

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 20 years 1 month
Location: Nancy, France

Post #30by Vincent » 13.01.2008, 13:08

ElChristou wrote:Chris, how is generated the actual UI? For now I found the Qt Design tool (for UI design) but I'm unable to find any compatible file in CVS...

Christophe,

You should have a look in the 'celestia\src\celestia\qt' folder
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #31by ElChristou » 13.01.2008, 13:16

Vincent wrote:
ElChristou wrote:Chris, how is generated the actual UI? For now I found the Qt Design tool (for UI design) but I'm unable to find any compatible file in CVS...
Christophe,

You should have a look in the 'celestia\src\celestia\qt' folder


It's what I did, but no Qt Design compatible file... I suppose that's mean the actual UI is hard coded?
Image

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #32by ElChristou » 13.01.2008, 13:38

A few thoughts about the markers behavior in the browser.

When I first propose a check box to mark/unmark the selection or all the results was with the idea to have a real time marking depending on what one would click in the listing. In short, with the mark checkbox selected, by clicking and object, a marker would appear on it without other action. clicking again the object would deselect it and by the same the marker would disappear. Clicking several object would automatically mark them.

Now with such system the problem is to keep some markers for another search. For this I suppose we could have a "Keep" button (in the marker section) that would "freeze" the actual displayed markers. Then one would need a "Unmark all" button to clear all markers.


A typical sequence to show the "Keep" button behavior:

- I do a search for the closest G2V stars around the sun
- I check mark all
- I press "Keep" to freeze these markers
- I change the spectral filter to M6V (I want to see what is the closest) (as the mark all checkbox is checked, all have a marker)
- I uncheck "mark all"
- I check "mark selected", change the color or type of markers
- I select Wolf 359

At this point I have the closest G2V stars marked and only Wolf 359.

- I can "Keep" again (to "save the markers") or click on "Unmark all"...


What I find interesting here is the real time marking depending on one' selection...

What do you think?
Last edited by ElChristou on 13.01.2008, 14:10, edited 1 time in total.
Image

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 20 years 1 month
Location: Nancy, France

Post #33by Vincent » 13.01.2008, 14:05

ElChristou wrote:A typical sequence to show how the "Keep" button behavior:

- I do a search for the closest G2V stars around the sun
- I check mark all
- I press "Keep" to freeze these markers
- I change the spectral filter to M6V (I want to see what is the closest) (as the mark all checkbox is checked, all have a marker)
- I uncheck "mark all"
- I check "mark selected", change the color or type of markers
- I select Wolf 359

It would be even handier to automatically untick the "Mark all" check box as soon as the spectral filter is changed.

PS: I've been compiling Qt4.3.3 with VS 2005 for ~ 30 minutes... No problem so far... :)
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #34by ElChristou » 13.01.2008, 14:12

Vincent wrote:It would be even handier to automatically untick the "Mark all" check box as soon as the spectral filter is changed...


This is a detail; what about the general idea? (real time marking) Did it make sense?
Image

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 20 years 1 month
Location: Nancy, France

Post #35by Vincent » 13.01.2008, 14:17

ElChristou wrote:This is a detail; what about the general idea? (real time marking) Did it make sense?

Discussing about a detail implies that I'm OK with the general idea. :wink:
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 5 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #36by cartrite » 13.01.2008, 15:17

ElChristou wrote:Chris, how is generated the actual UI? For now I found the Qt Design tool (for UI design) but I'm unable to find any compatible file in CVS...
I was wondering about this myself. Chris didn't inculde the ui files.

From what I remember from VS 6, after you created a gui, the c++ code was also generated in a separate file.

My linux version of qt3 designer can open cpp files but I don't think there is a way to generate a ui from the cpp file. Could be wrong though. I didn't see this in qt4. As far as I can tell, it can only open ui forms.

I downloaded this program called eclipse. I also downloaded qt-eclipse-integration-win32-1.0.1 from this link. http://trolltech.com/developer/download ... n-download
It seems to have the ability to generate cpp source code while creating the gui's. Correct me if I'm wrong but it looks like qt4 doesn't have this capability yet on it's own.

cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 10 months
Location: Hamburg, Germany

Post #37by t00fri » 13.01.2008, 16:52

Chris,

your new DSO browser feature together with the already much improved star browser adds much to my longstanding wish, to be able to access our sky data base in a much more systematic manner!

This graphical way of arranging these different browsing tasks into tabs is very clear, logical and it economizes the available space.

One other feature that would be VERY useful in this context is an efficient general incremental search engine!

Another general matter refers to making the data base references (publications) and (PERL) scripts accessible via some reference feature from within the browser. This would add MUCH to the seriousness of our data base towards the (scientific) outside world... The browser could eventually summarize all the sources for our catalog data, their mods via PERL scripts AND the sources for all the textures...

F.
Image

Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 23 years
Location: Seattle, Washington, USA

Post #38by chris » 13.01.2008, 19:27

ElChristou wrote:
Vincent wrote:
ElChristou wrote:Chris, how is generated the actual UI? For now I found the Qt Design tool (for UI design) but I'm unable to find any compatible file in CVS...
Christophe,

You should have a look in the 'celestia\src\celestia\qt' folder

It's what I did, but no Qt Design compatible file... I suppose that's mean the actual UI is hard coded?


Yes, the UI is hard coded, because I find that easier than using a UI design tool. But, my work should be considered a prototype: the UI is functional, but not beautiful, and I would welcome help in producing a better layout of the controls.

--Chris

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #39by ElChristou » 13.01.2008, 21:13

chris wrote:...Yes, the UI is hard coded, because I find that easier than using a UI design tool. But, my work should be considered a prototype: the UI is functional, but not beautiful, and I would welcome help in producing a better layout of the controls...


If we can switch to the UI tool I'm sure more people could help; for example on osX I could help quite a bit DW to achieve the actual design because of Xcode Interface builder...
Image

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 20 years

Post #40by ElChristou » 13.01.2008, 21:19

t00fri wrote:...One other feature that would be VERY useful in this context is an efficient general incremental search engine!...


What's your idea? (what do you mean by incremental?)
Image


Return to “Ideas & News”