[PATCH] WhatsThis links in KActiveLabels

Tim Jansen tim at tjansen.de
Sun Mar 30 17:14:12 BST 2003


Hi...

I would like to add the attached patch to kdelibs/kdeui/kactivelabel.*. 

It adds "What'sThis"/Tooltip link support to KActiveLabel. When the users 
click on such a label a tooltip appears, usually with additional information. 
In order to create such a link just include a 

<a href="whatsthis:This is the text that will be displayed in the 
QWhatsThis">More Information</a>

in the text of the KActiveLabel.

Here's a screenshot:
http://www.tjansen.de/krfb/whatsthis.png


The purpose is to create more structure for the instructions in a dialog or 
wizard. Especially Desktop Sharing suffers from having far too much text in 
the dialogs, but the information is still needed sometimes. Making the texts 
shorter and labeling the information increases the probability that the user 
actually reads them...

bye...




-------------- next part --------------
A non-text attachment was scrubbed...
Name: kactivelabel-whatsthis.patch
Type: text/x-diff
Size: 2027 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030330/cc8dfa17/attachment.patch>


More information about the kde-core-devel mailing list