So it looks like Qt4 doesn't use signals for event handling. However, due to the nature of C++, it's trivial to extend the built-in widgets, which I did with this. To build, run qmake -project && qmake && make. Here's some sample output from a session:
% ./qtevent
76
83
32
45
76
65
32
16777248
36
72
79
77
69
16777220
`-> Captured: enter
ls -la $HOME
It makes programming similar to how I did my earlier launcher easier.
No comments:
Post a Comment