[Qt-interest] hovering problem in QGraphicsItem

chandrasekar wagmare sekarwagmare at gmail.com
Fri Mar 13 15:31:57 CET 2009


yes i already  include setCacheMode(CacheBackground); in my constructor of
QGraphicsView()  before that ...

On Fri, Mar 13, 2009 at 7:27 PM, Sean Harmer <
sean.harmer at maps-technology.com> wrote:

> 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
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
CHANDRU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090313/95e89ee6/attachment.html 


More information about the Qt-interest-old mailing list