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

QMainWindow::GroupedDragging produces wrong title bar

XMLWordPrintable

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

      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

        1. magic.gif
          926 kB
          Sergio Martins
        For Gerrit Dashboard: QTBUG-53754
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes