How do you get the current text contents of a QComboBox?,text = str(combobox1.currentText())