PDA

View Full Version : Line objects



Doug Broadwell
29th August 2007, 03:55
I need to draw some horizontal and vertical lines that I can independantly Enable and Disable (Black and either Grey or background color) of about 4 pixels wide. "Lines" in Designer don't work as they don't render as simple black lines and the width doesn't affect how they look. I would assume I could use something like a QRect (or a QLine) but I can't find in the documentation how to associate a QPainter to it to render it.

??? Help.

Thanks

marcel
29th August 2007, 05:04
Paint them on a QWidget.