On Thu, May 23, 2024 at 7:00 AM Thomas Passin <tbp100...@gmail.com> wrote:

Is it correct that the "main" splitter is the one whose splitter bar runs
> all the way either from top to bottom or from side to side, depending on
> orientation?
>

Yes, kinda. But you shouldn't take my word for it. Consult the code!

Search for 'main_splitter'. Find *dw.createMainLayout*.

The answer to your question are these lines:

main_splitter = QtWidgets.QSplitter(parent)
main_splitter.setOrientation(Orientation.Vertical)
secondary_splitter = QtWidgets.QSplitter(main_splitter)

What's the parent?  cff createMainLayout. The caller is
*dw.createMainWindow*. The parent is *dw.centralwidget*.

main_splitter, secondary_splitter =
self.createMainLayout(self.centralwidget)

Consult the rest of dw.createMainWindow for further details.

Thomas, you will learn a lot by answering your own questions. You can do it!

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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS1OmWn76G9j%2Bvsr%3DpS31k8T9O9CJZN0nNKzSA%3D8hARU8A%40mail.gmail.com.

Reply via email to