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

QMainWindow::saveState, restoreState and perspectives

    XMLWordPrintable

Details

    Description

      Suggestion: QMainWindow - make it possible to retrieve information about docked windows and toolbars using saveStates QByteArray.

      I.e. to get information about toolbars and dockwidgets from QByteArray (names, sizes, visibility) Now one can only get information from QMainWindow ) eg.:

      QByteArray activePerspective = mainWindow.saveState();
      QByteArray inactivePerspective = perspective2;

      QPixmap pixmap = createThumbnailViewFromPerspective( activePerspective);
      printListOfVisibleDockWidgets( inactivePerspective );

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            engvolds Morten Engvoldsen (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes