[Qt-interest] No way to send QGraphicsScene events to Items?

J-P Nurmi jpnurmi at gmail.com
Fri Sep 25 16:30:43 CEST 2009


On Fri, Sep 25, 2009 at 5:17 PM, Mihail Naydenov <mlists at ymail.com> wrote:
> It seams, for now, it is impossible to manually send any (both custom and predefined) event to an graphics view item, although QGraphicsScene does that all the time.
> The alternatives are signals and regular events, both of which however require QObject receiver (something QGraphicsItem is not)
> Is this situation going to change? (Or we have to use QGraphicsWidget )

Hi,

QGraphicsScene::sendEvent(QGraphicsItem*, QEvent*) has been introduced in Qt 4.6

--
J-P Nurmi



More information about the Qt-interest-old mailing list