[Qt-interest] Changin the pen width for QGLWidget
Samuel Rødal
sroedal at trolltech.com
Fri Dec 4 10:54:53 CET 2009
Sujan Dasmahapatra wrote:
> How can we get the current paintEngine from QGLWidget. As painEngine()
> method is a pure virtual function how can we implement this function so
> that it returns current QPaintEngine
>
> Any idea from anyone
> Thanks
Are you making your own paint engine? Otherwise you probably shouldn't
access the paint engine yourself. The paint engine is merely the backend
to QPainter to translate painter calls to raster / GL / X11 rendering code.
--
Samuel
More information about the Qt-interest-old
mailing list