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

Method paint

Modules/MatchPointRegistrationUI/src/QmitkMapPropertyDelegate.cpp:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void QmitkMapPropertyDelegate::paint(QPainter *painter,
41 const QStyleOptionViewItem &option,
42 const QModelIndex &index) const
43{
44 QVariant data = index.data(Qt::DisplayRole);
45
46 QString name = data.value<QString>();
47
48 QStyledItemDelegate::paint(painter, option, index);
49}
50
51QWidget *QmitkMapPropertyDelegate::createEditor(QWidget *parent,
52 const QStyleOptionViewItem &option,

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected