×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    209

    Lightbulb QContextMenuEvent is not working

    Hi All,

    i am able to draw cotext menu in window with qt 4.7.0 but same is not working in symbian,

    pls suggest me that how will i create context menu in symbian using qt 4.7.0.

    MyMenu::contextMenuEvent(QContextMenuEvent *event)
    {
    QMenu Mymenu(this);
    Mymenu.addAction(A);
    Mymenu.addAction(B);
    My menu.exec(event->globalPos());
    }


    this code work with window with qt but not in symbian with qt.

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: QContextMenuEvent is not working

    Are you running application on the phone or inside simulator? How do you invoke the menu?

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    209

    Re: QContextMenuEvent is not working

    Quote Originally Posted by divanov View Post
    Are you running application on the phone or inside simulator? How do you invoke the menu?
    Hi , i am trying with emulator on qt creater.

Similar Threads

  1. Writing to COM port not working but reading is working
    By doitifucan in forum Mobile Java General
    Replies: 1
    Last Post: 2009-11-19, 12:10
  2. Replies: 2
    Last Post: 2009-07-24, 06:04
  3. OfferKeyEvent is not working
    By soni_neeraj in forum Symbian User Interface
    Replies: 4
    Last Post: 2008-12-16, 07:57
  4. Replies: 2
    Last Post: 2006-03-11, 09:29
  5. SetItemDimmed is not working
    By amitagrawal78 in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-09-03, 11:20

Posting Permissions

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