EditTagDialog: show newly-added fields (read-only)

Still very boilerplate-y. Add two placeholders to the UI
(in the middle of the existing table, so the diff is a mess),
and populate them with data.
This commit is contained in:
Roman Lebedev
2023-06-27 04:56:35 +03:00
committed by Jonas Kvinge
parent e589486907
commit e7fc4e7f89
2 changed files with 314 additions and 284 deletions

View File

@@ -783,6 +783,8 @@ void EditTagDialog::UpdateSummaryTab(const Song &song) {
SetText(ui_->samplerate, song.samplerate(), "Hz");
SetText(ui_->bitdepth, song.bitdepth(), "Bit");
SetText(ui_->bitrate, song.bitrate(), tr("kbps"));
ui_->ebur128_integrated_loudness->setText(song.Ebur128LoudnessLUFSToText());
ui_->ebur128_loudness_range->setText(song.Ebur128LoudnessRangeLUToText());
SetDate(ui_->mtime, song.mtime());
SetDate(ui_->ctime, song.ctime());