Show item in a QComboBox but not in its popup list
问题 I have some code to use a combobox to show a list of products. I would like to show "Select product" in the combobox: products = ["Select product", "223", "51443" , "7335"] but I do not want the user to be able to select the "Select product" item. I just want the user to know what this combobox is used for selecting the product, and I do not wish to use QLabel to identify it. page.comboBox.addItems(products) page.comboBox.setPlaceHolderText("Please select") page.comboBox.setGeometry(150, 30,