| 233 | } |
| 234 | |
| 235 | void FilterEditorPanel::populateSources() { |
| 236 | ui_->series_list->setSelectionMode(QAbstractItemView::ExtendedSelection); |
| 237 | for (std::size_t i = 0; i < sources_.size(); ++i) { |
| 238 | // A source that is itself a filter output is labelled by its ORIGINAL input |
| 239 | // series (not the output alias), so reopening reads as "edit <input>". |
| 240 | auto* item = new QListWidgetItem(readableName(originalInputOf(sources_[i])), ui_->series_list); |
| 241 | item->setData(Qt::UserRole, static_cast<int>(i)); |
| 242 | } |
| 243 | if (!sources_.empty()) { |
| 244 | ui_->series_list->setCurrentRow(0); |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | void FilterEditorPanel::populateTransforms() { |
| 249 | ui_->transform_list->clear(); |
nothing calls this directly
no test coverage detected