Results 1 to 2 of 2

Thread: QToolbar : different icons sizes

  1. #1
    Join Date
    Oct 2010
    Posts
    95
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question QToolbar : different icons sizes

    Hi,

    I have a toolbar with different icons, some should have a 32x32 size and others a 16x16 size.

    How can I change this ? I have search in the QT Designer, nothing !

    Thanks for your help

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QToolbar : different icons sizes

    With QToolbar::setIconSize() you can change the size of all icons of the Toolbar.
    I don't think you can set different sizes for icons in the same toolbar (IMHO the effect would be unsightly).
    A camel can go 14 days without drink,
    I can't!!!

Similar Threads

  1. QListView Icons with uniform sizes
    By psih128 in forum Qt Programming
    Replies: 2
    Last Post: 23rd November 2009, 10:25
  2. Toolbutton odd sizes
    By andytork in forum Qt Programming
    Replies: 0
    Last Post: 21st January 2009, 06:25
  3. how to use System Tray Icons in QToolBar
    By wagmare in forum Qt Programming
    Replies: 2
    Last Post: 13th January 2009, 15:52
  4. Font sizes
    By StevenB in forum Qt Programming
    Replies: 1
    Last Post: 5th October 2007, 10:10
  5. Various icon sizes for QToolButtons on QToolbar
    By Erlendhg in forum Qt Programming
    Replies: 4
    Last Post: 30th June 2007, 18:35

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.