Results 1 to 5 of 5

Thread: Different behaviors of GLWidget,Widget,Canvas,Scene when obscured by other windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Different behaviors of GLWidget,Widget,Canvas,Scene when obscured by other windo

    but what exactly is the problem?

  2. #2
    Join Date
    Aug 2007
    Posts
    13
    Thanks
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Different behaviors of GLWidget,Widget,Canvas,Scene when obscured by other windo

    The problem is: I cant update the Zoom window entirely at once ,because it takes too long ,
    other threads which requesting data from an signal processing board(actually from the kernel module of the same board kernel buffer overflows before I read it) and forwarding data via ethernet loosing data .
    That's way I update the zoom window in time ,in small parts.Refreshing an erased part of the window obscured by another window, by my functions will take again too long.I need a solution without my effort,like i observed in opengl case (it recovers without calling my code ).Is this unique to opengl?

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

    Default Re: Different behaviors of GLWidget,Widget,Canvas,Scene when obscured by other windo

    This is an X11 issue. I think that using extensions such as Damage, you could avoid redraws, but I'm not sure of that. I suggest you cache the result of the last draw in a pixmap and simply redraw the pixmap when the paint event comes in. Just make sure to regenerate the pixmap when the contents of the widget change.

  4. #4
    Join Date
    Aug 2007
    Posts
    13
    Thanks
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Different behaviors of GLWidget,Widget,Canvas,Scene when obscured by other windo

    Thank You wysota

    I will try .

Similar Threads

  1. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00
  2. Qt and windows vista
    By munna in forum General Discussion
    Replies: 8
    Last Post: 11th January 2006, 22:33

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.