pyqt5 dropdown code example
Example: pyqt5 drop down menu
#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")
#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")