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:
itsmattkc
2020-03-03 20:03:50 +11:00
parent a9577d72ee
commit 9b73892c41
10 changed files with 300 additions and 176 deletions
+10
View File
@@ -89,6 +89,16 @@ void TimelinePanel::DecreaseTrackHeight()
static_cast<TimelineWidget*>(GetTimeBasedWidget())->DecreaseTrackHeight();
}
void TimelinePanel::InsertFootageAtPlayhead(const QList<Footage *> &footage)
{
static_cast<TimelineWidget*>(GetTimeBasedWidget())->InsertFootageAtPlayhead(footage);
}
void TimelinePanel::OverwriteFootageAtPlayhead(const QList<Footage *> &footage)
{
static_cast<TimelineWidget*>(GetTimeBasedWidget())->OverwriteFootageAtPlayhead(footage);
}
void TimelinePanel::Retranslate()
{
TimeBasedPanel::Retranslate();