i tried to change updateEditorGeometry().
Qt Code:
  1. void MyDelegate::updateEditorGeometry( QWidget * editor, const QStyleOptionViewItem option, const QModelIndex & index ) const
  2. {
  3. QRect rect = option.rect;
  4.  
  5. if (index.column() == m_VisibilityColumnIndex)
  6. {
  7. rect.setX(rect.x() + 10);
  8. }
  9.  
  10. editor->setGeometry(rect);
  11. }
To copy to clipboard, switch view to plain text mode 
but obviously the method never gets called (i set a breakpoint there). so what can i do?