Figured out how to take user input with a QInputDialog object.