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