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

The ">>" shown for extra toolbuttons on a QToolBar is disabled when the buttons are added by QToolBar::addWidget

    XMLWordPrintable

Details

    Description

      When a toolbar is not big enough for displaying the toolbuttons on it, it shows a ">>". If the actions are added by QToolBar::addAction, the ">>" works fine, and when you click it, it shows a menu with all actions that cannot be displayed on the toolbar. But for the actions added by QToolBar::addWidget, the ">>" is disabled.

      As addWidget returns an QAction, it means there is an QAction associated with the inserted widget, which indicates that we can get the QAction and construct a menu for it. So there is no special reason that the ">>" should be disabled in this case.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes