Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> Peter Kümmel wrote:
Here a first attempt for tabs, it's the JMarc approach, because
it's the simples way.

Abdelrazak> Yes it's the simplest way for now but not when we will
Abdelrazak> want to do fancy stuff. But I agree that would be good
Abdelrazak> enough for 1.5.0.

Remember: Liberty to make fancy stuff is good only if you make use of
it.

Didn't I said that yesterday? ;-)


What stuff do you have in mind? A tab bar is just a way to switch
between documents.

Your solution is good for single window LyX because then the tab bar would just offer the same document list as the View menu.

With multiple windows (views really), we have a problem. On one hand, I want to have access to the full View menu on any windows (there is a bug there by the way(*)). On the second hand I don't want the tab bar to have the exact same contents in every window.

Using a tab widget would enable me to choose very easily which tabs I want in this window and which other I want in this other window. It will also permit to "detach" a tab onto a new window.

All this would be very easy to implement with very minimal code if we goes the QTabWidget way. I would just be a matter of adding/removing workareas (with their attached BufferView and thus Buffer) to the LyXViews.

Abdel.

Reply via email to