[PyQt] Function to open window and return user input
Christopher Evans
chris.evans at gmail.com
Fri Jan 20 19:38:33 GMT 2012
QInput is designed to get a single input from a user.
In my case, we are making a complex remapping dialog that takes two ordered
lists as input, allows the users to change the order, then on dialog close,
it should return the two re-ordered lists.
Thanks
CE
On Fri, Jan 20, 2012 at 10:10 AM, Phil Thompson <phil at riverbankcomputing.com
> wrote:
> 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
>
--
CE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120120/cce04834/attachment.html>
More information about the PyQt
mailing list