Results 1 to 6 of 6

Thread: force redraw of every graphicsitem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Posts
    209
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default force redraw of every graphicsitem

    I'm having a little problem with redrawing in a graphicsview/scene.
    If I scroll to another position of the scene, there are some graphicsitems that are not redrawn.
    See the picture. There you can see how the boxes are redrawn, but the lines with the integers on are not always drawn, 4 of them are just started, but not finished.

    The integers are QGraphicsTextItems that has a customized paint() function that draws a line beneth the integer.

    I'm not sure how to make it do a proper redraw of the scene.
    Attached Images Attached Images

Similar Threads

  1. Force redraw of QSimpleRichText when QStyleSheet changes
    By SHesselbarth in forum Qt Programming
    Replies: 1
    Last Post: 12th April 2006, 16:10
  2. QT4 beginner Fatal Error
    By Remyfr in forum Installation and Deployment
    Replies: 3
    Last Post: 11th March 2006, 01:48

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.