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

QMdiArea does not show the tab correctly when using QMdiArea::TabbedView and only adding one sub-window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.4.0
    • GUI: Workspace
    • None

    Description

      Example to reproduce:

      #include <QtGui>

      int main(int argc, char **argv)
      {
      QApplication app(argc, argv);

      QMdiArea mdiArea;
      mdiArea.setViewMode(QMdiArea::TabbedView);
      mdiArea.addSubWindow(new QPushButton("Hi I'm a button"));
      mdiArea.show();

      return app.exec();
      }

      However, adding two or more sub-windows works correctly. As a workaround one can call showMaximized() on the sub-window.

      Attachments

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

        Activity

          People

            bjnilsen Bjørn Erik Nilsen
            bjnilsen Bjørn Erik Nilsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes