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

2016-10-03 Thread itviewer
Hi, I draw a rectangle with QGraphicsRectItem. it only has a border and not be filled. like this: 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

Re: [Development] scaling the background of QGraphicsView or QGraphicsScene

2016-10-02 Thread itviewer
Hi Sean, Thank you very much, you helped me solve the problem that let me think for several days. you are a good man! itviewer From: Sean Harmer Date: 2016-10-02 17:10 To: development Subject: Re: [Development] scaling the background of QGraphicsView or QGraphicsScene Hi, use a cosmetic