[Qt-interest] using designer to add menu to toolbar

Lorenzo Bettini bettini at dsi.unifi.it
Fri Nov 20 09:18:14 CET 2009


Duane Hebert wrote:
> I have a tool bar with some actions built in designer.  I want to add a drop down menu to the toolbar.  I can do this manually by
> building a QMenu and using QMenu::menuAction() to add it to the tool bar.  This works as expected.
> 
> But I would like to do this from designer so that it shows up when modifying this gui from designer.  Is this possible?
> I'm using Qt4.5.1 on windows with VS integration.

Usually it is possible to drop an action from the designer to the 
toolbar...  probably a bug?

-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com




More information about the Qt-interest-old mailing list