Yes: that Qt method should work just fine. We're not going to officially support all of these Qt calls from Python but it is all documented in places like this:
At a higher level we recognize that it needs to be easier to:
Get input into a python script, preferably from a nice (qt?) dialog box.
pass info back/forth from cmd to python.
I'm not the person who can promise anything here, but I can forward your thoughts to our Product Development and Product Management groups. They understand this need and your input will be another vote to get this done..