I'm developing a plugin in QGIS, with a dialog box where I want to insert text (string) and send to web service soap.
I don't found much on the internet.
Except this code that i have adapted:
qid = QInputDialog() canvas = iface.mapCanvas() input, ok = QInputDialog.getText( qid, "Enter Date", "Enter text", QLineEdit.Normal, "Date" + "," + "Text") if ok: Date = input.split( "," )[ 0 ] print Date Name = input.split( "," )[ 1 ] print Name
But this code don't work in the combobox that i want.
I create this ComboBox in QCreator:
Can someone help me to adapt the code to this combobox?