[Qt-interest] Using Qt Enums in QtScripts

Jordan Upham jupham at zipitwireless.com
Wed Jul 20 21:26:45 CEST 2011


I'm looking to script an embedded application and I want to generate key
events.  I was wondering if it is possible to get at Qt's Key enum so that I
do not have to make some mapping for each key.  From the documentation I can
find that it looks like this is possible by using a some meta object.  What
I'm not sure of is the code to do this in c++ and how to access it in the qt
script.  Any help would be appreciated.

Thanks
Jordan Upham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110720/57a151be/attachment.html 


More information about the Qt-interest-old mailing list