Hi!
I have a rectangle drawn by QGraphicsRectItem and i want to remove some of its border (ex right and left border).
Hi!
I have a rectangle drawn by QGraphicsRectItem and i want to remove some of its border (ex right and left border).
Hi, you could do it the other way round:
1) subclass QGraphicsRectItem and reimplement the paint() method
2) set a QPen with width = 0 to remove borders
3) paint the borders you want yourself.
Ginsengelf
Bookmarks