##// END OF EJS Templates
Activates multi-selection on variable widget
Alexandre Leroux -
r286:437da76793e4
parent child
Show More
@@ -29,6 +29,10 VariableInspectorWidget::VariableInspectorWidget(QWidget *parent)
29 29 i, model->headerData(i, Qt::Horizontal, Qt::SizeHintRole).toSize().width());
30 30 }
31 31
32 // Sets selection options
33 ui->tableView->setSelectionBehavior(QTableView::SelectRows);
34 ui->tableView->setSelectionMode(QTableView::ExtendedSelection);
35
32 36 // Connection to show a menu when right clicking on the tree
33 37 ui->tableView->setContextMenuPolicy(Qt::CustomContextMenu);
34 38 connect(ui->tableView, &QTableView::customContextMenuRequested, this,
General Comments 0
You need to be logged in to leave comments. Login now