zarathustra - 1 year ago 70

Python Question

Very simple question and hopefully very simple answer.

I have a

`QTableWidget`

Can anyone help me?

Thanks in advance!

Answer Source

Thanks to @vahancho, I solved the "problem"..

Here's the solution:

`tableWidget.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)`

Possible Parameters are:

```
SingleSelection, MultiSelection, ExtendedSelection, ContiguousSelection
```

And documentation for each.

I hope I can help anyone searching for this solution!