[Development] What's This help
simon.hausmann at digia.com
Wed Aug 7 09:30:31 CEST 2013
On Wednesday 7. August 2013 06.47.24 Graham Labdon wrote:
> I am in the process of porting an application from Qt4.8 to Qt5 and have
> come across the fact that there is no 'Whats This' help for dialogs This
> has been reported here
> However, I need a fix urgently so was looking at the source code to see if I
> could see what is going on but could not find it.
> Does anyone have any hints or clues as to where the code to send the Whats
> this event is to be found?
This should be straight-forward to implement on Windows :). With xcb it seems
already implemented (check out qxcbwindow.cpp), by posting a
QEvent::EnterWhatsThisMode event to the application.
On Windows it seems we should check for WM_SYSCOMMAND messages with
SC_CONTEXTHELP in the lower bits of the parameter and then do the same.
More information about the Development