📜  pyqt5 下拉菜单 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:24.785000             🧑  作者: Mango

代码示例1
#super().__init__() needs to be run before this so the QWidget can work
dropDown = QComboBox(self) #where self refers to the class the QComboBox is within.  
dropDown.addItem("Item Name")