Results 1 to 8 of 8

Thread: accessible Clients

  1. #1
    Join Date
    Jul 2010
    Posts
    15
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default accessible Clients

    I try do make my software work for Accessible Clients.
    Each time the focus goes to a tree-view, the screen-reader software says something like 'tree-view'....
    How can i change that, so the clients doesn't say 'treeview' but something application-defined.
    i tried setAccessibleName on the treewidget, but with no effect. the item in the tree views are read out fine.
    Any hints?

    Thank you,
    Jörg

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 453 Times in 435 Posts
    Wiki edits
    15

    Default Re: accessible Clients

    Did you try setObjectName()? I never tried it though.

  3. #3
    Join Date
    Jul 2010
    Posts
    15
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: accessible Clients

    thank you for the answere Santosh.
    I tried setObjectName() now, with the same result unfortunately.

    do you have an other idea?

  4. #4
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 453 Times in 435 Posts
    Wiki edits
    15

    Default Re: accessible Clients

    is this working on other than treeview widgets in you app

  5. #5
    Join Date
    Jul 2010
    Posts
    15
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: accessible Clients

    no i have a other treeview widget, but its the same. the items in the widget are working fine but the treeview itself just say treeview.
    i have an other problem with accessibility either: to focus goes to a switch it reads out the status of the switch as it should. when the user presses the button, the state changes and so the accessibleName changes too. how to tell the accessiblesoftware the read out the changes accessibleName without the user has to move the focus next and back?

  6. #6
    Join Date
    Jul 2010
    Posts
    15
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: accessible Clients

    sorry i got you wrong....
    other widgets in my app have the same problem. QLabels für example say something like 'Label'. but its not this important for them cause they read out what i told them to either.
    lets say i use setAccessibleName("i am a text") its says 'i am a text - Label'.
    only on threeviews it justs says 'treeview' and not the accessible text...

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: accessible Clients

    Did you try QWidget::accessibleDescription property? One of the two should be working.

    Also have a look here: http://doc.qt.nokia.com/qq/qq24-accessibility.html
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  8. #8
    Join Date
    Jul 2010
    Posts
    15
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: accessible Clients

    thansk for your answer.
    yes i tried QWidget::accessibleDescription. its still the same.
    the items in the treeview are working fine, but the treeview itself keeps saying 'treeview'....

Similar Threads

  1. Replies: 3
    Last Post: 9th May 2011, 18:23
  2. Accessible menus
    By NickPoole in forum Qt Programming
    Replies: 3
    Last Post: 17th August 2009, 10:30
  3. How to add accessible support for widgets?
    By Simon in forum Qt Programming
    Replies: 2
    Last Post: 6th May 2009, 03:55
  4. Need help on wrapping Accessible Interface to QWidget
    By thi_optimist in forum Qt Programming
    Replies: 0
    Last Post: 27th November 2006, 20:10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.