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. Widget for alphanumeric GUI

Widget for alphanumeric GUI

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.1k 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.
  • S Offline
    S Offline
    ShawnG
    wrote on last edited by
    #1

    Hello,

    I need to develop a GUI that allows entry of numbers and the alphabet plus other items like backspace, space, "-", etc. It would be shown in a matrix, something like what the Roku box GUI has (and others I'm sure), to enter text. The device physically has UP/DOWN/LEFT/RIGHT/ENTER buttons only. I am unsure of what widget to use, or subclass from (i.e. QLabel, QPushButton, etc).

    When focus is on a widget key, it needs to be a different color. When the user presses an arrow key, it must move either left/right/up or down, not follow the tab order (there is no need for a tab order, because no tab button). And when the user presses the ENTER key, the letter/number that is highlighted will briefly change color.

    Any suggestions? Thanks!

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      I would use a QTableView (or QTableWidget).
      Or, if you want to go the QtQuick way, use a grid.

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0

      • Login

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