By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,035 Members | 1,995 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,035 IT Pros & Developers. It's quick & easy.

how update a qListView in backgroud

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.