get all signal names for QWidget in PyQt4

/ Published in: Python
Save to your folder(s)

Copy this code and paste it in your HTML
  1. [widget.metaObject().method(j).signature() \
  2. for j in range(widget.metaObject().methodCount()) \
  3. if widget.metaObject().method(j).methodType() == 1]

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.