Results 1 to 1 of 1

Thread: Is there any way to order the foreground paint-update on graphics view ?

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Is there any way to order the foreground paint-update on graphics view ?

    Graphicsview paints first the background, then the layer and last the foreground.
    I'd like to use the foreground to draw some dynamic things over the main geometric information, but I dont know how to send an update order only for the foreground.
    Any idea ? Thanks


    Added after 57 minutes:


    I answer myself:
    G_scene->invalidate(QRect(),QGraphicsScene::ForegroundLaye r);

    Excuse me ,,..
    Last edited by tonnot; 28th November 2011 at 20:03.

Similar Threads

  1. QWidget from Designer--Paint or set foreground
    By augusbas in forum Qt Programming
    Replies: 2
    Last Post: 21st June 2011, 09:12
  2. Replies: 0
    Last Post: 16th June 2010, 14:09
  3. Replies: 0
    Last Post: 18th June 2008, 12:00
  4. Replies: 1
    Last Post: 26th December 2007, 11:58
  5. Graphics View or Paint ?
    By igor in forum Qt Programming
    Replies: 4
    Last Post: 21st January 2007, 14:21

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.