Qt4 - double clicking the time can open the gotoTimeDialog ! Feature request to match...
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 9 Oct 2007 02:10:33 +0000 (02:10 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 9 Oct 2007 02:10:33 +0000 (02:10 +0000)
modules/gui/qt4/components/interface_widgets.hpp

index f9c52eb..54447bd 100644 (file)
@@ -209,8 +209,13 @@ class TimeLabel : public QLabel
     {
         if( event->button() == Qt::LeftButton ) emit timeLabelClicked();
     }
+    void mouseDoubleClickEvent( QMouseEvent *event )
+    {
+        emit timeLabelDoubleClicked();
+    }
 signals:
     void timeLabelClicked();
+    void timeLabelDoubleClicked();
 };
 
 /******************** Playlist Widgets ****************/