[Qt-interest] QGraphicsView QGraphicsProxyWidget event forwarding
Steven Green
steven.green30 at verizon.net
Thu Jul 2 20:06:15 CEST 2009
I am new to QT and QGraphicsView.
I am exploring QGraphicsView and implementing a bunch of features I want
my application to handle, but am still in a play/learn phase.
I want to be able to use QWidget in a QGraphicItem and have been using
QGraphicsProxyWidget to do this, but I want to be able to grab the item
anywhere in its bounds to move it when the right tool is selected, but I
don't want the Widget to respond.
I want the events to effect the the item instead of the widgets and
vice-versa at times.
I have attempted subclassing widgets, subclassing items, and now looking
at the view and scene but I am hoping I am just doing something wrong or
missing something as I am getting deep and figuring it out by looking at
the Qt source for ideas.
Any tips on how to approach this issue would be appreciated.
Thank you,
Steven Green
More information about the Qt-interest-old
mailing list