I would like to create a table whose cells are buttons like:

table_of_buttons.PNG

Can one put a QPushButton into a QTableWidget cell?