Relative Content

Tag Archive for pythonqtpyqtqcombobox

PyQt: How to set Combobox Items be Checkable?

To keep the GUI widgets number to minimum I need to find a way to give to user a choice of pull-down menu items that could be used to filter out the displayed in a listWidget items.
Let’s say the listWidget lists 5 different categories of Items: “Cat A”, “Cat B”,”Cat C”,”Cat D”,”Cat E”. I could implement the radio or checkboxes for each item category. But then 5 radio buttons or checkboxes would take a lot of GUI space. A combobox with the checkable items seems to be a right choice. Any ideas?