How to add items to a combobox in PyQt

前端 未结 3 1806
感动是毒
感动是毒 2020-12-08 19:53

I need some help adding some items to a QComboBox. So I have two comboboxes, and one populates the other depending on the item selected.

My question is

3条回答
  •  既然无缘
    2020-12-08 20:46

    There are some simple and easy to read demos/examples here https://github.com/shuge/Enjoy-Qt-Python-Binding ,

    clone it and you will find a demo about how to use basic QComboBox and custom its icon item.

提交回复
热议问题