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

QMainWindow::GroupedDragging produces wrong title bar

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.2, 5.7.1
    • 5.6.0
    • Widgets: Main Window
    • None
    • Windows 10 / Qt 5.6 / VS2013
    • 0c44f26fae4d3ee493d8669b2ae1ea525e71c953

    Description

      Open examples\widgets\mainwindows\dockwidgets

      In MainWindow::createDockWindows()

      add: setDockOptions(QMainWindow::AllowNestedDocks | QMainWindow::AllowTabbedDocks | QMainWindow::GroupedDragging | QMainWindow::AnimatedDocks);

      • Make the 'customers' and 'paragraph' floating docks
      • Drag 'customers' into 'paragraph'
        You now have a floating group, with two tabs
      • Double click the title
        Now they are separated, but have the same title.

      See attached animated .gif

      Attachments

        1. magic.gif
          926 kB
          Sergio Martins
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            iamsergio Sergio Martins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes