summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_qt3support_widgets_q3gridview.cpp
blob: 43dca3e66ebea858707f9a723d833a15bbf46593 (plain)
1
2
3
4
5
6
//! [0]
p->setClipRect(cellRect(), QPainter::CoordPainter);
//... your drawing code
p->setClipping(false);

//! [0]