| 795 | } |
| 796 | |
| 797 | QVariant ProcessesWidget::tableSelectionKeyFromProxy(const QModelIndex &proxyKeyIndex) const |
| 798 | { |
| 799 | const QModelIndex srcIdx = this->m_proxy->mapToSource(proxyKeyIndex); |
| 800 | if (!srcIdx.isValid()) |
| 801 | return {}; |
| 802 | return this->m_model->data(srcIdx, Qt::UserRole); |
| 803 | } |
| 804 | |
| 805 | void ProcessesWidget::copyCellSelectionToClipboard() |
| 806 | { |