[Qt-interest] How to convert QKeyEvent from/to a X keysym?
Liu, Raymond
raymond.liu at intel.com
Tue Apr 6 07:13:48 CEST 2010
Hi
I want to gain KeySym from a QKeyEvent, I can see there are QKeyEvent::nativeVirtualKey available, while it does not work for me, since I build up the QKeyEvent with QKeyEvent(type, key, modifier) and those native information are not available.
So, are there any way I can manage to get the keySym from QT key/modifier? And vise versa?
It seems to me there are KKeyNative Class in KDE Core library might possibly handle this? While if possible I would prefer not to depend on this library only for key code convert.
Best Regards,
Raymond Liu
More information about the Qt-interest-old
mailing list