]> git.sesse.net Git - kdenlive/commitdiff
Show some information on how the tools work
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Wed, 30 Sep 2009 13:13:09 +0000 (13:13 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Wed, 30 Sep 2009 13:13:09 +0000 (13:13 +0000)
svn path=/trunk/kdenlive/; revision=3965

src/mainwindow.cpp

index 1d9267991dd3c0ddeb698fa36757e7a46ab86e2c..8254082a0798f4cf1a640b80d9f0c6c15af99f9e 100644 (file)
@@ -2426,6 +2426,19 @@ void MainWindow::slotSetTool(PROJECTTOOL tool)
 {
     if (m_activeDocument && m_activeTimeline) {
         //m_activeDocument->setTool(tool);
+        QString message;
+        switch (tool)  {
+        case SPACERTOOL:
+            message = i18n("Ctrl + click to use spacer on current track only");
+            break;
+        case RAZORTOOL:
+            message = i18n("Click on a clip to cut it");
+            break;
+        default:
+            message = i18n("Shift + click to create a selection rectangle, Ctrl + click to add an item to selection");
+            break;
+        }
+        m_messageLabel->setMessage(message, InformationMessage);
         m_activeTimeline->projectView()->setTool(tool);
     }
 }