View Single Post
Old 12-14-2016, 07:43 AM   #14
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,462
Karma: 27757440
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by DiapDealer View Post
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.
Haven't seen that myself -- one thing that comes to mind is if Sigil calls show/setVisible on some tabs explicitly, that might mess with the order.


Quote:
Qt5.6+ allows the user to drag the tabs into desired order with the mouse, as well.
That's good, though calibre will only move to Qt 5.6 for calibre 3.0
kovidgoyal is offline   Reply With Quote