dropdown event/callback in combo-box in pyqt4
问题 is there a callback or event for dropdown in pyqt4 combo box? Just like self.connect(self.ui.combobox,SIGNAL("activated(int)"),self.refresh 回答1: The QCombobox uses a QAbstractItemView (QListView by default) to display the dropdown items (accessible via the view() property). I am not aware of any signal for that purpose. But you can set an eventFilter that will do the trick by using installEventFilter on the view of the combobox and implement the eventFilter method: from PyQt4 import QtCore,