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

Method functionToggled

examples/Plotter/BigDataset/MainWidget.cpp:73–81  ·  view source on GitHub ↗

slot

Source from the content-addressed store, hash-verified

71
72// slot
73void MainWidget::functionToggled(bool checked)
74{
75 if (!checked) {
76 return;
77 }
78 int idx = m_functionSelector.indexOf(qobject_cast<QRadioButton *>(sender()));
79 Q_ASSERT(idx >= 0);
80 m_model.setFunction(static_cast<Model::Function>(idx));
81}
82
83// slot
84void MainWidget::addPointsButtonClicked()

Callers

nothing calls this directly

Calls 1

setFunctionMethod · 0.80

Tested by

no test coverage detected