Qt Drag Drop Mode. h: The official documentation goes very deeply into how view/m