×

Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    29

    Question Dynamically Show Options Menu

    Hi All,
    I have an options menu that I would like shown when a user presses on an item a list view.

    What do I need to put into my window's selectionChanged slot to get the menu to be automatically shown?

    Cheers,
    Donal

  2. #2
    Registered User
    Join Date
    Aug 2010
    Posts
    29

    Re: Dynamically Show Options Menu

    I've tried using QMenu::exec() and QMenu:: popup(), these allow me to create the menu anywhere on the screen. But I haven't found a way for them to "activate" the Options menu along the bottom of the screen (as if I had manually pressed on the Options menu).

    Anyone any ideas how to do this programatically?

    Cheers,
    Donal

  3. #3
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: Dynamically Show Options Menu

    You could maybe use the menuBar() call.

    Alternatively, what about injecting a Symbian mouse press event or CBA event into the event loop?

    As said, all of this is speculative. But please keep us posted if you manage it!
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

Similar Threads

  1. Replies: 9
    Last Post: 2010-08-02, 11:41
  2. dynamically show menu on softkey
    By Shaolin81 in forum Symbian User Interface
    Replies: 5
    Last Post: 2010-05-18, 18:12
  3. How To Add Menu Options To Default Menu?
    By pistha in forum Symbian
    Replies: 11
    Last Post: 2007-08-17, 16:10
  4. Replies: 5
    Last Post: 2005-01-09, 18:08
  5. How to add a menu item in the Options menu of a Nokia 7650 ?
    By nmittal in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-08-07, 08:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×