[solved] I'd like to see the QRect...
I must to write a delegate for a QListVew.
When I reimplement the paint() method, I use some QRect in a spec layout.
I'd like too see these rects exactly (position, dimension).
How can I switch on and off these lines (boundaries) of rects?
QRect is just a class which holds rectangle dimensions and position (i.e: x,y,width, height). It doesn't draw anything. I think what you want is QPainter and more specifically QPainter::drawRect method.
Ahh, yes! Thank you! This will solve my problem :)