Daniel
Daniel

Reputation: 571

Qt: Changing mouse cursor while dragging

How can I change the mouse cursor while dragging? I don't want the Blocking cursor or the Arrow with the Plus sign to be displayed, just the arrow cursor.

I'm using Qt 4.6.

Thanks

Upvotes: 1

Views: 1898

Answers (1)

Skilldrick
Skilldrick

Reputation: 70879

Use setDragCursor. Note this takes a QPixmap, so you can't just pick the arrow cursor - you need to give it an image. It doesn't look like you can use an alternative native cursor.

There has been some discussion on this.

Upvotes: 0

Related Questions