PDA

View Full Version : Problem with option->exposedRect



lni
21st June 2011, 11:27
Hello,

QGraphicsItem::paint always give me the entire item's boundingRect for option->exposedRect.

What is the flag to set so the option->exposedRect will be minimum?

Thanks!

Rachol
21st June 2011, 11:32
setFlag (QGraphicsItem::ItemUsesExtendedStyleOption) on QGraphicsItem.