[Kstars-devel] KDE/kdeedu/kstars/kstars
Jason Harris
kstars at 30doradus.org
Wed Aug 22 16:28:35 CEST 2007
SVN commit 703448 by harris:
Switching from magnitude spinboxes to slider widgets in the Configure
window, for controlling the label density of asteroids and stars.
We used to provide a magnitude limit, and all objects brighter than
the limit would be labeled. We now have a more advanced labeler that
avoids overlapping text, so a UI control that controls the relative
density of labels is more appropriate.
I updated all code that interacted with the old controls. The new
parameters are named:
Options::starLabelDensity()
Options::asteroidLabelDensity()
Everything seems to be working as expected.
I wasn't sure what range of values would be useful, so right now the
range is 0 to 20. This can be changed in the code itself, or in the
*.ui files.
CCMAIL: kstars-devel at kde.org
M +6 -6 kstars.kcfg
M +2 -2 kstarsdata.cpp
M +2 -2 kstarsdcop.cpp
M +2 -3 opscatalog.cpp
M +202 -159 opscatalog.ui
M +2 -2 opssolarsystem.cpp
M +162 -165 opssolarsystem.ui
M +1 -1 skycomponents/asteroidscomponent.cpp
M +1 -1 skycomponents/starcomponent.cpp
M +2 -2 tools/scriptbuilder.cpp
More information about the Kstars-devel
mailing list