Results 1 to 3 of 3

Thread: QToolbar on QMainWindow

  1. #1
    Join Date
    Oct 2009
    Posts
    70

    Default QToolbar on QMainWindow

    Hi,

    I want to disable the default right-click menu on a Toolbar that permit to show or hide all the toolbar on the QMainWindow.

    Is it possible???

    Thanks,

    Paolo

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QToolbar on QMainWindow

    If you intercept context menu request events and possibly mouse events then yes.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jun 2010
    Location
    India
    Posts
    50
    Thanks
    1
    Thanked 15 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

Similar Threads

  1. QToolBar Layout(when part of QMainWindow)
    By iridium in forum Qt Programming
    Replies: 3
    Last Post: 18th April 2013, 13:19
  2. QMainWindow as a child of QMainWindow
    By Elder Orb in forum Qt Programming
    Replies: 8
    Last Post: 12th February 2011, 21:31
  3. QToolbar
    By swrer in forum Newbie
    Replies: 1
    Last Post: 11th March 2010, 00:08
  4. Qtoolbar
    By Project25 in forum Qt Programming
    Replies: 3
    Last Post: 26th March 2007, 22:23
  5. Insert separate QToolBar into QMainWindow
    By YuriyRusinov in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2006, 10:37

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.