MCPcopy Create free account
hub / github.com/MITK/MITK / GetSyncGroup

Method GetSyncGroup

Modules/QtWidgets/src/QmitkRenderWindowUtilityWidget.cpp:141–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141QmitkRenderWindowUtilityWidget::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
150void QmitkRenderWindowUtilityWidget::OnSyncGroupSelectionChanged(int index)
151{

Calls

no outgoing calls