Re: pyqt4: setText() inside a function

2009-04-16 Thread l . freschi
On 16 Apr, 20:17, "Diez B. Roggisch" wrote: > l.fres...@gmail.com schrieb: > > > > > I'm developing a PyQt4 application. > > > I have created a button: > > ... > > self.start_button=QtGui.QPushButton("start simulation", self) > > ... > > > that is connected to a function: > > ... > > self.connect(

Re: pyqt4: setText() inside a function

2009-04-16 Thread Diez B. Roggisch
l.fres...@gmail.com schrieb: I'm developing a PyQt4 application. I have created a button: ... self.start_button=QtGui.QPushButton("start simulation", self) ... that is connected to a function: ... self.connect(self.start_button, QtCore.SIGNAL('clicked()'), self.simulate) ... This is the functi

pyqt4: setText() inside a function

2009-04-16 Thread l . freschi
I'm developing a PyQt4 application. I have created a button: ... self.start_button=QtGui.QPushButton("start simulation", self) ... that is connected to a function: ... self.connect(self.start_button, QtCore.SIGNAL('clicked()'), self.simulate) ... This is the function: ... def simulate(self):