[PyKDE] Unexplained delay calling Python method- partial explanation

2007-02-28 Thread Tony Cappellini
When I set the breakpoint in the debugger, I had inadvertently set it on this line FileDialog = QFileDialog() I really wanted to set the breakpoint on the getOpenFileNames() call. However, I've FOUND the source of the unexplained delay, it's the call to QFileDialog()/. Why does this call t

[PyKDE] Unexplained delay calling Python method- correction/repost

2007-02-28 Thread Tony Cappellini
Sorry- I pasted the wrong code in the previous mail I'm using Pyqt 4.2.2 on Win XP, SP2. I've got a menu action which is connected to a method I've written. Here is the connect line QDialog.connect(self.ui.actionOpen, SIGNAL("triggered()"),self.fileOpen) here is the method it calls de

[PyKDE] Unexplained delay calling Python method

2007-02-28 Thread Tony Cappellini
I'm using Pyqt 4.2.2 on Win XP, SP2. I've got a button which is connected to a method I've written. Here is the connect line QDialog.connect(self.ui.actionOpen, SIGNAL("triggered()"), self.fileOpen) here is the method it calls def fileOpen(self): ''' Displays the file o

Re: [PyKDE] Screenshots of Python, 3D graphics, Postgres widgets, with code to follow

2007-02-28 Thread David Boddie
On Mon, 19 Feb 2007 17:51:18 -0500, Elroy Jetson wrote: > http://home.tampabay.rr.com/dataheli/ These projects all look interesting but, for me, the Shell GUI widgets seem to be particularly compelling: http://home.tampabay.rr.com/dataheli/shell_gui.html But I have a history of trying to writ

Re: [PyKDE] viewing a QStandardItemModel

2007-02-28 Thread David Boddie
On Wednesday 21 February 2007 18:43:03 +0100, alexander krohn wrote: > i have a column in a QStandardItemModel filled with a numerical value. now > i want to show this in a QTableView in a different way, the value > represents some kind of state, so i don't want to see a number, but a > string lik

[PyKDE] display a videostream

2007-02-28 Thread Kai Winter
What's the best way to display a videostream in a PyQt GUI? I get the videostream by the videocapture module from a camera as a sequence of PIL images. Currently I bind this image as a texture in an QOpenGL Widget. But that need pretty much resources. How do I display this videostrem (picture-w

[OT] Re: [PyKDE] Deleting a layout in PyQt as opposed to Qt...

2007-02-28 Thread Hans-Peter Jansen
[Since this is essentially off topic, it's intentionally top posted!] Hi Giovanni, did I already told you, that I LOVE your contributions to this project and list! While nobody will be able to beat Phils S/N ratio ever, David Boddie and you are my personal PyQt heros. Pete Am Mittwoch, 28. Fe

Re: [PyKDE] Deleting a layout in PyQt as opposed to Qt...

2007-02-28 Thread Giovanni Bajo
On 28/02/2007 12.17, Sundance wrote: Am I missing something? Is this an oversight in PyQt, or is there a nice, clean Python equivalent that I've overlooked? With recent versions of SIP, you can do: import sip sip.delete(widget.layout()) = Otherwise, if you're bound to an old

[PyKDE] Deleting a layout in PyQt as opposed to Qt...

2007-02-28 Thread Sundance
Hi peeps, The Qt documentation informs us that the proper way to replace the layout on a widget is to first delete the current layout and then install a new one. Setting a new layout before the previous one is deleted won't work. All fine and dandy. The C++ syntax for removing a widget's layou