Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How do I assign a function to a key on phones key board?
Forum Updated to NodeBB v4.3 + New Features

How do I assign a function to a key on phones key board?

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 3 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hungchuviet
    wrote on 19 Oct 2010, 17:01 last edited by
    #1

    I'm beginer Symbian.
    I want to do some thing when user pressed a key on phones' key board.
    Can you show me how do to?
    Can I have some samples code?
    Thanks you!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      chriadam
      wrote on 19 Oct 2010, 23:51 last edited by
      #2

      I assume that your application will be running at the time? In that case, just set up an event filter, and handle the key press event for the particular key you're interested in. There's plenty of documentation and example code on the topic of event filters.

      Cheers,
      Chris.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sriky27
        wrote on 20 Oct 2010, 19:46 last edited by
        #3

        Hi,

        This "example":http://wiki.forum.nokia.com/index.php/CS001352_-_Listening_for_Symbian_key_events_in_Qtshould give you heads up.

        -Sriky

        1 Reply Last reply
        0
        • ? This user is from outside of this forum
          ? This user is from outside of this forum
          Guest
          wrote on 21 Oct 2010, 06:35 last edited by
          #4

          hi Sriky, looks like an issue with the link, didn't show up any article ...

          bq.
          There is currently no text in this page

          1 Reply Last reply
          0
          • C Offline
            C Offline
            chriadam
            wrote on 21 Oct 2010, 06:49 last edited by
            #5

            Try "this":http://wiki.forum.nokia.com/index.php/CS001352_-_Listening_for_Symbian_key_events_in_Qt instead.

            1 Reply Last reply
            0
            • ? This user is from outside of this forum
              ? This user is from outside of this forum
              Guest
              wrote on 21 Oct 2010, 18:42 last edited by
              #6

              [quote author="chriadam" date="1287643765"]Try "this":http://wiki.forum.nokia.com/index.php/CS001352_-_Listening_for_Symbian_key_events_in_Qt instead.
              [/quote]

              thanks chriadam

              1 Reply Last reply
              0

              1/6

              19 Oct 2010, 17:01

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved