Re: [PyQt] No cancel button in QProgressDialog

2008-10-07 Thread Phil Thompson
On Tue, 7 Oct 2008 09:24:28 +0200, Mpi <[EMAIL PROTECTED]> wrote: > Dear all, > > I don't want the cancel button to show up in my progress dialog. If you > pass > a 0 for the cancelButtonText in the constructor, the button should go away. > Here's what I do > > progress = QProgressDialog ('Render

[PyQt] No cancel button in QProgressDialog

2008-10-07 Thread Mpi
Dear all, I don't want the cancel button to show up in my progress dialog. If you pass a 0 for the cancelButtonText in the constructor, the button should go away. Here's what I do progress = QProgressDialog ('Rendering...', QString(0), 0, 100) But the button still appears. Any clues on how to go