Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User itsaks's Avatar
    Join Date
    Dec 2008
    Posts
    3
    Hi,
    I created the QMenu called menu and linked it with options QPushButton which is made LSK.
    when we click the LSK(key_tab)on emulator I am calling the following in eventFilter function

    case Qt::Key_Tab:
    {
    menu->click();
    e->accept();
    return true;
    }

    the menu pops up, but now if I click the options again its not going inside the eventfilter function and so to the above case.

    when the memu is shown all the LSK clicks are received there only.
    I need to implement is that when the options i.e LSK is pressed second time the menu should close.

    How to disable the key_Tab keypress on the displaying menu??
    Any suggestions please??

  2. #2
    Registered User Sorcery-ltd's Avatar
    Join Date
    Dec 2006
    Posts
    2,280
    Hi,

    It's normal for the widget that has focus to recieve the key events... how about installing another event filter for the menu and letting it deal with the key press?

    Please note that in future Qt for S60 releases the softkey and menu handling will change from the current technology previews.

    Mark

  3. #3
    Registered User itsaks's Avatar
    Join Date
    Dec 2008
    Posts
    3
    Hi Mark,

    Thank you so much for your suggestion..I implemented another filter event on menu and handled it. Its working fine now

    Regards,
    Arvind

Similar Threads

  1. About 6230 Bt Problem
    By eerkek in forum Bluetooth Technology
    Replies: 17
    Last Post: 2005-02-08, 12:33
  2. CodeWarrior EPOCROOT problem
    By splinecl in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-10-01, 09:47
  3. 7210 Silent Problem
    By MarkMckim in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-18, 12:36
  4. Replies: 1
    Last Post: 2002-09-19, 06:53
  5. PJava runtime problem within Nokia 9210, Hrlp~!
    By Nokia_Archive in forum PersonalJava
    Replies: 1
    Last Post: 2002-05-28, 13:15

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