From kde-usability Sun May 18 19:46:48 2008 From: timo.sinnemaki () helsinki ! fi Date: Sun, 18 May 2008 19:46:48 +0000 To: kde-usability Subject: Shortcuts displayed in tooltips Message-Id: X-MARC-Message: https://marc.info/?l=kde-usability&m=121114043813790 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--8323328-1858475874-1211140009=:14849" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1858475874-1211140009=:14849 Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT Hi, I'm interested in hearing your opinions on whether it would be sensible for tooltips on widgets in kde applications to display a shortcut to the action on the given widget. Some applications do this -- GIMP, for example -- and although it looks slightly less clean, I think such a feature makes it quite a bit easier to learn how to use a UI efficiently. I don't really have vast experience in programming in general, nor C++ in particular, but I'd still like to look into implementing the feature if others agree that it would be a nice thing to have. I've taken a quick look at the code, and unless I'm mistaken, all tooltips in KDE are handled by the QToolTip class, so you can't reasonably make this work globally without modifying/replacing all present references to QToolTip and hoping developers won't mind switching to the new usage. (I suppose redefining QToolTip with preprocessor macros would be too hairy?) Cheers, Timo Sinnemäki --8323328-1858475874-1211140009=:14849 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kde-usability mailing list kde-usability@kde.org https://mail.kde.org/mailman/listinfo/kde-usability --8323328-1858475874-1211140009=:14849--