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

Peter J. Bismuti peter.j.bismuti at boeing.com
Tue Nov 1 23:40:37 GMT 2005


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)
  self.TextEdit.append(valueString)
}




More information about the PyQt mailing list