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

Method OnSelectionChanged

Modules/QtWidgets/src/QmitkNodeDetailsDialog.cpp:63–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61};
62
63void QmitkNodeDetailsDialog::OnSelectionChanged(const mitk::DataNode* node)
64{
65 if (nullptr == node)
66 return;
67
68 std::ostringstream stream;
69 auto baseData = node->GetData();
70
71 if (nullptr != baseData)
72 baseData->Print(stream, 2);
73
74 m_Ui->textBrowser->setPlainText(QString::fromStdString(stream.str()));
75}
76
77void QmitkNodeDetailsDialog::OnSearchButtonClicked()
78{

Callers

nothing calls this directly

Calls 2

GetDataMethod · 0.45
PrintMethod · 0.45

Tested by

no test coverage detected