ui: implemented keyboard controls for inserting/overwriting footage into the
timeline Allows users to use the keyboard to place footage into the timeline rather than forcing them to drag.
This commit is contained in:
@@ -418,6 +418,11 @@ void TimelineWidget::DeleteSelected()
|
||||
Core::instance()->undo_stack()->pushIfHasChildren(command);
|
||||
}
|
||||
|
||||
void TimelineWidget::RippleDelete()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void TimelineWidget::IncreaseTrackHeight()
|
||||
{
|
||||
if (!GetConnectedNode()) {
|
||||
@@ -446,6 +451,16 @@ void TimelineWidget::DecreaseTrackHeight()
|
||||
}
|
||||
}
|
||||
|
||||
void TimelineWidget::InsertFootageAtPlayhead(const QList<Footage*>& footage)
|
||||
{
|
||||
import_tool_->PlaceAt(footage, GetTime(), true);
|
||||
}
|
||||
|
||||
void TimelineWidget::OverwriteFootageAtPlayhead(const QList<Footage *> &footage)
|
||||
{
|
||||
import_tool_->PlaceAt(footage, GetTime(), false);
|
||||
}
|
||||
|
||||
QList<TimelineViewBlockItem *> TimelineWidget::GetSelectedBlocks()
|
||||
{
|
||||
QList<TimelineViewBlockItem *> list;
|
||||
|
||||
Reference in New Issue
Block a user