[PyQt] Parent problems with QThread and QProgressDialog

PyProg PyProg pyprog05 at gmail.com
Fri Aug 14 20:03:42 BST 2009


Hi All,

Benefiting from this excellent ticket:
http://snippets.prendreuncafe.com/snippets/tagged/pyqt/order_by/date

... I can implement the behavior that I want and with QThread
QProgressDialog (knowing that the progress bar updates whenever a new
file is processed) in my application.

Nevertheless I can not get rid of the parent window (the
QProgressDialog comes with its parent window, which is really ugly).
So I would like to get rid of this window relative to QProgressDialog
that can display properly during treatment. How ?.

In addition I would like to display the file being processed in the
progress bar, but I can not (for now all files loaded are displayed in
the bar).

You can see the code here: http://pastebin.com/d71e7bd6b

... and the screenshot showing the parent window that cause me problems here:

http://irruption.net/bla/ekd/ekd_developp/14_08_09_problem_avec_parent_dans_le_QThread_001.jpg

Can you help me solve these problems ?.

Excuse me for my bad English (it's a google translation of my message
in french).

I Hope you can help me.

a+

-- 
http://ekd.tuxfamily.org
http://lprod.org/wiki/doku.php/video:encodage:avchd_converter


More information about the PyQt mailing list