469,600 Members | 2,326 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,600 developers. It's quick & easy.

how update a qListView in backgroud

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
May 3 '07 #1
1 1997
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
May 3 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.