Re: [PyQt] best practices for MDI app

2010-07-13 Thread Raoul Snyman
On Tue, 13 Jul 2010 16:24:03 -0600, "Danny Shevitz" wrote: > I'm a newbie and struggling with developing an MDI app. The basic question > is this: each of my documents > looks and acts like a dialog. When I create my child class, should I > subclass QDialog or QWidget? To quote the Internet, "ur

[PyQt] best practices for MDI app

2010-07-13 Thread Danny Shevitz
Howdy, I'm a newbie and struggling with developing an MDI app. The basic question is this: each of my documents looks and acts like a dialog. When I create my child class, should I subclass QDialog or QWidget? I am currently using QDialog and add a QDialogButtonBox at the bottom. This doesn

[PyQt] multiple row deletion in QTableWidget

2010-07-13 Thread He Jibo
Hi, I am programming for a multiple row deletion in QTableWidget. I used a sqlite database as the backend of QTableWidget. Below is my code. I first find the row ID to be deleted, then delete all the IDs in the sqlite database, then update the remaining data to show in the QTableWidget. The first c

[PyQt] ProgressBar - Activity Mode

2010-07-13 Thread Antonio Valentino
Hi list, I would like to get a progress bar that works in a way similar to the "Activity Mode" of the corresponding GTK widget: http://www.pygtk.org/pygtk2reference/class-gtkprogressbar.html#method-gtkprogressbar--pulse i.e. show activity by a block moving back and forth within the progress area.

Re: [PyQt] multiple inheritance + QtCore.pyqtSignal()

2010-07-13 Thread Phil Thompson
On Mon, 12 Jul 2010 18:51:47 +0100, Jugdish wrote: > Is there any way to have a class inherit from multiple classes that emit > signals? I know that PyQt4 doesn't support inheriting from one than one > QObject class, so I've got one of the superclasses declared as a subclass > QObject and the othe

Re: [PyQt] Qt 4.6.3

2010-07-13 Thread Phil Thompson
On Mon, 12 Jul 2010 12:10:54 -0700, Leo Spalteholz wrote: > Hi all, > > I've been following the changelog for PyQt, and was encouraged by a note > saying that support for Qt 4.6.3 was added a while back. Just saw that > PyQt 4.7.4 was released, and I was hoping that it would be based on 4.6.3, >