[PySide] sender connect to multi slot anoth way ?

OisLone oislone at ois.idv.tw
Thu Jun 5 18:50:58 CEST 2014


sorry, again~

or can use the way ?

def funcA():
     print("AAA" )

def funcB():
     print("BBB" )

def funcC():
     print("CCC" )


q1 = QPushButton( "Q1" )
q2 = QPushButton( "Q2" )

q1.clicked.connect( funcA, funcB )
q2.clicked.connect( funcA, funcC )

thank.






More information about the PySide mailing list