[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/marble/src/plugins/render/routing
From:       Dennis Nienhüser <earthwings () gentoo ! org>
Date:       2010-11-17 20:20:13
Message-ID: 20101117202013.BE37EAC8A2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1198191 by nienhueser:

Show a flag icon above the distance to destination label to indicate it's the \
distance to the destination.

 M  +2 -1      RoutingPlugin.cpp  


--- trunk/KDE/kdeedu/marble/src/plugins/render/routing/RoutingPlugin.cpp \
#1198190:1198191 @@ -238,7 +238,8 @@
             fontSize = m_nearNextInstruction ? 1 : -1;
         }
 
-        m_widget.destinationDistanceLabel->setText( richText( fuzzyDistance( \
remainingDistance ), -1 ) ); +        QString pixmapHtml = "<img \
src=\":/icons/flag.png\" /><br />"; +        \
m_widget.destinationDistanceLabel->setText( pixmapHtml + richText( fuzzyDistance( \
remainingDistance ), -1 ) );  
         m_widget.instructionIconLabel->setEnabled( m_nearNextInstruction );
         m_widget.progressBar->setMaximum( thresholdDistance );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic