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

Method flags

Modules/RenderWindowManagerUI/src/QmitkDataStorageLayerStackModel.cpp:80–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80Qt::ItemFlags QmitkDataStorageLayerStackModel::flags(const QModelIndex& index) const
81{
82 Qt::ItemFlags flags = Qt::NoItemFlags;
83 if (index.isValid() && index.model() == this)
84 {
85 flags = Qt::ItemIsEnabled | Qt::ItemIsSelectable;
86 if (0 == index.column())
87 {
88 flags |= Qt::ItemIsUserCheckable;
89 }
90 }
91
92 return flags;
93}
94
95QVariant QmitkDataStorageLayerStackModel::headerData(int section, Qt::Orientation orientation, int role) const
96{

Callers 2

editorEventMethod · 0.45
editorEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected