how to use QGraphicsView::RubberBandDrag?
问题 Can somebody please provide an explanation, or better yet a short example, of how to use the RubberBandDrag enum value in QGraphicsView ? PyQt5 would be great, but I can translate from the C++ version if that is preferred for whomever can provide a helpful exmaple. NoDrag and ScrollHandDrag are relatively easy to understand ( NoDrag makes the mouse a pointer and you can capture clicks at certain locations, ScrollHandDrag makes the mouse a hand and you can implement click and drag to scroll