[PyQt] Function to open window and return user input

Phil Thompson phil at riverbankcomputing.com
Fri Jan 20 09:10:04 GMT 2012


On Fri, 20 Jan 2012 01:52:26 +0100, Christopher Evans
<chris.evans at gmail.com> wrote:
> What's the best way to open a pyqt win and return user input?
> 
> Kind of like with pyqt's built in simple windows (save, load, ok/cancel,
> etc).
> 
> I would like to make a function that when run, pops a window open, then
> when closed, the fn resumes and returns some info based on user input.

QInputDialog

Phil


More information about the PyQt mailing list