Widgets QT Signals - Complete List?

Look for an exhaustive list of various SIGNALS issued by the QT4 built-in widgets. Look around - it seems not to be found. (Using PyQT 4.x and Python 3.2)

TIA

+4
source share
2 answers

The following code lists all the signals for all QObject subclasses in QtGui:

from PyQt4 import QtGui, QtCore import inspect for name in dir(QtGui): obj = getattr(QtGui, name) if inspect.isclass(obj) and issubclass(obj, QtCore.QObject): for name2 in dir(obj): obj2 = getattr(obj, name2) if isinstance(obj2, QtCore.pyqtSignal): print name, name2 
+7
source

I think the Qt documentation has all the signals available.

+4
source

All Articles