On Friday, August 23, 2019 at 7:40:32 AM UTC-5, Chris George wrote:

I will once again put my hand up to try to preserve the ability to make the 
> body dock the central widget.
>

I'm very glad you mentioned this. It got me thinking about QMainWindows. 
Turns out that I forget that DynamicWindows (Leo's main window) are 
actually QMainWindows, even in the gui branch.  This means that, yes, any 
pane can be the central widget *for that QMainWindow.*

Somehow Qt seems to be able manage all those central widgets with the 6.0 
code base, so I suppose adding one more won't hurt.  We shall see.

More importantly, this suggests using Leo's existing code almost completely 
unchanged.  I have just created the gui2 branch, based on the gui branch, 
for this experiment.

If we're lucky, qt_gui.__init__ can embed the a TabbedTopLevel into the new 
Outlines (plural) dock.  Everything might "just work".  We'll see.  If it 
does work, almost everything will stay just as it is.  Ivars such as 
leo_master might have to change.  Etc. It's worth fighting for.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/4e4ec396-25f4-4e37-a77f-4a6a6772a0f1%40googlegroups.com.

Reply via email to