MCPcopy Create free account
hub / github.com/KDAB/KDChart / mapToSource

Method mapToSource

examples/Sql/main.cpp:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 return index(sourceIndex.column(), sourceIndex.row());
47 }
48 QModelIndex mapToSource(const QModelIndex &proxyIndex) const override
49 {
50 return sourceModel()->index(proxyIndex.column(), proxyIndex.row());
51 }
52 QModelIndex index(int r, int c, const QModelIndex &ind = QModelIndex()) const override
53 {
54 Q_UNUSED(ind)

Callers 1

itemClickedMethod · 0.45

Calls 3

rowMethod · 0.80
indexMethod · 0.45
columnMethod · 0.45

Tested by

no test coverage detected