PDA

View Full Version : Setting QGraphicsItem setSelected border color



forrestfsu
3rd November 2006, 16:52
By default, it seems, that Linux is displaying a black border around any QGraphicsItem that I select. Is there any way to change this color to something I would prefer?

Thanks in advance.

wysota
4th November 2006, 08:22
I think the only way is to subclass the item and reimplement its paint() routine. I haven't seen any methods in the documentation that would allow one to set the colour for focus.