[Interest] Is it possible to use QtQuick Item instead of Graphics View Framework ?

Bo Thorsen bo at vikingsoft.eu
Fri Dec 9 09:23:26 CET 2016


Den 09-12-2016 kl. 08:59 skrev jack ma:
> Hi,
> Is there any way to draw *interactive* complex shapes(lines,arc,..) with
> QtQuick item like QGraphicsItem?
> seems that Canvas item can draw shapes but can't interact?

The way to do this is to create your own items and respond to the mouse 
events on them. In that respect, the QtQuick items will be a similar to 
the QGraphicsItem.

I hope this helps,

Bo Thorsen,
Director, Viking Software.

-- 
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu



More information about the Interest mailing list