uwestoehr wrote: ↑Sun May 12, 2019 4:11 pm
- open several different files in FC 0.18
...
-> The problem is that you cannot move tabs in general. Qt however, allows this.
...
This was requested before. See
issue #3648.
Essentially, you need to hack the code of
src/Gui/MainWindow.cpp, and see how to fix this by playing with
QMainWindow, or
QTabWidget, or whatever. It doesn't seem to be particularly difficult to do, but somebody needs to sit down and do it, and make sure nothing major breaks. Since this isn't a critical problem, nobody has dedicated the time to change the way the Main Window works.
See this
thread post for a quick example implementation.
Also, yes, you could organize the tabs however you want, but I would prefer to limit the re-organization to the tabs that belong only to one particular file. This would be a bit more complicated, I think.
Example
Code: Select all
boundary boundary
| |
----------------------------------------------------v--------------------------------v--------------
|Tab1: File1 | Tab2: File1_view | Tab3: File1_view2 | Tab4: File2 | Tab5: File2_view | Tab6: File3 |
----------------------------------------------------------------------------------------------------
In this case,
Tab2 and
Tab3 are TechDraw pages, or Spreadsheets, or whatever other objects that belong to
File1. I would like to reorganize these tabs only inside its own group, and not allow them to cross the boundary between
File1 and
File2, and
File2 and
File3, that'd be messy.
For example, moving
Tab2 between
Tab4 and
Tab5 would make it seem that
File1_view belongs to
File2, when in reality it belongs to
File1.
Another thing that would make sense would be to use nested tabbed windows; the first one would hold the main files, and a nested window would hold the tabs for objects, views, spreadsheets, etc.
Code: Select all
boundary boundary
| |
--------------------------------------v------------------v--------------
|Tab2: File1_view | Tab3: File1_view2 | Tab5: File2_view |
|Tab1: File1 | Tab4: File2 | Tab6: File3 |
-------------------------------------------------------------------------