Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
4.6.3, 4.7.0
-
None
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.