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

QDockWidget: The dragable area is not equal the whole widget rectangle. The size of the widget changes when dock in different area.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.7.0
    • None

      Classes
      QDockWidget

      Class Member

      Suggestion
      1) dragable area should be as big as possible.
      2) the widget size should always fit to its contents.

      Reason
      1) When the dock bar is displayed in left or right, the dragable area is not equal the whole widget rectangle.
      2) After drag the widget from one side to another side, such as from left to top, the size of the widget changes. User has to drag the border to shrink its size to fit for its contents.

      Scenario
      Use this class to realize dockable toolbar.

      2010.11.16
      I added one sample code and two pictures.
      I don't know why the added actions are not displayed.(Bug?)

        1. see-top-left.bmp
          647 kB
        2. see-bottom.bmp
          651 kB
        3. dock.zip
          43 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            brigchen Bright Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes