MCPcopy Create free account
hub / github.com/KDE/labplot / mouseReleaseEvent

Method mouseReleaseEvent

src/3rdparty/Qt-Advanced-Docking-System/src/ResizeHandle.cpp:207–222  ·  view source on GitHub ↗

============================================================================

Source from the content-addressed store, hash-verified

205
206//============================================================================
207void CResizeHandle::mouseReleaseEvent(QMouseEvent* e)
208{
209 if (!opaqueResize() && e->button() == Qt::LeftButton)
210 {
211 if (d->RubberBand)
212 {
213 d->RubberBand->deleteLater();
214 }
215 d->doResizing(e, true);
216 }
217 if (e->button() == Qt::LeftButton)
218 {
219 d->Pressed = false;
220 update();
221 }
222}
223
224
225//============================================================================

Callers

nothing calls this directly

Calls 2

buttonMethod · 0.80
doResizingMethod · 0.80

Tested by

no test coverage detected