MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / ~ElaMenu

Method ~ElaMenu

ElaWidgetTools/ElaMenu.cpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 popupEasing.addCubicBezierSegment(QPointF(0, 0), QPointF(0, 1), QPointF(1, 1));
31 d->_showAnimation->setEasingCurve(popupEasing);
32 d->_showAnimation->setDuration(250);
33 d->_showAnimation->setEndValue(0.0);
34 connect(d->_showAnimation, &QPropertyAnimation::finished, d, &ElaMenuPrivate::_finishShowAnimation);
35 connect(d->_showAnimation, &QPropertyAnimation::valueChanged, this, [this]() {
36 update();
37 });
38}
39

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected