[vlc-devel] [PATCH 2/3] Qt: add better tooltip to timelabel

Francois Cartegnie fcvlcdev at free.fr
Wed Mar 10 23:13:28 CET 2010


---
 modules/gui/qt4/components/interface_widgets.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index cd1fb80..78f5b5a 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -590,7 +590,9 @@ TimeLabel::TimeLabel( intf_thread_t *_p_intf  )
     b_remainingTime = false;
     setText( " --:--/--:-- " );
     setAlignment( Qt::AlignRight | Qt::AlignVCenter );
-    setToolTip( qtr( "Toggle between elapsed and remaining time" ) );
+    setToolTip(
+        "- " + qtr( "Click to Toggle between elapsed and remaining time") +
+        "\n- " + qtr("Double Click to jump to a chosen time position") );
     bufTimer->setSingleShot( true );
 
     CONNECT( THEMIM->getIM(), positionUpdated( float, int64_t, int ),
-- 
1.6.4.4




More information about the vlc-devel mailing list