On 11 August 2016 at 10:38, Kevin Cole <[email protected]> wrote:
> When my QGraphicsItem receives a mousePressEvent, it draws a
> dotted-line rectangle around the item. Is there a way to suppress
> that? (I want the item selected / focused, but I don't want to see the
> dotted line.
>
> I'm actually working with a QGraphicSvgItem, but I don't think that
> will make a difference.

If i understand your problem correctly,you're talking about the
QGraphicSvgItem's paint function that draws outline when the item is
selected or not.
If that's the case, you'll have to implement your own SVG item (or
override it), which might not be as complicated as it first looks.
But since you're using python, that might not be the way you would be kin to go.

My 2 cents,
Chris


> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/pyside
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to