[Qt-interest] hovering problem in QGraphicsItem
Sean Harmer
sean.harmer at maps-technology.com
Fri Mar 13 14:57:52 CET 2009
On Friday 13 March 2009 13:33:42 chandrasekar wagmare wrote:
> thanks ... it works i set setPalette(QColor) and it works ...
> but how ...? why this stylesheet is not rendering quickly ...
Also take a look at QGraphicsView::cacheMode.
QGraphicsView view;
view.setBackgroundBrush(QImage(":/images/backgroundtile.png"));
view.setCacheMode(QGraphicsView::CacheBackground);
This can speed up rendering when using complex backgrounds.
Sean
More information about the Qt-interest-old
mailing list