Hi all.
I need to change selected item rectangle (rectangle that draws around selected item) properties (for example rectangle pen width), does anybody knows how can i do it?
Printable View
Hi all.
I need to change selected item rectangle (rectangle that draws around selected item) properties (for example rectangle pen width), does anybody knows how can i do it?
Subclass the graphics item and reimp the paint method. There you can check the option parameter if the item is selected. If so react on it and set a pen or what you want and call the base class implementation.