[PyQt] Function to open window and return user input

Christopher Evans chris.evans at gmail.com
Mon Jan 23 17:53:46 GMT 2012


Is there a way to make this non modal? I am using Maya and we did not use
exec because it always made the dialog application modal, as in it halts
the main thread and doesn't allow users to interface with the parent app
while the window is open.

CE

On Sun, Jan 22, 2012 at 4:27 PM, Hans-Peter Jansen <hpj at urpla.net> wrote:

> On Friday 20 January 2012, 20:38:33 Christopher Evans wrote:
> > 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.
>
> That's called a modal dialog. Create it, exec_ it (look up
> QDialog::exec()), process data after close, and be done.
>
> Pete
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



-- 
CE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120123/55dc4e17/attachment.html>


More information about the PyQt mailing list