Reimplemented the virtual function QStyledItemDelegate::paint() to remove the doted-line frame.