http://www.qtcentre.org/threads/2626...pen().setColor
The QPen object returned is const.
http://www.qtcentre.org/threads/2626...pen().setColor
The QPen object returned is const.
Ah OK. Somehow I missed that.
So does that mean that basically the only way to set, say, the pen's colour to red is with the following statement?
Qt Code:
To copy to clipboard, switch view to plain text mode
Last edited by dohzer; 14th August 2010 at 15:19. Reason: Accidentally wrote "Brush" instead of "Pen"
Bookmarks