I tested your code and it works!
EDIT: I set delegate like this,
Qt Code:
//table is a QTableWidget* instance table->setItemDelegate(new NTableDelegate(table));To copy to clipboard, switch view to plain text mode
I tested your code and it works!
EDIT: I set delegate like this,
Qt Code:
//table is a QTableWidget* instance table->setItemDelegate(new NTableDelegate(table));To copy to clipboard, switch view to plain text mode
Last edited by srazi; 6th December 2010 at 18:37.
Bookmarks