Hello everyone,

I already manage to copy rows and column data from QTableView to Excel. Using QApplication::clipboard() and QMimeData classes. I use ctrl +c to call the method to copy to clipboard and ctrl +v to paste. This last one is the default shortcut.

But I am stuck now , I cant find out the way to do it the other way around. I use ctrl +c from excel to copy to clipboard but ctrl +v doesnt do anything to QTableView.
I though it could be a problem related to flags. I set setAcceptDrops(true), then I thought about setDragDropMode(QAbstractItemView:ropOnly) ( I dont want drag enable because i use my own types for the table items and It crashes if I only drag and drop items.

HElP with hints. Can I find and example anywhere?
Thanks in advance