[PyQt] qtablewidget multi cell editing

David Cortesi davecortesi at gmail.com
Wed May 29 16:31:28 BST 2013


> From: Christopher Evans <chris.evans at gmail.com>
>
> anyone know a way to select multiple cells and edit them, a la excel and
> other packages?  Do i need to write custom code, or is this supported?
>

You need to set the Selection Mode. In the Qt Assistant page for
QTableWidget, click "List of all members, including inherited members"
and you will find setSelectionMode() and a link to the SelectionMode
enum which has the things you want.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130529/a99d19a7/attachment.html>


More information about the PyQt mailing list