Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor Christophe.A's Avatar
    Join Date
    May 2008
    Location
    Switzerland - VS
    Posts
    81
    Hello,
    I'm starting with QT for symbian. (I'm using the QT plugin for S60-5th sdk in carbide) and I have some trouble to create the menus like I want. For the Designs I'm principaly using the ui editor in carbide.

    - My qt application is a QT main windows.
    - Even if I remove the menu of my screen, I've always the right softkey "exit". I don't know how to remove it
    - If I want to add some menu/actions, .. (here is my object tree)
    ->menuBar
    ---->menuMenu
    ------>actionMyaction1
    ------>actionMyAction2
    In the application I obtain two softkeys (option and exit)
    if I click on options I get two possiblities "Menu" (my menu, but I want it to be the root, and not a sub menu in option) and an action called "Actions" ( I don't know where it's comes from) when I click it there is some options displayed (cut, copy, past,...)

    So, how can I realy have the controle over the menus, menusbars. I tried to clear() my menubar() but I always got the default things like "action" or the "exit" rightSoftKey. What is the right way to do it ?

    I presume like I can use the old style CBA buttons from symbian c++, but I'm pretty sure that it's possible to do it simply with QT. I just didn't found the right way.

    For example I want to use a stackwidget, and switching between cba and menus depending of which widget I am.

    Thank you.

  2. #2
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,294
    See this articles about the different kinds of menu created in the Qt.

    http://wiki.forum.nokia.com/index.ph...Qt_for_Symbian
    http://wiki.forum.nokia.com/index.ph...Qt_for_Symbian

    crating menu using QPushbutton : http://wiki.forum.nokia.com/index.ph...Qt_for_Symbian

    Best regards,

Similar Threads

  1. General Questions
    By doubleuj in forum General Development Questions
    Replies: 2
    Last Post: 2009-07-20, 08:52
  2. General questions
    By smartmobili in forum Symbian Tools & SDKs
    Replies: 6
    Last Post: 2009-06-05, 12:00
  3. General questions
    By neil.young in forum Feedback - Nokia Developer Services
    Replies: 3
    Last Post: 2008-02-15, 19:02
  4. Some general questions
    By icer in forum Python
    Replies: 0
    Last Post: 2007-07-05, 14:24
  5. A few general questions...
    By cypher181 in forum Symbian C++
    Replies: 1
    Last Post: 2006-12-07, 03:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved