[Qt-interest] Graphics View QTabletEvent not supported?
Frank Hemer
frank at hemer.org
Tue Oct 20 12:37:30 CEST 2009
On Tuesday 20 October 2009 02:28:54 Bradley Smith wrote:
> > Looking at the code, it seems the Graphics View framework does not
> > support QTabletEvents at all.
> >
> > Can anybody confirm this?
>
> I agree with your assessment. The QGraphicsScene handles and forwards
> event to the QGraphicsItems. However, the QGraphicsScene does not
> process QTabletEvents. I assume an event filter could be installed on
> the scene to process QTabletEvents separately. It would be nice to
> have built-in support for QTabletEvents.
Thats what I did for now. - Or better, I needed to install it on the
QGraphicsView.
However there are quite some difficulties when following that road.
Complex layouts and widgets based on QGraphicsProxyWidget need an advanced
target detection.
I would prefer to have all this stuff handled by the Graphics Framework.
Frank
More information about the Qt-interest-old
mailing list