PDA

View Full Version : Grid-like Toolbar



dv_
17th February 2009, 10:12
Hello,

is it possible to have a toolbar with a grid-like arrangement of the tool buttons? Regular toolbars arrange the buttons in a row or column.

I mean something like the tool windows in GIMP. Here is an example. (http://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Using_text_in_the_Gimp.ogg/mid-Using_text_in_the_Gimp.ogg.jpg) See the tool buttons at the top left of the screen? That is how I want them arranged.

Is this possible with tool bars? Or do I have to do some custom stuff?

Lykurg
17th February 2009, 10:37
Hi,

for example you can use QToolBar::insertWidget() with a widget you have designed (-> QToolButton). Or subclass QToolBar and do the layout yourself...

Lykurg