How to show the row where QPushButton is clicked in QTableWidget
问题 I would like to delete row where QPushButton is clicked how it is possible to I think it is reasonable to use slots but how to do it don't know , if you have any ideas how to get a row of selected button please share, thanks. It is my table It is a code where i add rows to my QTableWidget MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); for(int i = 0; i<20;i++) ui->tableWidget->insertRow(ui->tableWidget->rowCount()); QVector<QString