Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, September 2007
Re: How to add custom input device events to Qt?


Message 1 in thread

Till Oliver Knoll wrote:

> bool SpaceMouseApp_X11::x11EventFilter (XEvent *event) {

I now wrote a similar class, but derived it from QGLWidget, since I did want
to have the spaceball capability inside of the 3D widget. However, my
ClientMessage XEvents get eaten. If I derive from QWidget and open up a
second window with that widget, the events arrive and can be processed. Is
QGLWidget doing something nasty?

Arne

-- 
 [ signature omitted ]