void PlayerListWidget::filterSelectedPlayer() { const QModelIndexList& selection = ui->tagList->selectionModel()->selectedIndexes(); if (selection.count()) { QString ts = selection[0].data().toString(); emit filterRequest(ts); } }
void ECOListWidget::slotLinkClicked(const QUrl& url) { if(url.scheme().startsWith("player")) { QString tag = (url.scheme().contains("white")) ? TagNameWhite : TagNameBlack; emit filterEcoPlayerRequest(tag, ui->detailText->documentTitle(), url.path()); emit filterEcoPlayerRequest(url.path(), ui->detailText->documentTitle()); } else if(url.scheme().startsWith("eco")) { emit filterRequest(url.path()); } }
void FileTypeReportView::createFilter() { emit filterRequest(selected_extension); }