how update a qListView in backgroud

Discussion in 'Python' started by Reinaldo Carvalho, May 3, 2007.

  1. Hi,

    I programming with qt module and i have a qWidgetTab with a qListView
    inside, and i need update the qListView every 5 seconds, how do this
    on transparent mode to user. I do a function to update, but i dont
    know call then.

    I will start this update when user select this tab, and stop whe user
    leave this tab. I need a thread ot something else?

    --
    Reinaldo Carvalho
     
    Reinaldo Carvalho, May 3, 2007
    #1
    1. Advertising

  2. Reinaldo Carvalho

    Tina I Guest

    Reinaldo Carvalho wrote:
    > Hi,
    >
    > I programming with qt module and i have a qWidgetTab with a qListView
    > inside, and i need update the qListView every 5 seconds, how do this
    > on transparent mode to user. I do a function to update, but i dont
    > know call then.
    >
    > I will start this update when user select this tab, and stop whe user
    > leave this tab. I need a thread ot something else?
    >

    Assuming PyQt4 here:
    Check out QTimer. Have it start when the user selects the tab and have
    it timeout every five seconds calling the update function.

    Tina
     
    Tina I, May 3, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    4
    Views:
    2,465
  2. Uwe Mayer

    fast QListView numerical sort

    Uwe Mayer, Feb 12, 2004, in forum: Python
    Replies:
    2
    Views:
    495
    Uwe Mayer
    Feb 12, 2004
  3. Chris
    Replies:
    2
    Views:
    572
    cwdjrxyz
    Dec 10, 2006
  4. Angel

    Web Form Controls Backgroud

    Angel, Jan 12, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    115
    Angel
    Jan 12, 2004
  5. louissan

    slow onmouseover - backgroud position

    louissan, Apr 30, 2004, in forum: Javascript
    Replies:
    1
    Views:
    133
    Jim Ley
    May 1, 2004
Loading...

Share This Page