Celestia: QT Celestial Browser sorting

Created on 3 Feb 2017  ·  8Comments  ·  Source: CelestiaProject/Celestia

_Need to fix a few defects in Celestial Browser (QT):_

  1. Solar system. Sort by name and type is not yet implemented.
  2. Stars. Pressing the "name" button to sort by distance, not by name.
  3. Deep Sky Objects. Pressing the "name" button to sort by distance, not by name.
bug enhancement help wanted won't fix

All 8 comments

qtcelestialbrowser.cpp

Function bool StarPredicate
case Alphabetical: return false; // TODO

We think:

  1. Add the fourth column "Asteroids and comets", and in the column "Solar System" show only the Planets, Dwarf Planets, Moons and Small Moons.
  2. Perhaps for spacecraft need a fifth tab, because with a large number of additions, it would be convenient to see all the spacecraft separately.
  3. We think that you can make the browser more informative and useful. The browser should contain more columns with parameters (Kepler parameters + the rest). The sorting should work for each column.

It is very important to create a quality catalog.

In order not to increase the size of the Celestial Browser:
There is a vertical scroll in the catalog table. Just add a horizontal scroll bar in table bottom. Then can not change the size of the browser, and the columns that do not fit the width can be seen by sliding the horizontal scoll.

I made a pull request addressing name sorting on some of the tabs: https://github.com/CelestiaProject/Celestia/pull/43
The TreeView is a little more complicated to get sorting, so I might try working on the "Asteroids and comets" and spacecrafts tabs next.

@gstark31897 Thank you. Later we will check the work of your changes. We will be grateful if you completely solve the sorting problem described in the first message.

Alright, I'll focus on finishing up the solar system sorting then. Thanks.

Hi @pirogronian , i suppose we can close this issue. The more I think the close I am to the conclusion that we don't need name/type sorting for the Solar System Browser.

  1. It's initial sorting order is by distance from a parent (star, planet, etc). So we need an additional control to restore original sort order.
  2. Sorting by type is useless as we have grouping. I also have some WIP filtering code.
  3. Sorting by name should help to look up for required object. But for me it's better to add a search box instead.
Was this page helpful?
0 / 5 - 0 ratings