Re: [PyQt] Working with os.popen and qprogressdialog

2008-03-12 Thread Ulf Röttger
Am Montag 10 März 2008 20:09:27 schrieb Andreas Pakulat: On 10.03.08 08:45:43, Jeremiah Summers wrote: Thank you but, I'm still at a loss. I tried what the Wiki said and a few other pages, I've tried to understand what you said.. But as I I'm not sure how much of the wiki is usable for a

Re: [PyQt] Working with os.popen and qprogressdialog

2008-03-12 Thread Andreas Pakulat
On 12.03.08 20:11:20, Ulf Röttger wrote: Am Montag 10 März 2008 20:09:27 schrieb Andreas Pakulat: This should execute an ls -l /usr/share/home and show a progressbar while that is done. However you'll probably need to play around a bit with escaping rules when you want to use pipes in the

Re: [PyQt] Working with os.popen and qprogressdialog

2008-03-10 Thread Andreas Pakulat
On 09.03.08 16:21:05, JMiahMan wrote: Andreas Pakulat-2 wrote: Thats because while you run your process the event loop is not run and thus no painting updates are being done. I suggest to take a look at QProcess as that one sends the output in an asynchronous way and thus allows

Re: [PyQt] Working with os.popen and qprogressdialog

2008-03-10 Thread Jeremiah Summers
On Mon, Mar 10, 2008 at 1:26 AM, Andreas Pakulat [EMAIL PROTECTED] wrote: On 09.03.08 16:21:05, JMiahMan wrote: Andreas Pakulat-2 wrote: Thats because while you run your process the event loop is not run and thus no painting updates are being done. I suggest to take a look at

Re: [PyQt] Working with os.popen and qprogressdialog

2008-03-10 Thread Andreas Pakulat
On 10.03.08 08:45:43, Jeremiah Summers wrote: Thank you but, I'm still at a loss. I tried what the Wiki said and a few other pages, I've tried to understand what you said.. But as I I'm not sure how much of the wiki is usable for a beginner, as quite some stuff there will probably still be for

Re: [PyQt] Working with os.popen and qprogressdialog

2008-03-09 Thread Andreas Pakulat
On 08.03.08 22:04:57, JMiahMan wrote: I need to create a progress bar for a command that I run with popen, but so far I've had no luck. Here's a sniplet of code: Pd = QtGui.QProgressDialog ( Creating Disk Image..., Stop, 0, 0, self) Pd.show () from os.path import isdir

Re: [PyQt] Working with os.popen and qprogressdialog

2008-03-09 Thread David Boddie
On Sun Mar 9 23:21:05 GMT 2008, JMiahMan wrote: Andreas Pakulat-2 wrote: Thats because while you run your process the event loop is not run and thus no painting updates are being done. I suggest to take a look at QProcess as that one sends the output in an asynchronous way and thus

[PyQt] Working with os.popen and qprogressdialog

2008-03-08 Thread JMiahMan
I need to create a progress bar for a command that I run with popen, but so far I've had no luck. Here's a sniplet of code: Pd = QtGui.QProgressDialog ( Creating Disk Image..., Stop, 0, 0, self) Pd.show () from os.path import isdir if isdir(self.foldername):