Celestia UI redesign

Discussion forum for Celestia developers; topics may only be started by members of the developers group, but anyone can post replies.
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #61by Vincent » 14.01.2008, 22:17

chris wrote:I agree that the marker stuff already uses a lot of space. However, putting the marker size on the same line as the marker color and symbol boxes is a very logical arrangement: all the marker style options on a single row of the UI. Making room for a size selector is one reason why I ditched that 'Marker Color' push button and integrated it into the color swatch.

The following layout for the markers group saves some room:

Image
@+
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: 19 years 9 months

Post #62by ElChristou » 14.01.2008, 22:25

chris wrote:I agree that the marker stuff already uses a lot of space...


If you could implement a UI designer file as soon as possible it would be really great to do some serious search on the topic...
Image

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

Post #63by chris » 15.01.2008, 00:20

I just checked in a prototype solar system browser for Qt4. It's separate from the star browser, but it could perhaps be integrated. Some features:

- Possible to switch between two views: the normal view and a grouped view
- Grouped view adds categories for asteroids, spacecraft, and minor moons to help keep the browser organized and uncluttered.
- Works with multiple star systems--all stars, barycenters, and planets in a system appear in the browser. This is immediately apparent when inspecting our own solar system: the solar system barycenter is the root object.
- Context menu works just like in the deep sky and star browser

There's currently no support for markers in the solar system browser. It could easily be added, but it's probably worth making the markers panel a separate widget first in order to avoid cutting and pasting code.

--Chris

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

Post #64by chris » 15.01.2008, 00:41

And here's a screenshot of the solar system browser:

Image

--Chris

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

Post #65by cartrite » 15.01.2008, 01:13

I like the way you can undock it and move it around.

ImageImageImage



I think maybe a minimize button so you could store it on the desktop tool bar or a tab at the bottom of the screen.

When Sol is collapsed, it seems kind of bare. I see what was meant by integrating the solar system browser into star browser.
cartrite
Last edited by cartrite on 15.01.2008, 01:23, edited 1 time in total.
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

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Post #66by BobHegwood » 15.01.2008, 01:17

chris wrote:And here's a screenshot of the solar system browser:


Four what it's worth, Chris, I like this approach very much.
The MinorMoons box will open a similar panel capable of displaying
100+ other moons?

Thanks, Bob
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

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

Post #67by chris » 15.01.2008, 01:24

cartrite wrote:I like the way you can undock it and move it around.

Image

I think maybe a minimize button so you could store it on the desktop tool bar or a tab at the bottom of the screen.

Yes that would be nice. Right now, you can close the browser and then restore it using the view menu, but there's no other indication that the browser is still around. On the other hand, we want to make sure that it's possible to banish all clutter from the screen and see just the 3D view.

When Sol is collapsed, it seems kind of bare. I see what was meant by integrating the solar system browser into star browser.
cartrite


Yes . . . The solar system browser should automatically expand the top level star items.

--Chris

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

Post #68by chris » 15.01.2008, 01:33

BobHegwood wrote:
chris wrote:And here's a screenshot of the solar system browser:

Four what it's worth, Chris, I like this approach very much.
The MinorMoons box will open a similar panel capable of displaying
100+ other moons?


That's exactly how it works. There's no minormoon class right now however, so the browser just fills the "Minor moons" group with every moon that has less than 1/1000th the radius of the planet it orbits.

--Chris

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

Post #69by chris » 15.01.2008, 02:45

mjoubert wrote:
chris wrote:A tree-based solar system browser would indeed be useful. But should it be integrated with the star browser, as Christophe has done in the KDE version? There's a logic to doing it that way. On the other hand, the spaceflight professionals using Celestia would I think prefer a dedicated solar system browser.
If the Sun is in first place in the star browser, then there's no need of a dedicated browser.

I add few ideas for the GUI :

* Changing time scale should be easier to find. Vincent's slide bar is a good solution.

Agreed. I've implemented a basic time control toolbar for the Qt4 front-end, though I'm sure there are ways it can be improved.

* Another point from Edu Tools : a system to visualize scene orientation quickly (like a simple 3-axis display on a corner).

OK. What should the axes represent? The axes of the ecliptical coordinate system that Celestia uses? Or does it not matter so much as long as there's some sense of how the orientation is changing?

* I'd like the bookmark facility to be extended to save views : if I set 3 views and cameras to look to a spacecraft mission, I'd like to save the full set of settings to reload it or to share it with others.


Yes, that would be useful. I thought that there had already been some work on adding multiview capability for bookmarks, but I'll have to check again.

--Chris

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

Post #70by cartrite » 15.01.2008, 14:53

Chris,
I noticed that you included a new time toolbar. I guess it's not activated yet?

I kinda like the calender and date time edit widgets. It's really simple to create the ui with the qtdesigner and create the header file with uic. I think Celestia used to use a calender in a previous version. Currently, it's beyond my programming skill to tie the header to Celestia though. So I can't really see how it would really look in Celestia but..........

Image
There does seem to be a problem with the minimum date being 1752 in the dime date edit widget. The calender only goes back to 2000. Actually, the calender can be set back to 1752 but.........Oh well.:(
I don't know if this could be worked around.

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

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

Post #71by MKruer » 15.01.2008, 18:25

Chris, I don't know if you missed this, but I just wanted to know what you thought. Part of it was in jest, but its also a real question. Right now you were thinking of making the distinction between major and minor based upon the minimum radius of the moon based upon the parent planet size.

MKruer wrote:
chris wrote:
BobHegwood wrote:Chris,

One thing almost immediately comes to mind for me. That involves
the presentation of moons for selected planets. Jupiter, for example,
with ALL of its moons, presents a very unwieldy interface when one
is trying to select a particular moon from the interface. Now, granted,
not everyone is going to have all of Jupiter's moons installed, but I
am running into this problem with both Jupiter and Saturn.

I agree completely--all the minor moons of Jupiter and Saturn clutter both the 3D view (when orbits are enabled) and the GUI, and it's only on rare occasions that you actually want to see them. My current plan is to add a new "minormoon" category and organize the UI so that they appear in a separate category from the more significant moons. The distinction between what is a moon and what's a minor moon is somewhat arbitrary, which is why it will be settable in an ssc file rather than be automatically determined by Celestia.

Chris, you might want to use the term "Dwarf Moon" considering the IAU obsession with dwarfs. :wink: Then just use the same general criteria that would be used for the planets and apply them to the moons.

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

Post #72by chris » 15.01.2008, 18:37

MKruer wrote:Chris, I don't know if you missed this, but I just wanted to know what you thought. Part of it was in jest, but its also a real question. Right now you were thinking of making the distinction between major and minor based upon the minimum radius of the moon based upon the parent planet size.

MKruer wrote:
chris wrote:
BobHegwood wrote:Chris,

One thing almost immediately comes to mind for me. That involves
the presentation of moons for selected planets. Jupiter, for example,
with ALL of its moons, presents a very unwieldy interface when one
is trying to select a particular moon from the interface. Now, granted,
not everyone is going to have all of Jupiter's moons installed, but I
am running into this problem with both Jupiter and Saturn.

I agree completely--all the minor moons of Jupiter and Saturn clutter both the 3D view (when orbits are enabled) and the GUI, and it's only on rare occasions that you actually want to see them. My current plan is to add a new "minormoon" category and organize the UI so that they appear in a separate category from the more significant moons. The distinction between what is a moon and what's a minor moon is somewhat arbitrary, which is why it will be settable in an ssc file rather than be automatically determined by Celestia.

Chris, you might want to use the term "Dwarf Moon" considering the IAU obsession with dwarfs. :wink: Then just use the same general criteria that would be used for the planets and apply them to the moons.


I still prefer the term minor moon to dwarf moon. :)

I think applying the same general criteria to determine what is a minor moon is a reasonable idea. A lot of the small outer planet moons are in groups with similar orbits, indicating that they originated from the same fragmented parent body. But this isn't a terribly serious issue either--regardless of what we call them, the moons are still there in Celestia if you want to see them. And I hope no one gets their knickers in a twist over whether, say, Himalia is a minor or major moon.

--Chris

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

Post #73by chris » 15.01.2008, 19:18

cartrite wrote:Chris,
I noticed that you included a new time toolbar. I guess it's not activated yet?

I checked in the modifications to enable it in the main window. You can move it around to position it wherever you like, or disable it completely. You can reenable it via the View menu.

I kinda like the calender and date time edit widgets. It's really simple to create the ui with the qtdesigner and create the header file with uic. I think Celestia used to use a calender in a previous version. Currently, it's beyond my programming skill to tie the header to Celestia though. So I can't really see how it would really look in Celestia but..........

There does seem to be a problem with the minimum date being 1752 in the dime date edit widget. The calender only goes back to 2000. Actually, the calender can be set back to 1752 but.........Oh well.:(
I don't know if this could be worked around.


I was worried about this limitation :( I had to make custom date/time widgets for Windows just to get around this.

--Chris

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

Post #74by chris » 15.01.2008, 19:22

Regarding the time toolbar . . . I organized it like Vincent's time controller from the EDU tools. There are handy tool tips that popup to tell you what each of the buttons mean. The buttons themselves are rather ugly text based ones, but it's very simple to add icons. You can see the code in qttimetoolbar.cpp that is currently disabled; you can enable it, then copy icons from the Tango icon set into (celestia directory)/icons/qt if you want something a little prettier. We'll have to develop a nice set of custom icons for the new Celestia UI.

--Chris

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #75by Vincent » 15.01.2008, 19:41

chris wrote:Regarding the time toolbar . . . I organized it like Vincent's time controller from the EDU tools.

I just tested it, and I have to say that I like it ! :wink:
I agree that it could look prettier with these nice icons that Christophe (ElChristou) knows how to make... :roll:

Chris, what about rearranging the marker group as I suggested above ?

Image
@+
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 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #76by cartrite » 15.01.2008, 20:07

Chris,
Now I see what it is doing. I was wondering why I wasn't seeing any reference to dates, hours, minutes, etc in the code.

Looks like there is a lot of room for other tools too.

ImageImage

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

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #77by Vincent » 15.01.2008, 20:53

chris wrote:We'll have to develop a nice set of custom icons for the new Celestia UI.

Looks better indeed, even with quite rough icons:

Image
@+
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 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #78by cartrite » 15.01.2008, 21:08

chris wrote:I was worried about this limitation :( I had to make custom date/time widgets for Windows just to get around this.
I was looking at qtassistant QDate Class reference and found this line.
QDate::QDate ( int y, int m, int d )
Constructs a date with year y, month m and day d.
If the specified date is invalid, the date is not set and isValid() returns false. Any date before 2 January 4713 B.C. is considered invalid.
Warning: Years 0 to 99 are interpreted as is. If you want to specify the year 2010, you must write 2010, not 10.

It seems that only the widgets are limited to Sept 1752. But you wanted dates to back further?
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

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

Post #79by chris » 15.01.2008, 21:15

Vincent wrote:
chris wrote:We'll have to develop a nice set of custom icons for the new Celestia UI.
Looks better indeed, even with quite rough icons:

Image


Very nice . . . I think that you should check those in, though first we should discuss on the dev list where the proper location for icons should be.

--Chris

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

Post #80by MKruer » 16.01.2008, 01:27

I was thinking (yeah I know that can be dangerous) Looking at the buttons, reminded me of a VCR/DVD player whatever, Anyway I though, would it be a good idea to add a record option for point as you browse a system and save it to a cel script. It might be helpful in the creation of the cel scripts if you can do the basics gotos inside Celestia, but I am not sure if this is outside the scope of the next release.


Return to “Ideas & News”