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. Navigation and selection on a non-touch s60.
Forum Updated to NodeBB v4.3 + New Features

Navigation and selection on a non-touch s60.

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.7k 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
    hasnain
    wrote on last edited by
    #1

    i have simple Qt app just with user interface (yet),User interface is working fine on s60 touch phone but some of controls Of Qt(toolbox and tabwidget) are not selectable on a non-touch device any ides how to make those selectable.

    please help

    1 Reply Last reply
    0
    • S Offline
      S Offline
      snowpong
      wrote on last edited by
      #2

      It seems that the focus policy (http://doc.qt.nokia.com/4.6/qwidget.html#focusPolicy-prop) of both QToolBox and QTabWidget has been explicitly set to Qt::NoFocus so they won't handle keypad navigation at all at the moment.

      I suggest you subclass them, set the focus policy to TabFocus, and then check out other classes like QSlider and QComboBox (search for #ifdef QT_KEYPAD_NAVIGATION) and check out how things are handled there, then do similar handling in your subclassed versions.

      Or just install an event filter and hack a less elegant solution :)

      (Alessandro, feel free to pitch in here :)

      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