qid = QInputDialog()
title = "Enter Coordinates"
label = "X:"
mode = QLineEdit.Normal
text, ok = QInputDialog.getText(qid, title, label, mode)
print text
I am trying to create a dialog box in which I can zoom into specific coordinates. However, I'm not sure on how to get both X and the Y coordinates. The picture below shows only X.