Results 1 to 2 of 2

Thread: Grid-like Toolbar

  1. #1
    Join Date
    Feb 2008
    Posts
    12

    Default Grid-like Toolbar

    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. 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?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Grid-like Toolbar

    Hi,

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

    Lykurg

Similar Threads

  1. Toolbar in dockwidget
    By AD in forum Qt Programming
    Replies: 7
    Last Post: 2nd October 2008, 14:34
  2. unable to hide combobox or spinbox in toolbar
    By Sandip in forum Qt Programming
    Replies: 1
    Last Post: 22nd July 2008, 11:52
  3. Create a Toolbar on a Subclassed Textedit?
    By c_07 in forum Qt Programming
    Replies: 5
    Last Post: 12th October 2007, 18:17
  4. How to fill the blocks of the Grid one by one?
    By merry in forum Qt Programming
    Replies: 1
    Last Post: 6th June 2007, 12:20
  5. Initialise toolbar in a different area
    By georgie in forum Qt Programming
    Replies: 4
    Last Post: 4th May 2006, 03:49

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.