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

Adding a QDockWidget to a non-allowed area does not fail.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.6.0
    • 4.3.1
    • Widgets: Main Window
    • None

      Adding a QDockWidget to a non-allowed area by mistake does not fail.
      As the dockwidget remembers where it was docked the last time, the user can still undock and redock the widget using double click to unallowed area, but moving the dock with the mouse only works with the allowed area.

      Ex:
      setAllowedAreas(Qt::TopDockWidgetArea | Qt::BottomDockWidgetArea);
      addDockWidget(Qt::LeftDockWidgetArea, dockwidget);

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

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes