barebones prototype of timeline/clip functionality

This commit is contained in:
itsmattkc
2019-07-28 02:30:26 -07:00
parent 32c7d089aa
commit 8d944387a2
13 changed files with 201 additions and 23 deletions
+13 -1
View File
@@ -37,12 +37,24 @@ TimelinePanel::TimelinePanel(QWidget *parent) :
TimeRuler* tr = new TimeRuler(true, this);
layout->addWidget(tr);
layout->addStretch();
view_ = new TimelineView(this);
layout->addWidget(view_);
// End test code
Retranslate();
}
void TimelinePanel::Clear()
{
view_->Clear();
}
void TimelinePanel::AddClip(ClipBlock *clip)
{
view_->AddClip(clip);
}
void TimelinePanel::changeEvent(QEvent *e)
{
if (e->type() == QEvent::LanguageChange) {