PDA

View Full Version : setDragMode() changes mouse pointer forever



Cruz
7th September 2016, 09:43
Hi!

In my QGraphicsView I call setDragMode(QGraphicsView::ScrollHandDrag) in the constructor because my default mouse behavior is to drag scroll the view.
This changes the cursor to the open hand cursor for good, and subsequent calls to setCursor(Qt::ArrowCursor) have no effect. How can I keep the default drag scroll feature and yet set a custom mouse pointer?

CRuz