[Qt-interest] MouseClick in QScript

Zhongmiao Li mars.leezm at gmail.com
Mon Dec 13 23:41:52 CET 2010


Hi  Everyone,

I'm using QScript to parse JS in Qt. In normal JavaScript, MouseClick event
is defined in JS code like

document.onClick = function (event) {  ....}

However I tried this, but it did not work. So is it possible for me to
invoke a  mouseclick-processing function (Either in Qt or in JavaScript)?  I
don't want to define it in Qt, since then the program will be too specific
and not so "scriptable".

Thank you!

-- 
Best regards
Li Zhongmiao
Digital Media, College of Computer Science, Zhejiang University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101213/20aa2a18/attachment.html 


More information about the Qt-interest-old mailing list