| 139 | } |
| 140 | |
| 141 | QmitkRenderWindowUtilityWidget::GroupSyncIndexType QmitkRenderWindowUtilityWidget::GetSyncGroup() const |
| 142 | { |
| 143 | // Read the group index from the selected row's userData rather than from the |
| 144 | // row position (which would conflate combobox layout with the group's logical |
| 145 | // identifier when groups are sparse). |
| 146 | const QVariant data = m_SyncGroupSelector->currentData(); |
| 147 | return data.isValid() ? data.toInt() : -1; |
| 148 | } |
| 149 | |
| 150 | void QmitkRenderWindowUtilityWidget::OnSyncGroupSelectionChanged(int index) |
| 151 | { |
no outgoing calls