| 1196 | } |
| 1197 | |
| 1198 | void QmitkMultiLabelInspector::OnCopyToGroup() |
| 1199 | { |
| 1200 | auto selectedLabels = this->GetSelectedLabels(); |
| 1201 | |
| 1202 | if (selectedLabels.empty()) |
| 1203 | return; |
| 1204 | |
| 1205 | QmitkCopyLabelToGroupDialog dialog(m_Segmentation, m_Segmentation->GetLabel(selectedLabels.front())); |
| 1206 | |
| 1207 | if (dialog.exec() == QDialog::Accepted) |
| 1208 | this->SetSelectedLabel(dialog.GetDestinationLabel()->GetValue()); |
| 1209 | } |
| 1210 | |
| 1211 | QWidgetAction* QmitkMultiLabelInspector::CreateOpacityAction() |
| 1212 | { |
nothing calls this directly
no test coverage detected