Results 1 to 4 of 4

Thread: Show all icons in the menubar, maybe within two lines

  1. #1
    Join Date
    Jul 2014
    Posts
    11
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Show all icons in the menubar, maybe within two lines

    Hi,
    I'm working with the Qt-Designer. I'm trying to make the toolbar showing all my icons, but there are to many of them. So I tried to show them within two lines, but I was not succesfull, until now... Maybe you can help me...?
    Thank's a lot !


    Added after 8 minutes:


    Ohh sorry, it's easy to create two lines..One has onlay to create a new toolbar and drag it on the place you want it to be..
    Last edited by ich; 31st July 2014 at 13:18.

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Show all icons in the menubar, maybe within two lines

    Also if you use proper layouts, you shouldnt have problems as above

  3. #3
    Join Date
    Jul 2014
    Posts
    11
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Show all icons in the menubar, maybe within two lines

    ...now, I've got the problem : I have to edit proper Sourcecode and there's no use of QtDesigner in it... I will show all Icons in the toolbar, maybe in two lines...I tired "addToolBarBreak"..is there any alternative ?

  4. #4
    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: Show all icons in the menubar, maybe within two lines

    QToolBar shows a single row of tools. If they do not all fit in the space available then a drop down menu containing the overflow will appear on the right end. This behaviour not trivially changeable.

    You could break the tools into multiple shorter tool bars that can stacked. Or, you could consider using a QDockWidget to get a larger, moveable tool box.

Similar Threads

  1. why do icons only show up on my computer ??
    By tonylin0826 in forum Qt Programming
    Replies: 15
    Last Post: 21st September 2012, 02:19
  2. show more lines
    By Shien in forum Newbie
    Replies: 4
    Last Post: 31st May 2011, 00:22
  3. Basic QMainWindow doesn't show menubar
    By Jeffb in forum Newbie
    Replies: 3
    Last Post: 14th April 2010, 14:52
  4. Can't click menubar items / QPixMap doesn't show
    By richardander in forum Qt Programming
    Replies: 1
    Last Post: 30th December 2008, 11:45
  5. how to show vertical lines between colums
    By thomasjoy in forum Qt Programming
    Replies: 4
    Last Post: 22nd August 2007, 16:03

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.