Results 1 to 2 of 2

Thread: how to add seperator into QMenuBar?

  1. #1
    Join Date
    Sep 2011
    Posts
    30
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default how to add seperator into QMenuBar?

    I create one QMenuBar and add some actions directly on it, I need to add the seperator to distinguish the every group actions. But I can't see the seperator after add the seperator by addSeperator(). could you please give me some suggestions? thanks.

  2. #2
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Thanks
    3
    Thanked 106 Times in 103 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to add seperator into QMenuBar?

    If you're trying to add separator to the menu bar (where usually you have File, Edit, View etc) I don't think you can.

Similar Threads

  1. QDockWidget seperator with fixed size dockwidget
    By TheClassic in forum Qt Programming
    Replies: 1
    Last Post: 28th July 2011, 08:33
  2. how to add seperator in statusbar of widget?
    By banlinhtienphong in forum Newbie
    Replies: 3
    Last Post: 28th April 2011, 07:37
  3. remove seperator
    By navi1084 in forum Qt Programming
    Replies: 0
    Last Post: 4th March 2009, 05:05
  4. how to hide seperator in toolbar using Qt 2.3 NCE
    By Sandip in forum Qt Programming
    Replies: 0
    Last Post: 16th December 2008, 08:16
  5. QDialog and QMenuBar
    By lutins in forum General Programming
    Replies: 4
    Last Post: 13th September 2008, 14:39

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.