Results 1 to 6 of 6

Thread: How to resize the menu Icons in main window toolbar

  1. #1
    Join Date
    Apr 2011
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to resize the menu Icons in main window toolbar

    I want to find a way to change the size of icons in the menus (like New,Open,etc.) main window toolbar




    i want this images become greater than this size
    Last edited by prof1990; 27th April 2011 at 01:53.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to resize the menu Icons in main window toolbar

    QToolBar contains the answer you seek.

  3. #3
    Join Date
    Apr 2011
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to resize the menu Icons in main window toolbar

    sorry, I don't know how to use it. Do you have any code sample?

  4. #4
    Join Date
    Apr 2011
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to resize the menu Icons in main window toolbar

    thanks the problem solved

  5. #5
    Join Date
    Jul 2013
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to resize the menu Icons in main window toolbar

    can you tell what you have done...?

  6. #6
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to resize the menu Icons in main window toolbar

    You do not even need to scroll down the linked page: QToolBar::setIconSize()

Similar Threads

  1. Resize main window after hiding an element
    By Swankee in forum Newbie
    Replies: 2
    Last Post: 22nd February 2012, 23:23
  2. Resize of main window without setFixedSize
    By ElyBeta in forum Qt Programming
    Replies: 2
    Last Post: 15th July 2010, 15:09
  3. main window resize question
    By schnitzel in forum Qt Programming
    Replies: 12
    Last Post: 29th May 2010, 09:31
  4. Missing Icons for Menu and Toolbar
    By LostInTheWoods in forum Qt Tools
    Replies: 1
    Last Post: 8th January 2010, 11:42
  5. Replies: 11
    Last Post: 11th August 2008, 09:14

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.