Python Signal for Object Type int[] -


i trying make signal integer list ([0,0,0,0,0]) parameter. however, this:

class mysignal(qtcore.qobject):     sig = qtcore.signal(int[]) 

does not work. else should try? thank you!

edit: i'm trying emit: array('b', [0, 20, 0, 0, 0, 0, 128, 0, 114, 242, 128, 0, 128, 0, 0, 0, 0, 0, 0, 0])

with suggestions in comments, i'm getting error: sig accepts 0 arguments, 2 provided. how should fix issue?


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -