Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, April 2007
Qt 4.3 Beta - Stacked QDockWidgets selection state not stored/restored


Message 1 in thread

Hi,

When two or more dock widgets are stacked on top of each other a
QTabBar is then used to select which of the widgets that should be
displayed. This looks and works great, however the status of this
QTabBar does not seem to be stored/restored when the application is
restarted or via QMainWindow::saveState() and
QMainWindow::restoreState().

To further worsen matters if you select one that isn't the first tab,
minimize and then restore the QMainWindow, the panel selection is lost
and the first tab is selected once more.

Regards,
Simon

--
 [ signature omitted ] 

Message 2 in thread

On Wednesday 04 April 2007 12:55, Simon Bourne wrote:
> When two or more dock widgets are stacked on top of each other a
> QTabBar is then used to select which of the widgets that should be
> displayed. This looks and works great, however the status of this
> QTabBar does not seem to be stored/restored when the application is
> restarted or via QMainWindow::saveState() and
> QMainWindow::restoreState().
>
> To further worsen matters if you select one that isn't the first tab,
> minimize and then restore the QMainWindow, the panel selection is lost
> and the first tab is selected once more.

I can reproduce both problems; the tab always on top is always the second 
here, so i guess its about the order in which they are added to the GUI 
instead of always the first tab.

The second is surely a big problem, I suggest writing qt-bugs about it to open 
a bugreport on these matters.
-- 
 [ signature omitted ] 

Attachment: pgpj8QLd3TCWp.pgp
Description: PGP signature