[Python-es] PyQt, QtDesigner y Eric

Leónidas Szyszeja szyszeja en gmail.com
Jue Ene 21 16:46:56 CET 2010


Hola, si te entendi bien, podrias....

class Ventana1:
	def __init__(self):
	        self.v2 = Ventana2(self)
	        self.connect( self.v2, 
				SIGNAL('llamo'),
        		        self.respondo )

	def respondo(self, s):
		print s


class Ventana2:
    def on_botonAceptar_released(self):
        self.emit( SIGNAL( 'llamo' ), 'llamando ...' )


Suerte!

PD: Si te gusta eric podes suscribirte a la lista[0] de correo.
[0] http://www.riverbankcomputing.com/mailman/listinfo/eric



Más información sobre la lista de distribución Python-es