[Qt-interest] QAccessible

David Ching dc at remove-this.dcsoft.com
Tue Mar 30 14:36:19 CEST 2010


"Kanitz, Annett" <Annett.Kanitz at dzb.de> wrote in message 
news:59182F4ACF126B4795BDFE539DA00F8FB401F5 at DZBXC02.dzb.de...
> Thanks for the reply.
> It worked, but JAWS only reads the window title and the menu bar items.
> It doesnt read the content of a dialog window nor the content of 
> QPlainTextEdit.
> Im using JAWS' braille viewer and that also doesnt display the text in the 
> edit field.
> Thats really important, cause the application I'm working on will be an 
> editor.
> I hope someone can help me with that.
>

Make sure the QtAccessible4.dll is being loaded.  (You can use SysInternals 
Process Explorer to see the DLL's loaded in your process).  Also use Spy++ 
and ensure your text edit is a real HWND (drag the Spy cursor over the 
QPlainTextEdit, and it should surround it with a border indicating the 
HWND's rect --- if no border is drawn, Qt has created QPlainTextEdit as an 
alien widget, and this won't work).

And finally, make sure JAWS is started *before* your app, or else Qt uses 
alien widgets.

-- David
 




More information about the Qt-interest-old mailing list