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

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -