set top box UI with qt
-
wrote on 2 May 2017, 06:12 last edited by
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 -
wrote on 8 May 2017, 20:10 last edited by
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.
1/2