Hi all,
I am brand new to Qwt and am currently trying to override drawRubberBand() so that I can have a semi-transparent, gray rubberband. My initial inclination was to override drawRubberBand() and set some of the parameters of QPainter (e.g. opacity, brush).
However, it's not working as I've expected. From initial debugging, it seems the problem is with the updateMask() function conflicting with what I want to do. I noticed that it's a virtual function but don't know if it's possible to override a virtual function of a private inner class.
Is there a better way to accomplishing my goal of having an semi-transparent, filled rectangle as a rubberband?
As a related issue, I would also like the rectangle to persist until a new rectangle is selected.
Thanks!
Bookmarks