PDA

View Full Version : How I Use ui with Thread



METEOR7
28th October 2011, 13:19
Hi
How I Use UI Control With QThread
on Run (I Use UI For Add Item To ListWidget)

Thanks

METEOR7
29th October 2011, 14:12
Please Help Me:(

wysota
29th October 2011, 14:14
You can't use threads with the user interface directly. Please state your real problem.

METEOR7
29th October 2011, 22:18
I Program Do Recurse Directory on thread how i add scanned folder to listwidget
Thanks

Santosh Reddy
30th October 2011, 00:11
Recursive directive logic can run on a QThread and emit signals to the UI / Widgets to update the ListWidget(s).
Refer this link for working example (http://www.qtcentre.org/wiki/index.php?title=Updating_GUI_from_QThread).

METEOR7
17th November 2011, 14:39
Thanks VeryMuch :)