]> git.sesse.net Git - kdenlive/commitdiff
Display message about how to resize clips in a group
authorTill Theato <root@ttill.de>
Thu, 22 Jul 2010 22:20:21 +0000 (22:20 +0000)
committerTill Theato <root@ttill.de>
Thu, 22 Jul 2010 22:20:21 +0000 (22:20 +0000)
svn path=/trunk/kdenlive/; revision=4628

src/customtrackview.cpp

index 930f4e490baea9b42f617b04c9aa034c4ca35f5f..5a0af438daaf5f1af973375859979fa45244243b 100644 (file)
@@ -600,8 +600,12 @@ void CustomTrackView::mouseMoveEvent(QMouseEvent * event)
             }
         } else if (opMode == RESIZESTART) {
             setCursor(KCursor("left_side", Qt::SizeHorCursor));
+            if (item->type() == AVWIDGET && item->parentItem() && item->parentItem() != m_selectionGroup)
+                emit displayMessage(i18n("Use Ctrl to resize only current item, otherwise all items in this group will be resized at once."), InformationMessage);
         } else if (opMode == RESIZEEND) {
             setCursor(KCursor("right_side", Qt::SizeHorCursor));
+            if (item->type() == AVWIDGET && item->parentItem() && item->parentItem() != m_selectionGroup)
+                emit displayMessage(i18n("Use Ctrl to resize only current item, otherwise all items in this group will be resized at once."), InformationMessage);
         } else if (opMode == FADEIN || opMode == FADEOUT) {
             setCursor(Qt::PointingHandCursor);
             emit displayMessage(i18n("Drag to add or resize a fade effect."), InformationMessage);