[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Access to tooltips and what's this
From:       Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date:       2000-01-25 16:07:50
[Download RAW message or body]



Carsten Pfeiffer wrote:
> 
> On Mon, Jan 24, 2000 at 03:37:04PM +0000, Richard Moore wrote:
> 
> Hiya,
> 
> > Does anyone know if there is a way to do any (ideally all) of the
> > following?
> >
> > - Find out the tooltip text for a widget
> 
> I'm afraid that's not easily possible without major hacks :-/

That's the same conclusion I came too. I guess I'll have to hack Qt
a little.

> 
> > - Find the 'What's this' text for a widget
> 
> static QString QWhatsThis::textFor( QWidget *, const QPoint& pos )

Thanks, I missed this. Now if we just had the same thing for tooltips...

> 
> > - Find the label that is a buddy of a widget
> 
> Hmm, you could query for all QLabels and compare your widget with
> QLabel::buddy()

Yeah, I thought of that but it's very inefficient. For one thing you
don't know if there really is a buddy, so you will spend a lot of time
searching.

> 
> > - Get a notification when a modal dialog is displayed
> 
> There is void KWinModule::windowAdd(WId), probably there is some mechanism
> to find out whether WId is modal.

That's a good idea - once you know the WId you can find this out from the
window properties.

> 
> > I am playing with some speech synthesis ideas and these appear to
> > be problems when you try to implement a screen reader.
> 
> Interesting stuff :)

Yeah, I've been looking at a system called Festival which has an X11
type license and supports multiple languages. It supports a standard
XML based speech markup language called Sable which appears to have
a lot of support. It should in theory let us support things like 'rich
speech' by mapping QML tags to Sable tags.

Cheers

Rich.

> 
> Cheers,
> Carsten Pfeiffer
> --
> http://www.geocities.com/SiliconValley/1632/

-- 
     Richard Moore		rich@ipso-facto.freeserve.co.uk
http://www.robocast.com/	richard@robocast.com
http://developer.kde.org/	rich@kde.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic