Results 1 to 2 of 2

Thread: how to add widget to QMenubar

  1. #1
    Join Date
    Mar 2010
    Posts
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default how to add widget to QMenubar

    I want it to add widget like label or list view on menubar ?
    any solution or help appreciate...
    thanks
    Prashant

  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: how to add widget to QMenubar

    Use addAction() together with QWidgetAction.
    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.


Similar Threads

  1. QMenuBar and QGraphicsScene
    By Baleg in forum Qt Programming
    Replies: 0
    Last Post: 20th April 2011, 20:39
  2. QMenubar in a non mainwindow widget
    By Tito in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 16th August 2010, 15:24
  3. QMenuBar and QMenu
    By thedoctor in forum Qt Programming
    Replies: 0
    Last Post: 21st December 2009, 21:01
  4. How do you add a QActionGroup to a QMenuBar?
    By grantbj74 in forum Newbie
    Replies: 1
    Last Post: 10th August 2009, 05:43
  5. Getting QMenuBar of child widget to showup
    By discostu in forum Newbie
    Replies: 7
    Last Post: 6th July 2007, 18:56

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.