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

Method headerData

Modules/QtWidgets/src/QmitkDataStorageTreeModel.cpp:499–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499QVariant QmitkDataStorageTreeModel::headerData(int /*section*/, Qt::Orientation orientation, int role) const
500{
501 if (orientation == Qt::Horizontal && role == Qt::DisplayRole && m_Root)
502 return QString::fromStdString(m_Root->GetDataNode()->GetName());
503
504 return QVariant();
505}
506
507void QmitkDataStorageTreeModel::SetDataStorage(mitk::DataStorage *_DataStorage)
508{

Callers

nothing calls this directly

Calls 2

GetNameMethod · 0.45
GetDataNodeMethod · 0.45

Tested by

no test coverage detected