Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-14725

Tab Positions QDockWidgets Show/Hide not remembered!

    XMLWordPrintable

Details

    Description

      I'm trying to make a QDockWidget area that rolls in and out when the user mouse-overs (see the start of this video http://www.youtube.com/watch?v=8tAASvcrJ78 ). To do that I'm getting all the dock widgets from the window by window.findChildren<QDockWidget*>() and then doing w.setVisible(false) on all of them.

      Problem is that it has bugs. If you download, build and run the C++ example (qmake/make), then Qt selects the tab position selected before the current one, and then reselects the last one again and so forth.

      This is compounded by not being able to see which QTabBar is associated with which dock widgets, meaning I cannot force the active tab to be restored manually (since I don't know whether the QTabBar belongs to the widget or something else)

      Attachments

        1. autohide_dock.py
          4 kB
          slkddskl
        2. dockcpp.zip
          1 kB
          slkddskl
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shmittal Shveta Mittal
            genjix slkddskl
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes