Catch mouse button pressed signal from qComboBox popup menu
问题 I have made multi-select QComboBox . Items are checkable (every item have check box and text value). CheckBox is checked only when user click on it. What I want is to catch signal when user click on text value so I can set check box next to it checked. How to do that? This is how I set model to combo box: areas = ["Area one", "Area two", "Area three", "Area four"] model = QtGui.QStandardItemModel(5, 1)# 5 rows, 1 col firstItem = QtGui.QStandardItem("---- Select area(s) ----") firstItem