Or you could also use QTableWidget::setCellWidget(QWidget * widget ); and pass QPushButton * to it?