[Kstars-devel] Details dialog

Jason Harris kstars at 30doradus.org
Fri Mar 4 07:50:42 CET 2005


Hi Jasem,

On Friday 04 March 2005 10:24 am, Jasem Mutlaq wrote:
> I have a few notes on it:
>
> 1. The generic Qt image is shown now in the general dialog. I'd
> imagine we will show images of planets/galaxies/nebulae/comets in the
> future, but what about plain stars? I guess we can copy part of the
> sky where the star is located and have it centred, then we mark the
> selected star using for example a dotted red circle or something.
>
That's a good idea.  I was actually going to disable the image for 
stars, but maybe your idea would be better.  I'm developing this part 
now.  The idea is that the thumbnail image is customizable, the user 
can click the image box and bring up a selector that lists images found 
on the HD and on the internet (kind of like Amarok's album cover 
manager).  They can also specify a file/URL directly, and crop/stretch 
the image.

> 2. Why are the colors of Links/Advanced/Log black while
> General/Position are blue?
>
Two reasons, but first some explanation.  I want the colors here to 
match the user's desktop color scheme, so I am actually getting colors 
from the palette, rather than assigning them directly.  So, the frame 
colors are not "blue", they are "HighlightColor".  Try switching to the 
Night Vision scheme, and open Details.

(1) I couldn't get the borders of the Listboxes, Listview and TextEdit 
widgets to accept the HighlightColor; they seem to be fixed at 
ForegroundColor.  It looked odd having the titlebar QLabel colored, 
while the widget frame was black, so I made the QLabel black 
(ForegroundColor actually) as well.

(2) The Listbox and Listview widgets display the selected item with 
HighlightColor, and I thought it was confusing because the titlebar 
looks almost exactly like a selected item in the list.

I guess I should either add colors to the KStars colorscheme for this 
window, or just make all of the borders TextColor.  Any thoughts?
Also, I am planning to add an option "Do not modify colors of Details 
window".

> 3. The advance tab is not working.
>
Yes, I know.  The tree is not being populated for some reason.  I need 
to look into it.

Thanks for the comments!

regards,
Jason
-- 
KStars: Desktop Planetarium for KDE
http://edu.kde.org/kstars


More information about the Kstars-devel mailing list