I did it with setCellWidget method