Quote:
Originally Posted by kovidgoyal
save/restore does cause the order + current tab to be restored.
|
i would think that should be the case, but one dock widget always seems to be the "default" after restoreState is called. -- no matter which tabbed QDockWidget was current when saveState was called. Only the order (and the tabbed state itself, of course) seems to be being saved and/or restored. I'll keep looking for Sigil Code that might be in play after restoreState (or before saveState), but I sure haven't found any yet. Keep in mind that any tabbed dockwidget configurations are made by the user. Sigil doesn't tabify any dockwidgets programmatically.
Quote:
Originally Posted by kovidgoyal
As for getting them in a particular order, IIRC the way to do it is to add them to the panel in reverse order, that is, the last added tab will be the first one in the tab bar.
|
Qt5.6+ allows the user to drag the tabs into desired order with the mouse, as well.