Results 1 to 1 of 1

Thread: PyQt Hide off screen widgets

  1. #1
    Join Date
    Jan 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default PyQt Hide off screen widgets

    I wrote a simple program with PyQt that displays animated gif images. I am using QLabels and QMovies to do this. However, I noticed that it is consuming a bunch of memory to do so. Admittedly this is my fault as I am opening all the gifs and animating all of them at the same time, even ones off screen. Is there a straightforward way to check to see if a widget is off screen? I see the isVisible functions, but it is my impression those will return true in this case because while the widgets are off screen, they are still visible in a code sense. Thanks for any assistance.
    Last edited by Alterah; 21st January 2012 at 05:25.

Similar Threads

  1. Replies: 0
    Last Post: 13th April 2010, 19:27
  2. QAxWidget hide other widgets in it's area
    By sprnshld in forum Qt Programming
    Replies: 1
    Last Post: 27th July 2008, 15:56
  3. Replies: 0
    Last Post: 16th July 2008, 13:15
  4. is it possible to animate sliding widgets on show/hide
    By discostu in forum Qt Programming
    Replies: 2
    Last Post: 4th March 2007, 08:59
  5. hide/show screen update problem
    By SkripT in forum Qt Programming
    Replies: 2
    Last Post: 6th February 2006, 17:49

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.