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

Method setLowerPosition

src/frontend/widgets/qxtspanslider.cpp:504–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502}
503
504void QxtSpanSlider::setLowerPosition(int lower) {
505 if (qxt_d().lowerPos != lower) {
506 qxt_d().lowerPos = lower;
507 if (!hasTracking())
508 update();
509 if (isSliderDown())
510 Q_EMIT lowerPositionChanged(lower);
511 if (hasTracking() && !qxt_d().blockTracking) {
512 bool main = (qxt_d().mainControl == QxtSpanSlider::LowerHandle);
513 qxt_d().triggerAction(SliderMove, main);
514 }
515 }
516}
517
518/*!
519 \property QxtSpanSlider::upperPosition

Callers 1

triggerActionMethod · 0.80

Calls 1

triggerActionMethod · 0.45

Tested by

no test coverage detected