[Development] How can I only select border not inside rectangle to select QGraphicsRectItem

Alexander Nassian nassian at bitshift-dynamics.de
Tue Oct 4 05:57:40 CEST 2016


Hi,

Please note that development at qt-project.org is the mailing list for developers _of_ Qt. Developers who _use_ Qt should use interest at qt-project.org.

Beste Grüße / Best regards,
Alexander Nassian, bitshift dynamics GmbH


> Am 03.10.2016 um 23:51 schrieb itviewer <assangema at gmail.com>:
> 
> Hi,
> I draw a rectangle with QGraphicsRectItem. it only has a border and not be filled. like this:
> <1.png>
> 
> when I click inside the rectangle,it will be selected,but I would like only click on the border  to select, not inside.
> how can i get it?
> 
> Thanks.
> 
>  
> itviewer
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20161004/c6e04524/attachment.html>


More information about the Development mailing list