How to focus line in QwtPlotMarker/QwtPlotScaleItem/QwtPlotPicker
Hi All,
I'm trying to draw a line using QwtPlotMarker or by QwtPlotScaleItem.
And I'm using QwtPlotPicker to select the line and I got success, but it doesn't focus when I click on it.
Now the question is, how I can set focus on that line either create by QwtPlotMarker or by QwtPlotScaleItem when I clicked on it.
I can set width of that line, but looking for some focus functionality if it is their.
Thanks :)
Re: How to focus line in QwtPlotMarker/QwtPlotScaleItem/QwtPlotPicker
Not sure, what you mean by focusing - guess you are talking about some sort of highlighting ?
Then you can simply derive from QwtPlotMarker and add a selected state, where you draw the marker with a different QPen.
Uwe
Re: How to focus line in QwtPlotMarker/QwtPlotScaleItem/QwtPlotPicker