Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. ScrollArea and StackWiget child scrolling issues with Keypad NAviation Define
Forum Updated to NodeBB v4.3 + New Features

ScrollArea and StackWiget child scrolling issues with Keypad NAviation Define

Scheduled Pinned Locked Moved General and Desktop
qtnavigationmodkeypadscrollareabuttonfocusembedded
1 Posts 1 Posters 935 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.
  • B Offline
    B Offline
    BluTiGeS
    wrote on 10 Oct 2015, 09:37 last edited by
    #1

    HI all,

    I have drawn a GUI using the QT Creator with the following structure;

    Widget (Main page)

      1. ScrollArea
      1. Stacked Widget
      1. Stacked Widget Page with Text header and Buttons

    Now I have set the focus on load on the First button to get the keypad navigation into this viewport working.
    The text labels do not have any focus becasue otherwise it will be focused during up / down key pressing.

    So now if I press the down button jumping to the lowest button the scrollbar moves as expected but if I move upwards it can hapen that the header text is not readable anymore since it does only scroll to the first button.

    Is there a way to let it continue scrolling up if the first button is set?

    Do I hvae to use the ScrollArea abstact class or ist here a more common way with the kepadnavigation ?

    Or is there a way using the scrollbar with a content which must be selectable with the up down keys.

    On only viewable content it is easy, there I jsut set focus to the scrollbar and up down works as expected but with interactive content i am getting into trouble.

    Would be nice if someone has some suggestions and maybe a example how you implement such scrollable pages with interactive content like inputs and buttons using the KEYPADNavigation define QT_KEYPAD_NAVIGATION and the mode Qt::NavigationModeKeypadDirectional

    Man Thanks

    1 Reply Last reply
    0

    1/1

    10 Oct 2015, 09:37

    • Login

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