| 296 | } |
| 297 | |
| 298 | void MyGraphicsView::setHover(bool in){ |
| 299 | if(in) |
| 300 | mouseState |= ON_HOVER; |
| 301 | else |
| 302 | mouseState &= ~ON_HOVER; |
| 303 | } |
| 304 | |
| 305 | void MyGraphicsView::setSel(QGraphicsItem *sel){ |
| 306 | int state = SEL | (sel->type() - QGraphicsItem::UserType); |
nothing calls this directly
no outgoing calls
no test coverage detected