[Interest] suppressing tooltips of all widgets

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Thu Jan 12 00:15:30 CET 2017


Il 12/01/2017 00:02, Frank Rueter | OHUfx ha scritto:
> Is there any way to intercept a any tool tip even from anywhere in the app?

Install a global event filter on QApplication, and filter out all
QEvent::ToolTip events? (Never tried myself, so take it with a grain of
salt.)

Another option: install a QProxyStyle and return a wait period for
showing tooltips ridiculously high (INT_MAX).

HTH,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170112/1cdceaf3/attachment.bin>


More information about the Interest mailing list