How to use QStyle::SH_ToolTip_WakeUpDelay to set tooltip wake-up time?
-
It seems QStyle::SH_ToolTip_WakeUpDelay can be used to set tooltip wake-up time. How to do it in c++ code? Thanks.
-
You can modify wake-up time through modifying an application style.
The style can be changed "statically":http://qt-project.org/doc/qt-5/qstyle.html#creating-a-custom-style or "dynamically":http://qt-project.org/doc/qt-5/qproxystyle.html#details
I think "QProxyStyle":http://qt-project.org/doc/qt-5/qproxystyle.html#details is a way that you are looking for.