Results 1 to 3 of 3

Thread: Icons on toolbar

  1. #1
    Join Date
    Jul 2010
    Location
    TN
    Posts
    10
    Thanks
    2
    Qt products
    Qt5 PyQt3 PyQt4
    Platforms
    Unix/X11 Windows Android

    Question Icons on toolbar

    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.

  2. #2
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Icons on toolbar

    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.

  3. #3
    Join Date
    Jul 2010
    Location
    TN
    Posts
    10
    Thanks
    2
    Qt products
    Qt5 PyQt3 PyQt4
    Platforms
    Unix/X11 Windows Android

    Default Re: Icons on toolbar

    Thank yo norobo. That worked perfectly. I appreciate your reply

Similar Threads

  1. Missing Icons for Menu and Toolbar
    By LostInTheWoods in forum Qt Tools
    Replies: 1
    Last Post: 8th January 2010, 11:42
  2. ToolBar icons hidden in windows
    By giusepped in forum Installation and Deployment
    Replies: 3
    Last Post: 13th January 2009, 15:56
  3. Toolbar
    By assismvla in forum Qt Programming
    Replies: 1
    Last Post: 17th July 2008, 17:42
  4. Palette toolbar
    By Radagast in forum Qt Programming
    Replies: 8
    Last Post: 7th July 2008, 17:56
  5. Toolbar & Icons missing
    By raphaelf in forum Qt Tools
    Replies: 2
    Last Post: 27th February 2006, 22:19

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.