| 42 | } |
| 43 | |
| 44 | void ScrollAreaCustom::mousePressEvent(QMouseEvent *event){ |
| 45 | if(container->height() > this->height()){ |
| 46 | if(container->y() <= 0 && container->y() + container->height() >= this->height()) |
| 47 | pressed = true; |
| 48 | lastY = event->pos().y(); |
| 49 | } |
| 50 | getCord->stop(); |
| 51 | rfrshView->stop(); |
| 52 | curSpd = 0; |
| 53 | outOfEdge = false; |
| 54 | moveStored = 0; |
| 55 | nextMove = 1; |
| 56 | } |
| 57 | |
| 58 | void ScrollAreaCustom::mouseMoveEvent(QMouseEvent *event){ |
| 59 | setCursor(Qt::ArrowCursor); |
nothing calls this directly
no outgoing calls
no test coverage detected