I have created one table by using QTableview and QAbstractTableModel . In one of the cell i have added one help button (right corner of that cell ) using QItemdelegate .

MyDelegate delegate;
tableView.setItemDelegate(&delegate);

when i am adding the delegate by using the above code ,delegate appears but the cell contains disappears .

but when i am not using delegate the cell contains appears .I want to display both cell contains as well as the delegate in that particular cell .

is anywhere i am doing wrong ?