Results 1 to 15 of 15

Thread: QGraphicsView not being updated

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Join Date
    Jan 2010
    Posts
    190
    Thanks
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: QGraphicsView not being updated

    This is a compilable example showing the issue I'm talking about. It doesn't happen always, but quite often. Tried this on Windows Vista and Windows CE.

    Under Windows Vista seems to work always correctly. Under Windows CE, sometimes it shows the images as soon as they are loaded, sometimes it is necessary to click in some place before the application shows the images.

    In this example I didn't add an update explicitly, in my previous application there was an explicit call to the update method, but it seems this is not needed, at least not under Windows Vista.

    If you need to change the path where the images are located and the filter to test it, change whatever you need in workerthread.cpp.

    Thanks for any advice!
    Attached Files Attached Files

Similar Threads

  1. Layout not updated when sizeHint changes
    By ArmanS in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2010, 14:31
  2. QTextEdit not being updated
    By doggrant in forum Qt Programming
    Replies: 3
    Last Post: 2nd September 2009, 17:25
  3. elements not updated
    By danesh in forum Qt Programming
    Replies: 2
    Last Post: 2nd April 2009, 08:35
  4. HaiQ updated for Qt 4.4
    By magland in forum Qt-based Software
    Replies: 8
    Last Post: 19th September 2008, 11:42
  5. QHash only getting updated not populated
    By quickNitin in forum Newbie
    Replies: 2
    Last Post: 13th July 2006, 11:32

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.