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

Method attributes

examples/DataValueTexts/mainwindow.cpp:289–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289const KDChart::DataValueAttributes MainWindow::attributes() const
290{
291 if (scopeOneBarRB->isChecked()) {
292 // qDebug() << "attributes() returns settings for one single bar";
293 return m_bars->dataValueAttributes(currentIndex());
294 }
295 if (scopeDatasetRB->isChecked()) {
296 // qDebug() << "attributes() returns settings for a dataset";
297 return m_bars->dataValueAttributes(scopeDatasetSB->value());
298 }
299 // qDebug() << "attributes() returns common settings";
300 return m_bars->dataValueAttributes();
301}
302
303void MainWindow::setAttributes(const KDChart::DataValueAttributes &da)
304{

Callers

nothing calls this directly

Calls 2

dataValueAttributesMethod · 0.80
valueMethod · 0.80

Tested by

no test coverage detected