]> git.sesse.net Git - kdenlive/commitdiff
Show position and value of dragged keyframe in status bar
authorTill Theato <root@ttill.de>
Sun, 7 Nov 2010 20:29:17 +0000 (20:29 +0000)
committerTill Theato <root@ttill.de>
Sun, 7 Nov 2010 20:29:17 +0000 (20:29 +0000)
svn path=/trunk/kdenlive/; revision=5083

src/customtrackview.cpp

index d6ab47535aed959d3cfc14a5cd388c9996c9db8f..e01c5b5152740abd8aea8b655d03669c0a4213ec 100644 (file)
@@ -429,6 +429,8 @@ void CustomTrackView::mouseMoveEvent(QMouseEvent * event)
                 double maxh = 100.0 / br.height();
                 pos = (br.bottom() - pos) * maxh;
                 m_dragItem->updateKeyFramePos(keyFramePos, pos);
+                QString position = m_document->timecode().getDisplayTimecodeFromFrames(m_dragItem->editedKeyFramePos(), KdenliveSettings::frametimecode());
+                emit displayMessage(position + " : " + QString::number(m_dragItem->editedKeyFrameValue()), InformationMessage);
             }
             removeTipAnimation();
             return;