[PyQt] segfault with KXmlGuiWindow

2009-04-02 Thread Wolfgang Rohdewald
This is a problem since I started using pykde, it persists after updating from kubuntu intrepid to jaunty. See the example below. At program exit, I have a segfault. If I remove def main and execute its content directly, I have no segfault. But this is no real solution for me because in my full

[PyQt] ANN: eric 4.3.2 released

2009-04-02 Thread Detlev Offenbach
Hi, I just uploaded eric 4.3.2. It is a maintenance release fixing some bugs. It is available via the eric4 web site. http://eric-ide.python-projects.org/index.html Regards, Detlev -- Detlev Offenbach det...@die-offenbachs.de ___ PyQt mailing list

Re: [PyQt] Question about laying out widgets.

2009-04-02 Thread Christian
Hi Gabriele, the incorrect line is: GeneralLayout.addWidget(self.summaryBox, 3, 0) this line needs to be changed to: GeneralLayout.addWidget(self.summaryBoxScroll, 3, 0) Because the summaryBox is a child of the Scroll Area, summaryBoxScroll and you should add only the top item.

[PyQt] lambda slot problem

2009-04-02 Thread Linos
Hello, i suppose i am making any mistake here but i dont know why, for example: for checkbox, msg in ((self.printedCheckBox, printed), (self.finishedCheckBox, finished)): self.connect(checkbox, SIGNAL(clicked(bool)), lambda activated: self.changeStatus(msg, activated)) This one ever

Re: [PyQt] lambda slot problem

2009-04-02 Thread Brian Kelley
You are seeing a scoping issue, to be safe, I would write the lambda as follows lambda changeStatus=self.changeStatus,m=msg,a=activated: changeStatus(m,a) This ensures that the bindings of self, activated and msg are what you expect when the lambda function is executed. On 4/2/09 7:16 PM,