Re: [PyKDE] designer: passing an argument to a slot?

2005-11-04 Thread David Boddie
On Tue, 1 Nov 2005 15:40:37, Peter J. Bismuti wrote: This does not work. It gives a name error saying that the global variable value is not defined. How can you access the value of the argument? Thanks in advance. void Dialog::ScaleScrollBar_ValueChanged(int value) { valueString =

Re: [PyKDE] designer: passing an argument to a slot?

2005-11-04 Thread Baz Walter
On Tuesday 01 Nov 2005 23:40, Peter J. Bismuti wrote: This does not work. It gives a name error saying that the global variable value is not defined. How can you access the value of the argument? Thanks in advance. void Dialog::ScaleScrollBar_ValueChanged(int value) { valueString =

[PyKDE] designer: passing an argument to a slot?

2005-11-01 Thread Peter J. Bismuti
This does not work. It gives a name error saying that the global variable value is not defined. How can you access the value of the argument? Thanks in advance. void Dialog::ScaleScrollBar_ValueChanged(int value) { valueString = QString(value = %1\n).arg(value)