there are some posts about how to remove the focus rectangle. For an graphics item it would be
o
->state
&= ~
QStyle::State_HasFocus;
QStyleOptionGraphicsItem *o = const_cast<QStyleOptionGraphicsItem*> (option);
o->state &= ~QStyle::State_HasFocus;
QGraphicsRectItem::paint(painter, o, widget);
To copy to clipboard, switch view to plain text mode
For a table widget it is similar and you have to alter the QItemDelegate::paint() method and set your custom delegate to the table. Try to achieve that. If you have trouble (and it is kind of hard if you just started with Qt, but try it) ask again.
Bookmarks