timeline: implement reveal in project action

This commit is contained in:
itsmattkc
2022-05-03 14:23:41 -07:00
parent 7fbe711866
commit 82bd6a103c
9 changed files with 92 additions and 8 deletions
+5
View File
@@ -52,6 +52,11 @@ public:
ProjectViewModel* model() const;
bool SelectItem(Node *n)
{
return explorer_->SelectItem(n);
}
virtual void SelectAll() override;
virtual void DeselectAll() override;
+2 -1
View File
@@ -34,7 +34,8 @@ TimelinePanel::TimelinePanel(QWidget *parent) :
Retranslate();
connect(tw, &TimelineWidget::BlockSelectionChanged, this, &TimelinePanel::BlockSelectionChanged);
connect(tw, &TimelineWidget::RequestCaptureStart, this, &TimelinePanel::RequestCaptureStart );
connect(tw, &TimelineWidget::RequestCaptureStart, this, &TimelinePanel::RequestCaptureStart);
connect(tw, &TimelineWidget::RevealViewerInProject, this, &TimelinePanel::RevealViewerInProject);
}
void TimelinePanel::SplitAtPlayhead()
+2
View File
@@ -114,6 +114,8 @@ signals:
void RequestCaptureStart(const TimeRange &time, const Track::Reference &track);
void RevealViewerInProject(ViewerOutput *r);
};
}