MCPcopy Create free account
hub / github.com/Linloir/GraphBuilder / mouseReleaseEvent

Method mouseReleaseEvent

customScrollContainer.cpp:120–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void ScrollAreaCustom::mouseReleaseEvent(QMouseEvent *event){
121 //start scrolling
122 if(container->y() > 0 || container->y() + container->height() < this->height())
123 bounceBack();
124 else
125 rfrshView->start(30);
126 pressed = false;
127}
128
129void ScrollAreaCustom::bounceBack(){
130 rfrshView->stop();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected