qt4 - QT widget signals - comprehensive list? -
looking comprehensive listing of various signals emitted built in qt4 widgets. have looked around - can't seem find one. (using pyqt 4.x , python 3.2)
tia
the following code lists signals qobject subclasses in qtgui:
from pyqt4 import qtgui, qtcore import inspect name in dir(qtgui): obj = getattr(qtgui, name) if inspect.isclass(obj) , issubclass(obj, qtcore.qobject): name2 in dir(obj): obj2 = getattr(obj, name2) if isinstance(obj2, qtcore.pyqtsignal): print name, name2
Comments
Post a Comment