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

Method AddNode

Modules/QtWidgets/src/QmitkDataStorageComboBox.cpp:164–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164void QmitkDataStorageComboBox::AddNode(const mitk::DataNode *dataNode)
165{
166 // this is an event function, make sure that we didn't call ourself
167 if (!m_BlockEvents)
168 {
169 m_BlockEvents = true;
170 // pass a -1 to the InsertNode function in order to append the datatree node to the end
171 this->InsertNode(-1, dataNode);
172 m_BlockEvents = false;
173 }
174}
175
176void QmitkDataStorageComboBox::RemoveNode(int index)
177{

Callers 3

ResetMethod · 0.95
InitWidgetsMethod · 0.45
InitPropertyKeyPathFunction · 0.45

Calls 1

InsertNodeMethod · 0.95

Tested by

no test coverage detected