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

QDockwidget orientation

    XMLWordPrintable

Details

    Description

      There is already a task requesting a orientationChanged signal in QDockWidget (101492) but there are additional problems concerning minimumSizeHints.

      If you have a widget that has 5 lineedits which should be lined up horizontally when the dockWidget is docked horizontally (top or bottom) and vertically if the dockWidget is docked vertically you'll have problems docking it. The QMainWindowLayout will think the widget needs a certain size to but this size is valid only if docked in the same orientation.

      A virtual functions in QDockWidget could maybe solve this problem:

      virtual QSize sizeHintForDockArea(Qt::DockArea area) const.

      Attachments

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

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            rve Anders Bakken
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes