I have programmed a cut feature for my QTableWidget similar to the cut-and-paste feature in Excel. I don't want the cut cells to disappear, but rather to show a dashed border that these cells have been copied into the cut buffer. I was wondering if anyone had code to do this type of operation (I would think somebody has). If not, any advice would be appreciated. I figure I could override the paint() function for the QItemDelegate, but another approach would be to override the paintEvent in QTableView and paint the grid at that level. I'm not sure which would be the best approach in practice, though I am leaning toward the QTableView:aintEvent override.