Results 1 to 2 of 2

Thread: How to add widget to the "end" of QToolBar?

  1. #1
    Join Date
    Nov 2009
    Location
    US, Midwest
    Posts
    215
    Thanks
    62
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to add widget to the "end" of QToolBar?

    All widgets added to toolbar with the usage of QToolBar::addWidget method appear on the toolbar from "left" to "right".
    Perhaps there is a trick to add a widget to the right end of the toolbar?

    Thanks.

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to add widget to the "end" of QToolBar?

    Look at this thread.

Similar Threads

  1. Replies: 1
    Last Post: 20th November 2015, 10:02
  2. Replies: 3
    Last Post: 16th March 2015, 07:31
  3. Replies: 0
    Last Post: 20th September 2010, 09:58
  4. setting QToolbar "hover" event
    By maverick_pol in forum Qt Programming
    Replies: 4
    Last Post: 7th April 2008, 13:53
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05

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.