Results 1 to 10 of 10

Thread: create app menu in qt

  1. #1
    Join Date
    Jul 2010
    Posts
    17
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default create app menu in qt

    Being newbie,can any one tell me how can create app menu(application menu) in qt??

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: create app menu in qt

    Quote Originally Posted by sk.qt View Post
    Being newbie,
    Then newbie is a good forum for you! (moved)

    can any one tell me how can create app menu(application menu) in qt??
    If you mean a menu bar at the top of a window see QMenuBar.

  3. #3
    Join Date
    Jul 2010
    Posts
    17
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: create app menu in qt

    thanks for reply.that's ok ,can able to do.on top of the screen (form menu).that's coming.but i want to make app menu(options and exit) in qt.how can make just like in symbian

  4. #4
    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: create app menu in qt

    What system are you running on?
    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.


  5. #5
    Join Date
    Jul 2010
    Posts
    17
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: create app menu in qt

    I am using windows 7, nokia QTSDK and windows qt 4.7 sdk latest release.in simulator,getting 3 options(for non touch nokia,touch nokia,and maemo device).

    if anything let me know..

  6. #6
    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: create app menu in qt

    So you're running on Maemo Maemo doesn't have application menu, only the main menu. You can see the menu in the simulator controller window.
    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.


  7. #7
    Join Date
    Jul 2010
    Posts
    17
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: create app menu in qt

    i am using symbian device here not maemo.in symbian device,supports app menu na??

  8. #8
    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: create app menu in qt

    Try to be more specific next time instead of me having to drag every bit of information out of you. If you are after the action menu then you need to add actions directly to the window's menu bar.
    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.


  9. #9
    Join Date
    Jul 2010
    Posts
    17
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: create app menu in qt

    yeah really sorry.next time onward will provide all the relevant information.

    Here i am adding actions in menubar.but thats menu items coming in top of the screen in simulator.Not coming in options in bottom of the screen.

    i want the menu items should come under options just like i am doing in symbian just adding menuitems in menubar that by default coming in options.

    Thanks
    sk

  10. #10
    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: create app menu in qt

    Quote Originally Posted by sk.qt View Post
    Here i am adding actions in menubar.but thats menu items coming in top of the screen in simulator.
    Show us the code where you do that.

    i want the menu items should come under options just like i am doing in symbian just adding menuitems in menubar that by default coming in options.
    Show us the code.
    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. Replies: 5
    Last Post: 4th February 2010, 17:15
  2. Replies: 1
    Last Post: 22nd January 2010, 11:22
  3. create qt ribbon menu
    By BalaQT in forum Qt Programming
    Replies: 3
    Last Post: 16th September 2009, 12:28
  4. Replies: 4
    Last Post: 1st May 2009, 11:00
  5. rigth click of mouse to create sub menu
    By SunnySan in forum Qt Programming
    Replies: 8
    Last Post: 12th November 2008, 11:29

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.