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 = QString("value = %1\n").arg(value) > self.TextEdit.append(valueString) >}
I guess that this code is part of a .ui.h file that you're processing with pyuic. What Python code is generated for this slot? Can you post it here for us to take a look at? David ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde