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

Details

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

    Description

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

      Attachments

        1. dock.zip
          43 kB
        2. see-bottom.bmp
          651 kB
        3. see-top-left.bmp
          647 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes