mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[ui] sequence player: previous-next frame buttons
This commit is contained in:
parent
47d3089e5b
commit
6efaa8e05e
1 changed files with 20 additions and 4 deletions
|
@ -43,7 +43,7 @@ FloatingPane {
|
|||
interval: 1000 / fps
|
||||
|
||||
onTriggered: {
|
||||
viewSlider.value = viewSlider.value + 1;
|
||||
viewSlider.value += 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -51,6 +51,16 @@ FloatingPane {
|
|||
|
||||
anchors.fill: parent
|
||||
|
||||
Button {
|
||||
id: prevButton
|
||||
|
||||
text: "prev"
|
||||
|
||||
onClicked: {
|
||||
viewSlider.value -= 1;
|
||||
}
|
||||
}
|
||||
|
||||
Button {
|
||||
id: playButton
|
||||
|
||||
|
@ -66,7 +76,16 @@ FloatingPane {
|
|||
timer.running = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Button {
|
||||
id: nextButton
|
||||
|
||||
text: "next"
|
||||
|
||||
onClicked: {
|
||||
viewSlider.value += 1;
|
||||
}
|
||||
}
|
||||
|
||||
Slider {
|
||||
|
@ -87,9 +106,6 @@ FloatingPane {
|
|||
_reconstruction.selectedViewId = m.sortedViewIds[idx];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue