| 894 | } |
| 895 | |
| 896 | void MyGraphicsLineItem::reverseDirection(){ |
| 897 | delArrow(); |
| 898 | startVex->removeStartLine(this); |
| 899 | endVex->removeEndLine(this); |
| 900 | MyGraphicsVexItem *temp = startVex; |
| 901 | startVex = endVex; |
| 902 | endVex = temp; |
| 903 | startVex->addStartLine(this); |
| 904 | endVex->addEndLine(this); |
| 905 | refrshLine(); |
| 906 | } |
| 907 | |
| 908 | void MyGraphicsLineItem::moveStart(MyGraphicsVexItem *start){ |
| 909 | delArrow(); |
no test coverage detected