Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User Petri1's Avatar
    Join Date
    Aug 2008
    Posts
    15
    I would like to update menu items (actions) under "Options" menu when user opens the menu.

    Triggered() signal is emitted when user chooses "Options" LSK.
    I can connect to triggered() signal, however it seems that triggered() is signalled after menu is already opened. That behaviour is problematic if I would like to enable or disable actions (setEnabled) under "Options" menu. "Options" menu reflects the setEnabled() settings only after re opening the menu.

    Is there a way to refresh menu (actions) after trigggered signal?
    Or is there another way to know when user chooses "Options" menu, I quess aboutToShow() doesn't work for "Options" menu?

    Qt 4.6.3 & Symbian

  2. #2
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,299
    You can see the below page :
    Controlling the actions item in Qt for symbian

    Cheers,
    RaHuL.

  3. #3
    Regular Contributor treinio's Avatar
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329
    Quote Originally Posted by Petri1 View Post
    Or is there another way to know when user chooses "Options" menu, I quess aboutToShow() doesn't work for "Options" menu?
    Remember this one? symbianEventFilter -workaround seems to work for this purpose as well. For example, if you emit a new signal menuAboutToShow() - any modifications you do to actions in the connecting slot are immediately visible in the menu.

  4. #4
    Registered User Petri1's Avatar
    Join Date
    Aug 2008
    Posts
    15
    Quote Originally Posted by treinio View Post
    Remember this one? symbianEventFilter -workaround seems to work for this purpose as well.
    Thanks, symbianeventfilter seems to be the only feasible solution for my needs.
    In general, it seems that Options menu is a bit tricky to handle. I have also tried some focusevent workarounds but those doesn't seem to work for Options menu.

Similar Threads

  1. Phonebook "options" button menu access
    By logica2k in forum Symbian C++
    Replies: 5
    Last Post: 2008-06-15, 09:50
  2. "Play message" does not appear in MMS options menu
    By krk_mohan in forum General Messaging
    Replies: 2
    Last Post: 2007-07-26, 05:36
  3. Prevent "Options" softkey menu being created.
    By Quey Joh in forum Mobile Java General
    Replies: 2
    Last Post: 2006-10-05, 08:08

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