PDA

View Full Version : Icons on toolbar



tndave
7th July 2010, 23:42
Hi all,

New here to the site and new to QT Creator as well. I have a question I hope someone can help with. I did a search first but could not find what I was looking for.

I am trying to add a toolbar to the mainwindow.ui of the program I am working on. When I right click the mainwindow it allows me to add a toolbar but I can't for the life of me figure out how to add icons to it. I right click the tool bar but no options to add icons to it.

Am I doing something wrong? Any help would be appreciated. :)

Thanks in advance.

norobro
8th July 2010, 02:32
Hi tndave,

Use the Action Editor at the bottom center of the screen. Add a new action by right clicking and selecting new (or click on the new icon), double click on the new action to edit it and add your icon, and then drag the action to your toolbar.

tndave
8th July 2010, 02:47
Thank yo norobo. That worked perfectly. I appreciate your reply :D