Results 1 to 5 of 5

Thread: Question about QGraphicsItem and cache mode

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 268 Times in 268 Posts
    Wiki edits
    20

    Default Re: Question about QGraphicsItem and cache mode

    Quote Originally Posted by di_zou View Post
    So I guess changing the color isn't a transform?
    No

    Is there any way to use this cache mode and do what I want it to do? ie update the chache everytime the color changes or everytime I click on it?
    Not with this cache mode, it is very specific (hence why it is fast). Use QGraphicsItem::ItemCoordinateCache or write your own cache.

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

    di_zou (13th July 2010)

Similar Threads

  1. QGraphicsItem pos() method question!
    By zgulser in forum Qt Programming
    Replies: 0
    Last Post: 20th August 2009, 20:56
  2. Simple QGraphicsItem question
    By godmodder in forum Qt Programming
    Replies: 2
    Last Post: 13th November 2008, 18:34
  3. Replies: 8
    Last Post: 10th October 2007, 19:20
  4. QGraphicsItem move question
    By mhoover in forum Qt Programming
    Replies: 2
    Last Post: 7th December 2006, 20:01
  5. QtFileDialog: Mode Question!
    By Mokster in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2006, 22:41

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.