Reputation: 16089
By default, the cursor changes to a crosshair when it’s within a QwtPlot on the screen. Calling
setCursor(Qt::ArrowCursor);
from within my QwtPlot subclass doesn’t have any effect. How can I change this cursor to something other than a crosshair?
Upvotes: 2
Views: 1021
Reputation: 16089
You need to call setCursor
on the plot’s canvas. From a QwtPlot subclass, for example,
canvas()->setCursor(Qt::ArrowCursor);
Upvotes: 3