If you're lazy then: QInputDialog.