Set initial text when editing a QTableView cell
Posted
by Ben Forbes
on Stack Overflow
See other posts from Stack Overflow
or by Ben Forbes
Published on 2010-05-08T05:15:55Z
Indexed on
2010/05/08
5:18 UTC
Read the original article
Hit count: 360
I've subclassed QAbstractTableModel and overrode the flags() method so that some of the table cells are editable. The problem is that when I start editing, the existing cell value is erased. I would like to initially have the existing cell value selected. How can I do this?
© Stack Overflow or respective owner