PDA

View Full Version : Show all icons in the menubar, maybe within two lines



ich
31st July 2014, 12:18
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.. :o

aamer4yu
31st July 2014, 12:27
Also if you use proper layouts, you shouldnt have problems as above :)

ich
11th August 2014, 12:57
...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 ?

ChrisW67
11th August 2014, 21:12
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.