[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    QT and key events
From:       Sheldon Lee-Wen <tormak () rogers ! com>
Date:       2002-06-09 18:56:49
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

    Is there any way to get QT to return the keycode of a key that is not 
recognized? (i.e. the easy access keys on your keyboard?) Using just
plain xlib you can get the keycodes back, however, QT will not return
them unless they are recognized by QT.  (QT recognizes the ones from
keysym.h I believe). I would like to use a QT solution, but it seems I might
have to use an xlib program to do what I want it to do (i.e. capture these
keys and assign symbols to them, then bind them to commands).
(I'm the author of KlineakConfig). If I do have to use a c/xlib program
to do this, how can I embed an Xlib "widget" into a KDE program?

(i.e. I want an area that the user can press an easy access key over that gets 
the keycode and then lets them assign a symbol name to it, and then allows 
them to use KlineakConfig to assign commands to the symbol names.)

Thanks for the help.
Sheldon.

- -- 
==================================================================
"... all thoughts of selfish desire, ill-will, hatred and
 violence are the result of a lack of wisdom ... "
 - Buddha

For an awsome fantasy role playing game checkout:
http://lycadican.sourceforge.net

GPG KeyID=04B7F7F8
GPG Fingerprint=4B0F 7202 FAFF D146 5F56  9E83 BE7F D7F7 04B7 F7F8
==================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9A6Txvn/X9wS39/gRAm8OAJ96T8bdplzz4Ah7ZU669D0wCGcfSgCffTeE
s9o+jVoKsErmBqptSYZ68fI=
=ts3C
-----END PGP SIGNATURE-----

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic