Commit f6a394d1 authored by Sashmita Raghav's avatar Sashmita Raghav
Browse files

Display start positions of subtitles in timeline

parent 732c42eb
......@@ -1271,6 +1271,7 @@ Rectangle {
z: 100
}
Repeater { id: guidesRepeater; model: guidesDelegateModel }
Repeater { id: subtitlesRepeater; model: subtitleDelegateModel }
}
Rectangle {
id: cursor
......@@ -1466,6 +1467,23 @@ Rectangle {
}
}
DelegateModel {
id: subtitleDelegateModel
model: subtitleModel
Item{
id: subtitleRoot
visible : true
Rectangle {
id: subtitleStartBase
width: 1
height: tracksContainer.height
x: model.startframe * timeScale;
color: 'red'
}
}
}
// This provides continuous scrolling at the left/right edges.
Timer {
id: scrollTimer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment