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. Providing a QWidget's native accessibility node for its parent widget.
Forum Updated to NodeBB v4.3 + New Features

Providing a QWidget's native accessibility node for its parent widget.

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 867 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.
  • M Offline
    M Offline
    miku
    wrote on last edited by
    #1

    My custom widget has a native implementation for accessibility node. However, I couldn't find a way to provide the native node to its parent. Please help suggest whether there is a way for a QWidget to provide its native accessibility node to its parent?

    raven-worxR 1 Reply Last reply
    0
    • M miku

      My custom widget has a native implementation for accessibility node. However, I couldn't find a way to provide the native node to its parent. Please help suggest whether there is a way for a QWidget to provide its native accessibility node to its parent?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @miku said:

      However, I couldn't find a way to provide the native node to its parent. Please help suggest whether there is a way for a QWidget to provide its native accessibility node to its parent?

      I am not quite sure what exactly you are trying to achieve?
      There is a static method available (QAccessible::queryAccessibleInterface()) to get the accessible interface of an given object.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • M Offline
        M Offline
        miku
        wrote on last edited by
        #3

        Sorry for unclear question. Let me clarify my question a little bit more. I'm working with Window accessibility specifically and prefer to implement my own IAccessible for my QWidget. I would like to only override the accessibility part of QWidget. May I ask if there is a way to control IAccessible object that is created by a QWidget? I was trying to handle nativeEvent WM_GETOBJECT but the IAccessible object I provided through nativeEvent function was not included in the application accessibility tree. Thanks!

        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