[Kstars-devel] KDE/kdeedu/kstars/kstars
Akarsh Simha
akarshsimha at gmail.com
Wed Aug 26 23:01:59 CEST 2009
SVN commit 1016042 by asimha:
Adding a tooltip to the Time Step box describing the behaviour of the
time step in KStars.
This is my solution to bug 157263. Please reopen if there's a better
way of fixing this.
CCMAIL: kstars-devel at kde.org
BUG: 157263
M +4 -0 kstarsinit.cpp
--- trunk/KDE/kdeedu/kstars/kstars/kstarsinit.cpp #1016041:1016042
@@ -408,6 +408,10 @@
//Add timestep widget for toolbar
TimeStep = new TimeStepBox( toolBar("kstarsToolBar") );
+ // Add a tool tip to TimeStep describing the weird nature of time steps
+ QString TSBToolTip = i18nc( "Tooltip describing the nature of the time step control", "Use this to set the rate at which time in the simulation flows.\nFor time step \'X\' up to 10 minutes, time passes at the rate of \'X\' per second.\nFor time steps larger than 10 minutes, frames are displayed at an interval of \'X\'." );
+ TimeStep->setToolTip( TSBToolTip );
+ TimeStep->tsbox()->setToolTip( TSBToolTip );
ka = actionCollection()->addAction("timestep_control")
<< i18n("Time step control");
ka->setDefaultWidget( TimeStep );
More information about the Kstars-devel
mailing list