MCPcopy Create free account
hub / github.com/KDE/labplot / suppressUpdatePoint

Method suppressUpdatePoint

src/backend/datapicker/DatapickerCurve.cpp:415–424  ·  view source on GitHub ↗

############################################################################## ###### SLOTs for changes triggered via QActions in the context menu ######## ##############################################################################

Source from the content-addressed store, hash-verified

413// ###### SLOTs for changes triggered via QActions in the context menu ########
414// ##############################################################################
415void DatapickerCurve::suppressUpdatePoint(bool suppress) {
416 m_supressResizeDatasheet = suppress;
417
418 if (!suppress) {
419 // update points
420 auto points = children<DatapickerPoint>(ChildIndexFlag::IncludeHidden);
421 m_datasheet->setRowCount(points.count());
422 updatePoints();
423 }
424}
425
426void DatapickerCurve::updatePoints() {
427 for (auto* point : children<DatapickerPoint>(ChildIndexFlag::IncludeHidden))

Callers 1

itemChangeMethod · 0.80

Calls 2

setRowCountMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected