[Qt-interest] Testing QGraphicsView
Brian McKinnon
bpmckinnon.qt at gmail.com
Mon Dec 13 20:48:35 CET 2010
Are actually clicking anything? Or is your view overloaded to always accept
mouse press events? I believe the default behaviour of the view is to
reject mouse clicks that don't occur on an item... but I could be wrong.
On Mon, Dec 13, 2010 at 3:25 PM, Hildebrando Trannin <htrannin at gmail.com>wrote:
> Hello,
>
> I'd like to test a QGraphicsView object using QTestEventList, but when I
> simulate a mouse press event I received this warning: "Mouse event
> "MousePress" not accepted by receiving widget".
>
> I tried to directed use sendEvent from QApplication, but it didn't work.
>
> How can I test QGraphicsView?
>
> Thanks,
> Hildebrando
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101213/32016ea8/attachment.html
More information about the Qt-interest-old
mailing list