Results 1 to 6 of 6

Thread: QToolBar: How do you suppress the right-click menu that allows hiding the toolbar?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default QToolBar: How do you suppress the right-click menu that allows hiding the toolbar?

    How do you suppress the right-click menu that allows hiding a QToolBar ? The tool bars are part of a QMainWindow if that makes a difference.

    Should be a very simple thing to do but my searches in the documentation have drawn a blank. I can see where the label text can be set and can set it to an empty string but the right-click option remains.

    Cheers,
    Chris W
    Last edited by ChrisW67; 10th June 2010 at 06:28. Reason: More info

Similar Threads

  1. Hiding a QToolButton in a QToolBar
    By elcuco in forum Qt Programming
    Replies: 3
    Last Post: 24th November 2009, 20:35
  2. Hiding mac system menu in fullscreen mode
    By jupi32000 in forum Qt Programming
    Replies: 0
    Last Post: 18th November 2009, 19:32
  3. QToolBar double click
    By sdfisher in forum Qt Programming
    Replies: 4
    Last Post: 8th October 2007, 06:19
  4. ToolBar Action With Menu
    By indifference in forum Qt Programming
    Replies: 4
    Last Post: 10th September 2007, 19:37
  5. Toolbar show menu
    By Michiel in forum Qt Programming
    Replies: 5
    Last Post: 26th May 2007, 15:22

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.