It can be done right now. Just ensure your window qwidget is not garbage colleted, e.g. by storing the var in g.mywin = QWidget() ...
On Wed, Sep 21, 2011 at 8:30 PM, Morgul <[email protected]> wrote: > On 21 sep, 17:30, Morgul <[email protected]> wrote: >> On 21 sep, 16:44, "Edward K. Ream" <[email protected]> wrote: >> > (...) >> >> > 1. Windows. >> >> > Terry's work is an enabler. Just as Blender supports many kinds of >> > windows, so too should Leo. Up until now, the outline, body and log >> > panes have been the only "official" panes. The rendering pane soon >> > will be fully official. >> >> > Terry's plugins have also created nifty new windows. >> >> > Here are some other ideas: >> >> > A. Hosting the PyQt demo inside Leo. >> >> > B. Making an OpenGL window an official Leo window. This might be the >> > start of a prototype for "Blender in a Leo Window" >> >> It would be awesome to be able to create and use independent PyQt >> windows (I mean, not as panes inside Leo's main window, but as >> separate windows), as if they were custom dialogs, from Leo scripts. > > I tried doing this, but I haven't been able to make the newly open > window to stay and process events. Could this be done right now, or > does it require some special support from Leo? > > Regards, > José Manuel > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/leo-editor?hl=en. > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
