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. Example to use setFocus or setFocusPolicy in embedded device
QtWS25 Last Chance

Example to use setFocus or setFocusPolicy in embedded device

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 466 Views
  • 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.
  • R Offline
    R Offline
    Rohith
    wrote on last edited by A Former User
    #1

    Hi i am using Qt-5.5.1 and i am developing and application for my embedded device and i want to use setFocus and setFocusPolicy to highlight buttons in the way as of our feature phones.
    Ex:- In our feature phones when we open Menu that is present in ListView and when we reach the bottom of menu and if we click down arrow at the last menu item then it will automatically goes to top i.e to the first option.

    In such a way i need to develop the application and i for that i thought setFocus is the suitable method and got to know that setFocus does not works well for embedded device in order to use i need to use QEvent::softwareinputreason.I am not getting how to use or develop this application is there any other way to achieve this functionality.

    Please suggest me with an example if it is possible.

    Thanks in advance,
    Rohith.G

    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