Hi,
On my qwtplot the mouse cursor looks like this +.
I used myPlot->setCursor(Qt::ArrowCursor); but it didnt work. I also tried Qcursor::setshape() How can I make cursor like normal arrow on myPlot.
Cheers,
Hi,
On my qwtplot the mouse cursor looks like this +.
I used myPlot->setCursor(Qt::ArrowCursor); but it didnt work. I also tried Qcursor::setshape() How can I make cursor like normal arrow on myPlot.
Cheers,
myPlot->canvas()->setCursor(...);
Uwe
gorec323 (14th January 2016), hamid ghous (14th April 2010), romanesen (23rd March 2011)
Sorry to resurrect an ancient thread, but seems like the best place to ask this (it appears high in a google search).
How do you change the cursor colour when over a canvas ?
The reason I ask is that on Windows when I have a dark canvas I get a black cursor that is very hard to see.
Thanks,
Mark
And what exactly do you need to know, what has not been already answered in this thread ?
Uwe
How to set the cursor color.
See QWidget::setCursor(). There is nothing of value I could add, that is not covered by the docs of QCursor.
Uwe
Change cursor pixmap like this:
Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks