Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Escaping focus in QQuickWidget?
Qt 6.11 is out! See what's new in the release blog

Escaping focus in QQuickWidget?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 392 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.
  • T Offline
    T Offline
    Tummon
    wrote on last edited by
    #1

    In a QWidgets application with a QQuickWidget embedded in it:
    I've noticed if the QQuickWidget has child items that receive focus, the focus never returns to the QWidget focus chain, I can only tab between the Qml items.

    Is this just something that needs to be handled manually or is there a way around it?

    F 1 Reply Last reply
    1
    • T Tummon

      In a QWidgets application with a QQuickWidget embedded in it:
      I've noticed if the QQuickWidget has child items that receive focus, the focus never returns to the QWidget focus chain, I can only tab between the Qml items.

      Is this just something that needs to be handled manually or is there a way around it?

      F Offline
      F Offline
      FlawedLogic
      wrote on last edited by
      #2

      @Tummon
      I've just hit this issue too, did you find a solution to it?
      In my case I have a FocusScope in the QML and when it gets to the end I'd like it to jump back into the QWidget focus chain like any other widget would.

      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