MCPcopy Create free account
hub / github.com/Linloir/GraphBuilder / stopAnimation

Method stopAnimation

graph_view.cpp:441–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441void MyGraphicsVexItem::stopAnimation(){
442 if(curAnimation != nullptr){
443 curAnimation->stop();
444 curAnimation->deleteLater();
445 curAnimation = nullptr;
446 }
447}
448
449void MyGraphicsVexItem::move(QPointF position){
450 QPointF displacement = position - (this->scenePos() + this->rect().center());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected