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

QMainWindow::saveState, restoreState and perspectives

XMLWordPrintable

      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 );

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

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

              Created:
              Updated:

                There are no open Gerrit changes