Results 1 to 2 of 2

Thread: update ();

  1. #1
    Join Date
    Dec 2013
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default update ();

    Hello i have a simple question.
    i have 2 scenes which i paint various items on it.
    the first scene contains some background Polygons.
    the second scene numerious items such as texts, indicators, pictures and so on, each item has its own class which uses qpaint.
    The problem iḿ having is that if draw or change somthing in the scond scene, the first scene items are getting messed up.
    Is there a simple method, that i can call if one item is updated all the other itmes are alos updated ..something like a complete paint signal.
    Tried to use signal and slots...but somehow this does not work....

    any simple suggestion

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: update ();

    Show us some code reproducing the issue.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QGraphicsItem::update(); vs scene()->update();
    By Lord_Navro in forum Newbie
    Replies: 1
    Last Post: 25th April 2013, 06:23
  2. QFileSystemModel - Incremental update/pre-emptive update
    By johnnyturbo3 in forum Qt Programming
    Replies: 0
    Last Post: 2nd September 2011, 13:56
  3. Replies: 2
    Last Post: 29th September 2010, 17:44
  4. Is Update() the right way?
    By td in forum Newbie
    Replies: 1
    Last Post: 5th December 2008, 14:54
  5. update()
    By JeanC in forum Qt Programming
    Replies: 4
    Last Post: 11th February 2008, 16:12

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.