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. set top box UI with qt
Forum Updated to NodeBB v4.3 + New Features

set top box UI with qt

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 558 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.
  • A Offline
    A Offline
    Alex_wang
    wrote on 2 May 2017, 06:12 last edited by
    #1

    hi,

    I use qt to design the set top box UI,and a remote tv controller can control the UI with the key "Up", "Down","Left","Right" .
    The UI has received the key information from the remote tv controller,
    but how to Switch the UI interface with the key information like that the UI responses the keyboard

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kumararajas
      wrote on 8 May 2017, 20:10 last edited by
      #2

      It purely looks like specific implementation.

      Your architecture should talk about this.

      For example, When you press right arrow, say you want to change the channel

      switch(key)
      {
          case Right:
          {
              funcShowNextChannel();
          }
          break;
          case Left:
          {
              funcShowPrevChannel();
          }
          default:
          break;
      }
      

      Something like this may help you.

      --Kumar

      1 Reply Last reply
      0

      1/2

      2 May 2017, 06:12

      • Login

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