Results 1 to 3 of 3

Thread: How to add 2 toolbars on different rows ?

  1. #1
    Join Date
    Oct 2010
    Posts
    21
    Qt products
    Qt Jambi
    Platforms
    Unix/X11
    Thanks
    3

    Default How to add 2 toolbars on different rows ?

    I want to display bookmarks in a bar just below my application's toolbar. I figure, one way to do it would be to add another toolbar below the main toolbar and show the bookmark icons there. But, the problem is that when I call the addToolBar() function again, it simply creates another toolbar adjacent to the previous one and not on the next line. I want to display the toolbars on 2 separate lines. How ?

  2. #2
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 47 Times in 43 Posts

    Default Re: How to add 2 toolbars on different rows ?

    hi
    Give addToolBarBreak();

    Bala

  3. The following user says thank you to BalaQT for this useful post:

    daudiam (2nd December 2010)

  4. #3
    Join Date
    Oct 2010
    Posts
    21
    Qt products
    Qt Jambi
    Platforms
    Unix/X11
    Thanks
    3

    Default Re: How to add 2 toolbars on different rows ?

    thanks a lot

Similar Threads

  1. QMainWindow::toolBars()
    By dimixan in forum Qt Programming
    Replies: 1
    Last Post: 16th March 2010, 18:45
  2. Order of Toolbars
    By kichi in forum Newbie
    Replies: 2
    Last Post: 14th November 2009, 15:35
  3. ToolBars with different height
    By Radagast in forum Qt Programming
    Replies: 1
    Last Post: 27th July 2008, 12:17
  4. Dialog for configure toolbars
    By Pepe in forum Newbie
    Replies: 1
    Last Post: 13th November 2007, 02:43
  5. what happened to toolBars() in Qt4?
    By momesana in forum Qt Programming
    Replies: 7
    Last Post: 25th September 2007, 01:07

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
  •  
Qt is a trademark of The Qt Company.