diff options
Diffstat (limited to 'main.qml')
-rw-r--r-- | main.qml | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -45,7 +45,7 @@ ApplicationWindow { TableView { id: songPartTable - model: song.part_model + model: song.segment_model Layout.fillHeight: true Layout.fillWidth: true Layout.alignment: Qt.AlignTop @@ -89,6 +89,11 @@ ApplicationWindow { Layout.fillWidth: true } Text { + id: currentPositionText + text: { '--:--' } + } + Text { text: '/' } + Text { id: durationText text: { '--:--' } } @@ -146,6 +151,7 @@ ApplicationWindow { running: false repeat: true onTriggered: { + currentPositionText.text = song.ms_to_time(audioInterface.position) slider.value = audioInterface.position / audioInterface.duration // Cool segment |