ted = new TimeEditDelegate;// tableWidget->setItemDelegateForColumn(0,ted);
QTime t;t.setHMS(1,1,1);tableView.item(0,0)->setData(Qt::EditRole,t);