Results 1 to 11 of 11

Thread: QGraphicsItem::setCacheMode - how does it work?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Dec 2009
    Posts
    128
    Thanks
    7
    Thanked 14 Times in 14 Posts
    Platforms
    Unix/X11 Windows

    Default Re: QGraphicsItem::setCacheMode - how does it work?

    Quote Originally Posted by d_stranz View Post
    I have tried adding calls to update() in other places in the code where the item's contents are changed, but nothing ever happens.
    Did you call prepareGeometryChange() in those places where "the item's contents are changed" ?

  2. The following user says thank you to totem for this useful post:

    d_stranz (18th May 2012)

Similar Threads

  1. Replies: 3
    Last Post: 25th March 2012, 20:01
  2. Subclassing QGraphicsItem to work as a layer
    By kefir in forum Qt Programming
    Replies: 7
    Last Post: 10th March 2011, 09:42
  3. Replies: 7
    Last Post: 29th November 2010, 19:20
  4. Why QGLFramebufferObject in QGraphicsItem don’t work?
    By Student3000 in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2010, 20:12
  5. QGraphicsItem::setToolTip does not work
    By Nadia in forum Qt Programming
    Replies: 2
    Last Post: 6th September 2009, 19:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.