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

Method currentIndex

examples/DataValueTexts/mainwindow.cpp:282–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282const QModelIndex MainWindow::currentIndex() const
283{
284 const int dataset = scopeBarDatasetSB->value();
285 const int item = scopeBarItemSB->value();
286 return m_bars->model()->index(item, dataset, QModelIndex());
287}
288
289const KDChart::DataValueAttributes MainWindow::attributes() const
290{

Callers 1

paintMarkersMethod · 0.45

Calls 4

valueMethod · 0.80
QModelIndexClass · 0.50
indexMethod · 0.45
modelMethod · 0.45

Tested by

no test coverage detected