| 163 | } |
| 164 | |
| 165 | void ScrollAreaCustom::updateSpd(){ |
| 166 | int spd = lastY - strtY; |
| 167 | scrollDown = spd >= 0; |
| 168 | strtY = lastY; |
| 169 | curSpd = abs(spd); |
| 170 | } |
| 171 | |
| 172 | void ScrollAreaCustom::addWidget(QWidget *newWidget, bool setAnimation){ |
| 173 | newWidget->setParent(container); |
nothing calls this directly
no outgoing calls
no test coverage detected