Hello, everyone, how to hide the black dotted line in QGraphicsTextItem. When I edit it, it will always appear, this will affect the appearance.so,i want to delete it.
Here what i mean:
Thanks.
Hello, everyone, how to hide the black dotted line in QGraphicsTextItem. When I edit it, it will always appear, this will affect the appearance.so,i want to delete it.
Here what i mean:
Thanks.
Probably have to derive a new class from QGraphicsTextItem and reimplement the paint() method so it doesn't draw the rect when the item is selected.
Of course, this will confuse your users completely, because you will change the standard behavior, and now they won't be able to tell if they are editing the text or not.
Bookmarks