×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Jan 2009
    Location
    Dhaka,Bangladesh
    Posts
    146

    how to get key event?

    Hi ,
    I am very new in QT.
    I want to catch key event as (UP,DOWN,LEFT,RIGHT).
    I already draw an image.Now i want to move that image with key event.

    how to get key event(UP,DOWN,LEFT,RIGHT)?

    Thanks in Advance.

    --Auni

  2. #2
    Super Contributor
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: how to get key event?

    Hi,

    Please check out this wiki-article written by Tepaa and see if it suits for your purposes.
    http://wiki.forum.nokia.com/index.ph...y_events_in_Qt

    Br,
    Ilkka

  3. #3
    Regular Contributor
    Join Date
    Jan 2009
    Location
    Dhaka,Bangladesh
    Posts
    146

    Re: how to get key event?

    Thanks Ilkka.
    This was my required answer.

    Thanks again.

    --Auni

  4. #4
    Registered User
    Join Date
    Jan 2006
    Posts
    10

    Re: how to get key event?

    Hi,

    Unlike in the example, you can also use the key codes found in the enumaration Qt::Key - for example, Qt::Key_Up, Qt::Key_Down etc. These seem to work ok and you don't need have any Symbian-specific code or constants in your application.

    For some reason I've had problems with numeric and alphabetic keys in Garden, in my application keyPressEvent is never even called when these keys are pressed. The same application worked in Temple and also works when compiled for Windows. A bug in Garden, perhaps?

    Cheers,

    - Petri

  5. #5
    Registered User
    Join Date
    May 2009
    Posts
    1

    Re: how to get key event?

    I changed my lock code from 12345 to another number but I forgot it .. any idea how to unlock/reset the lock code of my Nokia N73 cellphone ?? thanks

  6. #6
    Nokia Developer Champion
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: how to get key event?

    Quote Originally Posted by baquine View Post
    I changed my lock code from 12345 to another number but I forgot it .. any idea how to unlock/reset the lock code of my Nokia N73 cellphone ?? thanks
    Welcome to the Forum Nokia Developer discussion board, as this DiBo concentrates on development related issues, you might find more end-user problems related Dibo better suited for your query. Here's link for one: http://discussions.europe.nokia.com/

Similar Threads

  1. Replies: 106
    Last Post: 2009-05-11, 05:53
  2. Replies: 8
    Last Post: 2003-07-11, 12:56
  3. Key Event Issues
    By mykes in forum Symbian
    Replies: 0
    Last Post: 2003-05-01, 10:55

Posting Permissions

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