#pragma once #include #include // Qt 6.12 takes a drag point as QPointF; 6.4, QPoint. using DragAt = std::conditional_t, QPointF, QPoint>;