|
|
Joshua Senecal wrote:
Hi All,
Hi Joshua.
[snip]
I'm also looking into the possibility of adding the CLI to the
controller thread directly. Ideally I'd like a keypress to trigger an
event that would be handled in the thread (i.e. keypresses would be
collected and appended to form command strings). The problem is that the
application and thread each have their own event loops, and it appears
that events are being sent to the application, and are not passed to the
thread.
So, how do I pass events to the thread? Filters apparently will not
work, because event filters require the two objects to be in the same
thread.
Why not have the application collect events to form commands and then
dispatch those to the thread using a slot?
Not sure if this is what you're after.
Cheers,
Darrik
--
Darrik Mazey
Developer
DMT Programming, LLC.
P.O. Box 91
Torrington, CT 06790
office: 330.983.9941
fax: 330.983.9942
mobile: 330.808.2025
darrik@xxxxxxxxxxxxxxxxxx
To obtain my public key, send an email to
darrik@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|